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
201 test \$(( 1 + 1 )) = 2 || exit 1
203 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 PATH=/empty FPATH=/empty; export PATH FPATH
208 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || 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 ac_unique_file="src/date.cpp"
599 # Factoring default headers for most tests.
600 ac_includes_default="\
602 #ifdef HAVE_SYS_TYPES_H
603 # include <sys/types.h>
605 #ifdef HAVE_SYS_STAT_H
606 # include <sys/stat.h>
612 # ifdef HAVE_STDLIB_H
617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
622 #ifdef HAVE_STRINGS_H
623 # include <strings.h>
625 #ifdef HAVE_INTTYPES_H
626 # include <inttypes.h>
635 ac_subst_vars='am__EXEEXT_FALSE
708 INSTALL_STRIP_PROGRAM
751 program_transform_name
764 enable_option_checking
766 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-dependency-tracking
1423 do not reject slow dependency extractors
1424 --disable-dependency-tracking
1425 speeds up one-time build
1426 --enable-shared@<:@=PKGS@:>@ build shared libraries @<:@default=yes@:>@
1427 --enable-static@<:@=PKGS@:>@ build static libraries @<:@default=yes@:>@
1428 --enable-fast-install@<:@=PKGS@:>@
1429 optimize for fast installation @<:@default=yes@:>@
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 CXX C++ compiler command
1446 CXXFLAGS 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>
1452 CC C compiler command
1453 CFLAGS C compiler flags
1456 User-defined run-time library search path.
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_cxx_try_compile LINENO
1540 @%:@ ----------------------------
1541 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1542 ac_fn_cxx_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_cxx_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_cxx_try_compile
1577 @%:@ ac_fn_c_try_compile LINENO
1578 @%:@ --------------------------
1579 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1580 ac_fn_c_try_compile ()
1582 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1583 rm -f conftest.$ac_objext
1584 if { { ac_try="$ac_compile"
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_compile") 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_objext; then :
1605 $as_echo "$as_me: failed program was:" >&5
1606 sed 's/^/| /' conftest.$ac_ext >&5
1610 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1611 as_fn_set_status $ac_retval
1613 } @%:@ ac_fn_c_try_compile
1615 @%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1616 @%:@ -------------------------------------------
1617 @%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
1618 @%:@ variable VAR accordingly.
1619 ac_fn_c_check_type ()
1621 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1623 $as_echo_n "checking for $2... " >&6; }
1624 if eval \${$3+:} false; then :
1625 $as_echo_n "(cached) " >&6
1628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1629 /* end confdefs.h. */
1640 if ac_fn_c_try_compile "$LINENO"; then :
1641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1642 /* end confdefs.h. */
1653 if ac_fn_c_try_compile "$LINENO"; then :
1658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1664 $as_echo "$ac_res" >&6; }
1665 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1667 } @%:@ ac_fn_c_check_type
1669 @%:@ ac_fn_c_try_cpp LINENO
1670 @%:@ ----------------------
1671 @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1674 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1675 if { { ac_try="$ac_cpp conftest.$ac_ext"
1677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1678 *) ac_try_echo=$ac_try;;
1680 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1681 $as_echo "$ac_try_echo"; } >&5
1682 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1684 if test -s conftest.err; then
1685 grep -v '^ *+' conftest.err >conftest.er1
1686 cat conftest.er1 >&5
1687 mv -f conftest.er1 conftest.err
1689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1690 test $ac_status = 0; } > conftest.i && {
1691 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1692 test ! -s conftest.err
1696 $as_echo "$as_me: failed program was:" >&5
1697 sed 's/^/| /' conftest.$ac_ext >&5
1701 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1702 as_fn_set_status $ac_retval
1704 } @%:@ ac_fn_c_try_cpp
1706 @%:@ ac_fn_c_try_run LINENO
1707 @%:@ ----------------------
1708 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
1709 @%:@ that executables *can* be run.
1712 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1713 if { { ac_try="$ac_link"
1715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1716 *) ac_try_echo=$ac_try;;
1718 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1719 $as_echo "$ac_try_echo"; } >&5
1720 (eval "$ac_link") 2>&5
1722 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1723 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1724 { { case "(($ac_try" in
1725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1726 *) ac_try_echo=$ac_try;;
1728 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1729 $as_echo "$ac_try_echo"; } >&5
1730 (eval "$ac_try") 2>&5
1732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1733 test $ac_status = 0; }; }; then :
1736 $as_echo "$as_me: program exited with status $ac_status" >&5
1737 $as_echo "$as_me: failed program was:" >&5
1738 sed 's/^/| /' conftest.$ac_ext >&5
1740 ac_retval=$ac_status
1742 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1743 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1744 as_fn_set_status $ac_retval
1746 } @%:@ ac_fn_c_try_run
1748 @%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1749 @%:@ -------------------------------------------------------
1750 @%:@ Tests whether HEADER exists and can be compiled using the include files in
1751 @%:@ INCLUDES, setting the cache variable VAR accordingly.
1752 ac_fn_c_check_header_compile ()
1754 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1756 $as_echo_n "checking for $2... " >&6; }
1757 if eval \${$3+:} false; then :
1758 $as_echo_n "(cached) " >&6
1760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1761 /* end confdefs.h. */
1765 if ac_fn_c_try_compile "$LINENO"; then :
1770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1774 $as_echo "$ac_res" >&6; }
1775 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1777 } @%:@ ac_fn_c_check_header_compile
1779 @%:@ ac_fn_c_try_link LINENO
1780 @%:@ -----------------------
1781 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
1784 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1785 rm -f conftest.$ac_objext conftest$ac_exeext
1786 if { { ac_try="$ac_link"
1788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1789 *) ac_try_echo=$ac_try;;
1791 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1792 $as_echo "$ac_try_echo"; } >&5
1793 (eval "$ac_link") 2>conftest.err
1795 if test -s conftest.err; then
1796 grep -v '^ *+' conftest.err >conftest.er1
1797 cat conftest.er1 >&5
1798 mv -f conftest.er1 conftest.err
1800 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1801 test $ac_status = 0; } && {
1802 test -z "$ac_c_werror_flag" ||
1803 test ! -s conftest.err
1804 } && test -s conftest$ac_exeext && {
1805 test "$cross_compiling" = yes ||
1806 test -x conftest$ac_exeext
1810 $as_echo "$as_me: failed program was:" >&5
1811 sed 's/^/| /' conftest.$ac_ext >&5
1815 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1816 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1817 # interfere with the next link command; also delete a directory that is
1818 # left behind by Apple's compiler. We do this before executing the actions.
1819 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1820 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1821 as_fn_set_status $ac_retval
1823 } @%:@ ac_fn_c_try_link
1825 @%:@ ac_fn_c_check_func LINENO FUNC VAR
1826 @%:@ ----------------------------------
1827 @%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
1828 ac_fn_c_check_func ()
1830 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1832 $as_echo_n "checking for $2... " >&6; }
1833 if eval \${$3+:} false; then :
1834 $as_echo_n "(cached) " >&6
1836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1837 /* end confdefs.h. */
1838 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1839 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1840 #define $2 innocuous_$2
1842 /* System header to define __stub macros and hopefully few prototypes,
1843 which can conflict with char $2 (); below.
1844 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1845 <limits.h> exists even on freestanding compilers. */
1848 # include <limits.h>
1850 # include <assert.h>
1855 /* Override any GCC internal prototype to avoid an error.
1856 Use char because int might match the return type of a GCC
1857 builtin and then its argument prototype would still apply. */
1862 /* The GNU C library defines this for functions which it implements
1863 to always fail with ENOSYS. Some functions are actually named
1864 something starting with __ and the normal name is an alias. */
1865 #if defined __stub_$2 || defined __stub___$2
1877 if ac_fn_c_try_link "$LINENO"; then :
1882 rm -f core conftest.err conftest.$ac_objext \
1883 conftest$ac_exeext conftest.$ac_ext
1886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1887 $as_echo "$ac_res" >&6; }
1888 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1890 } @%:@ ac_fn_c_check_func
1892 @%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1893 @%:@ -------------------------------------------------------
1894 @%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
1895 @%:@ the include files in INCLUDES and setting the cache variable VAR
1897 ac_fn_c_check_header_mongrel ()
1899 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1900 if eval \${$3+:} false; then :
1901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1902 $as_echo_n "checking for $2... " >&6; }
1903 if eval \${$3+:} false; then :
1904 $as_echo_n "(cached) " >&6
1907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1908 $as_echo "$ac_res" >&6; }
1910 # Is the header compilable?
1911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1912 $as_echo_n "checking $2 usability... " >&6; }
1913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1914 /* end confdefs.h. */
1918 if ac_fn_c_try_compile "$LINENO"; then :
1919 ac_header_compiler=yes
1921 ac_header_compiler=no
1923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1925 $as_echo "$ac_header_compiler" >&6; }
1927 # Is the header present?
1928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1929 $as_echo_n "checking $2 presence... " >&6; }
1930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1931 /* end confdefs.h. */
1934 if ac_fn_c_try_cpp "$LINENO"; then :
1935 ac_header_preproc=yes
1937 ac_header_preproc=no
1939 rm -f conftest.err conftest.i conftest.$ac_ext
1940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1941 $as_echo "$ac_header_preproc" >&6; }
1943 # So? What about this header?
1944 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1946 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1947 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1948 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1949 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1953 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1955 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1957 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1959 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1961 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1962 ( $as_echo "## --------------------------------- ##
1963 ## Report this to BUG-REPORT-ADDRESS ##
1964 ## --------------------------------- ##"
1965 ) | sed "s/^/$as_me: WARNING: /" >&2
1968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1969 $as_echo_n "checking for $2... " >&6; }
1970 if eval \${$3+:} false; then :
1971 $as_echo_n "(cached) " >&6
1973 eval "$3=\$ac_header_compiler"
1976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1977 $as_echo "$ac_res" >&6; }
1979 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1981 } @%:@ ac_fn_c_check_header_mongrel
1983 @%:@ ac_fn_cxx_try_cpp LINENO
1984 @%:@ ------------------------
1985 @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1986 ac_fn_cxx_try_cpp ()
1988 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1989 if { { ac_try="$ac_cpp conftest.$ac_ext"
1991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1992 *) ac_try_echo=$ac_try;;
1994 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1995 $as_echo "$ac_try_echo"; } >&5
1996 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1998 if test -s conftest.err; then
1999 grep -v '^ *+' conftest.err >conftest.er1
2000 cat conftest.er1 >&5
2001 mv -f conftest.er1 conftest.err
2003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2004 test $ac_status = 0; } > conftest.i && {
2005 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2006 test ! -s conftest.err
2010 $as_echo "$as_me: failed program was:" >&5
2011 sed 's/^/| /' conftest.$ac_ext >&5
2015 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2016 as_fn_set_status $ac_retval
2018 } @%:@ ac_fn_cxx_try_cpp
2020 @%:@ ac_fn_cxx_try_link LINENO
2021 @%:@ -------------------------
2022 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
2023 ac_fn_cxx_try_link ()
2025 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2026 rm -f conftest.$ac_objext conftest$ac_exeext
2027 if { { ac_try="$ac_link"
2029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2030 *) ac_try_echo=$ac_try;;
2032 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2033 $as_echo "$ac_try_echo"; } >&5
2034 (eval "$ac_link") 2>conftest.err
2036 if test -s conftest.err; then
2037 grep -v '^ *+' conftest.err >conftest.er1
2038 cat conftest.er1 >&5
2039 mv -f conftest.er1 conftest.err
2041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2042 test $ac_status = 0; } && {
2043 test -z "$ac_cxx_werror_flag" ||
2044 test ! -s conftest.err
2045 } && test -s conftest$ac_exeext && {
2046 test "$cross_compiling" = yes ||
2047 test -x conftest$ac_exeext
2051 $as_echo "$as_me: failed program was:" >&5
2052 sed 's/^/| /' conftest.$ac_ext >&5
2056 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2057 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2058 # interfere with the next link command; also delete a directory that is
2059 # left behind by Apple's compiler. We do this before executing the actions.
2060 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2061 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2062 as_fn_set_status $ac_retval
2064 } @%:@ ac_fn_cxx_try_link
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
3026 ac_config_files="$ac_config_files Makefile src/Makefile test/Makefile"
3029 ac_config_headers="$ac_config_headers config.h"
3032 # Checks for programs.
3034 ac_cpp='$CXXCPP $CPPFLAGS'
3035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3038 if test -z "$CXX"; then
3039 if test -n "$CCC"; then
3042 if test -n "$ac_tool_prefix"; then
3043 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3045 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3046 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3048 $as_echo_n "checking for $ac_word... " >&6; }
3049 if ${ac_cv_prog_CXX+:} false; then :
3050 $as_echo_n "(cached) " >&6
3052 if test -n "$CXX"; then
3053 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3059 test -z "$as_dir" && as_dir=.
3060 for ac_exec_ext in '' $ac_executable_extensions; do
3061 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3062 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3073 if test -n "$CXX"; then
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3075 $as_echo "$CXX" >&6; }
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3078 $as_echo "no" >&6; }
3082 test -n "$CXX" && break
3085 if test -z "$CXX"; then
3087 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3089 # Extract the first word of "$ac_prog", so it can be a program name with args.
3090 set dummy $ac_prog; ac_word=$2
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3092 $as_echo_n "checking for $ac_word... " >&6; }
3093 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3094 $as_echo_n "(cached) " >&6
3096 if test -n "$ac_ct_CXX"; then
3097 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3103 test -z "$as_dir" && as_dir=.
3104 for ac_exec_ext in '' $ac_executable_extensions; do
3105 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3106 ac_cv_prog_ac_ct_CXX="$ac_prog"
3107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3116 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3117 if test -n "$ac_ct_CXX"; then
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3119 $as_echo "$ac_ct_CXX" >&6; }
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3122 $as_echo "no" >&6; }
3126 test -n "$ac_ct_CXX" && break
3129 if test "x$ac_ct_CXX" = x; then
3132 case $cross_compiling:$ac_tool_warned in
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3135 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3136 ac_tool_warned=yes ;;
3144 # Provide some information about the compiler.
3145 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3148 for ac_option in --version -v -V -qversion; do
3149 { { ac_try="$ac_compiler $ac_option >&5"
3151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3152 *) ac_try_echo=$ac_try;;
3154 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3155 $as_echo "$ac_try_echo"; } >&5
3156 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3158 if test -s conftest.err; then
3160 ... rest of stderr output deleted ...
3161 10q' conftest.err >conftest.er1
3162 cat conftest.er1 >&5
3164 rm -f conftest.er1 conftest.err
3165 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3166 test $ac_status = 0; }
3169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3170 /* end confdefs.h. */
3180 ac_clean_files_save=$ac_clean_files
3181 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3182 # Try to create an executable without -o first, disregard a.out.
3183 # It will help us diagnose broken compilers, and finding out an intuition
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3186 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3187 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3189 # The possible output files:
3190 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3193 for ac_file in $ac_files
3196 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3197 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3202 if { { ac_try="$ac_link_default"
3204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3205 *) ac_try_echo=$ac_try;;
3207 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3208 $as_echo "$ac_try_echo"; } >&5
3209 (eval "$ac_link_default") 2>&5
3211 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3212 test $ac_status = 0; }; then :
3213 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3214 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3215 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3216 # so that the user can short-circuit this test for compilers unknown to
3218 for ac_file in $ac_files ''
3220 test -f "$ac_file" || continue
3222 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3225 # We found the default executable, but exeext='' is most
3229 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3231 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3233 # We set ac_cv_exeext here because the later test for it is not
3234 # safe: cross compilers may not add the suffix if given an `-o'
3235 # argument, so we may need to know it at that point already.
3236 # Even if this section looks crufty: it has the advantage of
3243 test "$ac_cv_exeext" = no && ac_cv_exeext=
3248 if test -z "$ac_file"; then :
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3250 $as_echo "no" >&6; }
3251 $as_echo "$as_me: failed program was:" >&5
3252 sed 's/^/| /' conftest.$ac_ext >&5
3254 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3255 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3256 as_fn_error 77 "C++ compiler cannot create executables
3257 See \`config.log' for more details" "$LINENO" 5; }
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3260 $as_echo "yes" >&6; }
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3263 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3265 $as_echo "$ac_file" >&6; }
3266 ac_exeext=$ac_cv_exeext
3268 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3269 ac_clean_files=$ac_clean_files_save
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3271 $as_echo_n "checking for suffix of executables... " >&6; }
3272 if { { ac_try="$ac_link"
3274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3275 *) ac_try_echo=$ac_try;;
3277 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3278 $as_echo "$ac_try_echo"; } >&5
3279 (eval "$ac_link") 2>&5
3281 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3282 test $ac_status = 0; }; then :
3283 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3284 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3285 # work properly (i.e., refer to `conftest.exe'), while it won't with
3287 for ac_file in conftest.exe conftest conftest.*; do
3288 test -f "$ac_file" || continue
3290 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3291 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3297 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3298 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3299 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3300 See \`config.log' for more details" "$LINENO" 5; }
3302 rm -f conftest conftest$ac_cv_exeext
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3304 $as_echo "$ac_cv_exeext" >&6; }
3306 rm -f conftest.$ac_ext
3307 EXEEXT=$ac_cv_exeext
3309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3310 /* end confdefs.h. */
3311 @%:@include <stdio.h>
3315 FILE *f = fopen ("conftest.out", "w");
3316 return ferror (f) || fclose (f) != 0;
3322 ac_clean_files="$ac_clean_files conftest.out"
3323 # Check that the compiler produces executables we can run. If not, either
3324 # the compiler is broken, or we cross compile.
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3326 $as_echo_n "checking whether we are cross compiling... " >&6; }
3327 if test "$cross_compiling" != yes; then
3328 { { ac_try="$ac_link"
3330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3331 *) ac_try_echo=$ac_try;;
3333 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3334 $as_echo "$ac_try_echo"; } >&5
3335 (eval "$ac_link") 2>&5
3337 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3338 test $ac_status = 0; }
3339 if { ac_try='./conftest$ac_cv_exeext'
3340 { { case "(($ac_try" in
3341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3342 *) ac_try_echo=$ac_try;;
3344 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3345 $as_echo "$ac_try_echo"; } >&5
3346 (eval "$ac_try") 2>&5
3348 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3349 test $ac_status = 0; }; }; then
3352 if test "$cross_compiling" = maybe; then
3355 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3356 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3357 as_fn_error $? "cannot run C++ compiled programs.
3358 If you meant to cross compile, use \`--host'.
3359 See \`config.log' for more details" "$LINENO" 5; }
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3364 $as_echo "$cross_compiling" >&6; }
3366 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3367 ac_clean_files=$ac_clean_files_save
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3369 $as_echo_n "checking for suffix of object files... " >&6; }
3370 if ${ac_cv_objext+:} false; then :
3371 $as_echo_n "(cached) " >&6
3373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3374 /* end confdefs.h. */
3384 rm -f conftest.o conftest.obj
3385 if { { ac_try="$ac_compile"
3387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3388 *) ac_try_echo=$ac_try;;
3390 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3391 $as_echo "$ac_try_echo"; } >&5
3392 (eval "$ac_compile") 2>&5
3394 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3395 test $ac_status = 0; }; then :
3396 for ac_file in conftest.o conftest.obj conftest.*; do
3397 test -f "$ac_file" || continue;
3399 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3400 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3405 $as_echo "$as_me: failed program was:" >&5
3406 sed 's/^/| /' conftest.$ac_ext >&5
3408 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3409 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3410 as_fn_error $? "cannot compute suffix of object files: cannot compile
3411 See \`config.log' for more details" "$LINENO" 5; }
3413 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3416 $as_echo "$ac_cv_objext" >&6; }
3417 OBJEXT=$ac_cv_objext
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3420 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3421 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3422 $as_echo_n "(cached) " >&6
3424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3425 /* end confdefs.h. */
3438 if ac_fn_cxx_try_compile "$LINENO"; then :
3443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3444 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3448 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3449 if test $ac_compiler_gnu = yes; then
3454 ac_test_CXXFLAGS=${CXXFLAGS+set}
3455 ac_save_CXXFLAGS=$CXXFLAGS
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3457 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3458 if ${ac_cv_prog_cxx_g+:} false; then :
3459 $as_echo_n "(cached) " >&6
3461 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3462 ac_cxx_werror_flag=yes
3465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3466 /* end confdefs.h. */
3476 if ac_fn_cxx_try_compile "$LINENO"; then :
3477 ac_cv_prog_cxx_g=yes
3480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3481 /* end confdefs.h. */
3491 if ac_fn_cxx_try_compile "$LINENO"; then :
3494 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3497 /* end confdefs.h. */
3507 if ac_fn_cxx_try_compile "$LINENO"; then :
3508 ac_cv_prog_cxx_g=yes
3510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3515 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3518 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3519 if test "$ac_test_CXXFLAGS" = set; then
3520 CXXFLAGS=$ac_save_CXXFLAGS
3521 elif test $ac_cv_prog_cxx_g = yes; then
3522 if test "$GXX" = yes; then
3528 if test "$GXX" = yes; then
3535 ac_cpp='$CPP $CPPFLAGS'
3536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3539 DEPDIR="${am__leading_dot}deps"
3541 ac_config_commands="$ac_config_commands depfiles"
3544 am_make=${MAKE-make}
3545 cat > confinc << 'END'
3547 @echo this is the am__doit target
3550 # If we don't find an include directive, just comment out the code.
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3552 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3556 # First try GNU make style include.
3557 echo "include confinc" > confmf
3558 # Ignore all kinds of additional output from 'make'.
3559 case `$am_make -s -f confmf 2> /dev/null` in #(
3560 *the\ am__doit\ target*)
3566 # Now try BSD make style include.
3567 if test "$am__include" = "#"; then
3568 echo '.include "confinc"' > confmf
3569 case `$am_make -s -f confmf 2> /dev/null` in #(
3570 *the\ am__doit\ target*)
3571 am__include=.include
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3580 $as_echo "$_am_result" >&6; }
3581 rm -f confinc confmf
3583 @%:@ Check whether --enable-dependency-tracking was given.
3584 if test "${enable_dependency_tracking+set}" = set; then :
3585 enableval=$enable_dependency_tracking;
3588 if test "x$enable_dependency_tracking" != xno; then
3589 am_depcomp="$ac_aux_dir/depcomp"
3593 if test "x$enable_dependency_tracking" != xno; then
3603 depcc="$CXX" am_compiler_list=
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3606 $as_echo_n "checking dependency style of $depcc... " >&6; }
3607 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3608 $as_echo_n "(cached) " >&6
3610 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3611 # We make a subdir and do the tests there. Otherwise we can end up
3612 # making bogus files that we don't know about and never remove. For
3613 # instance it was reported that on HP-UX the gcc test will end up
3614 # making a dummy file named 'D' -- because '-MD' means "put the output
3618 # Copy depcomp to subdir because otherwise we won't find it if we're
3619 # using a relative directory.
3620 cp "$am_depcomp" conftest.dir
3622 # We will build objects and dependencies in a subdirectory because
3623 # it helps to detect inapplicable dependency modes. For instance
3624 # both Tru64's cc and ICC support -MD to output dependencies as a
3625 # side effect of compilation, but ICC will put the dependencies in
3626 # the current directory while Tru64 will put them in the object
3630 am_cv_CXX_dependencies_compiler_type=none
3631 if test "$am_compiler_list" = ""; then
3632 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3635 case " $depcc " in #(
3636 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3639 for depmode in $am_compiler_list; do
3640 # Setup a source with many dependencies, because some compilers
3641 # like to wrap large dependency lists on column 80 (with \), and
3642 # we should not choose a depcomp mode which is confused by this.
3644 # We need to recreate these files for each test, as the compiler may
3645 # overwrite some of them when testing with obscure command lines.
3646 # This happens at least with the AIX C compiler.
3648 for i in 1 2 3 4 5 6; do
3649 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3650 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3651 # Solaris 10 /bin/sh.
3652 echo '/* dummy */' > sub/conftst$i.h
3654 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3656 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3657 # mode. It turns out that the SunPro C++ compiler does not properly
3658 # handle '-M -o', and we need to detect this. Also, some Intel
3659 # versions had trouble with output in subdirs.
3660 am__obj=sub/conftest.${OBJEXT-o}
3661 am__minus_obj="-o $am__obj"
3664 # This depmode causes a compiler race in universal mode.
3665 test "$am__universal" = false || continue
3668 # After this tag, mechanisms are not by side-effect, so they'll
3669 # only be used when explicitly requested.
3670 if test "x$enable_dependency_tracking" = xyes; then
3676 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3677 # This compiler won't grok '-c -o', but also, the minuso test has
3678 # not run yet. These depmodes are late enough in the game, and
3679 # so weak that their functioning should not be impacted.
3680 am__obj=conftest.${OBJEXT-o}
3685 if depmode=$depmode \
3686 source=sub/conftest.c object=$am__obj \
3687 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3688 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3689 >/dev/null 2>conftest.err &&
3690 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3691 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3692 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3693 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3694 # icc doesn't choke on unknown options, it will just issue warnings
3695 # or remarks (even with -Werror). So we grep stderr for any message
3696 # that says an option was ignored or not supported.
3697 # When given -MP, icc 7.0 and 7.1 complain thusly:
3698 # icc: Command line warning: ignoring option '-M'; no argument required
3699 # The diagnosis changed in icc 8.0:
3700 # icc: Command line remark: option '-MP' not supported
3701 if (grep 'ignoring option' conftest.err ||
3702 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3703 am_cv_CXX_dependencies_compiler_type=$depmode
3712 am_cv_CXX_dependencies_compiler_type=none
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3717 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3718 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3721 test "x$enable_dependency_tracking" != xno \
3722 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3723 am__fastdepCXX_TRUE=
3724 am__fastdepCXX_FALSE='#'
3726 am__fastdepCXX_TRUE='#'
3727 am__fastdepCXX_FALSE=
3732 ac_cpp='$CPP $CPPFLAGS'
3733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3736 if test -n "$ac_tool_prefix"; then
3737 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3738 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3740 $as_echo_n "checking for $ac_word... " >&6; }
3741 if ${ac_cv_prog_CC+:} false; then :
3742 $as_echo_n "(cached) " >&6
3744 if test -n "$CC"; then
3745 ac_cv_prog_CC="$CC" # Let the user override the test.
3747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3751 test -z "$as_dir" && as_dir=.
3752 for ac_exec_ext in '' $ac_executable_extensions; do
3753 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3754 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3765 if test -n "$CC"; then
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3767 $as_echo "$CC" >&6; }
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3770 $as_echo "no" >&6; }
3775 if test -z "$ac_cv_prog_CC"; then
3777 # Extract the first word of "gcc", so it can be a program name with args.
3778 set dummy gcc; ac_word=$2
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3780 $as_echo_n "checking for $ac_word... " >&6; }
3781 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3782 $as_echo_n "(cached) " >&6
3784 if test -n "$ac_ct_CC"; then
3785 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3791 test -z "$as_dir" && as_dir=.
3792 for ac_exec_ext in '' $ac_executable_extensions; do
3793 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3794 ac_cv_prog_ac_ct_CC="gcc"
3795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3804 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3805 if test -n "$ac_ct_CC"; then
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3807 $as_echo "$ac_ct_CC" >&6; }
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3810 $as_echo "no" >&6; }
3813 if test "x$ac_ct_CC" = x; then
3816 case $cross_compiling:$ac_tool_warned in
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3819 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3820 ac_tool_warned=yes ;;
3828 if test -z "$CC"; then
3829 if test -n "$ac_tool_prefix"; then
3830 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3831 set dummy ${ac_tool_prefix}cc; ac_word=$2
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3833 $as_echo_n "checking for $ac_word... " >&6; }
3834 if ${ac_cv_prog_CC+:} false; then :
3835 $as_echo_n "(cached) " >&6
3837 if test -n "$CC"; then
3838 ac_cv_prog_CC="$CC" # Let the user override the test.
3840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3844 test -z "$as_dir" && as_dir=.
3845 for ac_exec_ext in '' $ac_executable_extensions; do
3846 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3847 ac_cv_prog_CC="${ac_tool_prefix}cc"
3848 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3858 if test -n "$CC"; then
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3860 $as_echo "$CC" >&6; }
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3863 $as_echo "no" >&6; }
3869 if test -z "$CC"; then
3870 # Extract the first word of "cc", so it can be a program name with args.
3871 set dummy cc; ac_word=$2
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3873 $as_echo_n "checking for $ac_word... " >&6; }
3874 if ${ac_cv_prog_CC+:} false; then :
3875 $as_echo_n "(cached) " >&6
3877 if test -n "$CC"; then
3878 ac_cv_prog_CC="$CC" # Let the user override the test.
3881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3885 test -z "$as_dir" && as_dir=.
3886 for ac_exec_ext in '' $ac_executable_extensions; do
3887 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3888 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3889 ac_prog_rejected=yes
3893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3900 if test $ac_prog_rejected = yes; then
3901 # We found a bogon in the path, so make sure we never use it.
3902 set dummy $ac_cv_prog_CC
3904 if test $@%:@ != 0; then
3905 # We chose a different compiler from the bogus one.
3906 # However, it has the same basename, so the bogon will be chosen
3907 # first if we set CC to just the basename; use the full file name.
3909 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3915 if test -n "$CC"; then
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3917 $as_echo "$CC" >&6; }
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3920 $as_echo "no" >&6; }
3925 if test -z "$CC"; then
3926 if test -n "$ac_tool_prefix"; then
3927 for ac_prog in cl.exe
3929 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3930 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3932 $as_echo_n "checking for $ac_word... " >&6; }
3933 if ${ac_cv_prog_CC+:} false; then :
3934 $as_echo_n "(cached) " >&6
3936 if test -n "$CC"; then
3937 ac_cv_prog_CC="$CC" # Let the user override the test.
3939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3943 test -z "$as_dir" && as_dir=.
3944 for ac_exec_ext in '' $ac_executable_extensions; do
3945 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3946 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3957 if test -n "$CC"; then
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3959 $as_echo "$CC" >&6; }
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3962 $as_echo "no" >&6; }
3966 test -n "$CC" && break
3969 if test -z "$CC"; then
3971 for ac_prog in cl.exe
3973 # Extract the first word of "$ac_prog", so it can be a program name with args.
3974 set dummy $ac_prog; ac_word=$2
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3976 $as_echo_n "checking for $ac_word... " >&6; }
3977 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3978 $as_echo_n "(cached) " >&6
3980 if test -n "$ac_ct_CC"; then
3981 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3987 test -z "$as_dir" && as_dir=.
3988 for ac_exec_ext in '' $ac_executable_extensions; do
3989 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3990 ac_cv_prog_ac_ct_CC="$ac_prog"
3991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4000 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4001 if test -n "$ac_ct_CC"; then
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4003 $as_echo "$ac_ct_CC" >&6; }
4005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4006 $as_echo "no" >&6; }
4010 test -n "$ac_ct_CC" && break
4013 if test "x$ac_ct_CC" = x; then
4016 case $cross_compiling:$ac_tool_warned in
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4019 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4020 ac_tool_warned=yes ;;
4029 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4030 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4031 as_fn_error $? "no acceptable C compiler found in \$PATH
4032 See \`config.log' for more details" "$LINENO" 5; }
4034 # Provide some information about the compiler.
4035 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4038 for ac_option in --version -v -V -qversion; do
4039 { { ac_try="$ac_compiler $ac_option >&5"
4041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4042 *) ac_try_echo=$ac_try;;
4044 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4045 $as_echo "$ac_try_echo"; } >&5
4046 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4048 if test -s conftest.err; then
4050 ... rest of stderr output deleted ...
4051 10q' conftest.err >conftest.er1
4052 cat conftest.er1 >&5
4054 rm -f conftest.er1 conftest.err
4055 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4056 test $ac_status = 0; }
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4060 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4061 if ${ac_cv_c_compiler_gnu+:} false; then :
4062 $as_echo_n "(cached) " >&6
4064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4065 /* end confdefs.h. */
4078 if ac_fn_c_try_compile "$LINENO"; then :
4083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4084 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4088 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4089 if test $ac_compiler_gnu = yes; then
4094 ac_test_CFLAGS=${CFLAGS+set}
4095 ac_save_CFLAGS=$CFLAGS
4096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4097 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4098 if ${ac_cv_prog_cc_g+:} false; then :
4099 $as_echo_n "(cached) " >&6
4101 ac_save_c_werror_flag=$ac_c_werror_flag
4102 ac_c_werror_flag=yes
4105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4106 /* end confdefs.h. */
4116 if ac_fn_c_try_compile "$LINENO"; then :
4120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4121 /* end confdefs.h. */
4131 if ac_fn_c_try_compile "$LINENO"; then :
4134 ac_c_werror_flag=$ac_save_c_werror_flag
4136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4137 /* end confdefs.h. */
4147 if ac_fn_c_try_compile "$LINENO"; then :
4150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4155 ac_c_werror_flag=$ac_save_c_werror_flag
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4158 $as_echo "$ac_cv_prog_cc_g" >&6; }
4159 if test "$ac_test_CFLAGS" = set; then
4160 CFLAGS=$ac_save_CFLAGS
4161 elif test $ac_cv_prog_cc_g = yes; then
4162 if test "$GCC" = yes; then
4168 if test "$GCC" = yes; then
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4175 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4176 if ${ac_cv_prog_cc_c89+:} false; then :
4177 $as_echo_n "(cached) " >&6
4179 ac_cv_prog_cc_c89=no
4181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4182 /* end confdefs.h. */
4186 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4187 struct buf { int x; };
4188 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4189 static char *e (p, i)
4195 static char *f (char * (*g) (char **, int), char **p, ...)
4200 s = g (p, va_arg (v,int));
4205 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4206 function prototypes and stuff, but not '\xHH' hex character constants.
4207 These don't provoke an error unfortunately, instead are silently treated
4208 as 'x'. The following induces an error, until -std is added to get
4209 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4210 array size at least. It's necessary to write '\x00'==0 to get something
4211 that's true only with -std. */
4212 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4214 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4215 inside strings and character constants. */
4217 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4219 int test (int i, double x);
4220 struct s1 {int (*f) (int a);};
4221 struct s2 {int (*f) (double a);};
4222 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4228 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4233 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4234 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4236 CC="$ac_save_CC $ac_arg"
4237 if ac_fn_c_try_compile "$LINENO"; then :
4238 ac_cv_prog_cc_c89=$ac_arg
4240 rm -f core conftest.err conftest.$ac_objext
4241 test "x$ac_cv_prog_cc_c89" != "xno" && break
4243 rm -f conftest.$ac_ext
4248 case "x$ac_cv_prog_cc_c89" in
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4251 $as_echo "none needed" >&6; } ;;
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4254 $as_echo "unsupported" >&6; } ;;
4256 CC="$CC $ac_cv_prog_cc_c89"
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4258 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4260 if test "x$ac_cv_prog_cc_c89" != xno; then :
4265 ac_cpp='$CPP $CPPFLAGS'
4266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4271 ac_cpp='$CPP $CPPFLAGS'
4272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4276 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4277 if ${am_cv_prog_cc_c_o+:} false; then :
4278 $as_echo_n "(cached) " >&6
4280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4281 /* end confdefs.h. */
4291 # Make sure it works both with $CC and with simple cc.
4292 # Following AC_PROG_CC_C_O, we do the test twice because some
4293 # compilers refuse to overwrite an existing .o file with -o,
4294 # though they will create one.
4295 am_cv_prog_cc_c_o=yes
4297 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4298 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4301 (exit $ac_status); } \
4302 && test -f conftest2.$ac_objext; then
4305 am_cv_prog_cc_c_o=no
4309 rm -f core conftest*
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4313 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4314 if test "$am_cv_prog_cc_c_o" != yes; then
4315 # Losing compiler, so override with the script.
4316 # FIXME: It is wrong to rewrite CC.
4317 # But if we don't then we get into trouble of one sort or another.
4318 # A longer-term fix would be to have automake use am__CC in this case,
4319 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4320 CC="$am_aux_dir/compile $CC"
4323 ac_cpp='$CPP $CPPFLAGS'
4324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4329 depcc="$CC" am_compiler_list=
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4332 $as_echo_n "checking dependency style of $depcc... " >&6; }
4333 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4334 $as_echo_n "(cached) " >&6
4336 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4337 # We make a subdir and do the tests there. Otherwise we can end up
4338 # making bogus files that we don't know about and never remove. For
4339 # instance it was reported that on HP-UX the gcc test will end up
4340 # making a dummy file named 'D' -- because '-MD' means "put the output
4344 # Copy depcomp to subdir because otherwise we won't find it if we're
4345 # using a relative directory.
4346 cp "$am_depcomp" conftest.dir
4348 # We will build objects and dependencies in a subdirectory because
4349 # it helps to detect inapplicable dependency modes. For instance
4350 # both Tru64's cc and ICC support -MD to output dependencies as a
4351 # side effect of compilation, but ICC will put the dependencies in
4352 # the current directory while Tru64 will put them in the object
4356 am_cv_CC_dependencies_compiler_type=none
4357 if test "$am_compiler_list" = ""; then
4358 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4361 case " $depcc " in #(
4362 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4365 for depmode in $am_compiler_list; do
4366 # Setup a source with many dependencies, because some compilers
4367 # like to wrap large dependency lists on column 80 (with \), and
4368 # we should not choose a depcomp mode which is confused by this.
4370 # We need to recreate these files for each test, as the compiler may
4371 # overwrite some of them when testing with obscure command lines.
4372 # This happens at least with the AIX C compiler.
4374 for i in 1 2 3 4 5 6; do
4375 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4376 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4377 # Solaris 10 /bin/sh.
4378 echo '/* dummy */' > sub/conftst$i.h
4380 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4382 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4383 # mode. It turns out that the SunPro C++ compiler does not properly
4384 # handle '-M -o', and we need to detect this. Also, some Intel
4385 # versions had trouble with output in subdirs.
4386 am__obj=sub/conftest.${OBJEXT-o}
4387 am__minus_obj="-o $am__obj"
4390 # This depmode causes a compiler race in universal mode.
4391 test "$am__universal" = false || continue
4394 # After this tag, mechanisms are not by side-effect, so they'll
4395 # only be used when explicitly requested.
4396 if test "x$enable_dependency_tracking" = xyes; then
4402 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4403 # This compiler won't grok '-c -o', but also, the minuso test has
4404 # not run yet. These depmodes are late enough in the game, and
4405 # so weak that their functioning should not be impacted.
4406 am__obj=conftest.${OBJEXT-o}
4411 if depmode=$depmode \
4412 source=sub/conftest.c object=$am__obj \
4413 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4414 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4415 >/dev/null 2>conftest.err &&
4416 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4417 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4418 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4419 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4420 # icc doesn't choke on unknown options, it will just issue warnings
4421 # or remarks (even with -Werror). So we grep stderr for any message
4422 # that says an option was ignored or not supported.
4423 # When given -MP, icc 7.0 and 7.1 complain thusly:
4424 # icc: Command line warning: ignoring option '-M'; no argument required
4425 # The diagnosis changed in icc 8.0:
4426 # icc: Command line remark: option '-MP' not supported
4427 if (grep 'ignoring option' conftest.err ||
4428 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4429 am_cv_CC_dependencies_compiler_type=$depmode
4438 am_cv_CC_dependencies_compiler_type=none
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4443 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4444 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4447 test "x$enable_dependency_tracking" != xno \
4448 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4450 am__fastdepCC_FALSE='#'
4452 am__fastdepCC_TRUE='#'
4453 am__fastdepCC_FALSE=
4458 if test -n "$ac_tool_prefix"; then
4459 for ac_prog in ar lib "link -lib"
4461 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4462 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4464 $as_echo_n "checking for $ac_word... " >&6; }
4465 if ${ac_cv_prog_AR+:} false; then :
4466 $as_echo_n "(cached) " >&6
4468 if test -n "$AR"; then
4469 ac_cv_prog_AR="$AR" # Let the user override the test.
4471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4475 test -z "$as_dir" && as_dir=.
4476 for ac_exec_ext in '' $ac_executable_extensions; do
4477 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4478 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4479 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4489 if test -n "$AR"; then
4490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4491 $as_echo "$AR" >&6; }
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4494 $as_echo "no" >&6; }
4498 test -n "$AR" && break
4501 if test -z "$AR"; then
4503 for ac_prog in ar lib "link -lib"
4505 # Extract the first word of "$ac_prog", so it can be a program name with args.
4506 set dummy $ac_prog; ac_word=$2
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4508 $as_echo_n "checking for $ac_word... " >&6; }
4509 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4510 $as_echo_n "(cached) " >&6
4512 if test -n "$ac_ct_AR"; then
4513 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4519 test -z "$as_dir" && as_dir=.
4520 for ac_exec_ext in '' $ac_executable_extensions; do
4521 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4522 ac_cv_prog_ac_ct_AR="$ac_prog"
4523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4532 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4533 if test -n "$ac_ct_AR"; then
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4535 $as_echo "$ac_ct_AR" >&6; }
4537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4538 $as_echo "no" >&6; }
4542 test -n "$ac_ct_AR" && break
4545 if test "x$ac_ct_AR" = x; then
4548 case $cross_compiling:$ac_tool_warned in
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4551 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4552 ac_tool_warned=yes ;;
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4561 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
4562 if ${am_cv_ar_interface+:} false; then :
4563 $as_echo_n "(cached) " >&6
4566 ac_cpp='$CPP $CPPFLAGS'
4567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4571 am_cv_ar_interface=ar
4572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4573 /* end confdefs.h. */
4574 int some_variable = 0;
4576 if ac_fn_c_try_compile "$LINENO"; then :
4577 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4578 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4579 (eval $am_ar_try) 2>&5
4581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4582 test $ac_status = 0; }
4583 if test "$ac_status" -eq 0; then
4584 am_cv_ar_interface=ar
4586 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4587 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4588 (eval $am_ar_try) 2>&5
4590 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4591 test $ac_status = 0; }
4592 if test "$ac_status" -eq 0; then
4593 am_cv_ar_interface=lib
4595 am_cv_ar_interface=unknown
4598 rm -f conftest.lib libconftest.a
4601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4603 ac_cpp='$CPP $CPPFLAGS'
4604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4610 $as_echo "$am_cv_ar_interface" >&6; }
4612 case $am_cv_ar_interface in
4616 # Microsoft lib, so override with the ar-lib wrapper script.
4617 # FIXME: It is wrong to rewrite AR.
4618 # But if we don't then we get into trouble of one sort or another.
4619 # A longer-term fix would be to have automake use am__AR in this case,
4620 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4622 AR="$am_aux_dir/ar-lib $AR"
4625 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4630 # Checks for libraries.
4632 # Checks for header files.
4634 ac_cpp='$CPP $CPPFLAGS'
4635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4639 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4640 # On Suns, sometimes $CPP names a directory.
4641 if test -n "$CPP" && test -d "$CPP"; then
4644 if test -z "$CPP"; then
4645 if ${ac_cv_prog_CPP+:} false; then :
4646 $as_echo_n "(cached) " >&6
4648 # Double quotes because CPP needs to be expanded
4649 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4652 for ac_c_preproc_warn_flag in '' yes
4654 # Use a header file that comes with gcc, so configuring glibc
4655 # with a fresh cross-compiler works.
4656 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4657 # <limits.h> exists even on freestanding compilers.
4658 # On the NeXT, cc -E runs the code through the compiler's parser,
4659 # not just through cpp. "Syntax error" is here to catch this case.
4660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4661 /* end confdefs.h. */
4663 @%:@ include <limits.h>
4665 @%:@ include <assert.h>
4669 if ac_fn_c_try_cpp "$LINENO"; then :
4672 # Broken: fails on valid input.
4675 rm -f conftest.err conftest.i conftest.$ac_ext
4677 # OK, works on sane cases. Now check whether nonexistent headers
4678 # can be detected and how.
4679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4680 /* end confdefs.h. */
4681 @%:@include <ac_nonexistent.h>
4683 if ac_fn_c_try_cpp "$LINENO"; then :
4684 # Broken: success on invalid input.
4687 # Passes both tests.
4691 rm -f conftest.err conftest.i conftest.$ac_ext
4694 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4695 rm -f conftest.i conftest.err conftest.$ac_ext
4696 if $ac_preproc_ok; then :
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4709 $as_echo "$CPP" >&6; }
4711 for ac_c_preproc_warn_flag in '' yes
4713 # Use a header file that comes with gcc, so configuring glibc
4714 # with a fresh cross-compiler works.
4715 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4716 # <limits.h> exists even on freestanding compilers.
4717 # On the NeXT, cc -E runs the code through the compiler's parser,
4718 # not just through cpp. "Syntax error" is here to catch this case.
4719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4720 /* end confdefs.h. */
4722 @%:@ include <limits.h>
4724 @%:@ include <assert.h>
4728 if ac_fn_c_try_cpp "$LINENO"; then :
4731 # Broken: fails on valid input.
4734 rm -f conftest.err conftest.i conftest.$ac_ext
4736 # OK, works on sane cases. Now check whether nonexistent headers
4737 # can be detected and how.
4738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4739 /* end confdefs.h. */
4740 @%:@include <ac_nonexistent.h>
4742 if ac_fn_c_try_cpp "$LINENO"; then :
4743 # Broken: success on invalid input.
4746 # Passes both tests.
4750 rm -f conftest.err conftest.i conftest.$ac_ext
4753 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4754 rm -f conftest.i conftest.err conftest.$ac_ext
4755 if $ac_preproc_ok; then :
4758 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4759 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4760 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4761 See \`config.log' for more details" "$LINENO" 5; }
4765 ac_cpp='$CPP $CPPFLAGS'
4766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4772 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4773 if ${ac_cv_path_GREP+:} false; then :
4774 $as_echo_n "(cached) " >&6
4776 if test -z "$GREP"; then
4777 ac_path_GREP_found=false
4778 # Loop through the user's path and test for each of PROGNAME-LIST
4779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4780 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4783 test -z "$as_dir" && as_dir=.
4784 for ac_prog in grep ggrep; do
4785 for ac_exec_ext in '' $ac_executable_extensions; do
4786 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4787 as_fn_executable_p "$ac_path_GREP" || continue
4788 # Check for GNU ac_path_GREP and select it if it is found.
4789 # Check for GNU $ac_path_GREP
4790 case `"$ac_path_GREP" --version 2>&1` in
4792 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4795 $as_echo_n 0123456789 >"conftest.in"
4798 cat "conftest.in" "conftest.in" >"conftest.tmp"
4799 mv "conftest.tmp" "conftest.in"
4800 cp "conftest.in" "conftest.nl"
4801 $as_echo 'GREP' >> "conftest.nl"
4802 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4803 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4804 as_fn_arith $ac_count + 1 && ac_count=$as_val
4805 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4806 # Best one so far, save it but keep looking for a better one
4807 ac_cv_path_GREP="$ac_path_GREP"
4808 ac_path_GREP_max=$ac_count
4810 # 10*(2^10) chars as input seems more than enough
4811 test $ac_count -gt 10 && break
4813 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4816 $ac_path_GREP_found && break 3
4821 if test -z "$ac_cv_path_GREP"; then
4822 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4825 ac_cv_path_GREP=$GREP
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4830 $as_echo "$ac_cv_path_GREP" >&6; }
4831 GREP="$ac_cv_path_GREP"
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4835 $as_echo_n "checking for egrep... " >&6; }
4836 if ${ac_cv_path_EGREP+:} false; then :
4837 $as_echo_n "(cached) " >&6
4839 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4840 then ac_cv_path_EGREP="$GREP -E"
4842 if test -z "$EGREP"; then
4843 ac_path_EGREP_found=false
4844 # Loop through the user's path and test for each of PROGNAME-LIST
4845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4846 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4849 test -z "$as_dir" && as_dir=.
4850 for ac_prog in egrep; do
4851 for ac_exec_ext in '' $ac_executable_extensions; do
4852 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4853 as_fn_executable_p "$ac_path_EGREP" || continue
4854 # Check for GNU ac_path_EGREP and select it if it is found.
4855 # Check for GNU $ac_path_EGREP
4856 case `"$ac_path_EGREP" --version 2>&1` in
4858 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4861 $as_echo_n 0123456789 >"conftest.in"
4864 cat "conftest.in" "conftest.in" >"conftest.tmp"
4865 mv "conftest.tmp" "conftest.in"
4866 cp "conftest.in" "conftest.nl"
4867 $as_echo 'EGREP' >> "conftest.nl"
4868 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4869 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4870 as_fn_arith $ac_count + 1 && ac_count=$as_val
4871 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4872 # Best one so far, save it but keep looking for a better one
4873 ac_cv_path_EGREP="$ac_path_EGREP"
4874 ac_path_EGREP_max=$ac_count
4876 # 10*(2^10) chars as input seems more than enough
4877 test $ac_count -gt 10 && break
4879 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4882 $ac_path_EGREP_found && break 3
4887 if test -z "$ac_cv_path_EGREP"; then
4888 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4891 ac_cv_path_EGREP=$EGREP
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4897 $as_echo "$ac_cv_path_EGREP" >&6; }
4898 EGREP="$ac_cv_path_EGREP"
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4902 $as_echo_n "checking for ANSI C header files... " >&6; }
4903 if ${ac_cv_header_stdc+:} false; then :
4904 $as_echo_n "(cached) " >&6
4906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4907 /* end confdefs.h. */
4921 if ac_fn_c_try_compile "$LINENO"; then :
4922 ac_cv_header_stdc=yes
4924 ac_cv_header_stdc=no
4926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4928 if test $ac_cv_header_stdc = yes; then
4929 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4931 /* end confdefs.h. */
4935 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4936 $EGREP "memchr" >/dev/null 2>&1; then :
4939 ac_cv_header_stdc=no
4945 if test $ac_cv_header_stdc = yes; then
4946 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4948 /* end confdefs.h. */
4952 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4953 $EGREP "free" >/dev/null 2>&1; then :
4956 ac_cv_header_stdc=no
4962 if test $ac_cv_header_stdc = yes; then
4963 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4964 if test "$cross_compiling" = yes; then :
4967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4968 /* end confdefs.h. */
4971 #if ((' ' & 0x0FF) == 0x020)
4972 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4973 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4975 # define ISLOWER(c) \
4976 (('a' <= (c) && (c) <= 'i') \
4977 || ('j' <= (c) && (c) <= 'r') \
4978 || ('s' <= (c) && (c) <= 'z'))
4979 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4982 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4987 for (i = 0; i < 256; i++)
4988 if (XOR (islower (i), ISLOWER (i))
4989 || toupper (i) != TOUPPER (i))
4994 if ac_fn_c_try_run "$LINENO"; then :
4997 ac_cv_header_stdc=no
4999 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5000 conftest.$ac_objext conftest.beam conftest.$ac_ext
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5006 $as_echo "$ac_cv_header_stdc" >&6; }
5007 if test $ac_cv_header_stdc = yes; then
5009 $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
5013 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5014 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5015 inttypes.h stdint.h unistd.h
5017 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5018 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5020 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5021 cat >>confdefs.h <<_ACEOF
5022 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5030 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
5031 if test "x$ac_cv_type_size_t" = xyes; then :
5035 cat >>confdefs.h <<_ACEOF
5036 @%:@define size_t unsigned int
5041 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
5042 # for constant arguments. Useless!
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
5044 $as_echo_n "checking for working alloca.h... " >&6; }
5045 if ${ac_cv_working_alloca_h+:} false; then :
5046 $as_echo_n "(cached) " >&6
5048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5049 /* end confdefs.h. */
5050 @%:@include <alloca.h>
5054 char *p = (char *) alloca (2 * sizeof (int));
5060 if ac_fn_c_try_link "$LINENO"; then :
5061 ac_cv_working_alloca_h=yes
5063 ac_cv_working_alloca_h=no
5065 rm -f core conftest.err conftest.$ac_objext \
5066 conftest$ac_exeext conftest.$ac_ext
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
5069 $as_echo "$ac_cv_working_alloca_h" >&6; }
5070 if test $ac_cv_working_alloca_h = yes; then
5072 $as_echo "@%:@define HAVE_ALLOCA_H 1" >>confdefs.h
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
5077 $as_echo_n "checking for alloca... " >&6; }
5078 if ${ac_cv_func_alloca_works+:} false; then :
5079 $as_echo_n "(cached) " >&6
5081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5082 /* end confdefs.h. */
5084 # define alloca __builtin_alloca
5087 # include <malloc.h>
5088 # define alloca _alloca
5090 # ifdef HAVE_ALLOCA_H
5091 # include <alloca.h>
5096 # ifndef alloca /* predefined by HP cc +Olibcalls */
5097 void *alloca (size_t);
5107 char *p = (char *) alloca (1);
5113 if ac_fn_c_try_link "$LINENO"; then :
5114 ac_cv_func_alloca_works=yes
5116 ac_cv_func_alloca_works=no
5118 rm -f core conftest.err conftest.$ac_objext \
5119 conftest$ac_exeext conftest.$ac_ext
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
5122 $as_echo "$ac_cv_func_alloca_works" >&6; }
5124 if test $ac_cv_func_alloca_works = yes; then
5126 $as_echo "@%:@define HAVE_ALLOCA 1" >>confdefs.h
5129 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
5130 # that cause trouble. Some versions do not even contain alloca or
5131 # contain a buggy version. If you still want to use their alloca,
5132 # use ar to extract alloca.o from them instead of compiling alloca.c.
5134 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
5136 $as_echo "@%:@define C_ALLOCA 1" >>confdefs.h
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
5140 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
5141 if ${ac_cv_os_cray+:} false; then :
5142 $as_echo_n "(cached) " >&6
5144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5145 /* end confdefs.h. */
5146 #if defined CRAY && ! defined CRAY2
5153 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5154 $EGREP "webecray" >/dev/null 2>&1; then :
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
5163 $as_echo "$ac_cv_os_cray" >&6; }
5164 if test $ac_cv_os_cray = yes; then
5165 for ac_func in _getb67 GETB67 getb67; do
5166 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5167 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5168 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
5170 cat >>confdefs.h <<_ACEOF
5171 @%:@define CRAY_STACKSEG_END $ac_func
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
5181 $as_echo_n "checking stack direction for C alloca... " >&6; }
5182 if ${ac_cv_c_stack_direction+:} false; then :
5183 $as_echo_n "(cached) " >&6
5185 if test "$cross_compiling" = yes; then :
5186 ac_cv_c_stack_direction=0
5188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5189 /* end confdefs.h. */
5190 $ac_includes_default
5192 find_stack_direction (int *addr, int depth)
5197 *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
5198 dir = depth ? find_stack_direction (addr, depth - 1) : 0;
5203 main (int argc, char **argv)
5205 return find_stack_direction (0, argc + !argv + 20) < 0;
5208 if ac_fn_c_try_run "$LINENO"; then :
5209 ac_cv_c_stack_direction=1
5211 ac_cv_c_stack_direction=-1
5213 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5214 conftest.$ac_objext conftest.beam conftest.$ac_ext
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
5219 $as_echo "$ac_cv_c_stack_direction" >&6; }
5220 cat >>confdefs.h <<_ACEOF
5221 @%:@define STACK_DIRECTION $ac_cv_c_stack_direction
5227 for ac_header in libintl.h malloc.h stddef.h stdlib.h string.h
5229 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5230 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5231 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5232 cat >>confdefs.h <<_ACEOF
5233 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5241 # Checks for typedefs, structures, and compiler characteristics.
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
5243 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
5244 if ${ac_cv_header_stdbool_h+:} false; then :
5245 $as_echo_n "(cached) " >&6
5247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5248 /* end confdefs.h. */
5250 #include <stdbool.h>
5252 "error: bool is not defined"
5255 "error: false is not defined"
5258 "error: false is not 0"
5261 "error: true is not defined"
5264 "error: true is not 1"
5266 #ifndef __bool_true_false_are_defined
5267 "error: __bool_true_false_are_defined is not defined"
5270 struct s { _Bool s: 1; _Bool t; } s;
5272 char a[true == 1 ? 1 : -1];
5273 char b[false == 0 ? 1 : -1];
5274 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
5275 char d[(bool) 0.5 == true ? 1 : -1];
5276 /* See body of main program for 'e'. */
5277 char f[(_Bool) 0.0 == false ? 1 : -1];
5279 char h[sizeof (_Bool)];
5281 enum { j = false, k = true, l = false * true, m = true * 256 };
5282 /* The following fails for
5283 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
5285 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
5286 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
5287 /* Catch a bug in an HP-UX C compiler. See
5288 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
5289 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
5301 /* Refer to every declared value, to avoid compiler optimizations. */
5302 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
5303 + !m + !n + !o + !p + !q + !pq);
5309 if ac_fn_c_try_compile "$LINENO"; then :
5310 ac_cv_header_stdbool_h=yes
5312 ac_cv_header_stdbool_h=no
5314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
5317 $as_echo "$ac_cv_header_stdbool_h" >&6; }
5318 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
5319 if test "x$ac_cv_type__Bool" = xyes; then :
5321 cat >>confdefs.h <<_ACEOF
5322 @%:@define HAVE__BOOL 1
5329 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
5330 if test "x$ac_cv_type_size_t" = xyes; then :
5334 cat >>confdefs.h <<_ACEOF
5335 @%:@define size_t unsigned int
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5344 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5349 macro_version='2.4.6'
5350 macro_revision='2.4.6'
5364 ltmain=$ac_aux_dir/ltmain.sh
5366 # Make sure we can run config.sub.
5367 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5368 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5371 $as_echo_n "checking build system type... " >&6; }
5372 if ${ac_cv_build+:} false; then :
5373 $as_echo_n "(cached) " >&6
5375 ac_build_alias=$build_alias
5376 test "x$ac_build_alias" = x &&
5377 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5378 test "x$ac_build_alias" = x &&
5379 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5380 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5381 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5385 $as_echo "$ac_cv_build" >&6; }
5386 case $ac_cv_build in
5388 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5391 ac_save_IFS=$IFS; IFS='-'
5397 # Remember, the first character of IFS is used to create $*,
5398 # except with old shells:
5401 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5405 $as_echo_n "checking host system type... " >&6; }
5406 if ${ac_cv_host+:} false; then :
5407 $as_echo_n "(cached) " >&6
5409 if test "x$host_alias" = x; then
5410 ac_cv_host=$ac_cv_build
5412 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5413 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5418 $as_echo "$ac_cv_host" >&6; }
5421 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5424 ac_save_IFS=$IFS; IFS='-'
5430 # Remember, the first character of IFS is used to create $*,
5431 # except with old shells:
5434 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5437 # Backslashify metacharacters that are still active within
5438 # double-quoted strings.
5439 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5441 # Same as above, but do not quote variable references.
5442 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5444 # Sed substitution to delay expansion of an escaped shell variable in a
5445 # double_quote_subst'ed string.
5446 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5448 # Sed substitution to delay expansion of an escaped single quote.
5449 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5451 # Sed substitution to avoid accidental globbing in evaled expressions
5452 no_glob_subst='s/\*/\\\*/g'
5454 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5455 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5456 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5459 $as_echo_n "checking how to print strings... " >&6; }
5460 # Test print first, because it will be a builtin if present.
5461 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5462 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5464 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5467 # Use this function as a fallback that always works.
5468 func_fallback_echo ()
5470 eval 'cat <<_LTECHO_EOF
5474 ECHO='func_fallback_echo'
5477 # func_echo_all arg...
5478 # Invoke $ECHO with all args, space-separated.
5485 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5486 $as_echo "printf" >&6; } ;;
5487 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5488 $as_echo "print -r" >&6; } ;;
5489 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5490 $as_echo "cat" >&6; } ;;
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5507 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5508 if ${ac_cv_path_SED+:} false; then :
5509 $as_echo_n "(cached) " >&6
5511 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5512 for ac_i in 1 2 3 4 5 6 7; do
5513 ac_script="$ac_script$as_nl$ac_script"
5515 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5516 { ac_script=; unset ac_script;}
5517 if test -z "$SED"; then
5518 ac_path_SED_found=false
5519 # Loop through the user's path and test for each of PROGNAME-LIST
5520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5524 test -z "$as_dir" && as_dir=.
5525 for ac_prog in sed gsed; do
5526 for ac_exec_ext in '' $ac_executable_extensions; do
5527 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5528 as_fn_executable_p "$ac_path_SED" || continue
5529 # Check for GNU ac_path_SED and select it if it is found.
5530 # Check for GNU $ac_path_SED
5531 case `"$ac_path_SED" --version 2>&1` in
5533 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5536 $as_echo_n 0123456789 >"conftest.in"
5539 cat "conftest.in" "conftest.in" >"conftest.tmp"
5540 mv "conftest.tmp" "conftest.in"
5541 cp "conftest.in" "conftest.nl"
5542 $as_echo '' >> "conftest.nl"
5543 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5544 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5545 as_fn_arith $ac_count + 1 && ac_count=$as_val
5546 if test $ac_count -gt ${ac_path_SED_max-0}; then
5547 # Best one so far, save it but keep looking for a better one
5548 ac_cv_path_SED="$ac_path_SED"
5549 ac_path_SED_max=$ac_count
5551 # 10*(2^10) chars as input seems more than enough
5552 test $ac_count -gt 10 && break
5554 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5557 $ac_path_SED_found && break 3
5562 if test -z "$ac_cv_path_SED"; then
5563 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5571 $as_echo "$ac_cv_path_SED" >&6; }
5572 SED="$ac_cv_path_SED"
5575 test -z "$SED" && SED=sed
5576 Xsed="$SED -e 1s/^X//"
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5589 $as_echo_n "checking for fgrep... " >&6; }
5590 if ${ac_cv_path_FGREP+:} false; then :
5591 $as_echo_n "(cached) " >&6
5593 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5594 then ac_cv_path_FGREP="$GREP -F"
5596 if test -z "$FGREP"; then
5597 ac_path_FGREP_found=false
5598 # Loop through the user's path and test for each of PROGNAME-LIST
5599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5600 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5603 test -z "$as_dir" && as_dir=.
5604 for ac_prog in fgrep; do
5605 for ac_exec_ext in '' $ac_executable_extensions; do
5606 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5607 as_fn_executable_p "$ac_path_FGREP" || continue
5608 # Check for GNU ac_path_FGREP and select it if it is found.
5609 # Check for GNU $ac_path_FGREP
5610 case `"$ac_path_FGREP" --version 2>&1` in
5612 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5615 $as_echo_n 0123456789 >"conftest.in"
5618 cat "conftest.in" "conftest.in" >"conftest.tmp"
5619 mv "conftest.tmp" "conftest.in"
5620 cp "conftest.in" "conftest.nl"
5621 $as_echo 'FGREP' >> "conftest.nl"
5622 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5623 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5624 as_fn_arith $ac_count + 1 && ac_count=$as_val
5625 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5626 # Best one so far, save it but keep looking for a better one
5627 ac_cv_path_FGREP="$ac_path_FGREP"
5628 ac_path_FGREP_max=$ac_count
5630 # 10*(2^10) chars as input seems more than enough
5631 test $ac_count -gt 10 && break
5633 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5636 $ac_path_FGREP_found && break 3
5641 if test -z "$ac_cv_path_FGREP"; then
5642 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5645 ac_cv_path_FGREP=$FGREP
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5651 $as_echo "$ac_cv_path_FGREP" >&6; }
5652 FGREP="$ac_cv_path_FGREP"
5655 test -z "$GREP" && GREP=grep
5675 @%:@ Check whether --with-gnu-ld was given.
5676 if test "${with_gnu_ld+set}" = set; then :
5677 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5683 if test yes = "$GCC"; then
5684 # Check if gcc -print-prog-name=ld gives a path.
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5686 $as_echo_n "checking for ld used by $CC... " >&6; }
5689 # gcc leaves a trailing carriage return, which upsets mingw
5690 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5692 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5695 # Accept absolute paths.
5697 re_direlt='/[^/][^/]*/\.\./'
5698 # Canonicalize the pathname of ld
5699 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5700 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5701 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5703 test -z "$LD" && LD=$ac_prog
5706 # If it fails, then pretend we aren't using GCC.
5710 # If it is relative, then search for the first ld in PATH.
5714 elif test yes = "$with_gnu_ld"; then
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5716 $as_echo_n "checking for GNU ld... " >&6; }
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5719 $as_echo_n "checking for non-GNU ld... " >&6; }
5721 if ${lt_cv_path_LD+:} false; then :
5722 $as_echo_n "(cached) " >&6
5724 if test -z "$LD"; then
5725 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5726 for ac_dir in $PATH; do
5728 test -z "$ac_dir" && ac_dir=.
5729 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5730 lt_cv_path_LD=$ac_dir/$ac_prog
5731 # Check to see if the program is GNU ld. I'd rather use --version,
5732 # but apparently some variants of GNU ld only accept -v.
5733 # Break only if it was the GNU/non-GNU ld that we prefer.
5734 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5735 *GNU* | *'with BFD'*)
5736 test no != "$with_gnu_ld" && break
5739 test yes != "$with_gnu_ld" && break
5746 lt_cv_path_LD=$LD # Let the user override the test with a path.
5751 if test -n "$LD"; then
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5753 $as_echo "$LD" >&6; }
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5756 $as_echo "no" >&6; }
5758 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5760 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5761 if ${lt_cv_prog_gnu_ld+:} false; then :
5762 $as_echo_n "(cached) " >&6
5764 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5765 case `$LD -v 2>&1 </dev/null` in
5766 *GNU* | *'with BFD'*)
5767 lt_cv_prog_gnu_ld=yes
5770 lt_cv_prog_gnu_ld=no
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5775 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5776 with_gnu_ld=$lt_cv_prog_gnu_ld
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5787 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5788 if ${lt_cv_path_NM+:} false; then :
5789 $as_echo_n "(cached) " >&6
5791 if test -n "$NM"; then
5792 # Let the user override the test.
5795 lt_nm_to_check=${ac_tool_prefix}nm
5796 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5797 lt_nm_to_check="$lt_nm_to_check nm"
5799 for lt_tmp_nm in $lt_nm_to_check; do
5800 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5801 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5803 test -z "$ac_dir" && ac_dir=.
5804 tmp_nm=$ac_dir/$lt_tmp_nm
5805 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5806 # Check to see if the nm accepts a BSD-compat flag.
5807 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5808 # nm: unknown option "B" ignored
5809 # Tru64's nm complains that /dev/null is an invalid object file
5810 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5812 mingw*) lt_bad_file=conftest.nm/nofile ;;
5813 *) lt_bad_file=/dev/null ;;
5815 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5816 *$lt_bad_file* | *'Invalid file or object type'*)
5817 lt_cv_path_NM="$tmp_nm -B"
5821 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5823 lt_cv_path_NM="$tmp_nm -p"
5827 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5828 continue # so that we can try to find one that supports BSD flags
5837 : ${lt_cv_path_NM=no}
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5841 $as_echo "$lt_cv_path_NM" >&6; }
5842 if test no != "$lt_cv_path_NM"; then
5845 # Didn't find any BSD compatible name lister, look for dumpbin.
5846 if test -n "$DUMPBIN"; then :
5847 # Let the user override the test.
5849 if test -n "$ac_tool_prefix"; then
5850 for ac_prog in dumpbin "link -dump"
5852 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5853 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5855 $as_echo_n "checking for $ac_word... " >&6; }
5856 if ${ac_cv_prog_DUMPBIN+:} false; then :
5857 $as_echo_n "(cached) " >&6
5859 if test -n "$DUMPBIN"; then
5860 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5866 test -z "$as_dir" && as_dir=.
5867 for ac_exec_ext in '' $ac_executable_extensions; do
5868 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5869 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5879 DUMPBIN=$ac_cv_prog_DUMPBIN
5880 if test -n "$DUMPBIN"; then
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5882 $as_echo "$DUMPBIN" >&6; }
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5885 $as_echo "no" >&6; }
5889 test -n "$DUMPBIN" && break
5892 if test -z "$DUMPBIN"; then
5893 ac_ct_DUMPBIN=$DUMPBIN
5894 for ac_prog in dumpbin "link -dump"
5896 # Extract the first word of "$ac_prog", so it can be a program name with args.
5897 set dummy $ac_prog; ac_word=$2
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5899 $as_echo_n "checking for $ac_word... " >&6; }
5900 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5901 $as_echo_n "(cached) " >&6
5903 if test -n "$ac_ct_DUMPBIN"; then
5904 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5910 test -z "$as_dir" && as_dir=.
5911 for ac_exec_ext in '' $ac_executable_extensions; do
5912 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5913 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5923 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5924 if test -n "$ac_ct_DUMPBIN"; then
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5926 $as_echo "$ac_ct_DUMPBIN" >&6; }
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5929 $as_echo "no" >&6; }
5933 test -n "$ac_ct_DUMPBIN" && break
5936 if test "x$ac_ct_DUMPBIN" = x; then
5939 case $cross_compiling:$ac_tool_warned in
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5942 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5943 ac_tool_warned=yes ;;
5945 DUMPBIN=$ac_ct_DUMPBIN
5949 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5951 DUMPBIN="$DUMPBIN -symbols -headers"
5959 if test : != "$DUMPBIN"; then
5963 test -z "$NM" && NM=nm
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5971 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5972 if ${lt_cv_nm_interface+:} false; then :
5973 $as_echo_n "(cached) " >&6
5975 lt_cv_nm_interface="BSD nm"
5976 echo "int some_variable = 0;" > conftest.$ac_ext
5977 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5978 (eval "$ac_compile" 2>conftest.err)
5979 cat conftest.err >&5
5980 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5981 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5982 cat conftest.err >&5
5983 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5984 cat conftest.out >&5
5985 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5986 lt_cv_nm_interface="MS dumpbin"
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5991 $as_echo "$lt_cv_nm_interface" >&6; }
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5994 $as_echo_n "checking whether ln -s works... " >&6; }
5996 if test "$LN_S" = "ln -s"; then
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5998 $as_echo "yes" >&6; }
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6001 $as_echo "no, using $LN_S" >&6; }
6004 # find the maximum length of command line arguments
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6006 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6007 if ${lt_cv_sys_max_cmd_len+:} false; then :
6008 $as_echo_n "(cached) " >&6
6015 # On DJGPP, this test can blow up pretty badly due to problems in libc
6016 # (any single argument exceeding 2000 bytes causes a buffer overrun
6017 # during glob expansion). Even if it were fixed, the result of this
6018 # check would be larger than it should be.
6019 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6023 # Under GNU Hurd, this test is not required because there is
6024 # no limit to the length of command line arguments.
6025 # Libtool will interpret -1 as no limit whatsoever
6026 lt_cv_sys_max_cmd_len=-1;
6029 cygwin* | mingw* | cegcc*)
6030 # On Win9x/ME, this test blows up -- it succeeds, but takes
6031 # about 5 minutes as the teststring grows exponentially.
6032 # Worse, since 9x/ME are not pre-emptively multitasking,
6033 # you end up with a "frozen" computer, even though with patience
6034 # the test eventually succeeds (with a max line length of 256k).
6035 # Instead, let's just punt: use the minimum linelength reported by
6036 # all of the supported platforms: 8192 (on NT/2K/XP).
6037 lt_cv_sys_max_cmd_len=8192;
6041 # On MiNT this can take a long time and run out of memory.
6042 lt_cv_sys_max_cmd_len=8192;
6046 # On AmigaOS with pdksh, this test takes hours, literally.
6047 # So we just punt and use a minimum line length of 8192.
6048 lt_cv_sys_max_cmd_len=8192;
6051 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
6052 # This has been around since 386BSD, at least. Likely further.
6053 if test -x /sbin/sysctl; then
6054 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6055 elif test -x /usr/sbin/sysctl; then
6056 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6058 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6060 # And add a safety zone
6061 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6062 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6066 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6067 lt_cv_sys_max_cmd_len=196608
6071 # The test takes a long time on OS/2.
6072 lt_cv_sys_max_cmd_len=8192
6076 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6077 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6078 # nice to cause kernel panics so lets avoid the loop below.
6079 # First set a reasonable default.
6080 lt_cv_sys_max_cmd_len=16384
6082 if test -x /sbin/sysconfig; then
6083 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6084 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6089 lt_cv_sys_max_cmd_len=102400
6091 sysv5* | sco5v6* | sysv4.2uw2*)
6092 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6093 if test -n "$kargmax"; then
6094 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6096 lt_cv_sys_max_cmd_len=32768
6100 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6101 if test -n "$lt_cv_sys_max_cmd_len" && \
6102 test undefined != "$lt_cv_sys_max_cmd_len"; then
6103 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6104 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6106 # Make teststring a little bigger before we do anything with it.
6107 # a 1K string should be a reasonable start.
6108 for i in 1 2 3 4 5 6 7 8; do
6109 teststring=$teststring$teststring
6111 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6112 # If test is not a shell built-in, we'll probably end up computing a
6113 # maximum length that is only half of the actual maximum length, but
6115 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
6116 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6117 test 17 != "$i" # 1/2 MB should be enough
6120 teststring=$teststring$teststring
6122 # Only check the string length outside the loop.
6123 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6125 # Add a significant safety factor because C++ compilers can tack on
6126 # massive amounts of additional arguments before passing them to the
6127 # linker. It appears as though 1/2 is a usable value.
6128 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6135 if test -n "$lt_cv_sys_max_cmd_len"; then
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6137 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6140 $as_echo "none" >&6; }
6142 max_cmd_len=$lt_cv_sys_max_cmd_len
6153 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6163 # test EBCDIC or ASCII
6164 case `echo X|tr X '\101'` in
6165 A) # ASCII based system
6166 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6167 lt_SP2NL='tr \040 \012'
6168 lt_NL2SP='tr \015\012 \040\040'
6170 *) # EBCDIC based system
6171 lt_SP2NL='tr \100 \n'
6172 lt_NL2SP='tr \r\n \100\100'
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6185 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6186 if ${lt_cv_to_host_file_cmd+:} false; then :
6187 $as_echo_n "(cached) " >&6
6192 *-*-mingw* ) # actually msys
6193 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6196 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6198 * ) # otherwise, assume *nix
6199 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6205 *-*-mingw* ) # actually msys
6206 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6209 lt_cv_to_host_file_cmd=func_convert_file_noop
6211 * ) # otherwise, assume *nix
6212 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6216 * ) # unhandled hosts (and "normal" native builds)
6217 lt_cv_to_host_file_cmd=func_convert_file_noop
6223 to_host_file_cmd=$lt_cv_to_host_file_cmd
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6225 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6232 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6233 if ${lt_cv_to_tool_file_cmd+:} false; then :
6234 $as_echo_n "(cached) " >&6
6236 #assume ordinary cross tools, or native build.
6237 lt_cv_to_tool_file_cmd=func_convert_file_noop
6241 *-*-mingw* ) # actually msys
6242 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6250 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6252 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6259 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6260 if ${lt_cv_ld_reload_flag+:} false; then :
6261 $as_echo_n "(cached) " >&6
6263 lt_cv_ld_reload_flag='-r'
6265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6266 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6267 reload_flag=$lt_cv_ld_reload_flag
6268 case $reload_flag in
6270 *) reload_flag=" $reload_flag" ;;
6272 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6274 cygwin* | mingw* | pw32* | cegcc*)
6275 if test yes != "$GCC"; then
6280 if test yes = "$GCC"; then
6281 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6283 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6296 if test -n "$ac_tool_prefix"; then
6297 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6298 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6300 $as_echo_n "checking for $ac_word... " >&6; }
6301 if ${ac_cv_prog_OBJDUMP+:} false; then :
6302 $as_echo_n "(cached) " >&6
6304 if test -n "$OBJDUMP"; then
6305 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6311 test -z "$as_dir" && as_dir=.
6312 for ac_exec_ext in '' $ac_executable_extensions; do
6313 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6314 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6324 OBJDUMP=$ac_cv_prog_OBJDUMP
6325 if test -n "$OBJDUMP"; then
6326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6327 $as_echo "$OBJDUMP" >&6; }
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6330 $as_echo "no" >&6; }
6335 if test -z "$ac_cv_prog_OBJDUMP"; then
6336 ac_ct_OBJDUMP=$OBJDUMP
6337 # Extract the first word of "objdump", so it can be a program name with args.
6338 set dummy objdump; ac_word=$2
6339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6340 $as_echo_n "checking for $ac_word... " >&6; }
6341 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6342 $as_echo_n "(cached) " >&6
6344 if test -n "$ac_ct_OBJDUMP"; then
6345 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6351 test -z "$as_dir" && as_dir=.
6352 for ac_exec_ext in '' $ac_executable_extensions; do
6353 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6354 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6364 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6365 if test -n "$ac_ct_OBJDUMP"; then
6366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6367 $as_echo "$ac_ct_OBJDUMP" >&6; }
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6370 $as_echo "no" >&6; }
6373 if test "x$ac_ct_OBJDUMP" = x; then
6376 case $cross_compiling:$ac_tool_warned in
6378 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6379 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6380 ac_tool_warned=yes ;;
6382 OBJDUMP=$ac_ct_OBJDUMP
6385 OBJDUMP="$ac_cv_prog_OBJDUMP"
6388 test -z "$OBJDUMP" && OBJDUMP=objdump
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6399 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6400 if ${lt_cv_deplibs_check_method+:} false; then :
6401 $as_echo_n "(cached) " >&6
6403 lt_cv_file_magic_cmd='$MAGIC_CMD'
6404 lt_cv_file_magic_test_file=
6405 lt_cv_deplibs_check_method='unknown'
6406 # Need to set the preceding variable on all platforms that support
6407 # interlibrary dependencies.
6408 # 'none' -- dependencies not supported.
6409 # 'unknown' -- same as none, but documents that we really don't know.
6410 # 'pass_all' -- all dependencies passed with no checks.
6411 # 'test_compile' -- check by making test program.
6412 # 'file_magic [[regex]]' -- check by looking for files in library path
6413 # that responds to the $file_magic_cmd with a given extended regex.
6414 # If you have 'file' or equivalent on your system and you're not sure
6415 # whether 'pass_all' will *always* work, you probably want this one.
6419 lt_cv_deplibs_check_method=pass_all
6423 lt_cv_deplibs_check_method=pass_all
6427 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6428 lt_cv_file_magic_cmd='/usr/bin/file -L'
6429 lt_cv_file_magic_test_file=/shlib/libc.so
6433 # func_win32_libid is a shell function defined in ltmain.sh
6434 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6435 lt_cv_file_magic_cmd='func_win32_libid'
6439 # Base MSYS/MinGW do not provide the 'file' command needed by
6440 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6441 # unless we find 'file', for example because we are cross-compiling.
6442 if ( file / ) >/dev/null 2>&1; then
6443 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6444 lt_cv_file_magic_cmd='func_win32_libid'
6446 # Keep this pattern in sync with the one in func_win32_libid.
6447 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6448 lt_cv_file_magic_cmd='$OBJDUMP -f'
6453 # use the weaker test based on 'objdump'. See mingw*.
6454 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6455 lt_cv_file_magic_cmd='$OBJDUMP -f'
6458 darwin* | rhapsody*)
6459 lt_cv_deplibs_check_method=pass_all
6462 freebsd* | dragonfly*)
6463 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6466 # Not sure whether the presence of OpenBSD here was a mistake.
6467 # Let's accept both of them until this is cleared up.
6468 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6469 lt_cv_file_magic_cmd=/usr/bin/file
6470 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6474 lt_cv_deplibs_check_method=pass_all
6479 lt_cv_deplibs_check_method=pass_all
6482 hpux10.20* | hpux11*)
6483 lt_cv_file_magic_cmd=/usr/bin/file
6486 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6487 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6490 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]'
6491 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6494 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6495 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6501 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6502 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6505 irix5* | irix6* | nonstopux*)
6507 *-32|*"-32 ") libmagic=32-bit;;
6508 *-n32|*"-n32 ") libmagic=N32;;
6509 *-64|*"-64 ") libmagic=64-bit;;
6510 *) libmagic=never-match;;
6512 lt_cv_deplibs_check_method=pass_all
6515 # This must be glibc/ELF.
6516 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6517 lt_cv_deplibs_check_method=pass_all
6520 netbsd* | netbsdelf*-gnu)
6521 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6522 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6524 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6529 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6530 lt_cv_file_magic_cmd=/usr/bin/file
6531 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6535 lt_cv_deplibs_check_method=pass_all
6539 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6540 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6542 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6546 osf3* | osf4* | osf5*)
6547 lt_cv_deplibs_check_method=pass_all
6551 lt_cv_deplibs_check_method=pass_all
6555 lt_cv_deplibs_check_method=pass_all
6558 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6559 lt_cv_deplibs_check_method=pass_all
6563 case $host_vendor in
6565 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]'
6566 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6569 lt_cv_deplibs_check_method=pass_all
6572 lt_cv_file_magic_cmd='/bin/file'
6573 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6576 lt_cv_file_magic_cmd='/bin/file'
6577 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6578 lt_cv_file_magic_test_file=/lib/libc.so
6581 lt_cv_deplibs_check_method=pass_all
6584 lt_cv_deplibs_check_method=pass_all
6590 lt_cv_deplibs_check_method=pass_all
6593 lt_cv_deplibs_check_method=pass_all
6598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6599 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6603 if test "$build" = "$host"; then
6606 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6609 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6615 file_magic_cmd=$lt_cv_file_magic_cmd
6616 deplibs_check_method=$lt_cv_deplibs_check_method
6617 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6640 if test -n "$ac_tool_prefix"; then
6641 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6642 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6644 $as_echo_n "checking for $ac_word... " >&6; }
6645 if ${ac_cv_prog_DLLTOOL+:} false; then :
6646 $as_echo_n "(cached) " >&6
6648 if test -n "$DLLTOOL"; then
6649 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6655 test -z "$as_dir" && as_dir=.
6656 for ac_exec_ext in '' $ac_executable_extensions; do
6657 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6658 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6668 DLLTOOL=$ac_cv_prog_DLLTOOL
6669 if test -n "$DLLTOOL"; then
6670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6671 $as_echo "$DLLTOOL" >&6; }
6673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6674 $as_echo "no" >&6; }
6679 if test -z "$ac_cv_prog_DLLTOOL"; then
6680 ac_ct_DLLTOOL=$DLLTOOL
6681 # Extract the first word of "dlltool", so it can be a program name with args.
6682 set dummy dlltool; ac_word=$2
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6684 $as_echo_n "checking for $ac_word... " >&6; }
6685 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6686 $as_echo_n "(cached) " >&6
6688 if test -n "$ac_ct_DLLTOOL"; then
6689 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6695 test -z "$as_dir" && as_dir=.
6696 for ac_exec_ext in '' $ac_executable_extensions; do
6697 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6698 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6708 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6709 if test -n "$ac_ct_DLLTOOL"; then
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6711 $as_echo "$ac_ct_DLLTOOL" >&6; }
6713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6714 $as_echo "no" >&6; }
6717 if test "x$ac_ct_DLLTOOL" = x; then
6720 case $cross_compiling:$ac_tool_warned in
6722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6723 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6724 ac_tool_warned=yes ;;
6726 DLLTOOL=$ac_ct_DLLTOOL
6729 DLLTOOL="$ac_cv_prog_DLLTOOL"
6732 test -z "$DLLTOOL" && DLLTOOL=dlltool
6743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6744 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6745 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6746 $as_echo_n "(cached) " >&6
6748 lt_cv_sharedlib_from_linklib_cmd='unknown'
6751 cygwin* | mingw* | pw32* | cegcc*)
6752 # two different shell functions defined in ltmain.sh;
6753 # decide which one to use based on capabilities of $DLLTOOL
6754 case `$DLLTOOL --help 2>&1` in
6755 *--identify-strict*)
6756 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6759 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6764 # fallback: assume linklib IS sharedlib
6765 lt_cv_sharedlib_from_linklib_cmd=$ECHO
6770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6771 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6772 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6773 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6781 if test -n "$ac_tool_prefix"; then
6784 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6785 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6787 $as_echo_n "checking for $ac_word... " >&6; }
6788 if ${ac_cv_prog_AR+:} false; then :
6789 $as_echo_n "(cached) " >&6
6791 if test -n "$AR"; then
6792 ac_cv_prog_AR="$AR" # Let the user override the test.
6794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6798 test -z "$as_dir" && as_dir=.
6799 for ac_exec_ext in '' $ac_executable_extensions; do
6800 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6801 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6812 if test -n "$AR"; then
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6814 $as_echo "$AR" >&6; }
6816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6817 $as_echo "no" >&6; }
6821 test -n "$AR" && break
6824 if test -z "$AR"; then
6828 # Extract the first word of "$ac_prog", so it can be a program name with args.
6829 set dummy $ac_prog; ac_word=$2
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6831 $as_echo_n "checking for $ac_word... " >&6; }
6832 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6833 $as_echo_n "(cached) " >&6
6835 if test -n "$ac_ct_AR"; then
6836 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6842 test -z "$as_dir" && as_dir=.
6843 for ac_exec_ext in '' $ac_executable_extensions; do
6844 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6845 ac_cv_prog_ac_ct_AR="$ac_prog"
6846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6855 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6856 if test -n "$ac_ct_AR"; then
6857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6858 $as_echo "$ac_ct_AR" >&6; }
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6861 $as_echo "no" >&6; }
6865 test -n "$ac_ct_AR" && break
6868 if test "x$ac_ct_AR" = x; then
6871 case $cross_compiling:$ac_tool_warned in
6873 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6874 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6875 ac_tool_warned=yes ;;
6894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6895 $as_echo_n "checking for archiver @FILE support... " >&6; }
6896 if ${lt_cv_ar_at_file+:} false; then :
6897 $as_echo_n "(cached) " >&6
6900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6901 /* end confdefs.h. */
6911 if ac_fn_c_try_compile "$LINENO"; then :
6912 echo conftest.$ac_objext > conftest.lst
6913 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6914 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6915 (eval $lt_ar_try) 2>&5
6917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6918 test $ac_status = 0; }
6919 if test 0 -eq "$ac_status"; then
6920 # Ensure the archiver fails upon bogus file names.
6921 rm -f conftest.$ac_objext libconftest.a
6922 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6923 (eval $lt_ar_try) 2>&5
6925 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6926 test $ac_status = 0; }
6927 if test 0 -ne "$ac_status"; then
6931 rm -f conftest.* libconftest.a
6934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6938 $as_echo "$lt_cv_ar_at_file" >&6; }
6940 if test no = "$lt_cv_ar_at_file"; then
6943 archiver_list_spec=$lt_cv_ar_at_file
6952 if test -n "$ac_tool_prefix"; then
6953 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6954 set dummy ${ac_tool_prefix}strip; ac_word=$2
6955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6956 $as_echo_n "checking for $ac_word... " >&6; }
6957 if ${ac_cv_prog_STRIP+:} false; then :
6958 $as_echo_n "(cached) " >&6
6960 if test -n "$STRIP"; then
6961 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6967 test -z "$as_dir" && as_dir=.
6968 for ac_exec_ext in '' $ac_executable_extensions; do
6969 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6970 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6980 STRIP=$ac_cv_prog_STRIP
6981 if test -n "$STRIP"; then
6982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6983 $as_echo "$STRIP" >&6; }
6985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6986 $as_echo "no" >&6; }
6991 if test -z "$ac_cv_prog_STRIP"; then
6993 # Extract the first word of "strip", so it can be a program name with args.
6994 set dummy strip; ac_word=$2
6995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6996 $as_echo_n "checking for $ac_word... " >&6; }
6997 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6998 $as_echo_n "(cached) " >&6
7000 if test -n "$ac_ct_STRIP"; then
7001 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7007 test -z "$as_dir" && as_dir=.
7008 for ac_exec_ext in '' $ac_executable_extensions; do
7009 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7010 ac_cv_prog_ac_ct_STRIP="strip"
7011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7020 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7021 if test -n "$ac_ct_STRIP"; then
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7023 $as_echo "$ac_ct_STRIP" >&6; }
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7026 $as_echo "no" >&6; }
7029 if test "x$ac_ct_STRIP" = x; then
7032 case $cross_compiling:$ac_tool_warned in
7034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7035 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7036 ac_tool_warned=yes ;;
7041 STRIP="$ac_cv_prog_STRIP"
7044 test -z "$STRIP" && STRIP=:
7051 if test -n "$ac_tool_prefix"; then
7052 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7053 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7055 $as_echo_n "checking for $ac_word... " >&6; }
7056 if ${ac_cv_prog_RANLIB+:} false; then :
7057 $as_echo_n "(cached) " >&6
7059 if test -n "$RANLIB"; then
7060 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7066 test -z "$as_dir" && as_dir=.
7067 for ac_exec_ext in '' $ac_executable_extensions; do
7068 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7069 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7079 RANLIB=$ac_cv_prog_RANLIB
7080 if test -n "$RANLIB"; then
7081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7082 $as_echo "$RANLIB" >&6; }
7084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7085 $as_echo "no" >&6; }
7090 if test -z "$ac_cv_prog_RANLIB"; then
7091 ac_ct_RANLIB=$RANLIB
7092 # Extract the first word of "ranlib", so it can be a program name with args.
7093 set dummy ranlib; ac_word=$2
7094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7095 $as_echo_n "checking for $ac_word... " >&6; }
7096 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7097 $as_echo_n "(cached) " >&6
7099 if test -n "$ac_ct_RANLIB"; then
7100 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7106 test -z "$as_dir" && as_dir=.
7107 for ac_exec_ext in '' $ac_executable_extensions; do
7108 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7109 ac_cv_prog_ac_ct_RANLIB="ranlib"
7110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7119 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7120 if test -n "$ac_ct_RANLIB"; then
7121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7122 $as_echo "$ac_ct_RANLIB" >&6; }
7124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7125 $as_echo "no" >&6; }
7128 if test "x$ac_ct_RANLIB" = x; then
7131 case $cross_compiling:$ac_tool_warned in
7133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7134 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7135 ac_tool_warned=yes ;;
7137 RANLIB=$ac_ct_RANLIB
7140 RANLIB="$ac_cv_prog_RANLIB"
7143 test -z "$RANLIB" && RANLIB=:
7150 # Determine commands to create old-style static archives.
7151 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7152 old_postinstall_cmds='chmod 644 $oldlib'
7153 old_postuninstall_cmds=
7155 if test -n "$RANLIB"; then
7158 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7161 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7164 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7169 lock_old_archive_extraction=yes ;;
7171 lock_old_archive_extraction=no ;;
7212 # If no C compiler was specified, use CC.
7215 # If no C compiler flags were specified, use CFLAGS.
7216 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7218 # Allow CC to be a program name with arguments.
7222 # Check for command to grab the raw symbol name followed by C symbol from nm.
7223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7224 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7225 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7226 $as_echo_n "(cached) " >&6
7229 # These are sane defaults that work on at least a few old systems.
7230 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7232 # Character class describing NM global symbol codes.
7233 symcode='[BCDEGRST]'
7235 # Regexp to match symbols that can be accessed directly from C.
7236 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7238 # Define system-specific variables.
7243 cygwin* | mingw* | pw32* | cegcc*)
7244 symcode='[ABCDGISTW]'
7247 if test ia64 = "$host_cpu"; then
7248 symcode='[ABCDEGRST]'
7252 symcode='[BCDEGRST]'
7255 symcode='[BCDEGQRST]'
7266 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7274 # If we're using GNU nm, then use its standard symbol codes.
7275 case `$NM -V 2>&1` in
7276 *GNU* | *'with BFD'*)
7277 symcode='[ABCDGIRSTW]' ;;
7280 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7281 # Gets list of data symbols to import.
7282 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7283 # Adjust the below global symbol transforms to fixup imported variables.
7284 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7285 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
7286 lt_c_name_lib_hook="\
7287 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
7288 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
7290 # Disable hooks by default.
7291 lt_cv_sys_global_symbol_to_import=
7297 # Transform an extracted symbol line into a proper C declaration.
7298 # Some systems (esp. on ia64) link data and code symbols differently,
7299 # so use this general approach.
7300 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
7302 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7303 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7305 # Transform an extracted symbol line into symbol name and symbol address
7306 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
7308 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7309 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
7311 # Transform an extracted symbol line into symbol name with lib prefix and
7313 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
7314 $lt_c_name_lib_hook\
7315 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7316 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
7317 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
7319 # Handle CRLF in mingw tool chain
7323 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7327 # Try without a prefix underscore, then with it.
7328 for ac_symprfx in "" "_"; do
7330 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7331 symxfrm="\\1 $ac_symprfx\\2 \\2"
7333 # Write the raw and C identifiers.
7334 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7335 # Fake it for dumpbin and say T for any non-static function,
7336 # D for any global variable and I for any imported variable.
7337 # Also find C++ and __fastcall symbols from MSVC++,
7338 # which start with @ or ?.
7339 lt_cv_sys_global_symbol_pipe="$AWK '"\
7340 " {last_section=section; section=\$ 3};"\
7341 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7342 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7343 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7344 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7345 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7346 " \$ 0!~/External *\|/{next};"\
7347 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7348 " {if(hide[section]) next};"\
7349 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7350 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7351 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7352 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7353 " ' prfx=^$ac_symprfx"
7355 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7357 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7359 # Check to see that the pipe works correctly.
7363 cat > conftest.$ac_ext <<_LT_EOF
7368 void nm_test_func(void);
7369 void nm_test_func(void){}
7373 int main(){nm_test_var='a';nm_test_func();return(0);}
7376 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7377 (eval $ac_compile) 2>&5
7379 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7380 test $ac_status = 0; }; then
7381 # Now try to grab the symbols.
7383 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7384 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7386 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7387 test $ac_status = 0; } && test -s "$nlist"; then
7388 # Try sorting and uniquifying the output.
7389 if sort "$nlist" | uniq > "$nlist"T; then
7390 mv -f "$nlist"T "$nlist"
7395 # Make sure that we snagged all the symbols we need.
7396 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7397 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7398 cat <<_LT_EOF > conftest.$ac_ext
7399 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7400 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7401 /* DATA imports from DLLs on WIN32 can't be const, because runtime
7402 relocations are performed -- see ld's documentation on pseudo-relocs. */
7403 # define LT@&t@_DLSYM_CONST
7404 #elif defined __osf__
7405 /* This system does not cope well with relocations in const data. */
7406 # define LT@&t@_DLSYM_CONST
7408 # define LT@&t@_DLSYM_CONST const
7416 # Now generate the symbol file.
7417 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7419 cat <<_LT_EOF >> conftest.$ac_ext
7421 /* The mapping between symbol names and symbols. */
7422 LT@&t@_DLSYM_CONST struct {
7426 lt__PROGRAM__LTX_preloaded_symbols[] =
7428 { "@PROGRAM@", (void *) 0 },
7430 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7431 cat <<\_LT_EOF >> conftest.$ac_ext
7435 /* This works around a problem in FreeBSD linker */
7436 #ifdef FREEBSD_WORKAROUND
7437 static const void *lt_preloaded_setup() {
7438 return lt__PROGRAM__LTX_preloaded_symbols;
7446 # Now try linking the two files.
7447 mv conftest.$ac_objext conftstm.$ac_objext
7448 lt_globsym_save_LIBS=$LIBS
7449 lt_globsym_save_CFLAGS=$CFLAGS
7450 LIBS=conftstm.$ac_objext
7451 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7452 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7453 (eval $ac_link) 2>&5
7455 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7456 test $ac_status = 0; } && test -s conftest$ac_exeext; then
7459 LIBS=$lt_globsym_save_LIBS
7460 CFLAGS=$lt_globsym_save_CFLAGS
7462 echo "cannot find nm_test_func in $nlist" >&5
7465 echo "cannot find nm_test_var in $nlist" >&5
7468 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7471 echo "$progname: failed program was:" >&5
7472 cat conftest.$ac_ext >&5
7474 rm -rf conftest* conftst*
7476 # Do not use the global_symbol_pipe unless it works.
7477 if test yes = "$pipe_works"; then
7480 lt_cv_sys_global_symbol_pipe=
7486 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7487 lt_cv_sys_global_symbol_to_cdecl=
7489 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7491 $as_echo "failed" >&6; }
7493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7494 $as_echo "ok" >&6; }
7497 # Response file support.
7498 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7499 nm_file_list_spec='@'
7500 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7501 nm_file_list_spec='@'
7540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7541 $as_echo_n "checking for sysroot... " >&6; }
7543 @%:@ Check whether --with-sysroot was given.
7544 if test "${with_sysroot+set}" = set; then :
7545 withval=$with_sysroot;
7552 case $with_sysroot in #(
7554 if test yes = "$GCC"; then
7555 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7559 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7565 $as_echo "$with_sysroot" >&6; }
7566 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7571 $as_echo "${lt_sysroot:-no}" >&6; }
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7578 $as_echo_n "checking for a working dd... " >&6; }
7579 if ${ac_cv_path_lt_DD+:} false; then :
7580 $as_echo_n "(cached) " >&6
7582 printf 0123456789abcdef0123456789abcdef >conftest.i
7583 cat conftest.i conftest.i >conftest2.i
7585 if test -z "$lt_DD"; then
7586 ac_path_lt_DD_found=false
7587 # Loop through the user's path and test for each of PROGNAME-LIST
7588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7592 test -z "$as_dir" && as_dir=.
7593 for ac_prog in dd; do
7594 for ac_exec_ext in '' $ac_executable_extensions; do
7595 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
7596 as_fn_executable_p "$ac_path_lt_DD" || continue
7597 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7598 cmp -s conftest.i conftest.out \
7599 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7601 $ac_path_lt_DD_found && break 3
7606 if test -z "$ac_cv_path_lt_DD"; then
7610 ac_cv_path_lt_DD=$lt_DD
7613 rm -f conftest.i conftest2.i conftest.out
7615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7616 $as_echo "$ac_cv_path_lt_DD" >&6; }
7619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7620 $as_echo_n "checking how to truncate binary pipes... " >&6; }
7621 if ${lt_cv_truncate_bin+:} false; then :
7622 $as_echo_n "(cached) " >&6
7624 printf 0123456789abcdef0123456789abcdef >conftest.i
7625 cat conftest.i conftest.i >conftest2.i
7627 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7628 cmp -s conftest.i conftest.out \
7629 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
7631 rm -f conftest.i conftest2.i conftest.out
7632 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
7634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7635 $as_echo "$lt_cv_truncate_bin" >&6; }
7643 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
7646 for cc_temp in @S|@*""; do
7648 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7649 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7654 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7657 @%:@ Check whether --enable-libtool-lock was given.
7658 if test "${enable_libtool_lock+set}" = set; then :
7659 enableval=$enable_libtool_lock;
7662 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7664 # Some flags need to be propagated to the compiler or linker for good
7668 # Find out what ABI is being produced by ac_compile, and set mode
7669 # options accordingly.
7670 echo 'int i;' > conftest.$ac_ext
7671 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7672 (eval $ac_compile) 2>&5
7674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7675 test $ac_status = 0; }; then
7676 case `/usr/bin/file conftest.$ac_objext` in
7688 # Find out what ABI is being produced by ac_compile, and set linker
7689 # options accordingly.
7690 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7691 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7692 (eval $ac_compile) 2>&5
7694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7695 test $ac_status = 0; }; then
7696 if test yes = "$lt_cv_prog_gnu_ld"; then
7697 case `/usr/bin/file conftest.$ac_objext` in
7699 LD="${LD-ld} -melf32bsmip"
7702 LD="${LD-ld} -melf32bmipn32"
7705 LD="${LD-ld} -melf64bmip"
7709 case `/usr/bin/file conftest.$ac_objext` in
7726 # Find out what ABI is being produced by ac_compile, and set linker
7727 # options accordingly.
7728 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7729 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7730 (eval $ac_compile) 2>&5
7732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7733 test $ac_status = 0; }; then
7735 case `/usr/bin/file conftest.$ac_objext` in
7743 case `/usr/bin/file conftest.$ac_objext` in
7745 emul="${emul}btsmip"
7748 emul="${emul}ltsmip"
7751 case `/usr/bin/file conftest.$ac_objext` in
7756 LD="${LD-ld} -m $emul"
7761 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7762 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7763 # Find out what ABI is being produced by ac_compile, and set linker
7764 # options accordingly. Note that the listed cases only cover the
7765 # situations where additional linker options are needed (such as when
7766 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7767 # vice versa); the common cases where no linker options are needed do
7768 # not appear in the list.
7769 echo 'int i;' > conftest.$ac_ext
7770 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7771 (eval $ac_compile) 2>&5
7773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7774 test $ac_status = 0; }; then
7775 case `/usr/bin/file conftest.o` in
7778 x86_64-*kfreebsd*-gnu)
7779 LD="${LD-ld} -m elf_i386_fbsd"
7782 case `/usr/bin/file conftest.o` in
7784 LD="${LD-ld} -m elf32_x86_64"
7787 LD="${LD-ld} -m elf_i386"
7791 powerpc64le-*linux*)
7792 LD="${LD-ld} -m elf32lppclinux"
7795 LD="${LD-ld} -m elf32ppclinux"
7798 LD="${LD-ld} -m elf_s390"
7801 LD="${LD-ld} -m elf32_sparc"
7807 x86_64-*kfreebsd*-gnu)
7808 LD="${LD-ld} -m elf_x86_64_fbsd"
7811 LD="${LD-ld} -m elf_x86_64"
7814 LD="${LD-ld} -m elf64lppc"
7817 LD="${LD-ld} -m elf64ppc"
7819 s390*-*linux*|s390*-*tpf*)
7820 LD="${LD-ld} -m elf64_s390"
7823 LD="${LD-ld} -m elf64_sparc"
7833 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7835 CFLAGS="$CFLAGS -belf"
7836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7837 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7838 if ${lt_cv_cc_needs_belf+:} false; then :
7839 $as_echo_n "(cached) " >&6
7842 ac_cpp='$CPP $CPPFLAGS'
7843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7848 /* end confdefs.h. */
7858 if ac_fn_c_try_link "$LINENO"; then :
7859 lt_cv_cc_needs_belf=yes
7861 lt_cv_cc_needs_belf=no
7863 rm -f core conftest.err conftest.$ac_objext \
7864 conftest$ac_exeext conftest.$ac_ext
7866 ac_cpp='$CPP $CPPFLAGS'
7867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7873 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7874 if test yes != "$lt_cv_cc_needs_belf"; then
7875 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7880 # Find out what ABI is being produced by ac_compile, and set linker
7881 # options accordingly.
7882 echo 'int i;' > conftest.$ac_ext
7883 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7884 (eval $ac_compile) 2>&5
7886 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7887 test $ac_status = 0; }; then
7888 case `/usr/bin/file conftest.o` in
7890 case $lt_cv_prog_gnu_ld in
7893 i?86-*-solaris*|x86_64-*-solaris*)
7894 LD="${LD-ld} -m elf_x86_64"
7897 LD="${LD-ld} -m elf64_sparc"
7900 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7901 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7906 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7918 need_locks=$enable_libtool_lock
7920 if test -n "$ac_tool_prefix"; then
7921 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7922 set dummy ${ac_tool_prefix}mt; ac_word=$2
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7924 $as_echo_n "checking for $ac_word... " >&6; }
7925 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7926 $as_echo_n "(cached) " >&6
7928 if test -n "$MANIFEST_TOOL"; then
7929 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7935 test -z "$as_dir" && as_dir=.
7936 for ac_exec_ext in '' $ac_executable_extensions; do
7937 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7938 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7948 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7949 if test -n "$MANIFEST_TOOL"; then
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7951 $as_echo "$MANIFEST_TOOL" >&6; }
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7954 $as_echo "no" >&6; }
7959 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7960 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7961 # Extract the first word of "mt", so it can be a program name with args.
7962 set dummy mt; ac_word=$2
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7964 $as_echo_n "checking for $ac_word... " >&6; }
7965 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7966 $as_echo_n "(cached) " >&6
7968 if test -n "$ac_ct_MANIFEST_TOOL"; then
7969 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7975 test -z "$as_dir" && as_dir=.
7976 for ac_exec_ext in '' $ac_executable_extensions; do
7977 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7978 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7988 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7989 if test -n "$ac_ct_MANIFEST_TOOL"; then
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7991 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7994 $as_echo "no" >&6; }
7997 if test "x$ac_ct_MANIFEST_TOOL" = x; then
8000 case $cross_compiling:$ac_tool_warned in
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8003 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8004 ac_tool_warned=yes ;;
8006 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8009 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8012 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8014 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8015 if ${lt_cv_path_mainfest_tool+:} false; then :
8016 $as_echo_n "(cached) " >&6
8018 lt_cv_path_mainfest_tool=no
8019 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8020 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8021 cat conftest.err >&5
8022 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8023 lt_cv_path_mainfest_tool=yes
8027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8028 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
8029 if test yes != "$lt_cv_path_mainfest_tool"; then
8039 rhapsody* | darwin*)
8040 if test -n "$ac_tool_prefix"; then
8041 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8042 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8044 $as_echo_n "checking for $ac_word... " >&6; }
8045 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8046 $as_echo_n "(cached) " >&6
8048 if test -n "$DSYMUTIL"; then
8049 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8055 test -z "$as_dir" && as_dir=.
8056 for ac_exec_ext in '' $ac_executable_extensions; do
8057 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8058 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8068 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8069 if test -n "$DSYMUTIL"; then
8070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8071 $as_echo "$DSYMUTIL" >&6; }
8073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8074 $as_echo "no" >&6; }
8079 if test -z "$ac_cv_prog_DSYMUTIL"; then
8080 ac_ct_DSYMUTIL=$DSYMUTIL
8081 # Extract the first word of "dsymutil", so it can be a program name with args.
8082 set dummy dsymutil; ac_word=$2
8083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8084 $as_echo_n "checking for $ac_word... " >&6; }
8085 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8086 $as_echo_n "(cached) " >&6
8088 if test -n "$ac_ct_DSYMUTIL"; then
8089 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8095 test -z "$as_dir" && as_dir=.
8096 for ac_exec_ext in '' $ac_executable_extensions; do
8097 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8098 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8108 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8109 if test -n "$ac_ct_DSYMUTIL"; then
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8111 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8114 $as_echo "no" >&6; }
8117 if test "x$ac_ct_DSYMUTIL" = x; then
8120 case $cross_compiling:$ac_tool_warned in
8122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8123 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8124 ac_tool_warned=yes ;;
8126 DSYMUTIL=$ac_ct_DSYMUTIL
8129 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8132 if test -n "$ac_tool_prefix"; then
8133 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8134 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8136 $as_echo_n "checking for $ac_word... " >&6; }
8137 if ${ac_cv_prog_NMEDIT+:} false; then :
8138 $as_echo_n "(cached) " >&6
8140 if test -n "$NMEDIT"; then
8141 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8147 test -z "$as_dir" && as_dir=.
8148 for ac_exec_ext in '' $ac_executable_extensions; do
8149 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8150 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8160 NMEDIT=$ac_cv_prog_NMEDIT
8161 if test -n "$NMEDIT"; then
8162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8163 $as_echo "$NMEDIT" >&6; }
8165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8166 $as_echo "no" >&6; }
8171 if test -z "$ac_cv_prog_NMEDIT"; then
8172 ac_ct_NMEDIT=$NMEDIT
8173 # Extract the first word of "nmedit", so it can be a program name with args.
8174 set dummy nmedit; ac_word=$2
8175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8176 $as_echo_n "checking for $ac_word... " >&6; }
8177 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8178 $as_echo_n "(cached) " >&6
8180 if test -n "$ac_ct_NMEDIT"; then
8181 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8187 test -z "$as_dir" && as_dir=.
8188 for ac_exec_ext in '' $ac_executable_extensions; do
8189 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8190 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8200 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8201 if test -n "$ac_ct_NMEDIT"; then
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8203 $as_echo "$ac_ct_NMEDIT" >&6; }
8205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8206 $as_echo "no" >&6; }
8209 if test "x$ac_ct_NMEDIT" = x; then
8212 case $cross_compiling:$ac_tool_warned in
8214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8215 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8216 ac_tool_warned=yes ;;
8218 NMEDIT=$ac_ct_NMEDIT
8221 NMEDIT="$ac_cv_prog_NMEDIT"
8224 if test -n "$ac_tool_prefix"; then
8225 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8226 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8228 $as_echo_n "checking for $ac_word... " >&6; }
8229 if ${ac_cv_prog_LIPO+:} false; then :
8230 $as_echo_n "(cached) " >&6
8232 if test -n "$LIPO"; then
8233 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8239 test -z "$as_dir" && as_dir=.
8240 for ac_exec_ext in '' $ac_executable_extensions; do
8241 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8242 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8252 LIPO=$ac_cv_prog_LIPO
8253 if test -n "$LIPO"; then
8254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8255 $as_echo "$LIPO" >&6; }
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8258 $as_echo "no" >&6; }
8263 if test -z "$ac_cv_prog_LIPO"; then
8265 # Extract the first word of "lipo", so it can be a program name with args.
8266 set dummy lipo; ac_word=$2
8267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8268 $as_echo_n "checking for $ac_word... " >&6; }
8269 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8270 $as_echo_n "(cached) " >&6
8272 if test -n "$ac_ct_LIPO"; then
8273 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8279 test -z "$as_dir" && as_dir=.
8280 for ac_exec_ext in '' $ac_executable_extensions; do
8281 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8282 ac_cv_prog_ac_ct_LIPO="lipo"
8283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8292 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8293 if test -n "$ac_ct_LIPO"; then
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8295 $as_echo "$ac_ct_LIPO" >&6; }
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8298 $as_echo "no" >&6; }
8301 if test "x$ac_ct_LIPO" = x; then
8304 case $cross_compiling:$ac_tool_warned in
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8307 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8308 ac_tool_warned=yes ;;
8313 LIPO="$ac_cv_prog_LIPO"
8316 if test -n "$ac_tool_prefix"; then
8317 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8318 set dummy ${ac_tool_prefix}otool; ac_word=$2
8319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8320 $as_echo_n "checking for $ac_word... " >&6; }
8321 if ${ac_cv_prog_OTOOL+:} false; then :
8322 $as_echo_n "(cached) " >&6
8324 if test -n "$OTOOL"; then
8325 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8331 test -z "$as_dir" && as_dir=.
8332 for ac_exec_ext in '' $ac_executable_extensions; do
8333 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8334 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8344 OTOOL=$ac_cv_prog_OTOOL
8345 if test -n "$OTOOL"; then
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8347 $as_echo "$OTOOL" >&6; }
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8350 $as_echo "no" >&6; }
8355 if test -z "$ac_cv_prog_OTOOL"; then
8357 # Extract the first word of "otool", so it can be a program name with args.
8358 set dummy otool; ac_word=$2
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8360 $as_echo_n "checking for $ac_word... " >&6; }
8361 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8362 $as_echo_n "(cached) " >&6
8364 if test -n "$ac_ct_OTOOL"; then
8365 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8371 test -z "$as_dir" && as_dir=.
8372 for ac_exec_ext in '' $ac_executable_extensions; do
8373 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8374 ac_cv_prog_ac_ct_OTOOL="otool"
8375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8384 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8385 if test -n "$ac_ct_OTOOL"; then
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8387 $as_echo "$ac_ct_OTOOL" >&6; }
8389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8390 $as_echo "no" >&6; }
8393 if test "x$ac_ct_OTOOL" = x; then
8396 case $cross_compiling:$ac_tool_warned in
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8399 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8400 ac_tool_warned=yes ;;
8405 OTOOL="$ac_cv_prog_OTOOL"
8408 if test -n "$ac_tool_prefix"; then
8409 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8410 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8412 $as_echo_n "checking for $ac_word... " >&6; }
8413 if ${ac_cv_prog_OTOOL64+:} false; then :
8414 $as_echo_n "(cached) " >&6
8416 if test -n "$OTOOL64"; then
8417 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8423 test -z "$as_dir" && as_dir=.
8424 for ac_exec_ext in '' $ac_executable_extensions; do
8425 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8426 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8436 OTOOL64=$ac_cv_prog_OTOOL64
8437 if test -n "$OTOOL64"; then
8438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8439 $as_echo "$OTOOL64" >&6; }
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8442 $as_echo "no" >&6; }
8447 if test -z "$ac_cv_prog_OTOOL64"; then
8448 ac_ct_OTOOL64=$OTOOL64
8449 # Extract the first word of "otool64", so it can be a program name with args.
8450 set dummy otool64; ac_word=$2
8451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8452 $as_echo_n "checking for $ac_word... " >&6; }
8453 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8454 $as_echo_n "(cached) " >&6
8456 if test -n "$ac_ct_OTOOL64"; then
8457 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8463 test -z "$as_dir" && as_dir=.
8464 for ac_exec_ext in '' $ac_executable_extensions; do
8465 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8466 ac_cv_prog_ac_ct_OTOOL64="otool64"
8467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8476 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8477 if test -n "$ac_ct_OTOOL64"; then
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8479 $as_echo "$ac_ct_OTOOL64" >&6; }
8481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8482 $as_echo "no" >&6; }
8485 if test "x$ac_ct_OTOOL64" = x; then
8488 case $cross_compiling:$ac_tool_warned in
8490 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8491 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8492 ac_tool_warned=yes ;;
8494 OTOOL64=$ac_ct_OTOOL64
8497 OTOOL64="$ac_cv_prog_OTOOL64"
8526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8527 $as_echo_n "checking for -single_module linker flag... " >&6; }
8528 if ${lt_cv_apple_cc_single_mod+:} false; then :
8529 $as_echo_n "(cached) " >&6
8531 lt_cv_apple_cc_single_mod=no
8532 if test -z "$LT_MULTI_MODULE"; then
8533 # By default we will add the -single_module flag. You can override
8534 # by either setting the environment variable LT_MULTI_MODULE
8535 # non-empty at configure time, or by adding -multi_module to the
8537 rm -rf libconftest.dylib*
8538 echo "int foo(void){return 1;}" > conftest.c
8539 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8540 -dynamiclib -Wl,-single_module conftest.c" >&5
8541 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8542 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8544 # If there is a non-empty error log, and "single_module"
8545 # appears in it, assume the flag caused a linker warning
8546 if test -s conftest.err && $GREP single_module conftest.err; then
8547 cat conftest.err >&5
8548 # Otherwise, if the output was created with a 0 exit code from
8549 # the compiler, it worked.
8550 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8551 lt_cv_apple_cc_single_mod=yes
8553 cat conftest.err >&5
8555 rm -rf libconftest.dylib*
8559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8560 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8563 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8564 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8565 $as_echo_n "(cached) " >&6
8567 lt_cv_ld_exported_symbols_list=no
8568 save_LDFLAGS=$LDFLAGS
8569 echo "_main" > conftest.sym
8570 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8572 /* end confdefs.h. */
8582 if ac_fn_c_try_link "$LINENO"; then :
8583 lt_cv_ld_exported_symbols_list=yes
8585 lt_cv_ld_exported_symbols_list=no
8587 rm -f core conftest.err conftest.$ac_objext \
8588 conftest$ac_exeext conftest.$ac_ext
8589 LDFLAGS=$save_LDFLAGS
8592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8593 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8596 $as_echo_n "checking for -force_load linker flag... " >&6; }
8597 if ${lt_cv_ld_force_load+:} false; then :
8598 $as_echo_n "(cached) " >&6
8600 lt_cv_ld_force_load=no
8601 cat > conftest.c << _LT_EOF
8602 int forced_loaded() { return 2;}
8604 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8605 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8606 echo "$AR cru libconftest.a conftest.o" >&5
8607 $AR cru libconftest.a conftest.o 2>&5
8608 echo "$RANLIB libconftest.a" >&5
8609 $RANLIB libconftest.a 2>&5
8610 cat > conftest.c << _LT_EOF
8611 int main() { return 0;}
8613 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8614 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8616 if test -s conftest.err && $GREP force_load conftest.err; then
8617 cat conftest.err >&5
8618 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8619 lt_cv_ld_force_load=yes
8621 cat conftest.err >&5
8623 rm -f conftest.err libconftest.a conftest conftest.c
8624 rm -rf conftest.dSYM
8627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8628 $as_echo "$lt_cv_ld_force_load" >&6; }
8630 rhapsody* | darwin1.[012])
8631 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8633 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8634 darwin*) # darwin 5.x on
8635 # if running on 10.5 or later, the deployment target defaults
8636 # to the OS version, if on x86, and 10.4, the deployment
8637 # target defaults to 10.4. Don't you love it?
8638 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8639 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8640 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8642 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8644 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8648 if test yes = "$lt_cv_apple_cc_single_mod"; then
8649 _lt_dar_single_mod='$single_module'
8651 if test yes = "$lt_cv_ld_exported_symbols_list"; then
8652 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8654 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8656 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8657 _lt_dsymutil='~$DSYMUTIL $lib || :'
8664 # func_munge_path_list VARIABLE PATH
8665 # -----------------------------------
8666 # VARIABLE is name of variable containing _space_ separated list of
8667 # directories to be munged by the contents of PATH, which is string
8670 # string "DIR[ DIR]" will be prepended to VARIABLE
8672 # string "DIR[ DIR]" will be appended to VARIABLE
8673 # "DIRP[:DIRP]::[DIRA:]DIRA"
8674 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
8675 # "DIRA[ DIRA]" will be appended to VARIABLE
8677 # VARIABLE will be replaced by "DIR[ DIR]"
8678 func_munge_path_list ()
8684 eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'` \@S|@@S|@1\"
8687 eval @S|@1=\"\@S|@@S|@1 `$ECHO @S|@2 | $SED 's/:/ /g'`\"
8690 eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8691 eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\"
8694 eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'`\"
8699 for ac_header in dlfcn.h
8701 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8703 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8704 cat >>confdefs.h <<_ACEOF
8705 @%:@define HAVE_DLFCN_H 1
8715 func_stripname_cnf ()
8718 .*) func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%\\\\@S|@2\$%%"`;;
8719 *) func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%@S|@2\$%%"`;;
8721 } # func_stripname_cnf
8737 @%:@ Check whether --enable-shared was given.
8738 if test "${enable_shared+set}" = set; then :
8739 enableval=$enable_shared; p=${PACKAGE-default}
8741 yes) enable_shared=yes ;;
8742 no) enable_shared=no ;;
8745 # Look at the argument we got. We use all the common list separators.
8746 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8747 for pkg in $enableval; do
8749 if test "X$pkg" = "X$p"; then
8768 @%:@ Check whether --enable-static was given.
8769 if test "${enable_static+set}" = set; then :
8770 enableval=$enable_static; p=${PACKAGE-default}
8772 yes) enable_static=yes ;;
8773 no) enable_static=no ;;
8776 # Look at the argument we got. We use all the common list separators.
8777 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8778 for pkg in $enableval; do
8780 if test "X$pkg" = "X$p"; then
8800 @%:@ Check whether --with-pic was given.
8801 if test "${with_pic+set}" = set; then :
8802 withval=$with_pic; lt_p=${PACKAGE-default}
8804 yes|no) pic_mode=$withval ;;
8807 # Look at the argument we got. We use all the common list separators.
8808 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8809 for lt_pkg in $withval; do
8811 if test "X$lt_pkg" = "X$lt_p"; then
8829 @%:@ Check whether --enable-fast-install was given.
8830 if test "${enable_fast_install+set}" = set; then :
8831 enableval=$enable_fast_install; p=${PACKAGE-default}
8833 yes) enable_fast_install=yes ;;
8834 no) enable_fast_install=no ;;
8836 enable_fast_install=no
8837 # Look at the argument we got. We use all the common list separators.
8838 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8839 for pkg in $enableval; do
8841 if test "X$pkg" = "X$p"; then
8842 enable_fast_install=yes
8849 enable_fast_install=yes
8859 shared_archive_member_spec=
8860 case $host,$enable_shared in
8861 power*-*-aix[5-9]*,yes)
8862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
8863 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
8865 @%:@ Check whether --with-aix-soname was given.
8866 if test "${with_aix_soname+set}" = set; then :
8867 withval=$with_aix_soname; case $withval in
8871 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
8874 lt_cv_with_aix_soname=$with_aix_soname
8876 if ${lt_cv_with_aix_soname+:} false; then :
8877 $as_echo_n "(cached) " >&6
8879 lt_cv_with_aix_soname=aix
8882 with_aix_soname=$lt_cv_with_aix_soname
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8886 $as_echo "$with_aix_soname" >&6; }
8887 if test aix != "$with_aix_soname"; then
8888 # For the AIX way of multilib, we name the shared archive member
8889 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
8890 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
8891 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8892 # the AIX toolchain works better with OBJECT_MODE set (default 32).
8893 if test 64 = "${OBJECT_MODE-32}"; then
8894 shared_archive_member_spec=shr_64
8896 shared_archive_member_spec=shr
8914 # This can be used to rebuild libtool when needed
8915 LIBTOOL_DEPS=$ltmain
8917 # Always use our own libtool.
8918 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8949 test -z "$LN_S" && LN_S="ln -s"
8964 if test -n "${ZSH_VERSION+set}"; then
8965 setopt NO_GLOB_SUBST
8968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8969 $as_echo_n "checking for objdir... " >&6; }
8970 if ${lt_cv_objdir+:} false; then :
8971 $as_echo_n "(cached) " >&6
8973 rm -f .libs 2>/dev/null
8974 mkdir .libs 2>/dev/null
8975 if test -d .libs; then
8978 # MS-DOS does not allow filenames that begin with a dot.
8981 rmdir .libs 2>/dev/null
8983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8984 $as_echo "$lt_cv_objdir" >&6; }
8985 objdir=$lt_cv_objdir
8991 cat >>confdefs.h <<_ACEOF
8992 @%:@define LT_OBJDIR "$lt_cv_objdir/"
9000 # AIX sometimes has problems with the GCC collect2 program. For some
9001 # reason, if we set the COLLECT_NAMES environment variable, the problems
9002 # vanish in a puff of smoke.
9003 if test set != "${COLLECT_NAMES+set}"; then
9005 export COLLECT_NAMES
9012 can_build_shared=yes
9014 # All known linkers require a '.a' archive for static linking (except MSVC,
9015 # which needs '.lib').
9018 with_gnu_ld=$lt_cv_prog_gnu_ld
9023 # Set sane defaults for various variables
9024 test -z "$CC" && CC=cc
9025 test -z "$LTCC" && LTCC=$CC
9026 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9027 test -z "$LD" && LD=ld
9028 test -z "$ac_objext" && ac_objext=o
9030 func_cc_basename $compiler
9031 cc_basename=$func_cc_basename_result
9034 # Only perform the check for file, if the check method requires it
9035 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9036 case $deplibs_check_method in
9038 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9040 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9041 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9042 $as_echo_n "(cached) " >&6
9046 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9049 lt_save_MAGIC_CMD=$MAGIC_CMD
9050 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9051 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9052 for ac_dir in $ac_dummy; do
9054 test -z "$ac_dir" && ac_dir=.
9055 if test -f "$ac_dir/${ac_tool_prefix}file"; then
9056 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
9057 if test -n "$file_magic_test_file"; then
9058 case $deplibs_check_method in
9060 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9061 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9062 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9063 $EGREP "$file_magic_regex" > /dev/null; then
9068 *** Warning: the command libtool uses to detect shared libraries,
9069 *** $file_magic_cmd, produces output that libtool cannot recognize.
9070 *** The result is that libtool may fail to recognize shared libraries
9071 *** as such. This will affect the creation of libtool libraries that
9072 *** depend on shared libraries, but programs linked with such libtool
9073 *** libraries will work regardless of this problem. Nevertheless, you
9074 *** may want to report the problem to your system manager and/or to
9075 *** bug-libtool@gnu.org
9085 MAGIC_CMD=$lt_save_MAGIC_CMD
9090 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9091 if test -n "$MAGIC_CMD"; then
9092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9093 $as_echo "$MAGIC_CMD" >&6; }
9095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9096 $as_echo "no" >&6; }
9103 if test -z "$lt_cv_path_MAGIC_CMD"; then
9104 if test -n "$ac_tool_prefix"; then
9105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9106 $as_echo_n "checking for file... " >&6; }
9107 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9108 $as_echo_n "(cached) " >&6
9112 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9115 lt_save_MAGIC_CMD=$MAGIC_CMD
9116 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9117 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9118 for ac_dir in $ac_dummy; do
9120 test -z "$ac_dir" && ac_dir=.
9121 if test -f "$ac_dir/file"; then
9122 lt_cv_path_MAGIC_CMD=$ac_dir/"file"
9123 if test -n "$file_magic_test_file"; then
9124 case $deplibs_check_method in
9126 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9127 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9128 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9129 $EGREP "$file_magic_regex" > /dev/null; then
9134 *** Warning: the command libtool uses to detect shared libraries,
9135 *** $file_magic_cmd, produces output that libtool cannot recognize.
9136 *** The result is that libtool may fail to recognize shared libraries
9137 *** as such. This will affect the creation of libtool libraries that
9138 *** depend on shared libraries, but programs linked with such libtool
9139 *** libraries will work regardless of this problem. Nevertheless, you
9140 *** may want to report the problem to your system manager and/or to
9141 *** bug-libtool@gnu.org
9151 MAGIC_CMD=$lt_save_MAGIC_CMD
9156 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9157 if test -n "$MAGIC_CMD"; then
9158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9159 $as_echo "$MAGIC_CMD" >&6; }
9161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9162 $as_echo "no" >&6; }
9175 # Use C for the default configuration in the libtool script
9179 ac_cpp='$CPP $CPPFLAGS'
9180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9185 # Source file extension for C test sources.
9188 # Object file extension for compiled C test sources.
9192 # Code to be used in simple compile tests
9193 lt_simple_compile_test_code="int some_variable = 0;"
9195 # Code to be used in simple link tests
9196 lt_simple_link_test_code='int main(){return(0);}'
9204 # If no C compiler was specified, use CC.
9207 # If no C compiler flags were specified, use CFLAGS.
9208 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9210 # Allow CC to be a program name with arguments.
9213 # Save the default compiler, since it gets overwritten when the other
9214 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9215 compiler_DEFAULT=$CC
9217 # save warnings/boilerplate of simple test code
9218 ac_outfile=conftest.$ac_objext
9219 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9220 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9221 _lt_compiler_boilerplate=`cat conftest.err`
9224 ac_outfile=conftest.$ac_objext
9225 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9226 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9227 _lt_linker_boilerplate=`cat conftest.err`
9232 ## There is no encapsulation within the following macros, do not change
9233 ## the running order or otherwise move them around unless you know exactly
9234 ## what you are doing...
9235 if test -n "$compiler"; then
9237 lt_prog_compiler_no_builtin_flag=
9239 if test yes = "$GCC"; then
9240 case $cc_basename in
9242 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9244 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9248 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9249 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9250 $as_echo_n "(cached) " >&6
9252 lt_cv_prog_compiler_rtti_exceptions=no
9253 ac_outfile=conftest.$ac_objext
9254 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9255 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
9256 # Insert the option either (1) after the last *FLAGS variable, or
9257 # (2) before a word containing "conftest.", or (3) at the end.
9258 # Note that $ac_compile itself does not contain backslashes and begins
9259 # with a dollar sign (not a hyphen), so the echo should work correctly.
9260 # The option is referenced via a variable to avoid confusing sed.
9261 lt_compile=`echo "$ac_compile" | $SED \
9262 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9263 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9264 -e 's:$: $lt_compiler_flag:'`
9265 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9266 (eval "$lt_compile" 2>conftest.err)
9268 cat conftest.err >&5
9269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9270 if (exit $ac_status) && test -s "$ac_outfile"; then
9271 # The compiler can only warn and ignore the option if not recognized
9272 # So say no if there are warnings other than the usual output.
9273 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9274 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9275 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9276 lt_cv_prog_compiler_rtti_exceptions=yes
9282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9283 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9285 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9286 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9298 lt_prog_compiler_wl=
9299 lt_prog_compiler_pic=
9300 lt_prog_compiler_static=
9303 if test yes = "$GCC"; then
9304 lt_prog_compiler_wl='-Wl,'
9305 lt_prog_compiler_static='-static'
9309 # All AIX code is PIC.
9310 if test ia64 = "$host_cpu"; then
9311 # AIX 5 now supports IA64 processor
9312 lt_prog_compiler_static='-Bstatic'
9314 lt_prog_compiler_pic='-fPIC'
9320 # see comment about AmigaOS4 .so support
9321 lt_prog_compiler_pic='-fPIC'
9324 # FIXME: we need at least 68020 code to build shared libraries, but
9325 # adding the '-m68020' flag to GCC prevents building anything better,
9327 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9332 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9333 # PIC is the default for these OSes.
9336 mingw* | cygwin* | pw32* | os2* | cegcc*)
9337 # This hack is so that the source file can tell whether it is being
9338 # built for inclusion in a dll (and should export symbols for example).
9339 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9340 # (--disable-auto-import) libraries
9341 lt_prog_compiler_pic='-DDLL_EXPORT'
9344 lt_prog_compiler_static='$wl-static'
9349 darwin* | rhapsody*)
9350 # PIC is the default on this platform
9351 # Common symbols not allowed in MH_DYLIB files
9352 lt_prog_compiler_pic='-fno-common'
9356 # PIC is the default for Haiku.
9357 # The "-static" flag exists, but is broken.
9358 lt_prog_compiler_static=
9362 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9363 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9364 # sets the default TLS model and affects inlining.
9370 lt_prog_compiler_pic='-fPIC'
9376 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9377 # Instead, we relocate shared libraries at runtime.
9381 # Just because we use GCC doesn't mean we suddenly get shared libraries
9382 # on systems that don't support them.
9383 lt_prog_compiler_can_build_shared=no
9388 # QNX uses GNU C++, but need to define -shared option too, otherwise
9390 lt_prog_compiler_pic='-fPIC -shared'
9394 if test -d /usr/nec; then
9395 lt_prog_compiler_pic=-Kconform_pic
9400 lt_prog_compiler_pic='-fPIC'
9404 case $cc_basename in
9405 nvcc*) # Cuda Compiler Driver 2.2
9406 lt_prog_compiler_wl='-Xlinker '
9407 if test -n "$lt_prog_compiler_pic"; then
9408 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9413 # PORTME Check for flag to pass linker flags through the system compiler.
9416 lt_prog_compiler_wl='-Wl,'
9417 if test ia64 = "$host_cpu"; then
9418 # AIX 5 now supports IA64 processor
9419 lt_prog_compiler_static='-Bstatic'
9421 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9425 darwin* | rhapsody*)
9426 # PIC is the default on this platform
9427 # Common symbols not allowed in MH_DYLIB files
9428 lt_prog_compiler_pic='-fno-common'
9429 case $cc_basename in
9431 # NAG Fortran compiler
9432 lt_prog_compiler_wl='-Wl,-Wl,,'
9433 lt_prog_compiler_pic='-PIC'
9434 lt_prog_compiler_static='-Bstatic'
9439 mingw* | cygwin* | pw32* | os2* | cegcc*)
9440 # This hack is so that the source file can tell whether it is being
9441 # built for inclusion in a dll (and should export symbols for example).
9442 lt_prog_compiler_pic='-DDLL_EXPORT'
9445 lt_prog_compiler_static='$wl-static'
9450 hpux9* | hpux10* | hpux11*)
9451 lt_prog_compiler_wl='-Wl,'
9452 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9459 lt_prog_compiler_pic='+Z'
9462 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9463 lt_prog_compiler_static='$wl-a ${wl}archive'
9466 irix5* | irix6* | nonstopux*)
9467 lt_prog_compiler_wl='-Wl,'
9468 # PIC (with -KPIC) is the default.
9469 lt_prog_compiler_static='-non_shared'
9472 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9473 case $cc_basename in
9474 # old Intel for x86_64, which still supported -KPIC.
9476 lt_prog_compiler_wl='-Wl,'
9477 lt_prog_compiler_pic='-KPIC'
9478 lt_prog_compiler_static='-static'
9480 # icc used to be incompatible with GCC.
9481 # ICC 10 doesn't accept -KPIC any more.
9483 lt_prog_compiler_wl='-Wl,'
9484 lt_prog_compiler_pic='-fPIC'
9485 lt_prog_compiler_static='-static'
9487 # Lahey Fortran 8.1.
9489 lt_prog_compiler_wl='-Wl,'
9490 lt_prog_compiler_pic='--shared'
9491 lt_prog_compiler_static='--static'
9494 # NAG Fortran compiler
9495 lt_prog_compiler_wl='-Wl,-Wl,,'
9496 lt_prog_compiler_pic='-PIC'
9497 lt_prog_compiler_static='-Bstatic'
9500 # Fabrice Bellard et al's Tiny C Compiler
9501 lt_prog_compiler_wl='-Wl,'
9502 lt_prog_compiler_pic='-fPIC'
9503 lt_prog_compiler_static='-static'
9505 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9506 # Portland Group compilers (*not* the Pentium gcc compiler,
9507 # which looks to be a dead project)
9508 lt_prog_compiler_wl='-Wl,'
9509 lt_prog_compiler_pic='-fpic'
9510 lt_prog_compiler_static='-Bstatic'
9513 lt_prog_compiler_wl='-Wl,'
9514 # All Alpha code is PIC.
9515 lt_prog_compiler_static='-non_shared'
9517 xl* | bgxl* | bgf* | mpixl*)
9518 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9519 lt_prog_compiler_wl='-Wl,'
9520 lt_prog_compiler_pic='-qpic'
9521 lt_prog_compiler_static='-qstaticlink'
9524 case `$CC -V 2>&1 | sed 5q` in
9525 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9526 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9527 lt_prog_compiler_pic='-KPIC'
9528 lt_prog_compiler_static='-Bstatic'
9529 lt_prog_compiler_wl=''
9531 *Sun\ F* | *Sun*Fortran*)
9532 lt_prog_compiler_pic='-KPIC'
9533 lt_prog_compiler_static='-Bstatic'
9534 lt_prog_compiler_wl='-Qoption ld '
9538 lt_prog_compiler_pic='-KPIC'
9539 lt_prog_compiler_static='-Bstatic'
9540 lt_prog_compiler_wl='-Wl,'
9542 *Intel*\ [CF]*Compiler*)
9543 lt_prog_compiler_wl='-Wl,'
9544 lt_prog_compiler_pic='-fPIC'
9545 lt_prog_compiler_static='-static'
9548 lt_prog_compiler_wl='-Wl,'
9549 lt_prog_compiler_pic='-fpic'
9550 lt_prog_compiler_static='-Bstatic'
9558 lt_prog_compiler_pic='-KPIC'
9559 lt_prog_compiler_static='-Bstatic'
9563 # QNX uses GNU C++, but need to define -shared option too, otherwise
9565 lt_prog_compiler_pic='-fPIC -shared'
9568 osf3* | osf4* | osf5*)
9569 lt_prog_compiler_wl='-Wl,'
9570 # All OSF/1 code is PIC.
9571 lt_prog_compiler_static='-non_shared'
9575 lt_prog_compiler_static='-non_shared'
9579 lt_prog_compiler_pic='-KPIC'
9580 lt_prog_compiler_static='-Bstatic'
9581 case $cc_basename in
9582 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9583 lt_prog_compiler_wl='-Qoption ld ';;
9585 lt_prog_compiler_wl='-Wl,';;
9590 lt_prog_compiler_wl='-Qoption ld '
9591 lt_prog_compiler_pic='-PIC'
9592 lt_prog_compiler_static='-Bstatic'
9595 sysv4 | sysv4.2uw2* | sysv4.3*)
9596 lt_prog_compiler_wl='-Wl,'
9597 lt_prog_compiler_pic='-KPIC'
9598 lt_prog_compiler_static='-Bstatic'
9602 if test -d /usr/nec; then
9603 lt_prog_compiler_pic='-Kconform_pic'
9604 lt_prog_compiler_static='-Bstatic'
9608 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9609 lt_prog_compiler_wl='-Wl,'
9610 lt_prog_compiler_pic='-KPIC'
9611 lt_prog_compiler_static='-Bstatic'
9615 lt_prog_compiler_wl='-Wl,'
9616 lt_prog_compiler_can_build_shared=no
9620 lt_prog_compiler_pic='-pic'
9621 lt_prog_compiler_static='-Bstatic'
9625 lt_prog_compiler_can_build_shared=no
9631 # For platforms that do not support PIC, -DPIC is meaningless:
9633 lt_prog_compiler_pic=
9636 lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
9640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9641 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9642 if ${lt_cv_prog_compiler_pic+:} false; then :
9643 $as_echo_n "(cached) " >&6
9645 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9648 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9649 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9652 # Check to make sure the PIC flag actually works.
9654 if test -n "$lt_prog_compiler_pic"; then
9655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9656 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9657 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9658 $as_echo_n "(cached) " >&6
9660 lt_cv_prog_compiler_pic_works=no
9661 ac_outfile=conftest.$ac_objext
9662 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9663 lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC" ## exclude from sc_useless_quotes_in_assignment
9664 # Insert the option either (1) after the last *FLAGS variable, or
9665 # (2) before a word containing "conftest.", or (3) at the end.
9666 # Note that $ac_compile itself does not contain backslashes and begins
9667 # with a dollar sign (not a hyphen), so the echo should work correctly.
9668 # The option is referenced via a variable to avoid confusing sed.
9669 lt_compile=`echo "$ac_compile" | $SED \
9670 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9671 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9672 -e 's:$: $lt_compiler_flag:'`
9673 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9674 (eval "$lt_compile" 2>conftest.err)
9676 cat conftest.err >&5
9677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9678 if (exit $ac_status) && test -s "$ac_outfile"; then
9679 # The compiler can only warn and ignore the option if not recognized
9680 # So say no if there are warnings other than the usual output.
9681 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9682 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9683 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9684 lt_cv_prog_compiler_pic_works=yes
9690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9691 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9693 if test yes = "$lt_cv_prog_compiler_pic_works"; then
9694 case $lt_prog_compiler_pic in
9696 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9699 lt_prog_compiler_pic=
9700 lt_prog_compiler_can_build_shared=no
9716 # Check to make sure the static flag actually works.
9718 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9720 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9721 if ${lt_cv_prog_compiler_static_works+:} false; then :
9722 $as_echo_n "(cached) " >&6
9724 lt_cv_prog_compiler_static_works=no
9725 save_LDFLAGS=$LDFLAGS
9726 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9727 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9728 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9729 # The linker can only warn and ignore the option if not recognized
9730 # So say no if there are warnings
9731 if test -s conftest.err; then
9732 # Append any errors to the config.log.
9733 cat conftest.err 1>&5
9734 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9735 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9736 if diff conftest.exp conftest.er2 >/dev/null; then
9737 lt_cv_prog_compiler_static_works=yes
9740 lt_cv_prog_compiler_static_works=yes
9744 LDFLAGS=$save_LDFLAGS
9747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9748 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9750 if test yes = "$lt_cv_prog_compiler_static_works"; then
9753 lt_prog_compiler_static=
9762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9763 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9764 if ${lt_cv_prog_compiler_c_o+:} false; then :
9765 $as_echo_n "(cached) " >&6
9767 lt_cv_prog_compiler_c_o=no
9768 $RM -r conftest 2>/dev/null
9772 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9774 lt_compiler_flag="-o out/conftest2.$ac_objext"
9775 # Insert the option either (1) after the last *FLAGS variable, or
9776 # (2) before a word containing "conftest.", or (3) at the end.
9777 # Note that $ac_compile itself does not contain backslashes and begins
9778 # with a dollar sign (not a hyphen), so the echo should work correctly.
9779 lt_compile=`echo "$ac_compile" | $SED \
9780 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9781 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9782 -e 's:$: $lt_compiler_flag:'`
9783 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9784 (eval "$lt_compile" 2>out/conftest.err)
9786 cat out/conftest.err >&5
9787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9788 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9790 # The compiler can only warn and ignore the option if not recognized
9791 # So say no if there are warnings
9792 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9793 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9794 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9795 lt_cv_prog_compiler_c_o=yes
9800 # SGI C++ compiler will create directory out/ii_files/ for
9801 # template instantiation
9802 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9803 $RM out/* && rmdir out
9809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9810 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9818 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9819 if ${lt_cv_prog_compiler_c_o+:} false; then :
9820 $as_echo_n "(cached) " >&6
9822 lt_cv_prog_compiler_c_o=no
9823 $RM -r conftest 2>/dev/null
9827 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9829 lt_compiler_flag="-o out/conftest2.$ac_objext"
9830 # Insert the option either (1) after the last *FLAGS variable, or
9831 # (2) before a word containing "conftest.", or (3) at the end.
9832 # Note that $ac_compile itself does not contain backslashes and begins
9833 # with a dollar sign (not a hyphen), so the echo should work correctly.
9834 lt_compile=`echo "$ac_compile" | $SED \
9835 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9836 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9837 -e 's:$: $lt_compiler_flag:'`
9838 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9839 (eval "$lt_compile" 2>out/conftest.err)
9841 cat out/conftest.err >&5
9842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9843 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9845 # The compiler can only warn and ignore the option if not recognized
9846 # So say no if there are warnings
9847 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9848 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9849 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9850 lt_cv_prog_compiler_c_o=yes
9855 # SGI C++ compiler will create directory out/ii_files/ for
9856 # template instantiation
9857 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9858 $RM out/* && rmdir out
9864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9865 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9870 hard_links=nottested
9871 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
9872 # do not overwrite the value of need_locks provided by the user
9873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9874 $as_echo_n "checking if we can lock with hard links... " >&6; }
9877 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9879 ln conftest.a conftest.b 2>&5 || hard_links=no
9880 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9882 $as_echo "$hard_links" >&6; }
9883 if test no = "$hard_links"; then
9884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9885 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9898 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9901 allow_undefined_flag=
9902 always_export_symbols=no
9904 archive_expsym_cmds=
9905 compiler_needs_object=no
9906 enable_shared_with_static_runtimes=no
9907 export_dynamic_flag_spec=
9908 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9909 hardcode_automatic=no
9911 hardcode_direct_absolute=no
9912 hardcode_libdir_flag_spec=
9913 hardcode_libdir_separator=
9915 hardcode_shlibpath_var=unsupported
9917 link_all_deplibs=unknown
9920 old_archive_from_new_cmds=
9921 old_archive_from_expsyms_cmds=
9922 thread_safe_flag_spec=
9923 whole_archive_flag_spec=
9924 # include_expsyms should be a list of space-separated symbols to be *always*
9925 # included in the symbol list
9927 # exclude_expsyms can be an extended regexp of symbols to exclude
9928 # it will be wrapped by ' (' and ')$', so one must not match beginning or
9929 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9930 # as well as any symbol that contains 'd'.
9931 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9932 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9933 # platforms (ab)use it in PIC code, but their linkers get confused if
9934 # the symbol is explicitly referenced. Since portable code cannot
9935 # rely on this symbol name, it's probably fine to never include it in
9936 # preloaded symbol tables.
9937 # Exclude shared library initialization/finalization symbols.
9938 extract_expsyms_cmds=
9941 cygwin* | mingw* | pw32* | cegcc*)
9942 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9943 # When not using gcc, we currently assume that we are using
9944 # Microsoft Visual C++.
9945 if test yes != "$GCC"; then
9950 # we just hope/assume this is gcc and not c89 (= MSVC++)
9956 linux* | k*bsd*-gnu | gnu*)
9963 # On some targets, GNU ld is compatible enough with the native linker
9964 # that we're better off using the native interface for both.
9965 lt_use_gnu_ld_interface=no
9966 if test yes = "$with_gnu_ld"; then
9969 # The AIX port of GNU ld has always aspired to compatibility
9970 # with the native linker. However, as the warning in the GNU ld
9971 # block says, versions before 2.19.5* couldn't really create working
9972 # shared libraries, regardless of the interface used.
9973 case `$LD -v 2>&1` in
9974 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9975 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9976 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9978 lt_use_gnu_ld_interface=yes
9983 lt_use_gnu_ld_interface=yes
9988 if test yes = "$lt_use_gnu_ld_interface"; then
9989 # If archive_cmds runs LD, not CC, wlarc should be empty
9992 # Set some defaults for GNU ld with shared library support. These
9993 # are reset later if shared libraries are not supported. Putting them
9994 # here allows them to be overridden if necessary.
9995 runpath_var=LD_RUN_PATH
9996 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9997 export_dynamic_flag_spec='$wl--export-dynamic'
9998 # ancient GNU ld didn't support --whole-archive et. al.
9999 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10000 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10002 whole_archive_flag_spec=
10004 supports_anon_versioning=no
10005 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10006 *GNU\ gold*) supports_anon_versioning=yes ;;
10007 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10008 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10009 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10010 *\ 2.11.*) ;; # other 2.11 versions
10011 *) supports_anon_versioning=yes ;;
10014 # See if GNU ld supports shared libraries.
10017 # On AIX/PPC, the GNU linker is very broken
10018 if test ia64 != "$host_cpu"; then
10022 *** Warning: the GNU linker, at least up to release 2.19, is reported
10023 *** to be unable to reliably create shared libraries on AIX.
10024 *** Therefore, libtool is disabling shared libraries support. If you
10025 *** really care for shared libraries, you may want to install binutils
10026 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10027 *** You will then need to restart the configuration process.
10036 # see comment about AmigaOS4 .so support
10037 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10038 archive_expsym_cmds=''
10041 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)'
10042 hardcode_libdir_flag_spec='-L$libdir'
10043 hardcode_minus_L=yes
10049 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10050 allow_undefined_flag=unsupported
10051 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10052 # support --undefined. This deserves some investigation. FIXME
10053 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10059 cygwin* | mingw* | pw32* | cegcc*)
10060 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10061 # as there is no search path for DLLs.
10062 hardcode_libdir_flag_spec='-L$libdir'
10063 export_dynamic_flag_spec='$wl--export-all-symbols'
10064 allow_undefined_flag=unsupported
10065 always_export_symbols=no
10066 enable_shared_with_static_runtimes=yes
10067 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'
10068 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10070 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10071 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10072 # If the export-symbols file already is a .def file, use it as
10073 # is; otherwise, prepend EXPORTS...
10074 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10075 cp $export_symbols $output_objdir/$soname.def;
10077 echo EXPORTS > $output_objdir/$soname.def;
10078 cat $export_symbols >> $output_objdir/$soname.def;
10080 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10087 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10088 link_all_deplibs=yes
10092 hardcode_libdir_flag_spec='-L$libdir'
10093 hardcode_minus_L=yes
10094 allow_undefined_flag=unsupported
10096 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10097 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10098 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10099 $ECHO EXPORTS >> $output_objdir/$libname.def~
10100 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10101 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10102 emximp -o $lib $output_objdir/$libname.def'
10103 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10104 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10105 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10106 $ECHO EXPORTS >> $output_objdir/$libname.def~
10107 prefix_cmds="$SED"~
10108 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10109 prefix_cmds="$prefix_cmds -e 1d";
10111 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10112 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10113 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10114 emximp -o $lib $output_objdir/$libname.def'
10115 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10116 enable_shared_with_static_runtimes=yes
10121 hardcode_shlibpath_var=no
10122 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10123 export_dynamic_flag_spec='$wl-E'
10124 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10125 # Instead, shared libraries are loaded at an image base (0x10000000 by
10126 # default) and relocated if they conflict, which is a slow very memory
10127 # consuming and fragmenting process. To avoid this, we pick a random,
10128 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10129 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10130 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10131 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'
10134 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10136 if test linux-dietlibc = "$host_os"; then
10137 case $cc_basename in
10138 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
10141 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10142 && test no = "$tmp_diet"
10144 tmp_addflag=' $pic_flag'
10145 tmp_sharedflag='-shared'
10146 case $cc_basename,$host_cpu in
10147 pgcc*) # Portland Group C compiler
10148 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'
10149 tmp_addflag=' $pic_flag'
10151 pgf77* | pgf90* | pgf95* | pgfortran*)
10152 # Portland Group f77 and f90 compilers
10153 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'
10154 tmp_addflag=' $pic_flag -Mnomain' ;;
10155 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
10156 tmp_addflag=' -i_dynamic' ;;
10157 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
10158 tmp_addflag=' -i_dynamic -nofor_main' ;;
10159 ifc* | ifort*) # Intel Fortran compiler
10160 tmp_addflag=' -nofor_main' ;;
10161 lf95*) # Lahey Fortran 8.1
10162 whole_archive_flag_spec=
10163 tmp_sharedflag='--shared' ;;
10164 nagfor*) # NAGFOR 5.3
10165 tmp_sharedflag='-Wl,-shared' ;;
10166 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10167 tmp_sharedflag='-qmkshrobj'
10169 nvcc*) # Cuda Compiler Driver 2.2
10170 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'
10171 compiler_needs_object=yes
10174 case `$CC -V 2>&1 | sed 5q` in
10175 *Sun\ C*) # Sun C 5.9
10176 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'
10177 compiler_needs_object=yes
10178 tmp_sharedflag='-G' ;;
10179 *Sun\ F*) # Sun Fortran 8.3
10180 tmp_sharedflag='-G' ;;
10182 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10184 if test yes = "$supports_anon_versioning"; then
10185 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10186 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10187 echo "local: *; };" >> $output_objdir/$libname.ver~
10188 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10191 case $cc_basename in
10193 export_dynamic_flag_spec='-rdynamic'
10195 xlf* | bgf* | bgxlf* | mpixlf*)
10196 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10197 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10198 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10199 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10200 if test yes = "$supports_anon_versioning"; then
10201 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10202 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10203 echo "local: *; };" >> $output_objdir/$libname.ver~
10204 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10213 netbsd* | netbsdelf*-gnu)
10214 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10215 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10218 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10219 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10224 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10228 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10229 *** create shared libraries on Solaris systems. Therefore, libtool
10230 *** is disabling shared libraries support. We urge you to upgrade GNU
10231 *** binutils to release 2.9.1 or newer. Another option is to modify
10232 *** your PATH or compiler configuration so that the native linker is
10233 *** used, and then restart.
10236 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10237 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10238 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10244 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10245 case `$LD -v 2>&1` in
10246 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10250 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10251 *** reliably create shared libraries on SCO systems. Therefore, libtool
10252 *** is disabling shared libraries support. We urge you to upgrade GNU
10253 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10254 *** your PATH or compiler configuration so that the native linker is
10255 *** used, and then restart.
10260 # For security reasons, it is highly recommended that you always
10261 # use absolute paths for naming shared libraries, and exclude the
10262 # DT_RUNPATH tag from executables and libraries. But doing so
10263 # requires that you compile everything twice, which is a pain.
10264 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10265 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10266 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10267 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10276 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10278 hardcode_direct=yes
10279 hardcode_shlibpath_var=no
10283 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10284 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10285 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10292 if test no = "$ld_shlibs"; then
10294 hardcode_libdir_flag_spec=
10295 export_dynamic_flag_spec=
10296 whole_archive_flag_spec=
10299 # PORTME fill in a description of your system's linker (not GNU ld)
10302 allow_undefined_flag=unsupported
10303 always_export_symbols=yes
10304 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'
10305 # Note: this linker hardcodes the directories in LIBPATH if there
10306 # are no directories specified by -L.
10307 hardcode_minus_L=yes
10308 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10309 # Neither direct hardcoding nor static linking is supported with a
10311 hardcode_direct=unsupported
10316 if test ia64 = "$host_cpu"; then
10317 # On IA64, the linker does run time linking by default, so we don't
10318 # have to do anything special.
10319 aix_use_runtimelinking=no
10320 exp_sym_flag='-Bexport'
10323 # If we're using GNU nm, then we don't want the "-C" option.
10324 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
10325 # Without the "-l" option, or with the "-B" option, AIX nm treats
10326 # weak defined symbols like other global defined symbols, whereas
10327 # GNU nm marks them as "W".
10328 # While the 'weak' keyword is ignored in the Export File, we need
10329 # it in the Import File for the 'aix-soname' feature, so we have
10330 # to replace the "-B" option with "-P" for AIX nm.
10331 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10332 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'
10334 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'
10336 aix_use_runtimelinking=no
10338 # Test if we are trying to use run time linking or normal
10339 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10340 # have runtime linking enabled, and use it for executables.
10341 # For shared libraries, we enable/disable runtime linking
10342 # depending on the kind of the shared library created -
10343 # when "with_aix_soname,aix_use_runtimelinking" is:
10344 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
10345 # "aix,yes" lib.so shared, rtl:yes, for executables
10346 # lib.a static archive
10347 # "both,no" lib.so.V(shr.o) shared, rtl:yes
10348 # lib.a(lib.so.V) shared, rtl:no, for executables
10349 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10350 # lib.a(lib.so.V) shared, rtl:no
10351 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
10352 # lib.a static archive
10353 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10354 for ld_flag in $LDFLAGS; do
10355 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
10356 aix_use_runtimelinking=yes
10360 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
10361 # With aix-soname=svr4, we create the lib.so.V shared archives only,
10362 # so we don't have lib.a shared libs to link our executables.
10363 # We have to force runtime linking in this case.
10364 aix_use_runtimelinking=yes
10365 LDFLAGS="$LDFLAGS -Wl,-brtl"
10370 exp_sym_flag='-bexport'
10371 no_entry_flag='-bnoentry'
10374 # When large executables or shared objects are built, AIX ld can
10375 # have problems creating the table of contents. If linking a library
10376 # or program results in "error TOC overflow" add -mminimal-toc to
10377 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10378 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10381 hardcode_direct=yes
10382 hardcode_direct_absolute=yes
10383 hardcode_libdir_separator=':'
10384 link_all_deplibs=yes
10385 file_list_spec='$wl-f,'
10386 case $with_aix_soname,$aix_use_runtimelinking in
10387 aix,*) ;; # traditional, no import file
10388 svr4,* | *,yes) # use import file
10389 # The Import File defines what to hardcode.
10391 hardcode_direct_absolute=no
10395 if test yes = "$GCC"; then
10396 case $host_os in aix4.[012]|aix4.[012].*)
10397 # We only want to do this on AIX 4.2 and lower, the check
10398 # below for broken collect2 doesn't work under 4.3+
10399 collect2name=`$CC -print-prog-name=collect2`
10400 if test -f "$collect2name" &&
10401 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10403 # We have reworked collect2
10406 # We have old collect2
10407 hardcode_direct=unsupported
10408 # It fails to find uninstalled libraries when the uninstalled
10409 # path is not listed in the libpath. Setting hardcode_minus_L
10410 # to unsupported forces relinking
10411 hardcode_minus_L=yes
10412 hardcode_libdir_flag_spec='-L$libdir'
10413 hardcode_libdir_separator=
10417 shared_flag='-shared'
10418 if test yes = "$aix_use_runtimelinking"; then
10419 shared_flag="$shared_flag "'$wl-G'
10421 # Need to ensure runtime linking is disabled for the traditional
10422 # shared library, or the linker may eventually find shared libraries
10423 # /with/ Import File - we do not want to mix them.
10424 shared_flag_aix='-shared'
10425 shared_flag_svr4='-shared $wl-G'
10428 if test ia64 = "$host_cpu"; then
10429 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10430 # chokes on -Wl,-G. The following line is correct:
10433 if test yes = "$aix_use_runtimelinking"; then
10434 shared_flag='$wl-G'
10436 shared_flag='$wl-bM:SRE'
10438 shared_flag_aix='$wl-bM:SRE'
10439 shared_flag_svr4='$wl-G'
10443 export_dynamic_flag_spec='$wl-bexpall'
10444 # It seems that -bexpall does not export symbols beginning with
10445 # underscore (_), so it is better to generate a list of symbols to export.
10446 always_export_symbols=yes
10447 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10448 # Warning - without using the other runtime loading flags (-brtl),
10449 # -berok will link without error, but may produce a broken library.
10450 allow_undefined_flag='-berok'
10451 # Determine the default libpath from the value encoded in an
10452 # empty executable.
10453 if test set = "${lt_cv_aix_libpath+set}"; then
10454 aix_libpath=$lt_cv_aix_libpath
10456 if ${lt_cv_aix_libpath_+:} false; then :
10457 $as_echo_n "(cached) " >&6
10459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10460 /* end confdefs.h. */
10470 if ac_fn_c_try_link "$LINENO"; then :
10472 lt_aix_libpath_sed='
10473 /Import File Strings/,/^$/ {
10475 s/^0 *\([^ ]*\) *$/\1/
10479 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10480 # Check for a 64-bit object if we didn't find anything.
10481 if test -z "$lt_cv_aix_libpath_"; then
10482 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10485 rm -f core conftest.err conftest.$ac_objext \
10486 conftest$ac_exeext conftest.$ac_ext
10487 if test -z "$lt_cv_aix_libpath_"; then
10488 lt_cv_aix_libpath_=/usr/lib:/lib
10493 aix_libpath=$lt_cv_aix_libpath_
10496 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10497 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
10499 if test ia64 = "$host_cpu"; then
10500 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
10501 allow_undefined_flag="-z nodefs"
10502 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"
10504 # Determine the default libpath from the value encoded in an
10505 # empty executable.
10506 if test set = "${lt_cv_aix_libpath+set}"; then
10507 aix_libpath=$lt_cv_aix_libpath
10509 if ${lt_cv_aix_libpath_+:} false; then :
10510 $as_echo_n "(cached) " >&6
10512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10513 /* end confdefs.h. */
10523 if ac_fn_c_try_link "$LINENO"; then :
10525 lt_aix_libpath_sed='
10526 /Import File Strings/,/^$/ {
10528 s/^0 *\([^ ]*\) *$/\1/
10532 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10533 # Check for a 64-bit object if we didn't find anything.
10534 if test -z "$lt_cv_aix_libpath_"; then
10535 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10538 rm -f core conftest.err conftest.$ac_objext \
10539 conftest$ac_exeext conftest.$ac_ext
10540 if test -z "$lt_cv_aix_libpath_"; then
10541 lt_cv_aix_libpath_=/usr/lib:/lib
10546 aix_libpath=$lt_cv_aix_libpath_
10549 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10550 # Warning - without using the other run time loading flags,
10551 # -berok will link without error, but may produce a broken library.
10552 no_undefined_flag=' $wl-bernotok'
10553 allow_undefined_flag=' $wl-berok'
10554 if test yes = "$with_gnu_ld"; then
10555 # We only use this code for GNU lds that support --whole-archive.
10556 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
10558 # Exported symbols can be pulled into shared objects from archives
10559 whole_archive_flag_spec='$convenience'
10561 archive_cmds_need_lc=yes
10562 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10563 # -brtl affects multiple linker settings, -berok does not and is overridden later
10564 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10565 if test svr4 != "$with_aix_soname"; then
10566 # This is similar to how AIX traditionally builds its shared libraries.
10567 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'
10569 if test aix != "$with_aix_soname"; then
10570 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'
10572 # used by -dlpreopen to get the symbols
10573 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
10575 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10583 # see comment about AmigaOS4 .so support
10584 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10585 archive_expsym_cmds=''
10588 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)'
10589 hardcode_libdir_flag_spec='-L$libdir'
10590 hardcode_minus_L=yes
10596 export_dynamic_flag_spec=-rdynamic
10599 cygwin* | mingw* | pw32* | cegcc*)
10600 # When not using gcc, we currently assume that we are using
10601 # Microsoft Visual C++.
10602 # hardcode_libdir_flag_spec is actually meaningless, as there is
10603 # no search path for DLLs.
10604 case $cc_basename in
10607 hardcode_libdir_flag_spec=' '
10608 allow_undefined_flag=unsupported
10609 always_export_symbols=yes
10611 # Tell ltmain to make .lib files, not .a files.
10613 # Tell ltmain to make .dll files, not .so files.
10615 # FIXME: Setting linknames here is a bad hack.
10616 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10617 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10618 cp "$export_symbols" "$output_objdir/$soname.def";
10619 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10621 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10623 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10625 # The linker will not automatically build a static lib if we build a DLL.
10626 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10627 enable_shared_with_static_runtimes=yes
10628 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10629 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10631 old_postinstall_cmds='chmod 644 $oldlib'
10632 postlink_cmds='lt_outputfile="@OUTPUT@"~
10633 lt_tool_outputfile="@TOOL_OUTPUT@"~
10634 case $lt_outputfile in
10637 lt_outputfile=$lt_outputfile.exe
10638 lt_tool_outputfile=$lt_tool_outputfile.exe
10641 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10642 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10643 $RM "$lt_outputfile.manifest";
10647 # Assume MSVC wrapper
10648 hardcode_libdir_flag_spec=' '
10649 allow_undefined_flag=unsupported
10650 # Tell ltmain to make .lib files, not .a files.
10652 # Tell ltmain to make .dll files, not .so files.
10654 # FIXME: Setting linknames here is a bad hack.
10655 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10656 # The linker will automatically build a .lib file if we build a DLL.
10657 old_archive_from_new_cmds='true'
10658 # FIXME: Should let the user specify the lib program.
10659 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10660 enable_shared_with_static_runtimes=yes
10665 darwin* | rhapsody*)
10668 archive_cmds_need_lc=no
10670 hardcode_automatic=yes
10671 hardcode_shlibpath_var=unsupported
10672 if test yes = "$lt_cv_ld_force_load"; then
10673 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\"`'
10676 whole_archive_flag_spec=''
10678 link_all_deplibs=yes
10679 allow_undefined_flag=$_lt_dar_allow_undefined
10680 case $cc_basename in
10681 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
10682 *) _lt_dar_can_shared=$GCC ;;
10684 if test yes = "$_lt_dar_can_shared"; then
10685 output_verbose_link_cmd=func_echo_all
10686 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10687 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10688 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"
10689 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"
10698 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10699 hardcode_libdir_flag_spec='-L$libdir'
10700 hardcode_shlibpath_var=no
10703 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10704 # support. Future versions do this automatically, but an explicit c++rt0.o
10705 # does not break anything, and helps significantly (at the cost of a little
10708 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10709 hardcode_libdir_flag_spec='-R$libdir'
10710 hardcode_direct=yes
10711 hardcode_shlibpath_var=no
10714 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10716 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10717 hardcode_direct=yes
10718 hardcode_minus_L=yes
10719 hardcode_shlibpath_var=no
10722 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10723 freebsd* | dragonfly*)
10724 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10725 hardcode_libdir_flag_spec='-R$libdir'
10726 hardcode_direct=yes
10727 hardcode_shlibpath_var=no
10731 if test yes = "$GCC"; then
10732 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'
10734 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'
10736 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10737 hardcode_libdir_separator=:
10738 hardcode_direct=yes
10740 # hardcode_minus_L: Not really in the search PATH,
10741 # but as the default location of the library.
10742 hardcode_minus_L=yes
10743 export_dynamic_flag_spec='$wl-E'
10747 if test yes,no = "$GCC,$with_gnu_ld"; then
10748 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10750 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10752 if test no = "$with_gnu_ld"; then
10753 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10754 hardcode_libdir_separator=:
10755 hardcode_direct=yes
10756 hardcode_direct_absolute=yes
10757 export_dynamic_flag_spec='$wl-E'
10758 # hardcode_minus_L: Not really in the search PATH,
10759 # but as the default location of the library.
10760 hardcode_minus_L=yes
10765 if test yes,no = "$GCC,$with_gnu_ld"; then
10768 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10771 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10774 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10780 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10783 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10787 # Older versions of the 11.00 compiler do not understand -b yet
10788 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10790 $as_echo_n "checking if $CC understands -b... " >&6; }
10791 if ${lt_cv_prog_compiler__b+:} false; then :
10792 $as_echo_n "(cached) " >&6
10794 lt_cv_prog_compiler__b=no
10795 save_LDFLAGS=$LDFLAGS
10796 LDFLAGS="$LDFLAGS -b"
10797 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10798 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10799 # The linker can only warn and ignore the option if not recognized
10800 # So say no if there are warnings
10801 if test -s conftest.err; then
10802 # Append any errors to the config.log.
10803 cat conftest.err 1>&5
10804 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10805 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10806 if diff conftest.exp conftest.er2 >/dev/null; then
10807 lt_cv_prog_compiler__b=yes
10810 lt_cv_prog_compiler__b=yes
10814 LDFLAGS=$save_LDFLAGS
10817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10818 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10820 if test yes = "$lt_cv_prog_compiler__b"; then
10821 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10823 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10829 if test no = "$with_gnu_ld"; then
10830 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10831 hardcode_libdir_separator=:
10836 hardcode_shlibpath_var=no
10839 hardcode_direct=yes
10840 hardcode_direct_absolute=yes
10841 export_dynamic_flag_spec='$wl-E'
10843 # hardcode_minus_L: Not really in the search PATH,
10844 # but as the default location of the library.
10845 hardcode_minus_L=yes
10851 irix5* | irix6* | nonstopux*)
10852 if test yes = "$GCC"; then
10853 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'
10854 # Try to use the -exported_symbol ld option, if it does not
10855 # work, assume that -exports_file does not work either and
10856 # implicitly export all symbols.
10857 # This should be the same for all languages, so no per-tag cache variable.
10858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10859 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10860 if ${lt_cv_irix_exported_symbol+:} false; then :
10861 $as_echo_n "(cached) " >&6
10863 save_LDFLAGS=$LDFLAGS
10864 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
10865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10866 /* end confdefs.h. */
10867 int foo (void) { return 0; }
10869 if ac_fn_c_try_link "$LINENO"; then :
10870 lt_cv_irix_exported_symbol=yes
10872 lt_cv_irix_exported_symbol=no
10874 rm -f core conftest.err conftest.$ac_objext \
10875 conftest$ac_exeext conftest.$ac_ext
10876 LDFLAGS=$save_LDFLAGS
10878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10879 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10880 if test yes = "$lt_cv_irix_exported_symbol"; then
10881 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'
10883 link_all_deplibs=no
10885 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'
10886 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'
10888 archive_cmds_need_lc='no'
10889 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10890 hardcode_libdir_separator=:
10892 link_all_deplibs=yes
10896 case $cc_basename in
10898 # Fabrice Bellard et al's Tiny C Compiler
10900 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10905 netbsd* | netbsdelf*-gnu)
10906 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10907 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10909 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10911 hardcode_libdir_flag_spec='-R$libdir'
10912 hardcode_direct=yes
10913 hardcode_shlibpath_var=no
10917 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10918 hardcode_direct=yes
10919 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10920 hardcode_libdir_separator=:
10921 hardcode_shlibpath_var=no
10927 openbsd* | bitrig*)
10928 if test -f /usr/libexec/ld.so; then
10929 hardcode_direct=yes
10930 hardcode_shlibpath_var=no
10931 hardcode_direct_absolute=yes
10932 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10933 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10934 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10935 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10936 export_dynamic_flag_spec='$wl-E'
10938 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10939 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10947 hardcode_libdir_flag_spec='-L$libdir'
10948 hardcode_minus_L=yes
10949 allow_undefined_flag=unsupported
10951 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10952 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10953 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10954 $ECHO EXPORTS >> $output_objdir/$libname.def~
10955 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10956 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10957 emximp -o $lib $output_objdir/$libname.def'
10958 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10959 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10960 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10961 $ECHO EXPORTS >> $output_objdir/$libname.def~
10962 prefix_cmds="$SED"~
10963 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10964 prefix_cmds="$prefix_cmds -e 1d";
10966 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10967 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10968 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10969 emximp -o $lib $output_objdir/$libname.def'
10970 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10971 enable_shared_with_static_runtimes=yes
10975 if test yes = "$GCC"; then
10976 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10977 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'
10979 allow_undefined_flag=' -expect_unresolved \*'
10980 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'
10982 archive_cmds_need_lc='no'
10983 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10984 hardcode_libdir_separator=:
10987 osf4* | osf5*) # as osf3* with the addition of -msym flag
10988 if test yes = "$GCC"; then
10989 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10990 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'
10991 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10993 allow_undefined_flag=' -expect_unresolved \*'
10994 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'
10995 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~
10996 $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'
10998 # Both c and cxx compiler support -rpath directly
10999 hardcode_libdir_flag_spec='-rpath $libdir'
11001 archive_cmds_need_lc='no'
11002 hardcode_libdir_separator=:
11006 no_undefined_flag=' -z defs'
11007 if test yes = "$GCC"; then
11009 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11010 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11011 $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'
11013 case `$CC -V 2>&1` in
11016 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11017 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11018 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11022 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11023 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11024 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11028 hardcode_libdir_flag_spec='-R$libdir'
11029 hardcode_shlibpath_var=no
11031 solaris2.[0-5] | solaris2.[0-5].*) ;;
11033 # The compiler driver will combine and reorder linker options,
11034 # but understands '-z linker_flag'. GCC discards it without '$wl',
11035 # but is careful enough not to reorder.
11036 # Supported since Solaris 2.6 (maybe 2.5.1?)
11037 if test yes = "$GCC"; then
11038 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11040 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11044 link_all_deplibs=yes
11048 if test sequent = "$host_vendor"; then
11049 # Use $CC to link under sequent, because it throws in some extra .o
11050 # files that make .init and .fini sections work.
11051 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11053 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11055 hardcode_libdir_flag_spec='-L$libdir'
11056 hardcode_direct=yes
11057 hardcode_minus_L=yes
11058 hardcode_shlibpath_var=no
11062 case $host_vendor in
11064 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11065 hardcode_direct=yes # is this really true???
11068 ## LD is ld it makes a PLAMLIB
11069 ## CC just makes a GrossModule.
11070 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11071 reload_cmds='$CC -r -o $output$reload_objs'
11075 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11076 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11079 runpath_var='LD_RUN_PATH'
11080 hardcode_shlibpath_var=no
11084 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11085 hardcode_shlibpath_var=no
11086 export_dynamic_flag_spec='-Bexport'
11090 if test -d /usr/nec; then
11091 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11092 hardcode_shlibpath_var=no
11093 runpath_var=LD_RUN_PATH
11094 hardcode_runpath_var=yes
11099 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11100 no_undefined_flag='$wl-z,text'
11101 archive_cmds_need_lc=no
11102 hardcode_shlibpath_var=no
11103 runpath_var='LD_RUN_PATH'
11105 if test yes = "$GCC"; then
11106 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11107 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11109 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11110 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11114 sysv5* | sco3.2v5* | sco5v6*)
11115 # Note: We CANNOT use -z defs as we might desire, because we do not
11116 # link with -lc, and that would cause any symbols used from libc to
11117 # always be unresolved, which means just about no library would
11118 # ever link correctly. If we're not using GNU ld we use -z text
11119 # though, which does catch some bad symbols but isn't as heavy-handed
11121 no_undefined_flag='$wl-z,text'
11122 allow_undefined_flag='$wl-z,nodefs'
11123 archive_cmds_need_lc=no
11124 hardcode_shlibpath_var=no
11125 hardcode_libdir_flag_spec='$wl-R,$libdir'
11126 hardcode_libdir_separator=':'
11127 link_all_deplibs=yes
11128 export_dynamic_flag_spec='$wl-Bexport'
11129 runpath_var='LD_RUN_PATH'
11131 if test yes = "$GCC"; then
11132 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11133 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11135 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11136 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11141 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11142 hardcode_libdir_flag_spec='-L$libdir'
11143 hardcode_shlibpath_var=no
11151 if test sni = "$host_vendor"; then
11153 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11154 export_dynamic_flag_spec='$wl-Blargedynsym'
11160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11161 $as_echo "$ld_shlibs" >&6; }
11162 test no = "$ld_shlibs" && can_build_shared=no
11164 with_gnu_ld=$with_gnu_ld
11181 # Do we need to explicitly link libc?
11183 case "x$archive_cmds_need_lc" in
11185 # Assume -lc should be added
11186 archive_cmds_need_lc=yes
11188 if test yes,yes = "$GCC,$enable_shared"; then
11189 case $archive_cmds in
11191 # FIXME: we may have to deal with multi-command sequences.
11194 # Test whether the compiler implicitly links with -lc since on some
11195 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11196 # to ld, don't add -lc before -lgcc.
11197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11198 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11199 if ${lt_cv_archive_cmds_need_lc+:} false; then :
11200 $as_echo_n "(cached) " >&6
11203 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11205 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11206 (eval $ac_compile) 2>&5
11208 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11209 test $ac_status = 0; } 2>conftest.err; then
11212 libobjs=conftest.$ac_objext
11214 wl=$lt_prog_compiler_wl
11215 pic_flag=$lt_prog_compiler_pic
11221 lt_save_allow_undefined_flag=$allow_undefined_flag
11222 allow_undefined_flag=
11223 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11224 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11226 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11227 test $ac_status = 0; }
11229 lt_cv_archive_cmds_need_lc=no
11231 lt_cv_archive_cmds_need_lc=yes
11233 allow_undefined_flag=$lt_save_allow_undefined_flag
11235 cat conftest.err 1>&5
11240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11241 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11242 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11401 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11403 if test yes = "$GCC"; then
11405 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
11406 *) lt_awk_arg='/^libraries:/' ;;
11409 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
11410 *) lt_sed_strip_eq='s|=/|/|g' ;;
11412 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11413 case $lt_search_path_spec in
11415 # if the path contains ";" then we assume it to be the separator
11416 # otherwise default to the standard path separator (i.e. ":") - it is
11417 # assumed that no part of a normal pathname contains ";" but that should
11418 # okay in the real world where ";" in dirpaths is itself problematic.
11419 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11422 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11425 # Ok, now we have the path, separated by spaces, we can step through it
11426 # and add multilib dir if necessary...
11427 lt_tmp_lt_search_path_spec=
11428 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11429 # ...but if some path component already ends with the multilib dir we assume
11430 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11431 case "$lt_multi_os_dir; $lt_search_path_spec " in
11432 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11436 for lt_sys_path in $lt_search_path_spec; do
11437 if test -d "$lt_sys_path$lt_multi_os_dir"; then
11438 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11439 elif test -n "$lt_multi_os_dir"; then
11440 test -d "$lt_sys_path" && \
11441 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11444 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11445 BEGIN {RS = " "; FS = "/|\n";} {
11448 for (lt_i = NF; lt_i > 0; lt_i--) {
11449 if ($lt_i != "" && $lt_i != ".") {
11450 if ($lt_i == "..") {
11453 if (lt_count == 0) {
11454 lt_foo = "/" $lt_i lt_foo;
11461 if (lt_foo != "") { lt_freq[lt_foo]++; }
11462 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11464 # AWK program above erroneously prepends '/' to C:/dos/paths
11467 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11468 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11470 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11472 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11474 library_names_spec=
11475 libname_spec='lib$name'
11479 postuninstall_cmds=
11483 shlibpath_overrides_runpath=unknown
11485 dynamic_linker="$host_os ld.so"
11486 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11487 need_lib_prefix=unknown
11488 hardcode_into_libs=no
11490 # when you set need_version to no, make sure it does not cause -set_version
11491 # flags to be left without arguments
11492 need_version=unknown
11498 version_type=linux # correct to gnu/linux during the next big refactor
11499 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
11500 shlibpath_var=LIBPATH
11502 # AIX 3 has no versioning support, so we append a major version to the name.
11503 soname_spec='$libname$release$shared_ext$major'
11507 version_type=linux # correct to gnu/linux during the next big refactor
11510 hardcode_into_libs=yes
11511 if test ia64 = "$host_cpu"; then
11512 # AIX 5 supports IA64
11513 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11514 shlibpath_var=LD_LIBRARY_PATH
11516 # With GCC up to 2.95.x, collect2 would create an import file
11517 # for dependence libraries. The import file would start with
11518 # the line '#! .'. This would cause the generated library to
11519 # depend on '.', always an invalid library. This was fixed in
11520 # development snapshots of GCC prior to 3.0.
11522 aix4 | aix4.[01] | aix4.[01].*)
11523 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11525 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
11528 can_build_shared=no
11532 # Using Import Files as archive members, it is possible to support
11533 # filename-based versioning of shared library archives on AIX. While
11534 # this would work for both with and without runtime linking, it will
11535 # prevent static linking of such archives. So we do filename-based
11536 # shared library versioning with .so extension only, which is used
11537 # when both runtime linking and shared linking is enabled.
11538 # Unfortunately, runtime linking may impact performance, so we do
11539 # not want this to be the default eventually. Also, we use the
11540 # versioned .so libs for executables only if there is the -brtl
11541 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11542 # To allow for filename-based versioning support, we need to create
11543 # libNAME.so.V as an archive file, containing:
11544 # *) an Import File, referring to the versioned filename of the
11545 # archive as well as the shared archive member, telling the
11546 # bitwidth (32 or 64) of that shared object, and providing the
11547 # list of exported symbols of that shared object, eventually
11548 # decorated with the 'weak' keyword
11549 # *) the shared object with the F_LOADONLY flag set, to really avoid
11550 # it being seen by the linker.
11551 # At run time we better use the real file rather than another symlink,
11552 # but for link time we create the symlink libNAME.so -> libNAME.so.V
11554 case $with_aix_soname,$aix_use_runtimelinking in
11555 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11556 # soname into executable. Probably we can add versioning support to
11557 # collect2, so additional links can be useful in future.
11558 aix,yes) # traditional libtool
11559 dynamic_linker='AIX unversionable lib.so'
11560 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11561 # instead of lib<name>.a to let people know that these are not
11562 # typical AIX shared libraries.
11563 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11565 aix,no) # traditional AIX only
11566 dynamic_linker='AIX lib.a(lib.so.V)'
11567 # We preserve .a as extension for shared libraries through AIX4.2
11568 # and later when we are not doing run time linking.
11569 library_names_spec='$libname$release.a $libname.a'
11570 soname_spec='$libname$release$shared_ext$major'
11572 svr4,*) # full svr4 only
11573 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
11574 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11575 # We do not specify a path in Import Files, so LIBPATH fires.
11576 shlibpath_overrides_runpath=yes
11578 *,yes) # both, prefer svr4
11579 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11580 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11581 # unpreferred sharedlib libNAME.a needs extra handling
11582 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"'
11583 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"'
11584 # We do not specify a path in Import Files, so LIBPATH fires.
11585 shlibpath_overrides_runpath=yes
11587 *,no) # both, prefer aix
11588 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11589 library_names_spec='$libname$release.a $libname.a'
11590 soname_spec='$libname$release$shared_ext$major'
11591 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11592 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)'
11593 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"'
11596 shlibpath_var=LIBPATH
11603 # Since July 2007 AmigaOS4 officially supports .so libraries.
11604 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11605 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11608 library_names_spec='$libname.ixlibrary $libname.a'
11609 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11610 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'
11616 library_names_spec='$libname$shared_ext'
11617 dynamic_linker="$host_os ld.so"
11618 shlibpath_var=LIBRARY_PATH
11622 version_type=linux # correct to gnu/linux during the next big refactor
11624 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11625 soname_spec='$libname$release$shared_ext$major'
11626 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11627 shlibpath_var=LD_LIBRARY_PATH
11628 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11629 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11630 # the default ld.so.conf also contains /usr/contrib/lib and
11631 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11632 # libtool to hard-code these into programs
11635 cygwin* | mingw* | pw32* | cegcc*)
11636 version_type=windows
11641 case $GCC,$cc_basename in
11644 library_names_spec='$libname.dll.a'
11645 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11646 postinstall_cmds='base_file=`basename \$file`~
11647 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11648 dldir=$destdir/`dirname \$dlpath`~
11649 test -d \$dldir || mkdir -p \$dldir~
11650 $install_prog $dir/$dlname \$dldir/$dlname~
11651 chmod a+x \$dldir/$dlname~
11652 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11653 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11655 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11656 dlpath=$dir/\$dldll~
11658 shlibpath_overrides_runpath=yes
11662 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11663 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11665 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11668 # MinGW DLLs use traditional 'lib' prefix
11669 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11672 # pw32 DLLs use 'pw' prefix rather than 'lib'
11673 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11676 dynamic_linker='Win32 ld.exe'
11681 libname_spec='$name'
11682 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11683 library_names_spec='$libname.dll.lib'
11687 sys_lib_search_path_spec=
11690 for lt_path in $LIB
11693 # Let DOS variable expansion print the short 8.3 style file name.
11694 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11695 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11698 # Convert to MSYS style.
11699 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11702 # Convert to unix form, then to dos form, then back to unix form
11703 # but this time dos style (no spaces!) so that the unix form looks
11704 # like /cygdrive/c/PROGRA~1:/cygdr...
11705 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11706 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11707 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11710 sys_lib_search_path_spec=$LIB
11711 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11712 # It is most probably a Windows format PATH.
11713 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11715 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11717 # FIXME: find the short name or the path components, as spaces are
11718 # common. (e.g. "Program Files" -> "PROGRA~1")
11722 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11723 postinstall_cmds='base_file=`basename \$file`~
11724 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11725 dldir=$destdir/`dirname \$dlpath`~
11726 test -d \$dldir || mkdir -p \$dldir~
11727 $install_prog $dir/$dlname \$dldir/$dlname'
11728 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11729 dlpath=$dir/\$dldll~
11731 shlibpath_overrides_runpath=yes
11732 dynamic_linker='Win32 link.exe'
11736 # Assume MSVC wrapper
11737 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
11738 dynamic_linker='Win32 ld.exe'
11741 # FIXME: first we should search . and the directory the executable is in
11745 darwin* | rhapsody*)
11746 dynamic_linker="$host_os dyld"
11747 version_type=darwin
11750 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
11751 soname_spec='$libname$release$major$shared_ext'
11752 shlibpath_overrides_runpath=yes
11753 shlibpath_var=DYLD_LIBRARY_PATH
11754 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11756 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11757 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11761 version_type=linux # correct to gnu/linux during the next big refactor
11764 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11765 soname_spec='$libname$release$shared_ext$major'
11766 shlibpath_var=LD_LIBRARY_PATH
11769 freebsd* | dragonfly*)
11770 # DragonFly does not have aout. When/if they implement a new
11771 # versioning mechanism, adjust this.
11772 if test -x /usr/bin/objformat; then
11773 objformat=`/usr/bin/objformat`
11776 freebsd[23].*) objformat=aout ;;
11777 *) objformat=elf ;;
11780 version_type=freebsd-$objformat
11781 case $version_type in
11783 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11784 soname_spec='$libname$release$shared_ext$major'
11789 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11793 shlibpath_var=LD_LIBRARY_PATH
11796 shlibpath_overrides_runpath=yes
11798 freebsd3.[01]* | freebsdelf3.[01]*)
11799 shlibpath_overrides_runpath=yes
11800 hardcode_into_libs=yes
11802 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11803 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11804 shlibpath_overrides_runpath=no
11805 hardcode_into_libs=yes
11807 *) # from 4.6 on, and DragonFly
11808 shlibpath_overrides_runpath=yes
11809 hardcode_into_libs=yes
11815 version_type=linux # correct to gnu/linux during the next big refactor
11818 dynamic_linker="$host_os runtime_loader"
11819 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11820 soname_spec='$libname$release$shared_ext$major'
11821 shlibpath_var=LIBRARY_PATH
11822 shlibpath_overrides_runpath=no
11823 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11824 hardcode_into_libs=yes
11827 hpux9* | hpux10* | hpux11*)
11828 # Give a soname corresponding to the major version so that dld.sl refuses to
11829 # link against other versions.
11836 hardcode_into_libs=yes
11837 dynamic_linker="$host_os dld.so"
11838 shlibpath_var=LD_LIBRARY_PATH
11839 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11840 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11841 soname_spec='$libname$release$shared_ext$major'
11842 if test 32 = "$HPUX_IA64_MODE"; then
11843 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11844 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
11846 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11847 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
11852 hardcode_into_libs=yes
11853 dynamic_linker="$host_os dld.sl"
11854 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11855 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11856 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11857 soname_spec='$libname$release$shared_ext$major'
11858 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11859 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11863 dynamic_linker="$host_os dld.sl"
11864 shlibpath_var=SHLIB_PATH
11865 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11866 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11867 soname_spec='$libname$release$shared_ext$major'
11870 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11871 postinstall_cmds='chmod 555 $lib'
11872 # or fails outright, so override atomically:
11873 install_override_mode=555
11877 version_type=linux # correct to gnu/linux during the next big refactor
11880 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11881 soname_spec='$libname$release$shared_ext$major'
11882 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11883 shlibpath_var=LD_LIBRARY_PATH
11884 shlibpath_overrides_runpath=no
11885 hardcode_into_libs=yes
11888 irix5* | irix6* | nonstopux*)
11890 nonstopux*) version_type=nonstopux ;;
11892 if test yes = "$lt_cv_prog_gnu_ld"; then
11893 version_type=linux # correct to gnu/linux during the next big refactor
11900 soname_spec='$libname$release$shared_ext$major'
11901 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11903 irix5* | nonstopux*)
11904 libsuff= shlibsuff=
11907 case $LD in # libtool.m4 will add one of these switches to LD
11908 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11909 libsuff= shlibsuff= libmagic=32-bit;;
11910 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11911 libsuff=32 shlibsuff=N32 libmagic=N32;;
11912 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11913 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11914 *) libsuff= shlibsuff= libmagic=never-match;;
11918 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11919 shlibpath_overrides_runpath=no
11920 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11921 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
11922 hardcode_into_libs=yes
11925 # No shared lib support for Linux oldld, aout, or coff.
11926 linux*oldld* | linux*aout* | linux*coff*)
11931 version_type=none # Android doesn't support versioned libraries.
11934 library_names_spec='$libname$release$shared_ext'
11935 soname_spec='$libname$release$shared_ext'
11937 shlibpath_var=LD_LIBRARY_PATH
11938 shlibpath_overrides_runpath=yes
11940 # This implies no fast_install, which is unacceptable.
11941 # Some rework will be needed to allow for fast_install
11942 # before this can be enabled.
11943 hardcode_into_libs=yes
11945 dynamic_linker='Android linker'
11946 # Don't embed -rpath directories since the linker doesn't support them.
11947 hardcode_libdir_flag_spec='-L$libdir'
11950 # This must be glibc/ELF.
11951 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11952 version_type=linux # correct to gnu/linux during the next big refactor
11955 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11956 soname_spec='$libname$release$shared_ext$major'
11957 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11958 shlibpath_var=LD_LIBRARY_PATH
11959 shlibpath_overrides_runpath=no
11961 # Some binutils ld are patched to set DT_RUNPATH
11962 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11963 $as_echo_n "(cached) " >&6
11965 lt_cv_shlibpath_overrides_runpath=no
11966 save_LDFLAGS=$LDFLAGS
11967 save_libdir=$libdir
11968 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11969 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11971 /* end confdefs.h. */
11981 if ac_fn_c_try_link "$LINENO"; then :
11982 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11983 lt_cv_shlibpath_overrides_runpath=yes
11986 rm -f core conftest.err conftest.$ac_objext \
11987 conftest$ac_exeext conftest.$ac_ext
11988 LDFLAGS=$save_LDFLAGS
11989 libdir=$save_libdir
11993 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11995 # This implies no fast_install, which is unacceptable.
11996 # Some rework will be needed to allow for fast_install
11997 # before this can be enabled.
11998 hardcode_into_libs=yes
12000 # Ideally, we could use ldconfig to report *all* directores which are
12001 # searched for libraries, however this is still not possible. Aside from not
12002 # being certain /sbin/ldconfig is available, command
12003 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12004 # even though it is searched at run-time. Try to do the best guess by
12005 # appending ld.so.conf contents (and includes) to the search path.
12006 if test -f /etc/ld.so.conf; then
12007 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' ' '`
12008 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12011 # We used to test for /lib/ld.so.1 and disable shared libraries on
12012 # powerpc, because MkLinux only supported shared libraries with the
12013 # GNU dynamic linker. Since this was broken with cross compilers,
12014 # most powerpc-linux boxes support dynamic linking these days and
12015 # people can always --disable-shared, the test was removed, and we
12016 # assume the GNU/Linux dynamic linker is in use.
12017 dynamic_linker='GNU/Linux ld.so'
12024 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12025 soname_spec='${libname}${release}${shared_ext}$major'
12026 shlibpath_var=LD_LIBRARY_PATH
12027 shlibpath_overrides_runpath=no
12028 hardcode_into_libs=yes
12029 dynamic_linker='NetBSD ld.elf_so'
12036 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12037 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12038 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12039 dynamic_linker='NetBSD (a.out) ld.so'
12041 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12042 soname_spec='$libname$release$shared_ext$major'
12043 dynamic_linker='NetBSD ld.elf_so'
12045 shlibpath_var=LD_LIBRARY_PATH
12046 shlibpath_overrides_runpath=yes
12047 hardcode_into_libs=yes
12051 version_type=linux # correct to gnu/linux during the next big refactor
12052 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12053 shlibpath_var=LD_LIBRARY_PATH
12054 shlibpath_overrides_runpath=yes
12061 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12062 soname_spec='$libname$release$shared_ext$major'
12063 shlibpath_var=LD_LIBRARY_PATH
12064 shlibpath_overrides_runpath=no
12065 hardcode_into_libs=yes
12066 dynamic_linker='ldqnx.so'
12069 openbsd* | bitrig*)
12071 sys_lib_dlsearch_path_spec=/usr/lib
12073 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12078 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12079 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12080 shlibpath_var=LD_LIBRARY_PATH
12081 shlibpath_overrides_runpath=yes
12085 libname_spec='$name'
12086 version_type=windows
12090 # OS/2 can only load a DLL with a base name of 8 characters or less.
12091 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
12092 v=$($ECHO $release$versuffix | tr -d .-);
12093 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12094 $ECHO $n$v`$shared_ext'
12095 library_names_spec='${libname}_dll.$libext'
12096 dynamic_linker='OS/2 ld.exe'
12097 shlibpath_var=BEGINLIBPATH
12098 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12099 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12100 postinstall_cmds='base_file=`basename \$file`~
12101 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12102 dldir=$destdir/`dirname \$dlpath`~
12103 test -d \$dldir || mkdir -p \$dldir~
12104 $install_prog $dir/$dlname \$dldir/$dlname~
12105 chmod a+x \$dldir/$dlname~
12106 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12107 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12109 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12110 dlpath=$dir/\$dldll~
12114 osf3* | osf4* | osf5*)
12118 soname_spec='$libname$release$shared_ext$major'
12119 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12120 shlibpath_var=LD_LIBRARY_PATH
12121 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12122 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12130 version_type=linux # correct to gnu/linux during the next big refactor
12133 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12134 soname_spec='$libname$release$shared_ext$major'
12135 shlibpath_var=LD_LIBRARY_PATH
12136 shlibpath_overrides_runpath=yes
12137 hardcode_into_libs=yes
12138 # ldd complains unless libraries are executable
12139 postinstall_cmds='chmod +x $lib'
12144 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12145 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12146 shlibpath_var=LD_LIBRARY_PATH
12147 shlibpath_overrides_runpath=yes
12148 if test yes = "$with_gnu_ld"; then
12155 version_type=linux # correct to gnu/linux during the next big refactor
12156 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12157 soname_spec='$libname$release$shared_ext$major'
12158 shlibpath_var=LD_LIBRARY_PATH
12159 case $host_vendor in
12161 shlibpath_overrides_runpath=no
12163 runpath_var=LD_RUN_PATH
12171 shlibpath_overrides_runpath=no
12172 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12178 if test -d /usr/nec; then
12179 version_type=linux # correct to gnu/linux during the next big refactor
12180 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12181 soname_spec='$libname$shared_ext.$major'
12182 shlibpath_var=LD_LIBRARY_PATH
12186 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12190 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12191 soname_spec='$libname$release$shared_ext$major'
12192 shlibpath_var=LD_LIBRARY_PATH
12193 shlibpath_overrides_runpath=yes
12194 hardcode_into_libs=yes
12195 if test yes = "$with_gnu_ld"; then
12196 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12198 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12201 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12205 sys_lib_dlsearch_path_spec='/usr/lib'
12209 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12210 version_type=linux # correct to gnu/linux during the next big refactor
12213 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12214 shlibpath_var=LD_LIBRARY_PATH
12215 shlibpath_overrides_runpath=no
12216 hardcode_into_libs=yes
12220 version_type=linux # correct to gnu/linux during the next big refactor
12221 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12222 soname_spec='$libname$release$shared_ext$major'
12223 shlibpath_var=LD_LIBRARY_PATH
12230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12231 $as_echo "$dynamic_linker" >&6; }
12232 test no = "$dynamic_linker" && can_build_shared=no
12234 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12235 if test yes = "$GCC"; then
12236 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12239 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12240 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
12243 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12244 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
12247 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12248 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
12250 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12251 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
12253 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12254 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
12352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12353 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12355 if test -n "$hardcode_libdir_flag_spec" ||
12356 test -n "$runpath_var" ||
12357 test yes = "$hardcode_automatic"; then
12359 # We can hardcode non-existent directories.
12360 if test no != "$hardcode_direct" &&
12361 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12362 # have to relink, otherwise we might link with an installed library
12363 # when we should be linking with a yet-to-be-installed one
12364 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12365 test no != "$hardcode_minus_L"; then
12366 # Linking always hardcodes the temporary library directory.
12367 hardcode_action=relink
12369 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12370 hardcode_action=immediate
12373 # We cannot hardcode anything, or else we can only hardcode existing
12375 hardcode_action=unsupported
12377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12378 $as_echo "$hardcode_action" >&6; }
12380 if test relink = "$hardcode_action" ||
12381 test yes = "$inherit_rpath"; then
12382 # Fast installation is not supported
12383 enable_fast_install=no
12384 elif test yes = "$shlibpath_overrides_runpath" ||
12385 test no = "$enable_shared"; then
12386 # Fast installation is not necessary
12387 enable_fast_install=needless
12395 if test yes != "$enable_dlopen"; then
12396 enable_dlopen=unknown
12397 enable_dlopen_self=unknown
12398 enable_dlopen_self_static=unknown
12405 lt_cv_dlopen=load_add_on
12407 lt_cv_dlopen_self=yes
12410 mingw* | pw32* | cegcc*)
12411 lt_cv_dlopen=LoadLibrary
12416 lt_cv_dlopen=dlopen
12421 # if libdl is installed we need to link against it
12422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12423 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12424 if ${ac_cv_lib_dl_dlopen+:} false; then :
12425 $as_echo_n "(cached) " >&6
12427 ac_check_lib_save_LIBS=$LIBS
12429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12430 /* end confdefs.h. */
12432 /* Override any GCC internal prototype to avoid an error.
12433 Use char because int might match the return type of a GCC
12434 builtin and then its argument prototype would still apply. */
12447 if ac_fn_c_try_link "$LINENO"; then :
12448 ac_cv_lib_dl_dlopen=yes
12450 ac_cv_lib_dl_dlopen=no
12452 rm -f core conftest.err conftest.$ac_objext \
12453 conftest$ac_exeext conftest.$ac_ext
12454 LIBS=$ac_check_lib_save_LIBS
12456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12457 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12458 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12459 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12464 lt_cv_dlopen_self=yes
12471 # Don't try to run any link tests for TPF. We know it's impossible
12472 # because TPF is a cross-compiler, and we know how we open DSOs.
12473 lt_cv_dlopen=dlopen
12475 lt_cv_dlopen_self=no
12479 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12480 if test "x$ac_cv_func_shl_load" = xyes; then :
12481 lt_cv_dlopen=shl_load
12483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12484 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12485 if ${ac_cv_lib_dld_shl_load+:} false; then :
12486 $as_echo_n "(cached) " >&6
12488 ac_check_lib_save_LIBS=$LIBS
12490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12491 /* end confdefs.h. */
12493 /* Override any GCC internal prototype to avoid an error.
12494 Use char because int might match the return type of a GCC
12495 builtin and then its argument prototype would still apply. */
12503 return shl_load ();
12508 if ac_fn_c_try_link "$LINENO"; then :
12509 ac_cv_lib_dld_shl_load=yes
12511 ac_cv_lib_dld_shl_load=no
12513 rm -f core conftest.err conftest.$ac_objext \
12514 conftest$ac_exeext conftest.$ac_ext
12515 LIBS=$ac_check_lib_save_LIBS
12517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12518 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12519 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12520 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
12522 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12523 if test "x$ac_cv_func_dlopen" = xyes; then :
12524 lt_cv_dlopen=dlopen
12526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12527 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12528 if ${ac_cv_lib_dl_dlopen+:} false; then :
12529 $as_echo_n "(cached) " >&6
12531 ac_check_lib_save_LIBS=$LIBS
12533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12534 /* end confdefs.h. */
12536 /* Override any GCC internal prototype to avoid an error.
12537 Use char because int might match the return type of a GCC
12538 builtin and then its argument prototype would still apply. */
12551 if ac_fn_c_try_link "$LINENO"; then :
12552 ac_cv_lib_dl_dlopen=yes
12554 ac_cv_lib_dl_dlopen=no
12556 rm -f core conftest.err conftest.$ac_objext \
12557 conftest$ac_exeext conftest.$ac_ext
12558 LIBS=$ac_check_lib_save_LIBS
12560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12561 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12562 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12563 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12566 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12567 if ${ac_cv_lib_svld_dlopen+:} false; then :
12568 $as_echo_n "(cached) " >&6
12570 ac_check_lib_save_LIBS=$LIBS
12571 LIBS="-lsvld $LIBS"
12572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12573 /* end confdefs.h. */
12575 /* Override any GCC internal prototype to avoid an error.
12576 Use char because int might match the return type of a GCC
12577 builtin and then its argument prototype would still apply. */
12590 if ac_fn_c_try_link "$LINENO"; then :
12591 ac_cv_lib_svld_dlopen=yes
12593 ac_cv_lib_svld_dlopen=no
12595 rm -f core conftest.err conftest.$ac_objext \
12596 conftest$ac_exeext conftest.$ac_ext
12597 LIBS=$ac_check_lib_save_LIBS
12599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12600 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12601 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12602 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
12604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12605 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12606 if ${ac_cv_lib_dld_dld_link+:} false; then :
12607 $as_echo_n "(cached) " >&6
12609 ac_check_lib_save_LIBS=$LIBS
12611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12612 /* end confdefs.h. */
12614 /* Override any GCC internal prototype to avoid an error.
12615 Use char because int might match the return type of a GCC
12616 builtin and then its argument prototype would still apply. */
12624 return dld_link ();
12629 if ac_fn_c_try_link "$LINENO"; then :
12630 ac_cv_lib_dld_dld_link=yes
12632 ac_cv_lib_dld_dld_link=no
12634 rm -f core conftest.err conftest.$ac_objext \
12635 conftest$ac_exeext conftest.$ac_ext
12636 LIBS=$ac_check_lib_save_LIBS
12638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12639 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12640 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12641 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
12662 if test no = "$lt_cv_dlopen"; then
12668 case $lt_cv_dlopen in
12670 save_CPPFLAGS=$CPPFLAGS
12671 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12673 save_LDFLAGS=$LDFLAGS
12674 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12677 LIBS="$lt_cv_dlopen_libs $LIBS"
12679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12680 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12681 if ${lt_cv_dlopen_self+:} false; then :
12682 $as_echo_n "(cached) " >&6
12684 if test yes = "$cross_compiling"; then :
12685 lt_cv_dlopen_self=cross
12687 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12688 lt_status=$lt_dlunknown
12689 cat > conftest.$ac_ext <<_LT_EOF
12690 #line $LINENO "configure"
12691 #include "confdefs.h"
12700 # define LT_DLGLOBAL RTLD_GLOBAL
12703 # define LT_DLGLOBAL DL_GLOBAL
12705 # define LT_DLGLOBAL 0
12709 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12710 find out it does not work in some platform. */
12711 #ifndef LT_DLLAZY_OR_NOW
12713 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12716 # define LT_DLLAZY_OR_NOW DL_LAZY
12719 # define LT_DLLAZY_OR_NOW RTLD_NOW
12722 # define LT_DLLAZY_OR_NOW DL_NOW
12724 # define LT_DLLAZY_OR_NOW 0
12731 /* When -fvisibility=hidden is used, assume the code has been annotated
12732 correspondingly for the symbols needed. */
12733 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12734 int fnord () __attribute__((visibility("default")));
12737 int fnord () { return 42; }
12740 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12741 int status = $lt_dlunknown;
12745 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12748 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12749 else puts (dlerror ());
12751 /* dlclose (self); */
12759 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12760 (eval $ac_link) 2>&5
12762 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12763 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12764 (./conftest; exit; ) >&5 2>/dev/null
12766 case x$lt_status in
12767 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12768 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12769 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12772 # compilation failed
12773 lt_cv_dlopen_self=no
12780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12781 $as_echo "$lt_cv_dlopen_self" >&6; }
12783 if test yes = "$lt_cv_dlopen_self"; then
12784 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12786 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12787 if ${lt_cv_dlopen_self_static+:} false; then :
12788 $as_echo_n "(cached) " >&6
12790 if test yes = "$cross_compiling"; then :
12791 lt_cv_dlopen_self_static=cross
12793 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12794 lt_status=$lt_dlunknown
12795 cat > conftest.$ac_ext <<_LT_EOF
12796 #line $LINENO "configure"
12797 #include "confdefs.h"
12806 # define LT_DLGLOBAL RTLD_GLOBAL
12809 # define LT_DLGLOBAL DL_GLOBAL
12811 # define LT_DLGLOBAL 0
12815 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12816 find out it does not work in some platform. */
12817 #ifndef LT_DLLAZY_OR_NOW
12819 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12822 # define LT_DLLAZY_OR_NOW DL_LAZY
12825 # define LT_DLLAZY_OR_NOW RTLD_NOW
12828 # define LT_DLLAZY_OR_NOW DL_NOW
12830 # define LT_DLLAZY_OR_NOW 0
12837 /* When -fvisibility=hidden is used, assume the code has been annotated
12838 correspondingly for the symbols needed. */
12839 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12840 int fnord () __attribute__((visibility("default")));
12843 int fnord () { return 42; }
12846 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12847 int status = $lt_dlunknown;
12851 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12854 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12855 else puts (dlerror ());
12857 /* dlclose (self); */
12865 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12866 (eval $ac_link) 2>&5
12868 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12869 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12870 (./conftest; exit; ) >&5 2>/dev/null
12872 case x$lt_status in
12873 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12874 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12875 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12878 # compilation failed
12879 lt_cv_dlopen_self_static=no
12886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12887 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12890 CPPFLAGS=$save_CPPFLAGS
12891 LDFLAGS=$save_LDFLAGS
12896 case $lt_cv_dlopen_self in
12897 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12898 *) enable_dlopen_self=unknown ;;
12901 case $lt_cv_dlopen_self_static in
12902 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12903 *) enable_dlopen_self_static=unknown ;;
12925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12926 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12927 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12928 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12929 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12931 $as_echo "yes" >&6; }
12933 # FIXME - insert some real tests, host_os isn't really good enough
12936 if test -n "$STRIP"; then
12937 striplib="$STRIP -x"
12938 old_striplib="$STRIP -S"
12939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12940 $as_echo "yes" >&6; }
12942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12943 $as_echo "no" >&6; }
12947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12948 $as_echo "no" >&6; }
12964 # Report what library types will actually be built
12965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12966 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12968 $as_echo "$can_build_shared" >&6; }
12970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12971 $as_echo_n "checking whether to build shared libraries... " >&6; }
12972 test no = "$can_build_shared" && enable_shared=no
12974 # On AIX, shared libraries and static libraries use the same namespace, and
12975 # are all built from PIC.
12978 test yes = "$enable_shared" && enable_static=no
12979 if test -n "$RANLIB"; then
12980 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12981 postinstall_cmds='$RANLIB $lib'
12986 if test ia64 != "$host_cpu"; then
12987 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12988 yes,aix,yes) ;; # shared object as lib.so file only
12989 yes,svr4,*) ;; # shared object as lib.so archive member only
12990 yes,*) enable_static=no ;; # shared object in lib.a archive as well
12995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12996 $as_echo "$enable_shared" >&6; }
12998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12999 $as_echo_n "checking whether to build static libraries... " >&6; }
13000 # Make sure either enable_shared or enable_static is yes.
13001 test yes = "$enable_shared" || enable_static=yes
13002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13003 $as_echo "$enable_static" >&6; }
13010 ac_cpp='$CPP $CPPFLAGS'
13011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13017 if test -n "$CXX" && ( test no != "$CXX" &&
13018 ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
13019 (test g++ != "$CXX"))); then
13021 ac_cpp='$CXXCPP $CPPFLAGS'
13022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13026 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13027 if test -z "$CXXCPP"; then
13028 if ${ac_cv_prog_CXXCPP+:} false; then :
13029 $as_echo_n "(cached) " >&6
13031 # Double quotes because CXXCPP needs to be expanded
13032 for CXXCPP in "$CXX -E" "/lib/cpp"
13034 ac_preproc_ok=false
13035 for ac_cxx_preproc_warn_flag in '' yes
13037 # Use a header file that comes with gcc, so configuring glibc
13038 # with a fresh cross-compiler works.
13039 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13040 # <limits.h> exists even on freestanding compilers.
13041 # On the NeXT, cc -E runs the code through the compiler's parser,
13042 # not just through cpp. "Syntax error" is here to catch this case.
13043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13044 /* end confdefs.h. */
13046 @%:@ include <limits.h>
13048 @%:@ include <assert.h>
13052 if ac_fn_cxx_try_cpp "$LINENO"; then :
13055 # Broken: fails on valid input.
13058 rm -f conftest.err conftest.i conftest.$ac_ext
13060 # OK, works on sane cases. Now check whether nonexistent headers
13061 # can be detected and how.
13062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13063 /* end confdefs.h. */
13064 @%:@include <ac_nonexistent.h>
13066 if ac_fn_cxx_try_cpp "$LINENO"; then :
13067 # Broken: success on invalid input.
13070 # Passes both tests.
13074 rm -f conftest.err conftest.i conftest.$ac_ext
13077 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13078 rm -f conftest.i conftest.err conftest.$ac_ext
13079 if $ac_preproc_ok; then :
13084 ac_cv_prog_CXXCPP=$CXXCPP
13087 CXXCPP=$ac_cv_prog_CXXCPP
13089 ac_cv_prog_CXXCPP=$CXXCPP
13091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13092 $as_echo "$CXXCPP" >&6; }
13093 ac_preproc_ok=false
13094 for ac_cxx_preproc_warn_flag in '' yes
13096 # Use a header file that comes with gcc, so configuring glibc
13097 # with a fresh cross-compiler works.
13098 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13099 # <limits.h> exists even on freestanding compilers.
13100 # On the NeXT, cc -E runs the code through the compiler's parser,
13101 # not just through cpp. "Syntax error" is here to catch this case.
13102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13103 /* end confdefs.h. */
13105 @%:@ include <limits.h>
13107 @%:@ include <assert.h>
13111 if ac_fn_cxx_try_cpp "$LINENO"; then :
13114 # Broken: fails on valid input.
13117 rm -f conftest.err conftest.i conftest.$ac_ext
13119 # OK, works on sane cases. Now check whether nonexistent headers
13120 # can be detected and how.
13121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13122 /* end confdefs.h. */
13123 @%:@include <ac_nonexistent.h>
13125 if ac_fn_cxx_try_cpp "$LINENO"; then :
13126 # Broken: success on invalid input.
13129 # Passes both tests.
13133 rm -f conftest.err conftest.i conftest.$ac_ext
13136 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13137 rm -f conftest.i conftest.err conftest.$ac_ext
13138 if $ac_preproc_ok; then :
13141 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13142 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13143 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
13144 See \`config.log' for more details" "$LINENO" 5; }
13148 ac_cpp='$CPP $CPPFLAGS'
13149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13154 _lt_caught_CXX_error=yes
13158 ac_cpp='$CXXCPP $CPPFLAGS'
13159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13163 archive_cmds_need_lc_CXX=no
13164 allow_undefined_flag_CXX=
13165 always_export_symbols_CXX=no
13166 archive_expsym_cmds_CXX=
13167 compiler_needs_object_CXX=no
13168 export_dynamic_flag_spec_CXX=
13169 hardcode_direct_CXX=no
13170 hardcode_direct_absolute_CXX=no
13171 hardcode_libdir_flag_spec_CXX=
13172 hardcode_libdir_separator_CXX=
13173 hardcode_minus_L_CXX=no
13174 hardcode_shlibpath_var_CXX=unsupported
13175 hardcode_automatic_CXX=no
13176 inherit_rpath_CXX=no
13178 module_expsym_cmds_CXX=
13179 link_all_deplibs_CXX=unknown
13180 old_archive_cmds_CXX=$old_archive_cmds
13181 reload_flag_CXX=$reload_flag
13182 reload_cmds_CXX=$reload_cmds
13183 no_undefined_flag_CXX=
13184 whole_archive_flag_spec_CXX=
13185 enable_shared_with_static_runtimes_CXX=no
13187 # Source file extension for C++ test sources.
13190 # Object file extension for compiled C++ test sources.
13194 # No sense in running all these tests if we already determined that
13195 # the CXX compiler isn't working. Some variables (like enable_shared)
13196 # are currently assumed to apply to all compilers on this platform,
13197 # and will be corrupted by setting them based on a non-working compiler.
13198 if test yes != "$_lt_caught_CXX_error"; then
13199 # Code to be used in simple compile tests
13200 lt_simple_compile_test_code="int some_variable = 0;"
13202 # Code to be used in simple link tests
13203 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
13205 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13212 # If no C compiler was specified, use CC.
13215 # If no C compiler flags were specified, use CFLAGS.
13216 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13218 # Allow CC to be a program name with arguments.
13222 # save warnings/boilerplate of simple test code
13223 ac_outfile=conftest.$ac_objext
13224 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13225 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13226 _lt_compiler_boilerplate=`cat conftest.err`
13229 ac_outfile=conftest.$ac_objext
13230 echo "$lt_simple_link_test_code" >conftest.$ac_ext
13231 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13232 _lt_linker_boilerplate=`cat conftest.err`
13236 # Allow CC to be a program name with arguments.
13238 lt_save_CFLAGS=$CFLAGS
13242 lt_save_with_gnu_ld=$with_gnu_ld
13243 lt_save_path_LD=$lt_cv_path_LD
13244 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13245 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13247 $as_unset lt_cv_prog_gnu_ld
13249 if test -n "${lt_cv_path_LDCXX+set}"; then
13250 lt_cv_path_LD=$lt_cv_path_LDCXX
13252 $as_unset lt_cv_path_LD
13254 test -z "${LDCXX+set}" || LD=$LDCXX
13259 func_cc_basename $compiler
13260 cc_basename=$func_cc_basename_result
13263 if test -n "$compiler"; then
13264 # We don't want -fno-exception when compiling C++ code, so set the
13265 # no_builtin_flag separately
13266 if test yes = "$GXX"; then
13267 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13269 lt_prog_compiler_no_builtin_flag_CXX=
13272 if test yes = "$GXX"; then
13273 # Set up default GNU C++ configuration
13277 @%:@ Check whether --with-gnu-ld was given.
13278 if test "${with_gnu_ld+set}" = set; then :
13279 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
13285 if test yes = "$GCC"; then
13286 # Check if gcc -print-prog-name=ld gives a path.
13287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13288 $as_echo_n "checking for ld used by $CC... " >&6; }
13291 # gcc leaves a trailing carriage return, which upsets mingw
13292 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13294 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13297 # Accept absolute paths.
13299 re_direlt='/[^/][^/]*/\.\./'
13300 # Canonicalize the pathname of ld
13301 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13302 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
13303 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13305 test -z "$LD" && LD=$ac_prog
13308 # If it fails, then pretend we aren't using GCC.
13312 # If it is relative, then search for the first ld in PATH.
13313 with_gnu_ld=unknown
13316 elif test yes = "$with_gnu_ld"; then
13317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13318 $as_echo_n "checking for GNU ld... " >&6; }
13320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13321 $as_echo_n "checking for non-GNU ld... " >&6; }
13323 if ${lt_cv_path_LD+:} false; then :
13324 $as_echo_n "(cached) " >&6
13326 if test -z "$LD"; then
13327 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
13328 for ac_dir in $PATH; do
13330 test -z "$ac_dir" && ac_dir=.
13331 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13332 lt_cv_path_LD=$ac_dir/$ac_prog
13333 # Check to see if the program is GNU ld. I'd rather use --version,
13334 # but apparently some variants of GNU ld only accept -v.
13335 # Break only if it was the GNU/non-GNU ld that we prefer.
13336 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13337 *GNU* | *'with BFD'*)
13338 test no != "$with_gnu_ld" && break
13341 test yes != "$with_gnu_ld" && break
13348 lt_cv_path_LD=$LD # Let the user override the test with a path.
13353 if test -n "$LD"; then
13354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13355 $as_echo "$LD" >&6; }
13357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13358 $as_echo "no" >&6; }
13360 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13362 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13363 if ${lt_cv_prog_gnu_ld+:} false; then :
13364 $as_echo_n "(cached) " >&6
13366 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13367 case `$LD -v 2>&1 </dev/null` in
13368 *GNU* | *'with BFD'*)
13369 lt_cv_prog_gnu_ld=yes
13372 lt_cv_prog_gnu_ld=no
13376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13377 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13378 with_gnu_ld=$lt_cv_prog_gnu_ld
13386 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13387 # archiving commands below assume that GNU ld is being used.
13388 if test yes = "$with_gnu_ld"; then
13389 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
13390 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'
13392 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
13393 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
13395 # If archive_cmds runs LD, not CC, wlarc should be empty
13396 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13397 # investigate it a little bit more. (MM)
13400 # ancient GNU ld didn't support --whole-archive et. al.
13401 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13402 $GREP 'no-whole-archive' > /dev/null; then
13403 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
13405 whole_archive_flag_spec_CXX=
13411 # A generic and very simple default shared library creation
13412 # command for GNU C++ for the case where it uses the native
13413 # linker, instead of GNU ld. If possible, this setting should
13414 # overridden to take advantage of the native linker features on
13415 # the platform it is being used on.
13416 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13419 # Commands to make compiler produce verbose output that lists
13420 # what "hidden" libraries, object files and flags are used when
13421 # linking a shared library.
13422 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13430 # PORTME: fill in a description of your system's C++ link characteristics
13431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13432 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13436 # FIXME: insert proper C++ library support
13440 if test ia64 = "$host_cpu"; then
13441 # On IA64, the linker does run time linking by default, so we don't
13442 # have to do anything special.
13443 aix_use_runtimelinking=no
13444 exp_sym_flag='-Bexport'
13447 aix_use_runtimelinking=no
13449 # Test if we are trying to use run time linking or normal
13450 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13451 # have runtime linking enabled, and use it for executables.
13452 # For shared libraries, we enable/disable runtime linking
13453 # depending on the kind of the shared library created -
13454 # when "with_aix_soname,aix_use_runtimelinking" is:
13455 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
13456 # "aix,yes" lib.so shared, rtl:yes, for executables
13457 # lib.a static archive
13458 # "both,no" lib.so.V(shr.o) shared, rtl:yes
13459 # lib.a(lib.so.V) shared, rtl:no, for executables
13460 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
13461 # lib.a(lib.so.V) shared, rtl:no
13462 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
13463 # lib.a static archive
13464 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13465 for ld_flag in $LDFLAGS; do
13468 aix_use_runtimelinking=yes
13473 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
13474 # With aix-soname=svr4, we create the lib.so.V shared archives only,
13475 # so we don't have lib.a shared libs to link our executables.
13476 # We have to force runtime linking in this case.
13477 aix_use_runtimelinking=yes
13478 LDFLAGS="$LDFLAGS -Wl,-brtl"
13483 exp_sym_flag='-bexport'
13484 no_entry_flag='-bnoentry'
13487 # When large executables or shared objects are built, AIX ld can
13488 # have problems creating the table of contents. If linking a library
13489 # or program results in "error TOC overflow" add -mminimal-toc to
13490 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13491 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13493 archive_cmds_CXX=''
13494 hardcode_direct_CXX=yes
13495 hardcode_direct_absolute_CXX=yes
13496 hardcode_libdir_separator_CXX=':'
13497 link_all_deplibs_CXX=yes
13498 file_list_spec_CXX='$wl-f,'
13499 case $with_aix_soname,$aix_use_runtimelinking in
13500 aix,*) ;; # no import file
13501 svr4,* | *,yes) # use import file
13502 # The Import File defines what to hardcode.
13503 hardcode_direct_CXX=no
13504 hardcode_direct_absolute_CXX=no
13508 if test yes = "$GXX"; then
13509 case $host_os in aix4.[012]|aix4.[012].*)
13510 # We only want to do this on AIX 4.2 and lower, the check
13511 # below for broken collect2 doesn't work under 4.3+
13512 collect2name=`$CC -print-prog-name=collect2`
13513 if test -f "$collect2name" &&
13514 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13516 # We have reworked collect2
13519 # We have old collect2
13520 hardcode_direct_CXX=unsupported
13521 # It fails to find uninstalled libraries when the uninstalled
13522 # path is not listed in the libpath. Setting hardcode_minus_L
13523 # to unsupported forces relinking
13524 hardcode_minus_L_CXX=yes
13525 hardcode_libdir_flag_spec_CXX='-L$libdir'
13526 hardcode_libdir_separator_CXX=
13529 shared_flag='-shared'
13530 if test yes = "$aix_use_runtimelinking"; then
13531 shared_flag=$shared_flag' $wl-G'
13533 # Need to ensure runtime linking is disabled for the traditional
13534 # shared library, or the linker may eventually find shared libraries
13535 # /with/ Import File - we do not want to mix them.
13536 shared_flag_aix='-shared'
13537 shared_flag_svr4='-shared $wl-G'
13540 if test ia64 = "$host_cpu"; then
13541 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13542 # chokes on -Wl,-G. The following line is correct:
13545 if test yes = "$aix_use_runtimelinking"; then
13546 shared_flag='$wl-G'
13548 shared_flag='$wl-bM:SRE'
13550 shared_flag_aix='$wl-bM:SRE'
13551 shared_flag_svr4='$wl-G'
13555 export_dynamic_flag_spec_CXX='$wl-bexpall'
13556 # It seems that -bexpall does not export symbols beginning with
13557 # underscore (_), so it is better to generate a list of symbols to
13559 always_export_symbols_CXX=yes
13560 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
13561 # Warning - without using the other runtime loading flags (-brtl),
13562 # -berok will link without error, but may produce a broken library.
13563 # The "-G" linker flag allows undefined symbols.
13564 no_undefined_flag_CXX='-bernotok'
13565 # Determine the default libpath from the value encoded in an empty
13567 if test set = "${lt_cv_aix_libpath+set}"; then
13568 aix_libpath=$lt_cv_aix_libpath
13570 if ${lt_cv_aix_libpath__CXX+:} false; then :
13571 $as_echo_n "(cached) " >&6
13573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13574 /* end confdefs.h. */
13584 if ac_fn_cxx_try_link "$LINENO"; then :
13586 lt_aix_libpath_sed='
13587 /Import File Strings/,/^$/ {
13589 s/^0 *\([^ ]*\) *$/\1/
13593 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13594 # Check for a 64-bit object if we didn't find anything.
13595 if test -z "$lt_cv_aix_libpath__CXX"; then
13596 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13599 rm -f core conftest.err conftest.$ac_objext \
13600 conftest$ac_exeext conftest.$ac_ext
13601 if test -z "$lt_cv_aix_libpath__CXX"; then
13602 lt_cv_aix_libpath__CXX=/usr/lib:/lib
13607 aix_libpath=$lt_cv_aix_libpath__CXX
13610 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
13612 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
13614 if test ia64 = "$host_cpu"; then
13615 hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
13616 allow_undefined_flag_CXX="-z nodefs"
13617 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"
13619 # Determine the default libpath from the value encoded in an
13620 # empty executable.
13621 if test set = "${lt_cv_aix_libpath+set}"; then
13622 aix_libpath=$lt_cv_aix_libpath
13624 if ${lt_cv_aix_libpath__CXX+:} false; then :
13625 $as_echo_n "(cached) " >&6
13627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13628 /* end confdefs.h. */
13638 if ac_fn_cxx_try_link "$LINENO"; then :
13640 lt_aix_libpath_sed='
13641 /Import File Strings/,/^$/ {
13643 s/^0 *\([^ ]*\) *$/\1/
13647 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13648 # Check for a 64-bit object if we didn't find anything.
13649 if test -z "$lt_cv_aix_libpath__CXX"; then
13650 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13653 rm -f core conftest.err conftest.$ac_objext \
13654 conftest$ac_exeext conftest.$ac_ext
13655 if test -z "$lt_cv_aix_libpath__CXX"; then
13656 lt_cv_aix_libpath__CXX=/usr/lib:/lib
13661 aix_libpath=$lt_cv_aix_libpath__CXX
13664 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
13665 # Warning - without using the other run time loading flags,
13666 # -berok will link without error, but may produce a broken library.
13667 no_undefined_flag_CXX=' $wl-bernotok'
13668 allow_undefined_flag_CXX=' $wl-berok'
13669 if test yes = "$with_gnu_ld"; then
13670 # We only use this code for GNU lds that support --whole-archive.
13671 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
13673 # Exported symbols can be pulled into shared objects from archives
13674 whole_archive_flag_spec_CXX='$convenience'
13676 archive_cmds_need_lc_CXX=yes
13677 archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
13678 # -brtl affects multiple linker settings, -berok does not and is overridden later
13679 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
13680 if test svr4 != "$with_aix_soname"; then
13681 # This is similar to how AIX traditionally builds its shared
13682 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
13683 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'
13685 if test aix != "$with_aix_soname"; then
13686 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'
13688 # used by -dlpreopen to get the symbols
13689 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
13691 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
13697 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13698 allow_undefined_flag_CXX=unsupported
13699 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13700 # support --undefined. This deserves some investigation. FIXME
13701 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13708 case $cc_basename in
13710 # FIXME: insert proper C++ library support
13716 cygwin* | mingw* | pw32* | cegcc*)
13717 case $GXX,$cc_basename in
13720 # hardcode_libdir_flag_spec is actually meaningless, as there is
13721 # no search path for DLLs.
13722 hardcode_libdir_flag_spec_CXX=' '
13723 allow_undefined_flag_CXX=unsupported
13724 always_export_symbols_CXX=yes
13725 file_list_spec_CXX='@'
13726 # Tell ltmain to make .lib files, not .a files.
13728 # Tell ltmain to make .dll files, not .so files.
13730 # FIXME: Setting linknames here is a bad hack.
13731 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
13732 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
13733 cp "$export_symbols" "$output_objdir/$soname.def";
13734 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
13736 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
13738 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13740 # The linker will not automatically build a static lib if we build a DLL.
13741 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13742 enable_shared_with_static_runtimes_CXX=yes
13744 old_postinstall_cmds_CXX='chmod 644 $oldlib'
13745 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
13746 lt_tool_outputfile="@TOOL_OUTPUT@"~
13747 case $lt_outputfile in
13750 lt_outputfile=$lt_outputfile.exe
13751 lt_tool_outputfile=$lt_tool_outputfile.exe
13754 func_to_tool_file "$lt_outputfile"~
13755 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
13756 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13757 $RM "$lt_outputfile.manifest";
13762 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13763 # as there is no search path for DLLs.
13764 hardcode_libdir_flag_spec_CXX='-L$libdir'
13765 export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
13766 allow_undefined_flag_CXX=unsupported
13767 always_export_symbols_CXX=no
13768 enable_shared_with_static_runtimes_CXX=yes
13770 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13771 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'
13772 # If the export-symbols file already is a .def file, use it as
13773 # is; otherwise, prepend EXPORTS...
13774 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
13775 cp $export_symbols $output_objdir/$soname.def;
13777 echo EXPORTS > $output_objdir/$soname.def;
13778 cat $export_symbols >> $output_objdir/$soname.def;
13780 $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'
13787 darwin* | rhapsody*)
13790 archive_cmds_need_lc_CXX=no
13791 hardcode_direct_CXX=no
13792 hardcode_automatic_CXX=yes
13793 hardcode_shlibpath_var_CXX=unsupported
13794 if test yes = "$lt_cv_ld_force_load"; then
13795 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\"`'
13798 whole_archive_flag_spec_CXX=''
13800 link_all_deplibs_CXX=yes
13801 allow_undefined_flag_CXX=$_lt_dar_allow_undefined
13802 case $cc_basename in
13803 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
13804 *) _lt_dar_can_shared=$GCC ;;
13806 if test yes = "$_lt_dar_can_shared"; then
13807 output_verbose_link_cmd=func_echo_all
13808 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"
13809 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
13810 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"
13811 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"
13812 if test yes != "$lt_cv_apple_cc_single_mod"; then
13813 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"
13814 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"
13824 hardcode_libdir_flag_spec_CXX='-L$libdir'
13825 hardcode_minus_L_CXX=yes
13826 allow_undefined_flag_CXX=unsupported
13828 archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
13829 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
13830 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
13831 $ECHO EXPORTS >> $output_objdir/$libname.def~
13832 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
13833 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
13834 emximp -o $lib $output_objdir/$libname.def'
13835 archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
13836 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
13837 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
13838 $ECHO EXPORTS >> $output_objdir/$libname.def~
13839 prefix_cmds="$SED"~
13840 if test EXPORTS = "`$SED 1q $export_symbols`"; then
13841 prefix_cmds="$prefix_cmds -e 1d";
13843 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
13844 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
13845 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
13846 emximp -o $lib $output_objdir/$libname.def'
13847 old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
13848 enable_shared_with_static_runtimes_CXX=yes
13852 case $cc_basename in
13854 # FIXME: insert proper C++ library support
13858 # Green Hills C++ Compiler
13859 # FIXME: insert proper C++ library support
13863 # FIXME: insert proper C++ library support
13870 # C++ shared libraries reported to be fairly broken before
13876 archive_cmds_need_lc_CXX=no
13879 freebsd* | dragonfly*)
13880 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13886 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13887 link_all_deplibs_CXX=yes
13891 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
13892 hardcode_libdir_separator_CXX=:
13893 export_dynamic_flag_spec_CXX='$wl-E'
13894 hardcode_direct_CXX=yes
13895 hardcode_minus_L_CXX=yes # Not in the search PATH,
13896 # but as the default
13897 # location of the library.
13899 case $cc_basename in
13901 # FIXME: insert proper C++ library support
13905 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'
13906 # Commands to make compiler produce verbose output that lists
13907 # what "hidden" libraries, object files and flags are used when
13908 # linking a shared library.
13910 # There doesn't appear to be a way to prevent this compiler from
13911 # explicitly linking system object files so we need to strip them
13912 # from the output so that they don't get included in the library
13914 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"'
13917 if test yes = "$GXX"; then
13918 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'
13920 # FIXME: insert proper C++ library support
13928 if test no = "$with_gnu_ld"; then
13929 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
13930 hardcode_libdir_separator_CXX=:
13936 export_dynamic_flag_spec_CXX='$wl-E'
13942 hardcode_direct_CXX=no
13943 hardcode_shlibpath_var_CXX=no
13946 hardcode_direct_CXX=yes
13947 hardcode_direct_absolute_CXX=yes
13948 hardcode_minus_L_CXX=yes # Not in the search PATH,
13949 # but as the default
13950 # location of the library.
13954 case $cc_basename in
13956 # FIXME: insert proper C++ library support
13962 archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13965 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13968 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13971 # Commands to make compiler produce verbose output that lists
13972 # what "hidden" libraries, object files and flags are used when
13973 # linking a shared library.
13975 # There doesn't appear to be a way to prevent this compiler from
13976 # explicitly linking system object files so we need to strip them
13977 # from the output so that they don't get included in the library
13979 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"'
13982 if test yes = "$GXX"; then
13983 if test no = "$with_gnu_ld"; then
13986 archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13989 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13992 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'
13997 # FIXME: insert proper C++ library support
14005 hardcode_direct_CXX=no
14006 hardcode_shlibpath_var_CXX=no
14007 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14008 export_dynamic_flag_spec_CXX='$wl-E'
14009 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14010 # Instead, shared libraries are loaded at an image base (0x10000000 by
14011 # default) and relocated if they conflict, which is a slow very memory
14012 # consuming and fragmenting process. To avoid this, we pick a random,
14013 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14014 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14015 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'
14016 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'
14019 case $cc_basename in
14022 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'
14024 # Archives containing C++ object files must be created using
14025 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
14026 # necessary to make sure instantiated templates are included
14028 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
14031 if test yes = "$GXX"; then
14032 if test no = "$with_gnu_ld"; then
14033 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'
14035 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'
14038 link_all_deplibs_CXX=yes
14041 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14042 hardcode_libdir_separator_CXX=:
14043 inherit_rpath_CXX=yes
14046 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14047 case $cc_basename in
14049 # Kuck and Associates, Inc. (KAI) C++ Compiler
14051 # KCC will only create a shared library if the output file
14052 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14053 # to its proper name (with version) after linking.
14054 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'
14055 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'
14056 # Commands to make compiler produce verbose output that lists
14057 # what "hidden" libraries, object files and flags are used when
14058 # linking a shared library.
14060 # There doesn't appear to be a way to prevent this compiler from
14061 # explicitly linking system object files so we need to strip them
14062 # from the output so that they don't get included in the library
14064 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"'
14066 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14067 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14069 # Archives containing C++ object files must be created using
14070 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14071 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14076 # version 8.0 and above of icpc choke on multiply defined symbols
14077 # if we add $predep_objects and $postdep_objects, however 7.1 and
14078 # earlier do not add the objects themselves.
14079 case `$CC -V 2>&1` in
14081 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14082 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'
14084 *) # Version 8.0 or newer
14087 ia64*) tmp_idyn=' -i_dynamic';;
14089 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14090 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'
14093 archive_cmds_need_lc_CXX=no
14094 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14095 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14096 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
14099 # Portland Group C++ compiler
14101 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
14102 prelink_cmds_CXX='tpldir=Template.dir~
14104 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14105 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
14106 old_archive_cmds_CXX='tpldir=Template.dir~
14108 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14109 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
14111 archive_cmds_CXX='tpldir=Template.dir~
14113 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14114 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14115 archive_expsym_cmds_CXX='tpldir=Template.dir~
14117 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14118 $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'
14120 *) # Version 6 and above use weak symbols
14121 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14122 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'
14126 hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
14127 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14128 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'
14132 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14133 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'
14135 runpath_var=LD_RUN_PATH
14136 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14137 hardcode_libdir_separator_CXX=:
14139 # Commands to make compiler produce verbose output that lists
14140 # what "hidden" libraries, object files and flags are used when
14141 # linking a shared library.
14143 # There doesn't appear to be a way to prevent this compiler from
14144 # explicitly linking system object files so we need to strip them
14145 # from the output so that they don't get included in the library
14147 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'
14149 xl* | mpixl* | bgxl*)
14150 # IBM XL 8.0 on PPC, with GNU ld
14151 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14152 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14153 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14154 if test yes = "$supports_anon_versioning"; then
14155 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
14156 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14157 echo "local: *; };" >> $output_objdir/$libname.ver~
14158 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
14162 case `$CC -V 2>&1 | sed 5q` in
14165 no_undefined_flag_CXX=' -zdefs'
14166 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14167 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'
14168 hardcode_libdir_flag_spec_CXX='-R$libdir'
14169 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'
14170 compiler_needs_object_CXX=yes
14172 # Not sure whether something based on
14173 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14175 output_verbose_link_cmd='func_echo_all'
14177 # Archives containing C++ object files must be created using
14178 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14179 # necessary to make sure instantiated templates are included
14181 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14189 # FIXME: insert proper C++ library support
14194 # FIXME: insert proper C++ library support
14199 case $cc_basename in
14201 # FIXME: insert proper C++ library support
14205 # FIXME: insert proper C++ library support
14212 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14213 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14215 hardcode_libdir_flag_spec_CXX='-R$libdir'
14216 hardcode_direct_CXX=yes
14217 hardcode_shlibpath_var_CXX=no
14219 # Workaround some broken pre-1.5 toolchains
14220 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14227 openbsd* | bitrig*)
14228 if test -f /usr/libexec/ld.so; then
14229 hardcode_direct_CXX=yes
14230 hardcode_shlibpath_var_CXX=no
14231 hardcode_direct_absolute_CXX=yes
14232 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14233 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14234 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
14235 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
14236 export_dynamic_flag_spec_CXX='$wl-E'
14237 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
14239 output_verbose_link_cmd=func_echo_all
14245 osf3* | osf4* | osf5*)
14246 case $cc_basename in
14248 # Kuck and Associates, Inc. (KAI) C++ Compiler
14250 # KCC will only create a shared library if the output file
14251 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14252 # to its proper name (with version) after linking.
14253 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'
14255 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14256 hardcode_libdir_separator_CXX=:
14258 # Archives containing C++ object files must be created using
14259 # the KAI C++ compiler.
14261 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
14262 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
14266 # Rational C++ 2.4.1
14267 # FIXME: insert proper C++ library support
14273 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
14274 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'
14275 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14278 allow_undefined_flag_CXX=' -expect_unresolved \*'
14279 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'
14280 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14281 echo "-hidden">> $lib.exp~
14282 $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~
14284 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14288 hardcode_libdir_separator_CXX=:
14290 # Commands to make compiler produce verbose output that lists
14291 # what "hidden" libraries, object files and flags are used when
14292 # linking a shared library.
14294 # There doesn't appear to be a way to prevent this compiler from
14295 # explicitly linking system object files so we need to strip them
14296 # from the output so that they don't get included in the library
14298 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"'
14301 if test yes,no = "$GXX,$with_gnu_ld"; then
14302 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
14305 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'
14308 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'
14312 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14313 hardcode_libdir_separator_CXX=:
14315 # Commands to make compiler produce verbose output that lists
14316 # what "hidden" libraries, object files and flags are used when
14317 # linking a shared library.
14318 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14321 # FIXME: insert proper C++ library support
14329 # FIXME: insert proper C++ library support
14334 case $cc_basename in
14337 # FIXME: insert proper C++ library support
14342 # FIXME: insert proper C++ library support
14346 # FIXME: insert proper C++ library support
14353 case $cc_basename in
14355 # Sun C++ 4.2, 5.x and Centerline C++
14356 archive_cmds_need_lc_CXX=yes
14357 no_undefined_flag_CXX=' -zdefs'
14358 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14359 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14360 $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'
14362 hardcode_libdir_flag_spec_CXX='-R$libdir'
14363 hardcode_shlibpath_var_CXX=no
14365 solaris2.[0-5] | solaris2.[0-5].*) ;;
14367 # The compiler driver will combine and reorder linker options,
14368 # but understands '-z linker_flag'.
14369 # Supported since Solaris 2.6 (maybe 2.5.1?)
14370 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
14373 link_all_deplibs_CXX=yes
14375 output_verbose_link_cmd='func_echo_all'
14377 # Archives containing C++ object files must be created using
14378 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14379 # necessary to make sure instantiated templates are included
14381 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14384 # Green Hills C++ Compiler
14385 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14387 # The C++ compiler must be used to create the archive.
14388 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14391 # GNU C++ compiler with Solaris linker
14392 if test yes,no = "$GXX,$with_gnu_ld"; then
14393 no_undefined_flag_CXX=' $wl-z ${wl}defs'
14394 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
14395 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14396 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14397 $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'
14399 # Commands to make compiler produce verbose output that lists
14400 # what "hidden" libraries, object files and flags are used when
14401 # linking a shared library.
14402 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14404 # g++ 2.7 appears to require '-G' NOT '-shared' on this
14406 archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14407 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14408 $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'
14410 # Commands to make compiler produce verbose output that lists
14411 # what "hidden" libraries, object files and flags are used when
14412 # linking a shared library.
14413 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14416 hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
14418 solaris2.[0-5] | solaris2.[0-5].*) ;;
14420 whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
14428 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14429 no_undefined_flag_CXX='$wl-z,text'
14430 archive_cmds_need_lc_CXX=no
14431 hardcode_shlibpath_var_CXX=no
14432 runpath_var='LD_RUN_PATH'
14434 case $cc_basename in
14436 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14437 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14440 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14441 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14446 sysv5* | sco3.2v5* | sco5v6*)
14447 # Note: We CANNOT use -z defs as we might desire, because we do not
14448 # link with -lc, and that would cause any symbols used from libc to
14449 # always be unresolved, which means just about no library would
14450 # ever link correctly. If we're not using GNU ld we use -z text
14451 # though, which does catch some bad symbols but isn't as heavy-handed
14453 no_undefined_flag_CXX='$wl-z,text'
14454 allow_undefined_flag_CXX='$wl-z,nodefs'
14455 archive_cmds_need_lc_CXX=no
14456 hardcode_shlibpath_var_CXX=no
14457 hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
14458 hardcode_libdir_separator_CXX=':'
14459 link_all_deplibs_CXX=yes
14460 export_dynamic_flag_spec_CXX='$wl-Bexport'
14461 runpath_var='LD_RUN_PATH'
14463 case $cc_basename in
14465 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14466 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14467 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
14468 '"$old_archive_cmds_CXX"
14469 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
14470 '"$reload_cmds_CXX"
14473 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14474 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14480 case $cc_basename in
14482 # NonStop-UX NCC 3.20
14483 # FIXME: insert proper C++ library support
14487 # FIXME: insert proper C++ library support
14494 # FIXME: insert proper C++ library support
14499 # FIXME: insert proper C++ library support
14504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14505 $as_echo "$ld_shlibs_CXX" >&6; }
14506 test no = "$ld_shlibs_CXX" && can_build_shared=no
14512 ## There is no encapsulation within the following macros, do not change
14513 ## the running order or otherwise move them around unless you know exactly
14514 ## what you are doing...
14515 # Dependencies to place before and after the object being linked:
14516 predep_objects_CXX=
14517 postdep_objects_CXX=
14520 compiler_lib_search_path_CXX=
14522 cat > conftest.$ac_ext <<_LT_EOF
14526 Foo (void) { a = 0; }
14533 _lt_libdeps_save_CFLAGS=$CFLAGS
14534 case "$CC $CFLAGS " in #(
14535 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
14536 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
14537 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
14540 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14541 (eval $ac_compile) 2>&5
14543 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14544 test $ac_status = 0; }; then
14545 # Parse the compiler output and extract the necessary
14546 # objects, libraries and library flags.
14548 # Sentinel used to keep track of whether or not we are before
14549 # the conftest object file.
14550 pre_test_object_deps_done=no
14552 for p in `eval "$output_verbose_link_cmd"`; do
14556 # Some compilers place space between "-{L,R}" and the path.
14557 # Remove the space.
14558 if test x-L = "$p" ||
14559 test x-R = "$p"; then
14564 # Expand the sysroot to ease extracting the directories later.
14565 if test -z "$prev"; then
14567 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
14568 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
14569 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
14573 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
14575 if test no = "$pre_test_object_deps_done"; then
14578 # Internal compiler library paths should come after those
14579 # provided the user. The postdeps already come after the
14580 # user supplied libs so there is no need to process them.
14581 if test -z "$compiler_lib_search_path_CXX"; then
14582 compiler_lib_search_path_CXX=$prev$p
14584 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
14587 # The "-l" case would never come before the object being
14588 # linked, so don't bother handling this case.
14591 if test -z "$postdeps_CXX"; then
14592 postdeps_CXX=$prev$p
14594 postdeps_CXX="${postdeps_CXX} $prev$p"
14600 *.lto.$objext) ;; # Ignore GCC LTO objects
14602 # This assumes that the test object file only shows up
14603 # once in the compiler output.
14604 if test "$p" = "conftest.$objext"; then
14605 pre_test_object_deps_done=yes
14609 if test no = "$pre_test_object_deps_done"; then
14610 if test -z "$predep_objects_CXX"; then
14611 predep_objects_CXX=$p
14613 predep_objects_CXX="$predep_objects_CXX $p"
14616 if test -z "$postdep_objects_CXX"; then
14617 postdep_objects_CXX=$p
14619 postdep_objects_CXX="$postdep_objects_CXX $p"
14624 *) ;; # Ignore the rest.
14632 echo "libtool.m4: error: problem compiling CXX test program"
14635 $RM -f confest.$objext
14636 CFLAGS=$_lt_libdeps_save_CFLAGS
14638 # PORTME: override above test on systems where it is broken
14641 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14642 # hack all around it, let's just trust "g++" to DTRT.
14643 predep_objects_CXX=
14644 postdep_objects_CXX=
14650 case " $postdeps_CXX " in
14651 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
14653 compiler_lib_search_dirs_CXX=
14654 if test -n "${compiler_lib_search_path_CXX}"; then
14655 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
14688 lt_prog_compiler_wl_CXX=
14689 lt_prog_compiler_pic_CXX=
14690 lt_prog_compiler_static_CXX=
14693 # C++ specific cases for pic, static, wl, etc.
14694 if test yes = "$GXX"; then
14695 lt_prog_compiler_wl_CXX='-Wl,'
14696 lt_prog_compiler_static_CXX='-static'
14700 # All AIX code is PIC.
14701 if test ia64 = "$host_cpu"; then
14702 # AIX 5 now supports IA64 processor
14703 lt_prog_compiler_static_CXX='-Bstatic'
14705 lt_prog_compiler_pic_CXX='-fPIC'
14711 # see comment about AmigaOS4 .so support
14712 lt_prog_compiler_pic_CXX='-fPIC'
14715 # FIXME: we need at least 68020 code to build shared libraries, but
14716 # adding the '-m68020' flag to GCC prevents building anything better,
14718 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14723 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14724 # PIC is the default for these OSes.
14726 mingw* | cygwin* | os2* | pw32* | cegcc*)
14727 # This hack is so that the source file can tell whether it is being
14728 # built for inclusion in a dll (and should export symbols for example).
14729 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14730 # (--disable-auto-import) libraries
14731 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14734 lt_prog_compiler_static_CXX='$wl-static'
14738 darwin* | rhapsody*)
14739 # PIC is the default on this platform
14740 # Common symbols not allowed in MH_DYLIB files
14741 lt_prog_compiler_pic_CXX='-fno-common'
14744 # DJGPP does not support shared libraries at all
14745 lt_prog_compiler_pic_CXX=
14748 # PIC is the default for Haiku.
14749 # The "-static" flag exists, but is broken.
14750 lt_prog_compiler_static_CXX=
14753 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14754 # Instead, we relocate shared libraries at runtime.
14757 if test -d /usr/nec; then
14758 lt_prog_compiler_pic_CXX=-Kconform_pic
14762 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14763 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14764 # sets the default TLS model and affects inlining.
14769 lt_prog_compiler_pic_CXX='-fPIC'
14774 # QNX uses GNU C++, but need to define -shared option too, otherwise
14775 # it will coredump.
14776 lt_prog_compiler_pic_CXX='-fPIC -shared'
14779 lt_prog_compiler_pic_CXX='-fPIC'
14785 # All AIX code is PIC.
14786 if test ia64 = "$host_cpu"; then
14787 # AIX 5 now supports IA64 processor
14788 lt_prog_compiler_static_CXX='-Bstatic'
14790 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14794 case $cc_basename in
14796 # Green Hills C++ Compiler
14797 # _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"
14801 mingw* | cygwin* | os2* | pw32* | cegcc*)
14802 # This hack is so that the source file can tell whether it is being
14803 # built for inclusion in a dll (and should export symbols for example).
14804 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14807 case $cc_basename in
14809 lt_prog_compiler_pic_CXX='-KPIC'
14812 # Green Hills C++ Compiler
14813 lt_prog_compiler_pic_CXX='-pic'
14819 freebsd* | dragonfly*)
14820 # FreeBSD uses GNU C++
14822 hpux9* | hpux10* | hpux11*)
14823 case $cc_basename in
14825 lt_prog_compiler_wl_CXX='-Wl,'
14826 lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
14827 if test ia64 != "$host_cpu"; then
14828 lt_prog_compiler_pic_CXX='+Z'
14832 lt_prog_compiler_wl_CXX='-Wl,'
14833 lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
14839 lt_prog_compiler_pic_CXX='+Z'
14848 # This is c89, which is MS Visual C++ (no shared libs)
14849 # Anyone wants to do a port?
14851 irix5* | irix6* | nonstopux*)
14852 case $cc_basename in
14854 lt_prog_compiler_wl_CXX='-Wl,'
14855 lt_prog_compiler_static_CXX='-non_shared'
14856 # CC pic flag -KPIC is the default.
14862 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14863 case $cc_basename in
14866 lt_prog_compiler_wl_CXX='--backend -Wl,'
14867 lt_prog_compiler_pic_CXX='-fPIC'
14870 # old Intel C++ for x86_64, which still supported -KPIC.
14871 lt_prog_compiler_wl_CXX='-Wl,'
14872 lt_prog_compiler_pic_CXX='-KPIC'
14873 lt_prog_compiler_static_CXX='-static'
14876 # Intel C++, used to be incompatible with GCC.
14877 # ICC 10 doesn't accept -KPIC any more.
14878 lt_prog_compiler_wl_CXX='-Wl,'
14879 lt_prog_compiler_pic_CXX='-fPIC'
14880 lt_prog_compiler_static_CXX='-static'
14883 # Portland Group C++ compiler
14884 lt_prog_compiler_wl_CXX='-Wl,'
14885 lt_prog_compiler_pic_CXX='-fpic'
14886 lt_prog_compiler_static_CXX='-Bstatic'
14890 # Make sure the PIC flag is empty. It appears that all Alpha
14891 # Linux and Compaq Tru64 Unix objects are PIC.
14892 lt_prog_compiler_pic_CXX=
14893 lt_prog_compiler_static_CXX='-non_shared'
14895 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14896 # IBM XL 8.0, 9.0 on PPC and BlueGene
14897 lt_prog_compiler_wl_CXX='-Wl,'
14898 lt_prog_compiler_pic_CXX='-qpic'
14899 lt_prog_compiler_static_CXX='-qstaticlink'
14902 case `$CC -V 2>&1 | sed 5q` in
14905 lt_prog_compiler_pic_CXX='-KPIC'
14906 lt_prog_compiler_static_CXX='-Bstatic'
14907 lt_prog_compiler_wl_CXX='-Qoption ld '
14918 case $cc_basename in
14920 lt_prog_compiler_pic_CXX='-W c,exportall'
14926 netbsd* | netbsdelf*-gnu)
14929 # QNX uses GNU C++, but need to define -shared option too, otherwise
14930 # it will coredump.
14931 lt_prog_compiler_pic_CXX='-fPIC -shared'
14933 osf3* | osf4* | osf5*)
14934 case $cc_basename in
14936 lt_prog_compiler_wl_CXX='--backend -Wl,'
14939 # Rational C++ 2.4.1
14940 lt_prog_compiler_pic_CXX='-pic'
14943 # Digital/Compaq C++
14944 lt_prog_compiler_wl_CXX='-Wl,'
14945 # Make sure the PIC flag is empty. It appears that all Alpha
14946 # Linux and Compaq Tru64 Unix objects are PIC.
14947 lt_prog_compiler_pic_CXX=
14948 lt_prog_compiler_static_CXX='-non_shared'
14957 case $cc_basename in
14959 # Sun C++ 4.2, 5.x and Centerline C++
14960 lt_prog_compiler_pic_CXX='-KPIC'
14961 lt_prog_compiler_static_CXX='-Bstatic'
14962 lt_prog_compiler_wl_CXX='-Qoption ld '
14965 # Green Hills C++ Compiler
14966 lt_prog_compiler_pic_CXX='-PIC'
14973 case $cc_basename in
14976 lt_prog_compiler_pic_CXX='-pic'
14977 lt_prog_compiler_static_CXX='-Bstatic'
14981 lt_prog_compiler_pic_CXX='-pic'
14987 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14988 case $cc_basename in
14990 lt_prog_compiler_wl_CXX='-Wl,'
14991 lt_prog_compiler_pic_CXX='-KPIC'
14992 lt_prog_compiler_static_CXX='-Bstatic'
14997 case $cc_basename in
14999 # NonStop-UX NCC 3.20
15000 lt_prog_compiler_pic_CXX='-KPIC'
15009 lt_prog_compiler_can_build_shared_CXX=no
15015 # For platforms that do not support PIC, -DPIC is meaningless:
15017 lt_prog_compiler_pic_CXX=
15020 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX@&t@ -DPIC"
15024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15025 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15026 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
15027 $as_echo_n "(cached) " >&6
15029 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
15031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
15032 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
15033 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
15036 # Check to make sure the PIC flag actually works.
15038 if test -n "$lt_prog_compiler_pic_CXX"; then
15039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15040 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15041 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
15042 $as_echo_n "(cached) " >&6
15044 lt_cv_prog_compiler_pic_works_CXX=no
15045 ac_outfile=conftest.$ac_objext
15046 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15047 lt_compiler_flag="$lt_prog_compiler_pic_CXX@&t@ -DPIC" ## exclude from sc_useless_quotes_in_assignment
15048 # Insert the option either (1) after the last *FLAGS variable, or
15049 # (2) before a word containing "conftest.", or (3) at the end.
15050 # Note that $ac_compile itself does not contain backslashes and begins
15051 # with a dollar sign (not a hyphen), so the echo should work correctly.
15052 # The option is referenced via a variable to avoid confusing sed.
15053 lt_compile=`echo "$ac_compile" | $SED \
15054 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15055 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15056 -e 's:$: $lt_compiler_flag:'`
15057 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15058 (eval "$lt_compile" 2>conftest.err)
15060 cat conftest.err >&5
15061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15062 if (exit $ac_status) && test -s "$ac_outfile"; then
15063 # The compiler can only warn and ignore the option if not recognized
15064 # So say no if there are warnings other than the usual output.
15065 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
15066 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15067 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15068 lt_cv_prog_compiler_pic_works_CXX=yes
15074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15075 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15077 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
15078 case $lt_prog_compiler_pic_CXX in
15080 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
15083 lt_prog_compiler_pic_CXX=
15084 lt_prog_compiler_can_build_shared_CXX=no
15094 # Check to make sure the static flag actually works.
15096 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
15097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15098 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15099 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
15100 $as_echo_n "(cached) " >&6
15102 lt_cv_prog_compiler_static_works_CXX=no
15103 save_LDFLAGS=$LDFLAGS
15104 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15105 echo "$lt_simple_link_test_code" > conftest.$ac_ext
15106 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15107 # The linker can only warn and ignore the option if not recognized
15108 # So say no if there are warnings
15109 if test -s conftest.err; then
15110 # Append any errors to the config.log.
15111 cat conftest.err 1>&5
15112 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
15113 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15114 if diff conftest.exp conftest.er2 >/dev/null; then
15115 lt_cv_prog_compiler_static_works_CXX=yes
15118 lt_cv_prog_compiler_static_works_CXX=yes
15122 LDFLAGS=$save_LDFLAGS
15125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15126 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15128 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
15131 lt_prog_compiler_static_CXX=
15137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15138 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15139 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15140 $as_echo_n "(cached) " >&6
15142 lt_cv_prog_compiler_c_o_CXX=no
15143 $RM -r conftest 2>/dev/null
15147 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15149 lt_compiler_flag="-o out/conftest2.$ac_objext"
15150 # Insert the option either (1) after the last *FLAGS variable, or
15151 # (2) before a word containing "conftest.", or (3) at the end.
15152 # Note that $ac_compile itself does not contain backslashes and begins
15153 # with a dollar sign (not a hyphen), so the echo should work correctly.
15154 lt_compile=`echo "$ac_compile" | $SED \
15155 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15156 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15157 -e 's:$: $lt_compiler_flag:'`
15158 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15159 (eval "$lt_compile" 2>out/conftest.err)
15161 cat out/conftest.err >&5
15162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15163 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15165 # The compiler can only warn and ignore the option if not recognized
15166 # So say no if there are warnings
15167 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15168 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15169 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15170 lt_cv_prog_compiler_c_o_CXX=yes
15175 # SGI C++ compiler will create directory out/ii_files/ for
15176 # template instantiation
15177 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15178 $RM out/* && rmdir out
15184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15185 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15190 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15191 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15192 $as_echo_n "(cached) " >&6
15194 lt_cv_prog_compiler_c_o_CXX=no
15195 $RM -r conftest 2>/dev/null
15199 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15201 lt_compiler_flag="-o out/conftest2.$ac_objext"
15202 # Insert the option either (1) after the last *FLAGS variable, or
15203 # (2) before a word containing "conftest.", or (3) at the end.
15204 # Note that $ac_compile itself does not contain backslashes and begins
15205 # with a dollar sign (not a hyphen), so the echo should work correctly.
15206 lt_compile=`echo "$ac_compile" | $SED \
15207 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15208 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15209 -e 's:$: $lt_compiler_flag:'`
15210 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15211 (eval "$lt_compile" 2>out/conftest.err)
15213 cat out/conftest.err >&5
15214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15215 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15217 # The compiler can only warn and ignore the option if not recognized
15218 # So say no if there are warnings
15219 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15220 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15221 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15222 lt_cv_prog_compiler_c_o_CXX=yes
15227 # SGI C++ compiler will create directory out/ii_files/ for
15228 # template instantiation
15229 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15230 $RM out/* && rmdir out
15236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15237 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15242 hard_links=nottested
15243 if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
15244 # do not overwrite the value of need_locks provided by the user
15245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15246 $as_echo_n "checking if we can lock with hard links... " >&6; }
15249 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15251 ln conftest.a conftest.b 2>&5 || hard_links=no
15252 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15254 $as_echo "$hard_links" >&6; }
15255 if test no = "$hard_links"; then
15256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
15257 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
15266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15267 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15269 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15270 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15273 # If we're using GNU nm, then we don't want the "-C" option.
15274 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
15275 # Without the "-l" option, or with the "-B" option, AIX nm treats
15276 # weak defined symbols like other global defined symbols, whereas
15277 # GNU nm marks them as "W".
15278 # While the 'weak' keyword is ignored in the Export File, we need
15279 # it in the Import File for the 'aix-soname' feature, so we have
15280 # to replace the "-B" option with "-P" for AIX nm.
15281 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
15282 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'
15284 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'
15288 export_symbols_cmds_CXX=$ltdll_cmds
15290 cygwin* | mingw* | cegcc*)
15291 case $cc_basename in
15293 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
15296 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'
15297 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
15301 linux* | k*bsd*-gnu | gnu*)
15302 link_all_deplibs_CXX=no
15305 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15310 $as_echo "$ld_shlibs_CXX" >&6; }
15311 test no = "$ld_shlibs_CXX" && can_build_shared=no
15313 with_gnu_ld_CXX=$with_gnu_ld
15321 # Do we need to explicitly link libc?
15323 case "x$archive_cmds_need_lc_CXX" in
15325 # Assume -lc should be added
15326 archive_cmds_need_lc_CXX=yes
15328 if test yes,yes = "$GCC,$enable_shared"; then
15329 case $archive_cmds_CXX in
15331 # FIXME: we may have to deal with multi-command sequences.
15334 # Test whether the compiler implicitly links with -lc since on some
15335 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15336 # to ld, don't add -lc before -lgcc.
15337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15338 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15339 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
15340 $as_echo_n "(cached) " >&6
15343 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15345 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15346 (eval $ac_compile) 2>&5
15348 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15349 test $ac_status = 0; } 2>conftest.err; then
15352 libobjs=conftest.$ac_objext
15354 wl=$lt_prog_compiler_wl_CXX
15355 pic_flag=$lt_prog_compiler_pic_CXX
15361 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
15362 allow_undefined_flag_CXX=
15363 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15364 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15366 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15367 test $ac_status = 0; }
15369 lt_cv_archive_cmds_need_lc_CXX=no
15371 lt_cv_archive_cmds_need_lc_CXX=yes
15373 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
15375 cat conftest.err 1>&5
15380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15381 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15382 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
15450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15451 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15453 library_names_spec=
15454 libname_spec='lib$name'
15458 postuninstall_cmds=
15462 shlibpath_overrides_runpath=unknown
15464 dynamic_linker="$host_os ld.so"
15465 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15466 need_lib_prefix=unknown
15467 hardcode_into_libs=no
15469 # when you set need_version to no, make sure it does not cause -set_version
15470 # flags to be left without arguments
15471 need_version=unknown
15477 version_type=linux # correct to gnu/linux during the next big refactor
15478 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
15479 shlibpath_var=LIBPATH
15481 # AIX 3 has no versioning support, so we append a major version to the name.
15482 soname_spec='$libname$release$shared_ext$major'
15486 version_type=linux # correct to gnu/linux during the next big refactor
15489 hardcode_into_libs=yes
15490 if test ia64 = "$host_cpu"; then
15491 # AIX 5 supports IA64
15492 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
15493 shlibpath_var=LD_LIBRARY_PATH
15495 # With GCC up to 2.95.x, collect2 would create an import file
15496 # for dependence libraries. The import file would start with
15497 # the line '#! .'. This would cause the generated library to
15498 # depend on '.', always an invalid library. This was fixed in
15499 # development snapshots of GCC prior to 3.0.
15501 aix4 | aix4.[01] | aix4.[01].*)
15502 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15504 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
15507 can_build_shared=no
15511 # Using Import Files as archive members, it is possible to support
15512 # filename-based versioning of shared library archives on AIX. While
15513 # this would work for both with and without runtime linking, it will
15514 # prevent static linking of such archives. So we do filename-based
15515 # shared library versioning with .so extension only, which is used
15516 # when both runtime linking and shared linking is enabled.
15517 # Unfortunately, runtime linking may impact performance, so we do
15518 # not want this to be the default eventually. Also, we use the
15519 # versioned .so libs for executables only if there is the -brtl
15520 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
15521 # To allow for filename-based versioning support, we need to create
15522 # libNAME.so.V as an archive file, containing:
15523 # *) an Import File, referring to the versioned filename of the
15524 # archive as well as the shared archive member, telling the
15525 # bitwidth (32 or 64) of that shared object, and providing the
15526 # list of exported symbols of that shared object, eventually
15527 # decorated with the 'weak' keyword
15528 # *) the shared object with the F_LOADONLY flag set, to really avoid
15529 # it being seen by the linker.
15530 # At run time we better use the real file rather than another symlink,
15531 # but for link time we create the symlink libNAME.so -> libNAME.so.V
15533 case $with_aix_soname,$aix_use_runtimelinking in
15534 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
15535 # soname into executable. Probably we can add versioning support to
15536 # collect2, so additional links can be useful in future.
15537 aix,yes) # traditional libtool
15538 dynamic_linker='AIX unversionable lib.so'
15539 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15540 # instead of lib<name>.a to let people know that these are not
15541 # typical AIX shared libraries.
15542 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15544 aix,no) # traditional AIX only
15545 dynamic_linker='AIX lib.a(lib.so.V)'
15546 # We preserve .a as extension for shared libraries through AIX4.2
15547 # and later when we are not doing run time linking.
15548 library_names_spec='$libname$release.a $libname.a'
15549 soname_spec='$libname$release$shared_ext$major'
15551 svr4,*) # full svr4 only
15552 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
15553 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
15554 # We do not specify a path in Import Files, so LIBPATH fires.
15555 shlibpath_overrides_runpath=yes
15557 *,yes) # both, prefer svr4
15558 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
15559 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
15560 # unpreferred sharedlib libNAME.a needs extra handling
15561 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"'
15562 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"'
15563 # We do not specify a path in Import Files, so LIBPATH fires.
15564 shlibpath_overrides_runpath=yes
15566 *,no) # both, prefer aix
15567 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
15568 library_names_spec='$libname$release.a $libname.a'
15569 soname_spec='$libname$release$shared_ext$major'
15570 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
15571 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)'
15572 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"'
15575 shlibpath_var=LIBPATH
15582 # Since July 2007 AmigaOS4 officially supports .so libraries.
15583 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15584 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15587 library_names_spec='$libname.ixlibrary $libname.a'
15588 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15589 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'
15595 library_names_spec='$libname$shared_ext'
15596 dynamic_linker="$host_os ld.so"
15597 shlibpath_var=LIBRARY_PATH
15601 version_type=linux # correct to gnu/linux during the next big refactor
15603 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15604 soname_spec='$libname$release$shared_ext$major'
15605 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15606 shlibpath_var=LD_LIBRARY_PATH
15607 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15608 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15609 # the default ld.so.conf also contains /usr/contrib/lib and
15610 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15611 # libtool to hard-code these into programs
15614 cygwin* | mingw* | pw32* | cegcc*)
15615 version_type=windows
15620 case $GCC,$cc_basename in
15623 library_names_spec='$libname.dll.a'
15624 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15625 postinstall_cmds='base_file=`basename \$file`~
15626 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
15627 dldir=$destdir/`dirname \$dlpath`~
15628 test -d \$dldir || mkdir -p \$dldir~
15629 $install_prog $dir/$dlname \$dldir/$dlname~
15630 chmod a+x \$dldir/$dlname~
15631 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15632 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15634 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15635 dlpath=$dir/\$dldll~
15637 shlibpath_overrides_runpath=yes
15641 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15642 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15646 # MinGW DLLs use traditional 'lib' prefix
15647 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15650 # pw32 DLLs use 'pw' prefix rather than 'lib'
15651 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15654 dynamic_linker='Win32 ld.exe'
15659 libname_spec='$name'
15660 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15661 library_names_spec='$libname.dll.lib'
15665 sys_lib_search_path_spec=
15668 for lt_path in $LIB
15671 # Let DOS variable expansion print the short 8.3 style file name.
15672 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15673 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
15676 # Convert to MSYS style.
15677 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15680 # Convert to unix form, then to dos form, then back to unix form
15681 # but this time dos style (no spaces!) so that the unix form looks
15682 # like /cygdrive/c/PROGRA~1:/cygdr...
15683 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
15684 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15685 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15688 sys_lib_search_path_spec=$LIB
15689 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15690 # It is most probably a Windows format PATH.
15691 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15693 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15695 # FIXME: find the short name or the path components, as spaces are
15696 # common. (e.g. "Program Files" -> "PROGRA~1")
15700 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15701 postinstall_cmds='base_file=`basename \$file`~
15702 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
15703 dldir=$destdir/`dirname \$dlpath`~
15704 test -d \$dldir || mkdir -p \$dldir~
15705 $install_prog $dir/$dlname \$dldir/$dlname'
15706 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15707 dlpath=$dir/\$dldll~
15709 shlibpath_overrides_runpath=yes
15710 dynamic_linker='Win32 link.exe'
15714 # Assume MSVC wrapper
15715 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
15716 dynamic_linker='Win32 ld.exe'
15719 # FIXME: first we should search . and the directory the executable is in
15723 darwin* | rhapsody*)
15724 dynamic_linker="$host_os dyld"
15725 version_type=darwin
15728 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
15729 soname_spec='$libname$release$major$shared_ext'
15730 shlibpath_overrides_runpath=yes
15731 shlibpath_var=DYLD_LIBRARY_PATH
15732 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15734 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15738 version_type=linux # correct to gnu/linux during the next big refactor
15741 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15742 soname_spec='$libname$release$shared_ext$major'
15743 shlibpath_var=LD_LIBRARY_PATH
15746 freebsd* | dragonfly*)
15747 # DragonFly does not have aout. When/if they implement a new
15748 # versioning mechanism, adjust this.
15749 if test -x /usr/bin/objformat; then
15750 objformat=`/usr/bin/objformat`
15753 freebsd[23].*) objformat=aout ;;
15754 *) objformat=elf ;;
15757 version_type=freebsd-$objformat
15758 case $version_type in
15760 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15761 soname_spec='$libname$release$shared_ext$major'
15766 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
15770 shlibpath_var=LD_LIBRARY_PATH
15773 shlibpath_overrides_runpath=yes
15775 freebsd3.[01]* | freebsdelf3.[01]*)
15776 shlibpath_overrides_runpath=yes
15777 hardcode_into_libs=yes
15779 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15780 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15781 shlibpath_overrides_runpath=no
15782 hardcode_into_libs=yes
15784 *) # from 4.6 on, and DragonFly
15785 shlibpath_overrides_runpath=yes
15786 hardcode_into_libs=yes
15792 version_type=linux # correct to gnu/linux during the next big refactor
15795 dynamic_linker="$host_os runtime_loader"
15796 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15797 soname_spec='$libname$release$shared_ext$major'
15798 shlibpath_var=LIBRARY_PATH
15799 shlibpath_overrides_runpath=no
15800 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15801 hardcode_into_libs=yes
15804 hpux9* | hpux10* | hpux11*)
15805 # Give a soname corresponding to the major version so that dld.sl refuses to
15806 # link against other versions.
15813 hardcode_into_libs=yes
15814 dynamic_linker="$host_os dld.so"
15815 shlibpath_var=LD_LIBRARY_PATH
15816 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15817 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15818 soname_spec='$libname$release$shared_ext$major'
15819 if test 32 = "$HPUX_IA64_MODE"; then
15820 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15821 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
15823 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15824 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
15829 hardcode_into_libs=yes
15830 dynamic_linker="$host_os dld.sl"
15831 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15832 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15833 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15834 soname_spec='$libname$release$shared_ext$major'
15835 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15836 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15840 dynamic_linker="$host_os dld.sl"
15841 shlibpath_var=SHLIB_PATH
15842 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15843 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15844 soname_spec='$libname$release$shared_ext$major'
15847 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15848 postinstall_cmds='chmod 555 $lib'
15849 # or fails outright, so override atomically:
15850 install_override_mode=555
15854 version_type=linux # correct to gnu/linux during the next big refactor
15857 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15858 soname_spec='$libname$release$shared_ext$major'
15859 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15860 shlibpath_var=LD_LIBRARY_PATH
15861 shlibpath_overrides_runpath=no
15862 hardcode_into_libs=yes
15865 irix5* | irix6* | nonstopux*)
15867 nonstopux*) version_type=nonstopux ;;
15869 if test yes = "$lt_cv_prog_gnu_ld"; then
15870 version_type=linux # correct to gnu/linux during the next big refactor
15877 soname_spec='$libname$release$shared_ext$major'
15878 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
15880 irix5* | nonstopux*)
15881 libsuff= shlibsuff=
15884 case $LD in # libtool.m4 will add one of these switches to LD
15885 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15886 libsuff= shlibsuff= libmagic=32-bit;;
15887 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15888 libsuff=32 shlibsuff=N32 libmagic=N32;;
15889 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15890 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15891 *) libsuff= shlibsuff= libmagic=never-match;;
15895 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15896 shlibpath_overrides_runpath=no
15897 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
15898 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
15899 hardcode_into_libs=yes
15902 # No shared lib support for Linux oldld, aout, or coff.
15903 linux*oldld* | linux*aout* | linux*coff*)
15908 version_type=none # Android doesn't support versioned libraries.
15911 library_names_spec='$libname$release$shared_ext'
15912 soname_spec='$libname$release$shared_ext'
15914 shlibpath_var=LD_LIBRARY_PATH
15915 shlibpath_overrides_runpath=yes
15917 # This implies no fast_install, which is unacceptable.
15918 # Some rework will be needed to allow for fast_install
15919 # before this can be enabled.
15920 hardcode_into_libs=yes
15922 dynamic_linker='Android linker'
15923 # Don't embed -rpath directories since the linker doesn't support them.
15924 hardcode_libdir_flag_spec_CXX='-L$libdir'
15927 # This must be glibc/ELF.
15928 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15929 version_type=linux # correct to gnu/linux during the next big refactor
15932 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15933 soname_spec='$libname$release$shared_ext$major'
15934 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15935 shlibpath_var=LD_LIBRARY_PATH
15936 shlibpath_overrides_runpath=no
15938 # Some binutils ld are patched to set DT_RUNPATH
15939 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15940 $as_echo_n "(cached) " >&6
15942 lt_cv_shlibpath_overrides_runpath=no
15943 save_LDFLAGS=$LDFLAGS
15944 save_libdir=$libdir
15945 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15946 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15948 /* end confdefs.h. */
15958 if ac_fn_cxx_try_link "$LINENO"; then :
15959 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15960 lt_cv_shlibpath_overrides_runpath=yes
15963 rm -f core conftest.err conftest.$ac_objext \
15964 conftest$ac_exeext conftest.$ac_ext
15965 LDFLAGS=$save_LDFLAGS
15966 libdir=$save_libdir
15970 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15972 # This implies no fast_install, which is unacceptable.
15973 # Some rework will be needed to allow for fast_install
15974 # before this can be enabled.
15975 hardcode_into_libs=yes
15977 # Ideally, we could use ldconfig to report *all* directores which are
15978 # searched for libraries, however this is still not possible. Aside from not
15979 # being certain /sbin/ldconfig is available, command
15980 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
15981 # even though it is searched at run-time. Try to do the best guess by
15982 # appending ld.so.conf contents (and includes) to the search path.
15983 if test -f /etc/ld.so.conf; then
15984 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' ' '`
15985 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15988 # We used to test for /lib/ld.so.1 and disable shared libraries on
15989 # powerpc, because MkLinux only supported shared libraries with the
15990 # GNU dynamic linker. Since this was broken with cross compilers,
15991 # most powerpc-linux boxes support dynamic linking these days and
15992 # people can always --disable-shared, the test was removed, and we
15993 # assume the GNU/Linux dynamic linker is in use.
15994 dynamic_linker='GNU/Linux ld.so'
16001 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16002 soname_spec='${libname}${release}${shared_ext}$major'
16003 shlibpath_var=LD_LIBRARY_PATH
16004 shlibpath_overrides_runpath=no
16005 hardcode_into_libs=yes
16006 dynamic_linker='NetBSD ld.elf_so'
16013 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16014 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16015 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16016 dynamic_linker='NetBSD (a.out) ld.so'
16018 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16019 soname_spec='$libname$release$shared_ext$major'
16020 dynamic_linker='NetBSD ld.elf_so'
16022 shlibpath_var=LD_LIBRARY_PATH
16023 shlibpath_overrides_runpath=yes
16024 hardcode_into_libs=yes
16028 version_type=linux # correct to gnu/linux during the next big refactor
16029 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16030 shlibpath_var=LD_LIBRARY_PATH
16031 shlibpath_overrides_runpath=yes
16038 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16039 soname_spec='$libname$release$shared_ext$major'
16040 shlibpath_var=LD_LIBRARY_PATH
16041 shlibpath_overrides_runpath=no
16042 hardcode_into_libs=yes
16043 dynamic_linker='ldqnx.so'
16046 openbsd* | bitrig*)
16048 sys_lib_dlsearch_path_spec=/usr/lib
16050 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
16055 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16056 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16057 shlibpath_var=LD_LIBRARY_PATH
16058 shlibpath_overrides_runpath=yes
16062 libname_spec='$name'
16063 version_type=windows
16067 # OS/2 can only load a DLL with a base name of 8 characters or less.
16068 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
16069 v=$($ECHO $release$versuffix | tr -d .-);
16070 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
16071 $ECHO $n$v`$shared_ext'
16072 library_names_spec='${libname}_dll.$libext'
16073 dynamic_linker='OS/2 ld.exe'
16074 shlibpath_var=BEGINLIBPATH
16075 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16076 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16077 postinstall_cmds='base_file=`basename \$file`~
16078 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
16079 dldir=$destdir/`dirname \$dlpath`~
16080 test -d \$dldir || mkdir -p \$dldir~
16081 $install_prog $dir/$dlname \$dldir/$dlname~
16082 chmod a+x \$dldir/$dlname~
16083 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16084 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16086 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
16087 dlpath=$dir/\$dldll~
16091 osf3* | osf4* | osf5*)
16095 soname_spec='$libname$release$shared_ext$major'
16096 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16097 shlibpath_var=LD_LIBRARY_PATH
16098 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16099 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16107 version_type=linux # correct to gnu/linux during the next big refactor
16110 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16111 soname_spec='$libname$release$shared_ext$major'
16112 shlibpath_var=LD_LIBRARY_PATH
16113 shlibpath_overrides_runpath=yes
16114 hardcode_into_libs=yes
16115 # ldd complains unless libraries are executable
16116 postinstall_cmds='chmod +x $lib'
16121 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16122 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16123 shlibpath_var=LD_LIBRARY_PATH
16124 shlibpath_overrides_runpath=yes
16125 if test yes = "$with_gnu_ld"; then
16132 version_type=linux # correct to gnu/linux during the next big refactor
16133 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16134 soname_spec='$libname$release$shared_ext$major'
16135 shlibpath_var=LD_LIBRARY_PATH
16136 case $host_vendor in
16138 shlibpath_overrides_runpath=no
16140 runpath_var=LD_RUN_PATH
16148 shlibpath_overrides_runpath=no
16149 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16155 if test -d /usr/nec; then
16156 version_type=linux # correct to gnu/linux during the next big refactor
16157 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
16158 soname_spec='$libname$shared_ext.$major'
16159 shlibpath_var=LD_LIBRARY_PATH
16163 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16167 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
16168 soname_spec='$libname$release$shared_ext$major'
16169 shlibpath_var=LD_LIBRARY_PATH
16170 shlibpath_overrides_runpath=yes
16171 hardcode_into_libs=yes
16172 if test yes = "$with_gnu_ld"; then
16173 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16175 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16178 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16182 sys_lib_dlsearch_path_spec='/usr/lib'
16186 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16187 version_type=linux # correct to gnu/linux during the next big refactor
16190 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16191 shlibpath_var=LD_LIBRARY_PATH
16192 shlibpath_overrides_runpath=no
16193 hardcode_into_libs=yes
16197 version_type=linux # correct to gnu/linux during the next big refactor
16198 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16199 soname_spec='$libname$release$shared_ext$major'
16200 shlibpath_var=LD_LIBRARY_PATH
16207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16208 $as_echo "$dynamic_linker" >&6; }
16209 test no = "$dynamic_linker" && can_build_shared=no
16211 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16212 if test yes = "$GCC"; then
16213 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16216 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
16217 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
16220 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
16221 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
16224 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
16225 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
16227 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
16228 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
16230 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
16231 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
16272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16273 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16274 hardcode_action_CXX=
16275 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16276 test -n "$runpath_var_CXX" ||
16277 test yes = "$hardcode_automatic_CXX"; then
16279 # We can hardcode non-existent directories.
16280 if test no != "$hardcode_direct_CXX" &&
16281 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16282 # have to relink, otherwise we might link with an installed library
16283 # when we should be linking with a yet-to-be-installed one
16284 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
16285 test no != "$hardcode_minus_L_CXX"; then
16286 # Linking always hardcodes the temporary library directory.
16287 hardcode_action_CXX=relink
16289 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16290 hardcode_action_CXX=immediate
16293 # We cannot hardcode anything, or else we can only hardcode existing
16295 hardcode_action_CXX=unsupported
16297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16298 $as_echo "$hardcode_action_CXX" >&6; }
16300 if test relink = "$hardcode_action_CXX" ||
16301 test yes = "$inherit_rpath_CXX"; then
16302 # Fast installation is not supported
16303 enable_fast_install=no
16304 elif test yes = "$shlibpath_overrides_runpath" ||
16305 test no = "$enable_shared"; then
16306 # Fast installation is not necessary
16307 enable_fast_install=needless
16316 fi # test -n "$compiler"
16319 CFLAGS=$lt_save_CFLAGS
16323 with_gnu_ld=$lt_save_with_gnu_ld
16324 lt_cv_path_LDCXX=$lt_cv_path_LD
16325 lt_cv_path_LD=$lt_save_path_LD
16326 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16327 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16328 fi # test yes != "$_lt_caught_CXX_error"
16331 ac_cpp='$CPP $CPPFLAGS'
16332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16350 ac_config_commands="$ac_config_commands libtool"
16355 # Only expand once:
16359 # Checks for library functions.
16360 for ac_header in stdlib.h
16362 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
16363 if test "x$ac_cv_header_stdlib_h" = xyes; then :
16364 cat >>confdefs.h <<_ACEOF
16365 @%:@define HAVE_STDLIB_H 1
16372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
16373 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
16374 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
16375 $as_echo_n "(cached) " >&6
16377 if test "$cross_compiling" = yes; then :
16378 ac_cv_func_malloc_0_nonnull=no
16380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16381 /* end confdefs.h. */
16382 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
16383 # include <stdlib.h>
16391 return ! malloc (0);
16396 if ac_fn_c_try_run "$LINENO"; then :
16397 ac_cv_func_malloc_0_nonnull=yes
16399 ac_cv_func_malloc_0_nonnull=no
16401 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16402 conftest.$ac_objext conftest.beam conftest.$ac_ext
16406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
16407 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
16408 if test $ac_cv_func_malloc_0_nonnull = yes; then :
16410 $as_echo "@%:@define HAVE_MALLOC 1" >>confdefs.h
16413 $as_echo "@%:@define HAVE_MALLOC 0" >>confdefs.h
16415 case " $LIB@&t@OBJS " in
16416 *" malloc.$ac_objext "* ) ;;
16417 *) LIB@&t@OBJS="$LIB@&t@OBJS malloc.$ac_objext"
16422 $as_echo "@%:@define malloc rpl_malloc" >>confdefs.h
16427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strtod" >&5
16428 $as_echo_n "checking for working strtod... " >&6; }
16429 if ${ac_cv_func_strtod+:} false; then :
16430 $as_echo_n "(cached) " >&6
16432 if test "$cross_compiling" = yes; then :
16433 ac_cv_func_strtod=no
16435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16436 /* end confdefs.h. */
16438 $ac_includes_default
16446 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
16447 char *string = " +69";
16450 value = strtod (string, &term);
16451 if (value != 69 || term != (string + 4))
16456 /* Under Solaris 2.4, strtod returns the wrong value for the
16457 terminating character under some conditions. */
16458 char *string = "NaN";
16460 strtod (string, &term);
16461 if (term != string && *(term - 1) == 0)
16468 if ac_fn_c_try_run "$LINENO"; then :
16469 ac_cv_func_strtod=yes
16471 ac_cv_func_strtod=no
16473 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16474 conftest.$ac_objext conftest.beam conftest.$ac_ext
16478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strtod" >&5
16479 $as_echo "$ac_cv_func_strtod" >&6; }
16480 if test $ac_cv_func_strtod = no; then
16481 case " $LIB@&t@OBJS " in
16482 *" strtod.$ac_objext "* ) ;;
16483 *) LIB@&t@OBJS="$LIB@&t@OBJS strtod.$ac_objext"
16487 ac_fn_c_check_func "$LINENO" "pow" "ac_cv_func_pow"
16488 if test "x$ac_cv_func_pow" = xyes; then :
16492 if test $ac_cv_func_pow = no; then
16493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
16494 $as_echo_n "checking for pow in -lm... " >&6; }
16495 if ${ac_cv_lib_m_pow+:} false; then :
16496 $as_echo_n "(cached) " >&6
16498 ac_check_lib_save_LIBS=$LIBS
16500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16501 /* end confdefs.h. */
16503 /* Override any GCC internal prototype to avoid an error.
16504 Use char because int might match the return type of a GCC
16505 builtin and then its argument prototype would still apply. */
16518 if ac_fn_c_try_link "$LINENO"; then :
16519 ac_cv_lib_m_pow=yes
16523 rm -f core conftest.err conftest.$ac_objext \
16524 conftest$ac_exeext conftest.$ac_ext
16525 LIBS=$ac_check_lib_save_LIBS
16527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
16528 $as_echo "$ac_cv_lib_m_pow" >&6; }
16529 if test "x$ac_cv_lib_m_pow" = xyes; then :
16532 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find library containing definition of pow" >&5
16533 $as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
16540 for ac_func in regcomp strchr strrchr strstr strtol strtoul
16542 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16543 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16544 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16545 cat >>confdefs.h <<_ACEOF
16546 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16553 cat >confcache <<\_ACEOF
16554 # This file is a shell script that caches the results of configure
16555 # tests run on this system so they can be shared between configure
16556 # scripts and configure runs, see configure's option --config-cache.
16557 # It is not useful on other systems. If it contains results you don't
16558 # want to keep, you may remove or edit it.
16560 # config.status only pays attention to the cache file if you give it
16561 # the --recheck option to rerun configure.
16563 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16564 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16565 # following values.
16569 # The following way of writing the cache mishandles newlines in values,
16570 # but we know of no workaround that is simple, portable, and efficient.
16571 # So, we kill variables containing newlines.
16572 # Ultrix sh set writes to stderr and can't be redirected directly,
16573 # and sets the high bit in the cache file unless we assign to the vars.
16575 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16576 eval ac_val=\$$ac_var
16580 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16581 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16584 _ | IFS | as_nl) ;; #(
16585 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16586 *) { eval $ac_var=; unset $ac_var;} ;;
16592 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16593 *${as_nl}ac_space=\ *)
16594 # `set' does not quote correctly, so add quotes: double-quote
16595 # substitution turns \\\\ into \\, and sed turns \\ into \.
16598 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16601 # `set' quotes correctly as required by POSIX, so do not add quotes.
16602 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16611 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16613 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16615 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16616 if test -w "$cache_file"; then
16617 if test "x$cache_file" != "x/dev/null"; then
16618 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16619 $as_echo "$as_me: updating cache $cache_file" >&6;}
16620 if test ! -f "$cache_file" || test -h "$cache_file"; then
16621 cat confcache >"$cache_file"
16623 case $cache_file in #(
16625 mv -f confcache "$cache_file"$$ &&
16626 mv -f "$cache_file"$$ "$cache_file" ;; #(
16628 mv -f confcache "$cache_file" ;;
16633 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16634 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16639 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16640 # Let make expand exec_prefix.
16641 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16643 DEFS=-DHAVE_CONFIG_H
16648 for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
16649 # 1. Remove the extension, and $U if already installed.
16650 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16651 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16652 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16653 # will be set to the directory where LIBOBJS objects are built.
16654 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16655 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16657 LIB@&t@OBJS=$ac_libobjs
16659 LTLIBOBJS=$ac_ltlibobjs
16662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
16663 $as_echo_n "checking that generated files are newer than configure... " >&6; }
16664 if test -n "$am_sleep_pid"; then
16665 # Hide warnings about reused PIDs.
16666 wait $am_sleep_pid 2>/dev/null
16668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
16669 $as_echo "done" >&6; }
16670 if test -n "$EXEEXT"; then
16672 am__EXEEXT_FALSE='#'
16674 am__EXEEXT_TRUE='#'
16678 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16679 as_fn_error $? "conditional \"AMDEP\" was never defined.
16680 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16682 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16683 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
16684 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16686 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16687 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16688 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16691 : "${CONFIG_STATUS=./config.status}"
16693 ac_clean_files_save=$ac_clean_files
16694 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16695 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16696 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16698 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16700 # Generated by $as_me.
16701 # Run this file to recreate the current configuration.
16702 # Compiler output produced by configure, useful for debugging
16703 # configure, is in config.log if it exists.
16706 ac_cs_recheck=false
16709 SHELL=\${CONFIG_SHELL-$SHELL}
16712 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16713 ## -------------------- ##
16714 ## M4sh Initialization. ##
16715 ## -------------------- ##
16717 # Be more Bourne compatible
16718 DUALCASE=1; export DUALCASE # for MKS sh
16719 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16722 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16723 # is contrary to our usage. Disable this feature.
16724 alias -g '${1+"$@"}'='"$@"'
16725 setopt NO_GLOB_SUBST
16727 case `(set -o) 2>/dev/null` in @%:@(
16729 set -o posix ;; @%:@(
16739 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16740 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16741 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16742 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16743 # Prefer a ksh shell builtin over an external printf program on Solaris,
16744 # but without wasting forks for bash or zsh.
16745 if test -z "$BASH_VERSION$ZSH_VERSION" \
16746 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16747 as_echo='print -r --'
16748 as_echo_n='print -rn --'
16749 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16750 as_echo='printf %s\n'
16751 as_echo_n='printf %s'
16753 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16754 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16755 as_echo_n='/usr/ucb/echo -n'
16757 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16758 as_echo_n_body='eval
16762 expr "X$arg" : "X\\(.*\\)$as_nl";
16763 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16765 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16767 export as_echo_n_body
16768 as_echo_n='sh -c $as_echo_n_body as_echo'
16770 export as_echo_body
16771 as_echo='sh -c $as_echo_body as_echo'
16774 # The user is always right.
16775 if test "${PATH_SEPARATOR+set}" != set; then
16777 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16778 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16785 # We need space, tab and new line, in precisely that order. Quoting is
16786 # there to prevent editors from complaining about space-tab.
16787 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16788 # splitting by setting IFS to empty value.)
16791 # Find who we are. Look in the path if we contain no directory separator.
16794 *[\\/]* ) as_myself=$0 ;;
16795 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16796 for as_dir in $PATH
16799 test -z "$as_dir" && as_dir=.
16800 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16806 # We did not find ourselves, most probably we were run as `sh COMMAND'
16807 # in which case we are not to be found in the path.
16808 if test "x$as_myself" = x; then
16811 if test ! -f "$as_myself"; then
16812 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16816 # Unset variables that we do not need and which cause bugs (e.g. in
16817 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16818 # suppresses any "Segmentation fault" message there. '((' could
16819 # trigger a bug in pdksh 5.2.14.
16820 for as_var in BASH_ENV ENV MAIL MAILPATH
16821 do eval test x\${$as_var+set} = xset \
16822 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16835 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16838 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
16839 @%:@ ----------------------------------------
16840 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16841 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16842 @%:@ script with STATUS, using 1 if that was 0.
16845 as_status=$1; test $as_status -eq 0 && as_status=1
16847 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16848 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16850 $as_echo "$as_me: error: $2" >&2
16851 as_fn_exit $as_status
16855 @%:@ as_fn_set_status STATUS
16856 @%:@ -----------------------
16857 @%:@ Set @S|@? to STATUS, without forking.
16858 as_fn_set_status ()
16861 } @%:@ as_fn_set_status
16863 @%:@ as_fn_exit STATUS
16864 @%:@ -----------------
16865 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16869 as_fn_set_status $1
16873 @%:@ as_fn_unset VAR
16874 @%:@ ---------------
16875 @%:@ Portably unset VAR.
16878 { eval $1=; unset $1;}
16880 as_unset=as_fn_unset
16881 @%:@ as_fn_append VAR VALUE
16882 @%:@ ----------------------
16883 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
16884 @%:@ advantage of any shell optimizations that allow amortized linear growth over
16885 @%:@ repeated appends, instead of the typical quadratic growth present in naive
16886 @%:@ implementations.
16887 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16888 eval 'as_fn_append ()
16899 @%:@ as_fn_arith ARG...
16900 @%:@ ------------------
16901 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
16902 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
16903 @%:@ must be portable across @S|@(()) and expr.
16904 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16905 eval 'as_fn_arith ()
16912 as_val=`expr "$@" || test $? -eq 1`
16917 if expr a : '\(a\)' >/dev/null 2>&1 &&
16918 test "X`expr 00001 : '.*\(...\)'`" = X001; then
16924 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16925 as_basename=basename
16930 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16936 as_me=`$as_basename -- "$0" ||
16937 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16938 X"$0" : 'X\(//\)$' \| \
16939 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16941 sed '/^.*\/\([^/][^/]*\)\/*$/{
16955 # Avoid depending upon Character Ranges.
16956 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16957 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16958 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16959 as_cr_digits='0123456789'
16960 as_cr_alnum=$as_cr_Letters$as_cr_digits
16962 ECHO_C= ECHO_N= ECHO_T=
16963 case `echo -n x` in @%:@(((((
16965 case `echo 'xy\c'` in
16966 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
16968 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
16975 rm -f conf$$ conf$$.exe conf$$.file
16976 if test -d conf$$.dir; then
16977 rm -f conf$$.dir/conf$$.file
16980 mkdir conf$$.dir 2>/dev/null
16982 if (echo >conf$$.file) 2>/dev/null; then
16983 if ln -s conf$$.file conf$$ 2>/dev/null; then
16985 # ... but there are two gotchas:
16986 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16987 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16988 # In both cases, we have to default to `cp -pR'.
16989 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16991 elif ln conf$$.file conf$$ 2>/dev/null; then
16999 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17000 rmdir conf$$.dir 2>/dev/null
17005 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
17010 -*) as_dir=./$as_dir;;
17012 test -d "$as_dir" || eval $as_mkdir_p || {
17016 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17017 *) as_qdir=$as_dir;;
17019 as_dirs="'$as_qdir' $as_dirs"
17020 as_dir=`$as_dirname -- "$as_dir" ||
17021 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17022 X"$as_dir" : 'X\(//\)[^/]' \| \
17023 X"$as_dir" : 'X\(//\)$' \| \
17024 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17025 $as_echo X"$as_dir" |
17026 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17030 /^X\(\/\/\)[^/].*/{
17043 test -d "$as_dir" && break
17045 test -z "$as_dirs" || eval "mkdir $as_dirs"
17046 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17049 } @%:@ as_fn_mkdir_p
17050 if mkdir -p . 2>/dev/null; then
17051 as_mkdir_p='mkdir -p "$as_dir"'
17053 test -d ./-p && rmdir ./-p
17058 @%:@ as_fn_executable_p FILE
17059 @%:@ -----------------------
17060 @%:@ Test if FILE is an executable regular file.
17061 as_fn_executable_p ()
17063 test -f "$1" && test -x "$1"
17064 } @%:@ as_fn_executable_p
17065 as_test_x='test -x'
17066 as_executable_p=as_fn_executable_p
17068 # Sed expression to map a string onto a valid CPP name.
17069 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17071 # Sed expression to map a string onto a valid variable name.
17072 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17076 ## ----------------------------------- ##
17077 ## Main body of $CONFIG_STATUS script. ##
17078 ## ----------------------------------- ##
17080 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17082 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17083 # Save the log message, to keep $0 and so on meaningful, and to
17084 # report actual input values of CONFIG_FILES etc. instead of their
17085 # values after options handling.
17087 This file was extended by ACL - Andromeda Class Library $as_me 0.1, which was
17088 generated by GNU Autoconf 2.69. Invocation command line was
17090 CONFIG_FILES = $CONFIG_FILES
17091 CONFIG_HEADERS = $CONFIG_HEADERS
17092 CONFIG_LINKS = $CONFIG_LINKS
17093 CONFIG_COMMANDS = $CONFIG_COMMANDS
17096 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17101 case $ac_config_files in *"
17102 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17105 case $ac_config_headers in *"
17106 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17110 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17111 # Files that config.status was made for.
17112 config_files="$ac_config_files"
17113 config_headers="$ac_config_headers"
17114 config_commands="$ac_config_commands"
17118 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17120 \`$as_me' instantiates files and other configuration actions
17121 from templates according to the current configuration. Unless the files
17122 and actions are specified as TAGs, all are instantiated by default.
17124 Usage: $0 [OPTION]... [TAG]...
17126 -h, --help print this help, then exit
17127 -V, --version print version number and configuration settings, then exit
17128 --config print configuration, then exit
17129 -q, --quiet, --silent
17130 do not print progress messages
17131 -d, --debug don't remove temporary files
17132 --recheck update $as_me by reconfiguring in the same conditions
17133 --file=FILE[:TEMPLATE]
17134 instantiate the configuration file FILE
17135 --header=FILE[:TEMPLATE]
17136 instantiate the configuration header FILE
17138 Configuration files:
17141 Configuration headers:
17144 Configuration commands:
17147 Report bugs to <BUG-REPORT-ADDRESS>."
17150 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17151 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17153 ACL - Andromeda Class Library config.status 0.1
17154 configured by $0, generated by GNU Autoconf 2.69,
17155 with options \\"\$ac_cs_config\\"
17157 Copyright (C) 2012 Free Software Foundation, Inc.
17158 This config.status script is free software; the Free Software Foundation
17159 gives unlimited permission to copy, distribute and modify it."
17166 test -n "\$AWK" || AWK=awk
17169 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17170 # The default lists apply if the user does not specify any file.
17176 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17177 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17181 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17193 # Handling of the options.
17194 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17196 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17197 $as_echo "$ac_cs_version"; exit ;;
17198 --config | --confi | --conf | --con | --co | --c )
17199 $as_echo "$ac_cs_config"; exit ;;
17200 --debug | --debu | --deb | --de | --d | -d )
17202 --file | --fil | --fi | --f )
17205 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17206 '') as_fn_error $? "missing file argument" ;;
17208 as_fn_append CONFIG_FILES " '$ac_optarg'"
17209 ac_need_defaults=false;;
17210 --header | --heade | --head | --hea )
17213 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17215 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17216 ac_need_defaults=false;;
17218 # Conflict between --help and --header
17219 as_fn_error $? "ambiguous option: \`$1'
17220 Try \`$0 --help' for more information.";;
17221 --help | --hel | -h )
17222 $as_echo "$ac_cs_usage"; exit ;;
17223 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17224 | -silent | --silent | --silen | --sile | --sil | --si | --s)
17227 # This is an error.
17228 -*) as_fn_error $? "unrecognized option: \`$1'
17229 Try \`$0 --help' for more information." ;;
17231 *) as_fn_append ac_config_targets " $1"
17232 ac_need_defaults=false ;;
17238 ac_configure_extra_args=
17240 if $ac_cs_silent; then
17242 ac_configure_extra_args="$ac_configure_extra_args --silent"
17246 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17247 if \$ac_cs_recheck; then
17248 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17250 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17251 CONFIG_SHELL='$SHELL'
17252 export CONFIG_SHELL
17257 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17261 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
17262 @%:@@%:@ Running $as_me. @%:@@%:@
17268 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17272 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17275 # The HP-UX ksh and POSIX shell print the target directory to stdout
17276 # if CDPATH is set.
17277 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17279 sed_quote_subst='$sed_quote_subst'
17280 double_quote_subst='$double_quote_subst'
17281 delay_variable_subst='$delay_variable_subst'
17282 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17283 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17284 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17285 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17286 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17287 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17288 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
17289 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17290 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17291 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17292 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17293 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17294 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17295 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17296 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17297 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17298 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17299 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17300 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17301 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17302 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17303 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17304 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17305 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17306 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17307 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17308 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17309 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17310 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17311 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17312 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17313 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17314 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17315 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17316 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17317 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17318 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17319 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17320 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17321 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17322 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17323 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17324 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17325 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17326 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17327 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17328 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17329 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17330 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17331 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17332 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17333 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17334 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17335 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17336 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17337 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17338 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
17339 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17340 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"`'
17341 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
17342 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17343 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17344 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
17345 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17346 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17347 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17348 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17349 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17350 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17351 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17352 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17353 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17354 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17355 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17356 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17357 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17358 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17359 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17360 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17361 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17362 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17363 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17364 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17365 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17366 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17367 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17368 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17369 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17370 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17371 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17372 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17373 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17374 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17375 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17376 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17377 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17378 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17379 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17380 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17381 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17382 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17383 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17384 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17385 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17386 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17387 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17388 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17389 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17390 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17391 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17392 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17393 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17394 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17395 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17396 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17397 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17398 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17399 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17400 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17401 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17402 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17403 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17404 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17405 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17406 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17407 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17408 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17409 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
17410 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
17411 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17412 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17413 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17414 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17415 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17416 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17417 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
17418 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
17419 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
17420 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
17421 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
17422 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
17423 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
17424 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
17425 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17426 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17427 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
17428 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
17429 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
17430 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
17431 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
17432 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
17433 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
17434 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
17435 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
17436 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17437 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17438 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
17439 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17440 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17441 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17442 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17443 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17444 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17445 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
17446 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17447 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17448 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17449 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
17450 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
17451 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
17452 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
17453 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
17454 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
17455 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
17456 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
17457 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
17458 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17459 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17460 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17461 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17462 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17463 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
17464 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
17465 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
17466 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17467 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17468 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
17469 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
17470 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
17473 LTCFLAGS='$LTCFLAGS'
17474 compiler='$compiler_DEFAULT'
17476 # A function that is used when there is no print builtin or printf.
17477 func_fallback_echo ()
17479 eval 'cat <<_LTECHO_EOF
17484 # Quote evaled strings.
17499 deplibs_check_method \
17504 sharedlib_from_linklib_cmd \
17507 archiver_list_spec \
17513 lt_cv_sys_global_symbol_pipe \
17514 lt_cv_sys_global_symbol_to_cdecl \
17515 lt_cv_sys_global_symbol_to_import \
17516 lt_cv_sys_global_symbol_to_c_name_address \
17517 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17518 lt_cv_nm_interface \
17519 nm_file_list_spec \
17520 lt_cv_truncate_bin \
17521 lt_prog_compiler_no_builtin_flag \
17522 lt_prog_compiler_pic \
17523 lt_prog_compiler_wl \
17524 lt_prog_compiler_static \
17525 lt_cv_prog_compiler_c_o \
17534 export_dynamic_flag_spec \
17535 whole_archive_flag_spec \
17536 compiler_needs_object \
17538 allow_undefined_flag \
17539 no_undefined_flag \
17540 hardcode_libdir_flag_spec \
17541 hardcode_libdir_separator \
17545 variables_saved_for_relink \
17547 library_names_spec \
17549 install_override_mode \
17553 compiler_lib_search_dirs \
17558 compiler_lib_search_path \
17562 lt_prog_compiler_no_builtin_flag_CXX \
17563 lt_prog_compiler_pic_CXX \
17564 lt_prog_compiler_wl_CXX \
17565 lt_prog_compiler_static_CXX \
17566 lt_cv_prog_compiler_c_o_CXX \
17567 export_dynamic_flag_spec_CXX \
17568 whole_archive_flag_spec_CXX \
17569 compiler_needs_object_CXX \
17571 allow_undefined_flag_CXX \
17572 no_undefined_flag_CXX \
17573 hardcode_libdir_flag_spec_CXX \
17574 hardcode_libdir_separator_CXX \
17575 exclude_expsyms_CXX \
17576 include_expsyms_CXX \
17577 file_list_spec_CXX \
17578 compiler_lib_search_dirs_CXX \
17579 predep_objects_CXX \
17580 postdep_objects_CXX \
17583 compiler_lib_search_path_CXX; do
17584 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17585 *[\\\\\\\`\\"\\\$]*)
17586 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
17589 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17594 # Double-quote double-evaled strings.
17595 for var in reload_cmds \
17596 old_postinstall_cmds \
17597 old_postuninstall_cmds \
17599 extract_expsyms_cmds \
17600 old_archive_from_new_cmds \
17601 old_archive_from_expsyms_cmds \
17603 archive_expsym_cmds \
17605 module_expsym_cmds \
17606 export_symbols_cmds \
17610 postuninstall_cmds \
17612 sys_lib_search_path_spec \
17613 configure_time_dlsearch_path \
17614 configure_time_lt_sys_library_path \
17616 old_archive_cmds_CXX \
17617 old_archive_from_new_cmds_CXX \
17618 old_archive_from_expsyms_cmds_CXX \
17620 archive_expsym_cmds_CXX \
17622 module_expsym_cmds_CXX \
17623 export_symbols_cmds_CXX \
17625 postlink_cmds_CXX; do
17626 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17627 *[\\\\\\\`\\"\\\$]*)
17628 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
17631 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17636 ac_aux_dir='$ac_aux_dir'
17638 # See if we are running on zsh, and set the options that allow our
17639 # commands through without removal of \ escapes INIT.
17640 if test -n "\${ZSH_VERSION+set}"; then
17641 setopt NO_GLOB_SUBST
17657 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17659 # Handling of arguments.
17660 for ac_config_target in $ac_config_targets
17662 case $ac_config_target in
17663 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17664 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
17665 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
17666 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17667 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17668 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17670 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17675 # If the user did not use the arguments to specify the items to instantiate,
17676 # then the envvar interface is used. Set only those that are not.
17677 # We use the long form for the default assignment because of an extremely
17678 # bizarre bug on SunOS 4.1.3.
17679 if $ac_need_defaults; then
17680 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17681 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17682 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17685 # Have a temporary directory for convenience. Make it in the build tree
17686 # simply because there is no reason against having it here, and in addition,
17687 # creating and moving files from /tmp can sometimes cause problems.
17688 # Hook for its removal unless debugging.
17689 # Note that there is a small window in which the directory will not be cleaned:
17690 # after its creation but before its name has been assigned to `$tmp'.
17694 trap 'exit_status=$?
17695 : "${ac_tmp:=$tmp}"
17696 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17698 trap 'as_fn_exit 1' 1 2 13 15
17700 # Create a (secure) tmp directory for tmp files.
17703 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17707 tmp=./conf$$-$RANDOM
17708 (umask 077 && mkdir "$tmp")
17709 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17712 # Set up the scripts for CONFIG_FILES section.
17713 # No need to generate them if there are no CONFIG_FILES.
17714 # This happens for instance with `./config.status config.h'.
17715 if test -n "$CONFIG_FILES"; then
17718 ac_cr=`echo X | tr X '\015'`
17719 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17720 # But we know of no other shell where ac_cr would be empty at this
17721 # point, so we can use a bashism as a fallback.
17722 if test "x$ac_cr" = x; then
17723 eval ac_cr=\$\'\\r\'
17725 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17726 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17729 ac_cs_awk_cr=$ac_cr
17732 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17737 echo "cat >conf$$subs.awk <<_ACEOF" &&
17738 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17740 } >conf$$subs.sh ||
17741 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17742 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17744 for ac_last_try in false false false false false :; do
17745 . ./conf$$subs.sh ||
17746 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17748 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17749 if test $ac_delim_n = $ac_delim_num; then
17751 elif $ac_last_try; then
17752 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17754 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17757 rm -f conf$$subs.sh
17759 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17760 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17764 s/^/S["/; s/!.*/"]=/
17774 s/\(.\{148\}\)..*/\1/
17776 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17781 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17788 s/\(.\{148\}\)..*/\1/
17790 s/["\\]/\\&/g; s/^/"/; s/$/"/
17794 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17799 ' <conf$$subs.awk | sed '
17804 ' >>$CONFIG_STATUS || ac_write_fail=1
17805 rm -f conf$$subs.awk
17806 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17808 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17809 for (key in S) S_is_set[key] = 1
17815 nfields = split(line, field, "@")
17817 len = length(field[1])
17818 for (i = 2; i < nfields; i++) {
17820 keylen = length(key)
17821 if (S_is_set[key]) {
17823 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17824 len += length(value) + length(field[++i])
17835 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17836 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17837 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17840 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17841 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17844 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17845 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17846 # trailing colons and then remove the whole line if VPATH becomes empty
17847 # (actually we leave an empty line to preserve line numbers).
17848 if test "x$srcdir" = x.; then
17849 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17867 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17868 fi # test -n "$CONFIG_FILES"
17870 # Set up the scripts for CONFIG_HEADERS section.
17871 # No need to generate them if there are no CONFIG_HEADERS.
17872 # This happens for instance with `./config.status Makefile'.
17873 if test -n "$CONFIG_HEADERS"; then
17874 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
17878 # Transform confdefs.h into an awk script `defines.awk', embedded as
17879 # here-document in config.status, that substitutes the proper values into
17880 # config.h.in to produce config.h.
17882 # Create a delimiter string that does not exist in confdefs.h, to ease
17883 # handling of long lines.
17885 for ac_last_try in false false :; do
17886 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
17887 if test -z "$ac_tt"; then
17889 elif $ac_last_try; then
17890 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17892 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17896 # For the awk script, D is an array of macro values keyed by name,
17897 # likewise P contains macro parameters if any. Preserve backslash
17898 # newline sequences.
17900 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17902 s/.\{148\}/&'"$ac_delim"'/g
17905 s/^[ ]*#[ ]*define[ ][ ]*/ /
17912 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17914 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
17918 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17919 D["\1"]=" \3\\\\\\n"\\/p
17921 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17926 s/.\{148\}/&'"$ac_delim"'/g
17931 s/["\\]/\\&/g; s/^/"/; s/$/"/p
17934 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17936 ' <confdefs.h | sed '
17937 s/'"$ac_delim"'/"\\\
17938 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17940 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17941 for (key in D) D_is_set[key] = 1
17944 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17946 split(line, arg, " ")
17947 if (arg[1] == "#") {
17951 defundef = substr(arg[1], 2)
17954 split(mac1, mac2, "(") #)
17956 prefix = substr(line, 1, index(line, defundef) - 1)
17957 if (D_is_set[macro]) {
17958 # Preserve the white space surrounding the "#".
17959 print prefix "define", macro P[macro] D[macro]
17962 # Replace #undef with comments. This is necessary, for example,
17963 # in the case of _POSIX_SOURCE, which is predefined and required
17964 # on some systems where configure will not decide to define it.
17965 if (defundef == "undef") {
17966 print "/*", prefix defundef, macro, "*/"
17974 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17975 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17976 fi # test -n "$CONFIG_HEADERS"
17979 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17984 :[FHLC]) ac_mode=$ac_tag; continue;;
17986 case $ac_mode$ac_tag in
17988 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17989 :[FH]-) ac_tag=-:-;;
17990 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18007 -) ac_f="$ac_tmp/stdin";;
18008 *) # Look for the file first in the build tree, then in the source tree
18009 # (if the path is not absolute). The absolute path cannot be DOS-style,
18010 # because $ac_f cannot contain `:'.
18014 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18016 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18018 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18019 as_fn_append ac_file_inputs " '$ac_f'"
18022 # Let's still pretend it is `configure' which instantiates (i.e., don't
18023 # use $as_me), people would be surprised to read:
18024 # /* config.h. Generated by config.status. */
18025 configure_input='Generated from '`
18026 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18028 if test x"$ac_file" != x-; then
18029 configure_input="$ac_file. $configure_input"
18030 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18031 $as_echo "$as_me: creating $ac_file" >&6;}
18033 # Neutralize special characters interpreted by sed in replacement strings.
18034 case $configure_input in #(
18035 *\&* | *\|* | *\\* )
18036 ac_sed_conf_input=`$as_echo "$configure_input" |
18037 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18038 *) ac_sed_conf_input=$configure_input;;
18042 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18043 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18048 ac_dir=`$as_dirname -- "$ac_file" ||
18049 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18050 X"$ac_file" : 'X\(//\)[^/]' \| \
18051 X"$ac_file" : 'X\(//\)$' \| \
18052 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18053 $as_echo X"$ac_file" |
18054 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18058 /^X\(\/\/\)[^/].*/{
18071 as_dir="$ac_dir"; as_fn_mkdir_p
18075 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18077 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18078 # A ".." for each directory in $ac_dir_suffix.
18079 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18080 case $ac_top_builddir_sub in
18081 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18082 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18085 ac_abs_top_builddir=$ac_pwd
18086 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18087 # for backward compatibility:
18088 ac_top_builddir=$ac_top_build_prefix
18091 .) # We are building in place.
18093 ac_top_srcdir=$ac_top_builddir_sub
18094 ac_abs_top_srcdir=$ac_pwd ;;
18095 [\\/]* | ?:[\\/]* ) # Absolute name.
18096 ac_srcdir=$srcdir$ac_dir_suffix;
18097 ac_top_srcdir=$srcdir
18098 ac_abs_top_srcdir=$srcdir ;;
18099 *) # Relative name.
18100 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18101 ac_top_srcdir=$ac_top_build_prefix$srcdir
18102 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18104 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18114 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18115 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18117 ac_MKDIR_P=$MKDIR_P
18119 [\\/$]* | ?:[\\/]* ) ;;
18120 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18124 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18125 # If the template does not know about datarootdir, expand it.
18126 # FIXME: This hack should be removed a few years after 2.60.
18127 ac_datarootdir_hack=; ac_datarootdir_seen=
18138 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18139 *datarootdir*) ac_datarootdir_seen=yes;;
18140 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18142 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18144 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18145 ac_datarootdir_hack='
18146 s&@datadir@&$datadir&g
18147 s&@docdir@&$docdir&g
18148 s&@infodir@&$infodir&g
18149 s&@localedir@&$localedir&g
18150 s&@mandir@&$mandir&g
18151 s&\\\${datarootdir}&$datarootdir&g' ;;
18155 # Neutralize VPATH when `$srcdir' = `.'.
18156 # Shell code in configure.ac might set extrasub.
18157 # FIXME: do we really want to maintain this feature?
18158 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18159 ac_sed_extra="$ac_vpsub
18162 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18164 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18165 s|@configure_input@|$ac_sed_conf_input|;t t
18166 s&@top_builddir@&$ac_top_builddir_sub&;t t
18167 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18168 s&@srcdir@&$ac_srcdir&;t t
18169 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18170 s&@top_srcdir@&$ac_top_srcdir&;t t
18171 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18172 s&@builddir@&$ac_builddir&;t t
18173 s&@abs_builddir@&$ac_abs_builddir&;t t
18174 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18175 s&@INSTALL@&$ac_INSTALL&;t t
18176 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18177 $ac_datarootdir_hack
18179 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18180 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18182 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18183 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18184 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18185 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18187 which seems to be undefined. Please make sure it is defined" >&5
18188 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18189 which seems to be undefined. Please make sure it is defined" >&2;}
18191 rm -f "$ac_tmp/stdin"
18193 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18194 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18196 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18202 if test x"$ac_file" != x-; then
18204 $as_echo "/* $configure_input */" \
18205 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18206 } >"$ac_tmp/config.h" \
18207 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18208 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18209 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18210 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18213 mv "$ac_tmp/config.h" "$ac_file" \
18214 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18217 $as_echo "/* $configure_input */" \
18218 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18219 || as_fn_error $? "could not create -" "$LINENO" 5
18221 # Compute "$ac_file"'s index in $config_headers.
18224 for _am_header in $config_headers :; do
18225 case $_am_header in
18226 $_am_arg | $_am_arg:* )
18229 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18232 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18233 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18234 X"$_am_arg" : 'X\(//\)[^/]' \| \
18235 X"$_am_arg" : 'X\(//\)$' \| \
18236 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18237 $as_echo X"$_am_arg" |
18238 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18242 /^X\(\/\/\)[^/].*/{
18254 s/.*/./; q'`/stamp-h$_am_stamp_count
18257 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18258 $as_echo "$as_me: executing $ac_file commands" >&6;}
18263 case $ac_file$ac_mode in
18264 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18265 # Older Autoconf quotes --file arguments for eval, but not when files
18266 # are listed without --file. Let's play safe and only enable the eval
18267 # if we detect the quoting.
18268 case $CONFIG_FILES in
18269 *\'*) eval set x "$CONFIG_FILES" ;;
18270 *) set x $CONFIG_FILES ;;
18275 # Strip MF so we end up with the name of the file.
18276 mf=`echo "$mf" | sed -e 's/:.*$//'`
18277 # Check whether this is an Automake generated Makefile or not.
18278 # We used to match only the files named 'Makefile.in', but
18279 # some people rename them; so instead we look at the file content.
18280 # Grep'ing the first line is not enough: some people post-process
18281 # each Makefile.in and add a new line on top of each file to say so.
18282 # Grep'ing the whole file is not good either: AIX grep has a line
18283 # limit of 2048, but all sed's we know have understand at least 4000.
18284 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18285 dirpart=`$as_dirname -- "$mf" ||
18286 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18287 X"$mf" : 'X\(//\)[^/]' \| \
18288 X"$mf" : 'X\(//\)$' \| \
18289 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18291 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18295 /^X\(\/\/\)[^/].*/{
18311 # Extract the definition of DEPDIR, am__include, and am__quote
18312 # from the Makefile without running 'make'.
18313 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18314 test -z "$DEPDIR" && continue
18315 am__include=`sed -n 's/^am__include = //p' < "$mf"`
18316 test -z "$am__include" && continue
18317 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18318 # Find all dependency output files, they are included files with
18319 # $(DEPDIR) in their names. We invoke sed twice because it is the
18320 # simplest approach to changing $(DEPDIR) to its actual value in the
18322 for file in `sed -n "
18323 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18324 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
18325 # Make sure the directory exists.
18326 test -f "$dirpart/$file" && continue
18327 fdir=`$as_dirname -- "$file" ||
18328 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18329 X"$file" : 'X\(//\)[^/]' \| \
18330 X"$file" : 'X\(//\)$' \| \
18331 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18332 $as_echo X"$file" |
18333 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18337 /^X\(\/\/\)[^/].*/{
18350 as_dir=$dirpart/$fdir; as_fn_mkdir_p
18351 # echo "creating $dirpart/$file"
18352 echo '# dummy' > "$dirpart/$file"
18359 # See if we are running on zsh, and set the options that allow our
18360 # commands through without removal of \ escapes.
18361 if test -n "${ZSH_VERSION+set}"; then
18362 setopt NO_GLOB_SUBST
18366 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18369 cat <<_LT_EOF >> "$cfgfile"
18371 # Generated automatically by $as_me ($PACKAGE) $VERSION
18372 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18374 # Provide generalized library-building support services.
18375 # Written by Gordon Matzigkeit, 1996
18377 # Copyright (C) 2014 Free Software Foundation, Inc.
18378 # This is free software; see the source for copying conditions. There is NO
18379 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18381 # GNU Libtool is free software; you can redistribute it and/or modify
18382 # it under the terms of the GNU General Public License as published by
18383 # the Free Software Foundation; either version 2 of of the License, or
18384 # (at your option) any later version.
18386 # As a special exception to the GNU General Public License, if you
18387 # distribute this file as part of a program or library that is built
18388 # using GNU Libtool, you may include this file under the same
18389 # distribution terms that you use for the rest of that program.
18391 # GNU Libtool is distributed in the hope that it will be useful, but
18392 # WITHOUT ANY WARRANTY; without even the implied warranty of
18393 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18394 # GNU General Public License for more details.
18396 # You should have received a copy of the GNU General Public License
18397 # along with this program. If not, see <http://www.gnu.org/licenses/>.
18400 # The names of the tagged configurations supported by this script.
18401 available_tags='CXX '
18403 # Configured defaults for sys_lib_dlsearch_path munging.
18404 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
18406 # ### BEGIN LIBTOOL CONFIG
18408 # Which release of libtool.m4 was used?
18409 macro_version=$macro_version
18410 macro_revision=$macro_revision
18412 # Whether or not to build shared libraries.
18413 build_libtool_libs=$enable_shared
18415 # Whether or not to build static libraries.
18416 build_old_libs=$enable_static
18418 # What type of objects to build.
18421 # Whether or not to optimize for fast installation.
18422 fast_install=$enable_fast_install
18424 # Shared archive member basename,for filename based shared library versioning on AIX.
18425 shared_archive_member_spec=$shared_archive_member_spec
18427 # Shell to use when invoking shell scripts.
18430 # An echo program that protects backslashes.
18433 # The PATH separator for the build system.
18434 PATH_SEPARATOR=$lt_PATH_SEPARATOR
18437 host_alias=$host_alias
18441 # The build system.
18442 build_alias=$build_alias
18446 # A sed program that does not truncate output.
18449 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18450 Xsed="\$SED -e 1s/^X//"
18452 # A grep program that handles long lines.
18458 # A literal string matcher.
18461 # A BSD- or MS-compatible name lister.
18464 # Whether we need soft or hard links.
18467 # What is the maximum length of a command?
18468 max_cmd_len=$max_cmd_len
18470 # Object file suffix (normally "o").
18473 # Executable file suffix (normally "").
18476 # whether the shell understands "unset".
18479 # turn spaces into newlines.
18482 # turn newlines into spaces.
18485 # convert \$build file names to \$host format.
18486 to_host_file_cmd=$lt_cv_to_host_file_cmd
18488 # convert \$build files to toolchain format.
18489 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18491 # An object symbol dumper.
18492 OBJDUMP=$lt_OBJDUMP
18494 # Method to check whether dependent libraries are shared objects.
18495 deplibs_check_method=$lt_deplibs_check_method
18497 # Command to use when deplibs_check_method = "file_magic".
18498 file_magic_cmd=$lt_file_magic_cmd
18500 # How to find potential files when deplibs_check_method = "file_magic".
18501 file_magic_glob=$lt_file_magic_glob
18503 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18504 want_nocaseglob=$lt_want_nocaseglob
18506 # DLL creation program.
18507 DLLTOOL=$lt_DLLTOOL
18509 # Command to associate shared and link libraries.
18510 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18515 # Flags to create an archive.
18516 AR_FLAGS=$lt_AR_FLAGS
18518 # How to feed a file listing to the archiver.
18519 archiver_list_spec=$lt_archiver_list_spec
18521 # A symbol stripping program.
18524 # Commands used to install an old-style archive.
18526 old_postinstall_cmds=$lt_old_postinstall_cmds
18527 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18529 # Whether to use a lock for old archive extraction.
18530 lock_old_archive_extraction=$lock_old_archive_extraction
18535 # LTCC compiler flags.
18536 LTCFLAGS=$lt_CFLAGS
18538 # Take the output of nm and produce a listing of raw symbols and C names.
18539 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18541 # Transform the output of nm in a proper C declaration.
18542 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18544 # Transform the output of nm into a list of symbols to manually relocate.
18545 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
18547 # Transform the output of nm in a C name address pair.
18548 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18550 # Transform the output of nm in a C name address pair when lib prefix is needed.
18551 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18553 # The name lister interface.
18554 nm_interface=$lt_lt_cv_nm_interface
18556 # Specify filename containing input files for \$NM.
18557 nm_file_list_spec=$lt_nm_file_list_spec
18559 # The root where to search for dependent libraries,and where our libraries should be installed.
18560 lt_sysroot=$lt_sysroot
18562 # Command to truncate a binary pipe.
18563 lt_truncate_bin=$lt_lt_cv_truncate_bin
18565 # The name of the directory that contains temporary libtool files.
18568 # Used to examine libraries when file_magic_cmd begins with "file".
18569 MAGIC_CMD=$MAGIC_CMD
18571 # Must we lock files when doing compilation?
18572 need_locks=$lt_need_locks
18575 MANIFEST_TOOL=$lt_MANIFEST_TOOL
18577 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18578 DSYMUTIL=$lt_DSYMUTIL
18580 # Tool to change global to local symbols on Mac OS X.
18583 # Tool to manipulate fat objects and archives on Mac OS X.
18586 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18589 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18590 OTOOL64=$lt_OTOOL64
18592 # Old archive suffix (normally "a").
18595 # Shared library suffix (normally ".so").
18596 shrext_cmds=$lt_shrext_cmds
18598 # The commands to extract the exported symbol list from a shared archive.
18599 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18601 # Variables whose values should be saved in libtool wrapper scripts and
18602 # restored at link time.
18603 variables_saved_for_relink=$lt_variables_saved_for_relink
18605 # Do we need the "lib" prefix for modules?
18606 need_lib_prefix=$need_lib_prefix
18608 # Do we need a version for libraries?
18609 need_version=$need_version
18611 # Library versioning type.
18612 version_type=$version_type
18614 # Shared library runtime path variable.
18615 runpath_var=$runpath_var
18617 # Shared library path variable.
18618 shlibpath_var=$shlibpath_var
18620 # Is shlibpath searched before the hard-coded library search path?
18621 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18623 # Format of library name prefix.
18624 libname_spec=$lt_libname_spec
18626 # List of archive names. First name is the real one, the rest are links.
18627 # The last name is the one that the linker finds with -lNAME
18628 library_names_spec=$lt_library_names_spec
18630 # The coded name of the library, if different from the real name.
18631 soname_spec=$lt_soname_spec
18633 # Permission mode override for installation of shared libraries.
18634 install_override_mode=$lt_install_override_mode
18636 # Command to use after installation of a shared archive.
18637 postinstall_cmds=$lt_postinstall_cmds
18639 # Command to use after uninstallation of a shared archive.
18640 postuninstall_cmds=$lt_postuninstall_cmds
18642 # Commands used to finish a libtool library installation in a directory.
18643 finish_cmds=$lt_finish_cmds
18645 # As "finish_cmds", except a single script fragment to be evaled but
18647 finish_eval=$lt_finish_eval
18649 # Whether we should hardcode library paths into libraries.
18650 hardcode_into_libs=$hardcode_into_libs
18652 # Compile-time system search path for libraries.
18653 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18655 # Detected run-time system search path for libraries.
18656 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
18658 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
18659 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
18661 # Whether dlopen is supported.
18662 dlopen_support=$enable_dlopen
18664 # Whether dlopen of programs is supported.
18665 dlopen_self=$enable_dlopen_self
18667 # Whether dlopen of statically linked programs is supported.
18668 dlopen_self_static=$enable_dlopen_self_static
18670 # Commands to strip libraries.
18671 old_striplib=$lt_old_striplib
18672 striplib=$lt_striplib
18675 # The linker used to build libraries.
18678 # How to create reloadable object files.
18679 reload_flag=$lt_reload_flag
18680 reload_cmds=$lt_reload_cmds
18682 # Commands used to build an old-style archive.
18683 old_archive_cmds=$lt_old_archive_cmds
18685 # A language specific compiler.
18688 # Is the compiler the GNU compiler?
18691 # Compiler flag to turn off builtin functions.
18692 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18694 # Additional compiler flags for building library objects.
18695 pic_flag=$lt_lt_prog_compiler_pic
18697 # How to pass a linker flag through the compiler.
18698 wl=$lt_lt_prog_compiler_wl
18700 # Compiler flag to prevent dynamic linking.
18701 link_static_flag=$lt_lt_prog_compiler_static
18703 # Does compiler simultaneously support -c and -o options?
18704 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18706 # Whether or not to add -lc for building shared libraries.
18707 build_libtool_need_lc=$archive_cmds_need_lc
18709 # Whether or not to disallow shared libs when runtime libs are static.
18710 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18712 # Compiler flag to allow reflexive dlopens.
18713 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18715 # Compiler flag to generate shared objects directly from archives.
18716 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18718 # Whether the compiler copes with passing no objects directly.
18719 compiler_needs_object=$lt_compiler_needs_object
18721 # Create an old-style archive from a shared archive.
18722 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18724 # Create a temporary old-style archive to link instead of a shared archive.
18725 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18727 # Commands used to build a shared archive.
18728 archive_cmds=$lt_archive_cmds
18729 archive_expsym_cmds=$lt_archive_expsym_cmds
18731 # Commands used to build a loadable module if different from building
18732 # a shared archive.
18733 module_cmds=$lt_module_cmds
18734 module_expsym_cmds=$lt_module_expsym_cmds
18736 # Whether we are building with GNU ld or not.
18737 with_gnu_ld=$lt_with_gnu_ld
18739 # Flag that allows shared libraries with undefined symbols to be built.
18740 allow_undefined_flag=$lt_allow_undefined_flag
18742 # Flag that enforces no undefined symbols.
18743 no_undefined_flag=$lt_no_undefined_flag
18745 # Flag to hardcode \$libdir into a binary during linking.
18746 # This must work even if \$libdir does not exist
18747 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18749 # Whether we need a single "-rpath" flag with a separated argument.
18750 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18752 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
18753 # DIR into the resulting binary.
18754 hardcode_direct=$hardcode_direct
18756 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
18757 # DIR into the resulting binary and the resulting library dependency is
18758 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
18759 # library is relocated.
18760 hardcode_direct_absolute=$hardcode_direct_absolute
18762 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18763 # into the resulting binary.
18764 hardcode_minus_L=$hardcode_minus_L
18766 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18767 # into the resulting binary.
18768 hardcode_shlibpath_var=$hardcode_shlibpath_var
18770 # Set to "yes" if building a shared library automatically hardcodes DIR
18771 # into the library and all subsequent libraries and executables linked
18773 hardcode_automatic=$hardcode_automatic
18775 # Set to yes if linker adds runtime paths of dependent libraries
18776 # to runtime path list.
18777 inherit_rpath=$inherit_rpath
18779 # Whether libtool must link a program against all its dependency libraries.
18780 link_all_deplibs=$link_all_deplibs
18782 # Set to "yes" if exported symbols are required.
18783 always_export_symbols=$always_export_symbols
18785 # The commands to list exported symbols.
18786 export_symbols_cmds=$lt_export_symbols_cmds
18788 # Symbols that should not be listed in the preloaded symbols.
18789 exclude_expsyms=$lt_exclude_expsyms
18791 # Symbols that must always be exported.
18792 include_expsyms=$lt_include_expsyms
18794 # Commands necessary for linking programs (against libraries) with templates.
18795 prelink_cmds=$lt_prelink_cmds
18797 # Commands necessary for finishing linking programs.
18798 postlink_cmds=$lt_postlink_cmds
18800 # Specify filename containing input files.
18801 file_list_spec=$lt_file_list_spec
18803 # How to hardcode a shared library path into an executable.
18804 hardcode_action=$hardcode_action
18806 # The directories searched by this compiler when creating a shared library.
18807 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
18809 # Dependencies to place before and after the objects being linked to
18810 # create a shared library.
18811 predep_objects=$lt_predep_objects
18812 postdep_objects=$lt_postdep_objects
18813 predeps=$lt_predeps
18814 postdeps=$lt_postdeps
18816 # The library search path used internally by the compiler when linking
18817 # a shared library.
18818 compiler_lib_search_path=$lt_compiler_lib_search_path
18820 # ### END LIBTOOL CONFIG
18824 cat <<'_LT_EOF' >> "$cfgfile"
18826 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
18828 # func_munge_path_list VARIABLE PATH
18829 # -----------------------------------
18830 # VARIABLE is name of variable containing _space_ separated list of
18831 # directories to be munged by the contents of PATH, which is string
18834 # string "DIR[ DIR]" will be prepended to VARIABLE
18836 # string "DIR[ DIR]" will be appended to VARIABLE
18837 # "DIRP[:DIRP]::[DIRA:]DIRA"
18838 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
18839 # "DIRA[ DIRA]" will be appended to VARIABLE
18841 # VARIABLE will be replaced by "DIR[ DIR]"
18842 func_munge_path_list ()
18848 eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'` \@S|@@S|@1\"
18851 eval @S|@1=\"\@S|@@S|@1 `$ECHO @S|@2 | $SED 's/:/ /g'`\"
18854 eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
18855 eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\"
18858 eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'`\"
18864 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
18865 func_cc_basename ()
18867 for cc_temp in @S|@*""; do
18869 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18870 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18875 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
18879 # ### END FUNCTIONS SHARED WITH CONFIGURE
18885 cat <<\_LT_EOF >> "$cfgfile"
18886 # AIX sometimes has problems with the GCC collect2 program. For some
18887 # reason, if we set the COLLECT_NAMES environment variable, the problems
18888 # vanish in a puff of smoke.
18889 if test set != "${COLLECT_NAMES+set}"; then
18891 export COLLECT_NAMES
18898 ltmain=$ac_aux_dir/ltmain.sh
18901 # We use sed instead of cat because bash on DJGPP gets confused if
18902 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18903 # text mode, it properly converts lines to CR/LF. This bash problem
18904 # is reportedly fixed, but why not run on old versions too?
18905 sed '$q' "$ltmain" >> "$cfgfile" \
18906 || (rm -f "$cfgfile"; exit 1)
18908 mv -f "$cfgfile" "$ofile" ||
18909 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18913 cat <<_LT_EOF >> "$ofile"
18915 # ### BEGIN LIBTOOL TAG CONFIG: CXX
18917 # The linker used to build libraries.
18920 # How to create reloadable object files.
18921 reload_flag=$lt_reload_flag_CXX
18922 reload_cmds=$lt_reload_cmds_CXX
18924 # Commands used to build an old-style archive.
18925 old_archive_cmds=$lt_old_archive_cmds_CXX
18927 # A language specific compiler.
18928 CC=$lt_compiler_CXX
18930 # Is the compiler the GNU compiler?
18933 # Compiler flag to turn off builtin functions.
18934 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
18936 # Additional compiler flags for building library objects.
18937 pic_flag=$lt_lt_prog_compiler_pic_CXX
18939 # How to pass a linker flag through the compiler.
18940 wl=$lt_lt_prog_compiler_wl_CXX
18942 # Compiler flag to prevent dynamic linking.
18943 link_static_flag=$lt_lt_prog_compiler_static_CXX
18945 # Does compiler simultaneously support -c and -o options?
18946 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
18948 # Whether or not to add -lc for building shared libraries.
18949 build_libtool_need_lc=$archive_cmds_need_lc_CXX
18951 # Whether or not to disallow shared libs when runtime libs are static.
18952 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
18954 # Compiler flag to allow reflexive dlopens.
18955 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
18957 # Compiler flag to generate shared objects directly from archives.
18958 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
18960 # Whether the compiler copes with passing no objects directly.
18961 compiler_needs_object=$lt_compiler_needs_object_CXX
18963 # Create an old-style archive from a shared archive.
18964 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
18966 # Create a temporary old-style archive to link instead of a shared archive.
18967 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
18969 # Commands used to build a shared archive.
18970 archive_cmds=$lt_archive_cmds_CXX
18971 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
18973 # Commands used to build a loadable module if different from building
18974 # a shared archive.
18975 module_cmds=$lt_module_cmds_CXX
18976 module_expsym_cmds=$lt_module_expsym_cmds_CXX
18978 # Whether we are building with GNU ld or not.
18979 with_gnu_ld=$lt_with_gnu_ld_CXX
18981 # Flag that allows shared libraries with undefined symbols to be built.
18982 allow_undefined_flag=$lt_allow_undefined_flag_CXX
18984 # Flag that enforces no undefined symbols.
18985 no_undefined_flag=$lt_no_undefined_flag_CXX
18987 # Flag to hardcode \$libdir into a binary during linking.
18988 # This must work even if \$libdir does not exist
18989 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
18991 # Whether we need a single "-rpath" flag with a separated argument.
18992 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
18994 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
18995 # DIR into the resulting binary.
18996 hardcode_direct=$hardcode_direct_CXX
18998 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
18999 # DIR into the resulting binary and the resulting library dependency is
19000 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
19001 # library is relocated.
19002 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
19004 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19005 # into the resulting binary.
19006 hardcode_minus_L=$hardcode_minus_L_CXX
19008 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19009 # into the resulting binary.
19010 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
19012 # Set to "yes" if building a shared library automatically hardcodes DIR
19013 # into the library and all subsequent libraries and executables linked
19015 hardcode_automatic=$hardcode_automatic_CXX
19017 # Set to yes if linker adds runtime paths of dependent libraries
19018 # to runtime path list.
19019 inherit_rpath=$inherit_rpath_CXX
19021 # Whether libtool must link a program against all its dependency libraries.
19022 link_all_deplibs=$link_all_deplibs_CXX
19024 # Set to "yes" if exported symbols are required.
19025 always_export_symbols=$always_export_symbols_CXX
19027 # The commands to list exported symbols.
19028 export_symbols_cmds=$lt_export_symbols_cmds_CXX
19030 # Symbols that should not be listed in the preloaded symbols.
19031 exclude_expsyms=$lt_exclude_expsyms_CXX
19033 # Symbols that must always be exported.
19034 include_expsyms=$lt_include_expsyms_CXX
19036 # Commands necessary for linking programs (against libraries) with templates.
19037 prelink_cmds=$lt_prelink_cmds_CXX
19039 # Commands necessary for finishing linking programs.
19040 postlink_cmds=$lt_postlink_cmds_CXX
19042 # Specify filename containing input files.
19043 file_list_spec=$lt_file_list_spec_CXX
19045 # How to hardcode a shared library path into an executable.
19046 hardcode_action=$hardcode_action_CXX
19048 # The directories searched by this compiler when creating a shared library.
19049 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
19051 # Dependencies to place before and after the objects being linked to
19052 # create a shared library.
19053 predep_objects=$lt_predep_objects_CXX
19054 postdep_objects=$lt_postdep_objects_CXX
19055 predeps=$lt_predeps_CXX
19056 postdeps=$lt_postdeps_CXX
19058 # The library search path used internally by the compiler when linking
19059 # a shared library.
19060 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19062 # ### END LIBTOOL TAG CONFIG: CXX
19073 ac_clean_files=$ac_clean_files_save
19075 test $ac_write_fail = 0 ||
19076 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19079 # configure is writing to config.log, and then calls config.status.
19080 # config.status does its own redirection, appending to config.log.
19081 # Unfortunately, on DOS this fails, as config.log is still kept open
19082 # by configure, so config.status won't be able to write to it; its
19083 # output is simply discarded. So we exec the FD to /dev/null,
19084 # effectively closing config.log, so it can be properly (re)opened and
19085 # appended to by config.status. When coming back to configure, we
19086 # need to make the FD available again.
19087 if test "$no_create" != yes; then
19089 ac_config_status_args=
19090 test "$silent" = yes &&
19091 ac_config_status_args="$ac_config_status_args --quiet"
19093 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19095 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19096 # would make configure fail if this is the last instruction.
19097 $ac_cs_success || as_fn_exit 1
19099 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19101 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}