1 #! /data/data/com.termux/files/usr/bin/sh
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 <arjen@androemda.nl>.
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 #(
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=.
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 arjen@androemda.nl
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-/data/data/com.termux/files/usr/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 $? to STATUS, without forking.
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
325 # Create "$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
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385 eval 'as_fn_append ()
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) 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 $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='arjen@androemda.nl'
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
707 INSTALL_STRIP_PROGRAM
749 program_transform_name
763 enable_option_checking
765 enable_dependency_tracking
775 ac_precious_vars='build_alias
791 # Initialize some variables set by options.
793 ac_init_version=false
794 ac_unrecognized_opts=
796 # The variables have the same names as the options, with
797 # dashes changed to underlines.
805 program_transform_name=s,x,x,
813 # Installation directory options.
814 # These are left unexpanded so users can "make install exec_prefix=/foo"
815 # and all the variables that are supposed to be based on exec_prefix
816 # by default will actually change.
817 # Use braces instead of parens because sh, perl, etc. also accept them.
818 # (The list follows the same order as the GNU Coding Standards.)
819 bindir='${exec_prefix}/bin'
820 sbindir='${exec_prefix}/sbin'
821 libexecdir='${exec_prefix}/libexec'
822 datarootdir='${prefix}/share'
823 datadir='${datarootdir}'
824 sysconfdir='${prefix}/etc'
825 sharedstatedir='${prefix}/com'
826 localstatedir='${prefix}/var'
827 includedir='${prefix}/include'
828 oldincludedir='/usr/include'
829 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
830 infodir='${datarootdir}/info'
835 libdir='${exec_prefix}/lib'
836 localedir='${datarootdir}/locale'
837 mandir='${datarootdir}/man'
843 # If the previous option needs an argument, assign it.
844 if test -n "$ac_prev"; then
845 eval $ac_prev=\$ac_option
851 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
856 # Accept the important Cygnus configure options, so we can diagnose typos.
858 case $ac_dashdash$ac_option in
862 -bindir | --bindir | --bindi | --bind | --bin | --bi)
864 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
867 -build | --build | --buil | --bui | --bu)
868 ac_prev=build_alias ;;
869 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
870 build_alias=$ac_optarg ;;
872 -cache-file | --cache-file | --cache-fil | --cache-fi \
873 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
874 ac_prev=cache_file ;;
875 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
876 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
877 cache_file=$ac_optarg ;;
880 cache_file=config.cache ;;
882 -datadir | --datadir | --datadi | --datad)
884 -datadir=* | --datadir=* | --datadi=* | --datad=*)
885 datadir=$ac_optarg ;;
887 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
888 | --dataroo | --dataro | --datar)
889 ac_prev=datarootdir ;;
890 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
891 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
892 datarootdir=$ac_optarg ;;
894 -disable-* | --disable-*)
895 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
896 # Reject names that are not valid shell variable names.
897 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
898 as_fn_error $? "invalid feature name: $ac_useropt"
899 ac_useropt_orig=$ac_useropt
900 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
901 case $ac_user_opts in
905 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
906 ac_unrecognized_sep=', ';;
908 eval enable_$ac_useropt=no ;;
910 -docdir | --docdir | --docdi | --doc | --do)
912 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
915 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
917 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
920 -enable-* | --enable-*)
921 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
922 # Reject names that are not valid shell variable names.
923 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
924 as_fn_error $? "invalid feature name: $ac_useropt"
925 ac_useropt_orig=$ac_useropt
926 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
927 case $ac_user_opts in
931 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
932 ac_unrecognized_sep=', ';;
934 eval enable_$ac_useropt=\$ac_optarg ;;
936 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
937 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
938 | --exec | --exe | --ex)
939 ac_prev=exec_prefix ;;
940 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
941 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
942 | --exec=* | --exe=* | --ex=*)
943 exec_prefix=$ac_optarg ;;
945 -gas | --gas | --ga | --g)
946 # Obsolete; use --with-gas.
949 -help | --help | --hel | --he | -h)
951 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
952 ac_init_help=recursive ;;
953 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
954 ac_init_help=short ;;
956 -host | --host | --hos | --ho)
957 ac_prev=host_alias ;;
958 -host=* | --host=* | --hos=* | --ho=*)
959 host_alias=$ac_optarg ;;
961 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
963 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
965 htmldir=$ac_optarg ;;
967 -includedir | --includedir | --includedi | --included | --include \
968 | --includ | --inclu | --incl | --inc)
969 ac_prev=includedir ;;
970 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
971 | --includ=* | --inclu=* | --incl=* | --inc=*)
972 includedir=$ac_optarg ;;
974 -infodir | --infodir | --infodi | --infod | --info | --inf)
976 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
977 infodir=$ac_optarg ;;
979 -libdir | --libdir | --libdi | --libd)
981 -libdir=* | --libdir=* | --libdi=* | --libd=*)
984 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
985 | --libexe | --libex | --libe)
986 ac_prev=libexecdir ;;
987 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
988 | --libexe=* | --libex=* | --libe=*)
989 libexecdir=$ac_optarg ;;
991 -localedir | --localedir | --localedi | --localed | --locale)
993 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
994 localedir=$ac_optarg ;;
996 -localstatedir | --localstatedir | --localstatedi | --localstated \
997 | --localstate | --localstat | --localsta | --localst | --locals)
998 ac_prev=localstatedir ;;
999 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1000 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1001 localstatedir=$ac_optarg ;;
1003 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1005 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1006 mandir=$ac_optarg ;;
1008 -nfp | --nfp | --nf)
1009 # Obsolete; use --without-fp.
1012 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1013 | --no-cr | --no-c | -n)
1016 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1017 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1020 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1021 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1022 | --oldin | --oldi | --old | --ol | --o)
1023 ac_prev=oldincludedir ;;
1024 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1025 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1026 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1027 oldincludedir=$ac_optarg ;;
1029 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1031 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1032 prefix=$ac_optarg ;;
1034 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1035 | --program-pre | --program-pr | --program-p)
1036 ac_prev=program_prefix ;;
1037 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1038 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1039 program_prefix=$ac_optarg ;;
1041 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1042 | --program-suf | --program-su | --program-s)
1043 ac_prev=program_suffix ;;
1044 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1045 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1046 program_suffix=$ac_optarg ;;
1048 -program-transform-name | --program-transform-name \
1049 | --program-transform-nam | --program-transform-na \
1050 | --program-transform-n | --program-transform- \
1051 | --program-transform | --program-transfor \
1052 | --program-transfo | --program-transf \
1053 | --program-trans | --program-tran \
1054 | --progr-tra | --program-tr | --program-t)
1055 ac_prev=program_transform_name ;;
1056 -program-transform-name=* | --program-transform-name=* \
1057 | --program-transform-nam=* | --program-transform-na=* \
1058 | --program-transform-n=* | --program-transform-=* \
1059 | --program-transform=* | --program-transfor=* \
1060 | --program-transfo=* | --program-transf=* \
1061 | --program-trans=* | --program-tran=* \
1062 | --progr-tra=* | --program-tr=* | --program-t=*)
1063 program_transform_name=$ac_optarg ;;
1065 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1067 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1068 pdfdir=$ac_optarg ;;
1070 -psdir | --psdir | --psdi | --psd | --ps)
1072 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1075 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1076 | -silent | --silent | --silen | --sile | --sil)
1079 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1081 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1083 sbindir=$ac_optarg ;;
1085 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1086 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1087 | --sharedst | --shareds | --shared | --share | --shar \
1089 ac_prev=sharedstatedir ;;
1090 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1091 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1092 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1094 sharedstatedir=$ac_optarg ;;
1096 -site | --site | --sit)
1098 -site=* | --site=* | --sit=*)
1101 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1103 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1104 srcdir=$ac_optarg ;;
1106 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1107 | --syscon | --sysco | --sysc | --sys | --sy)
1108 ac_prev=sysconfdir ;;
1109 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1110 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1111 sysconfdir=$ac_optarg ;;
1113 -target | --target | --targe | --targ | --tar | --ta | --t)
1114 ac_prev=target_alias ;;
1115 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1116 target_alias=$ac_optarg ;;
1118 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1121 -version | --version | --versio | --versi | --vers | -V)
1122 ac_init_version=: ;;
1125 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1126 # Reject names that are not valid shell variable names.
1127 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1128 as_fn_error $? "invalid package name: $ac_useropt"
1129 ac_useropt_orig=$ac_useropt
1130 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1131 case $ac_user_opts in
1135 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1136 ac_unrecognized_sep=', ';;
1138 eval with_$ac_useropt=\$ac_optarg ;;
1140 -without-* | --without-*)
1141 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1142 # Reject names that are not valid shell variable names.
1143 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1144 as_fn_error $? "invalid package name: $ac_useropt"
1145 ac_useropt_orig=$ac_useropt
1146 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1147 case $ac_user_opts in
1151 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1152 ac_unrecognized_sep=', ';;
1154 eval with_$ac_useropt=no ;;
1157 # Obsolete; use --with-x.
1160 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1161 | --x-incl | --x-inc | --x-in | --x-i)
1162 ac_prev=x_includes ;;
1163 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1164 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1165 x_includes=$ac_optarg ;;
1167 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1168 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1169 ac_prev=x_libraries ;;
1170 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1171 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1172 x_libraries=$ac_optarg ;;
1174 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1175 Try \`$0 --help' for more information"
1179 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1180 # Reject names that are not valid shell variable names.
1181 case $ac_envvar in #(
1182 '' | [0-9]* | *[!_$as_cr_alnum]* )
1183 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1185 eval $ac_envvar=\$ac_optarg
1186 export $ac_envvar ;;
1189 # FIXME: should be removed in autoconf 3.0.
1190 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1191 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1192 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1193 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1199 if test -n "$ac_prev"; then
1200 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1201 as_fn_error $? "missing argument to $ac_option"
1204 if test -n "$ac_unrecognized_opts"; then
1205 case $enable_option_checking in
1207 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1208 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1212 # Check all directory arguments for consistency.
1213 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1214 datadir sysconfdir sharedstatedir localstatedir includedir \
1215 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1216 libdir localedir mandir
1218 eval ac_val=\$$ac_var
1219 # Remove trailing slashes.
1222 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1223 eval $ac_var=\$ac_val;;
1225 # Be sure to have absolute directory names.
1227 [\\/$]* | ?:[\\/]* ) continue;;
1228 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1230 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1233 # There might be people who depend on the old broken behavior: `$host'
1234 # used to hold the argument of --host etc.
1235 # FIXME: To remove some day.
1238 target=$target_alias
1240 # FIXME: To remove some day.
1241 if test "x$host_alias" != x; then
1242 if test "x$build_alias" = x; then
1243 cross_compiling=maybe
1244 elif test "x$build_alias" != "x$host_alias"; then
1250 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1252 test "$silent" = yes && exec 6>/dev/null
1255 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1256 ac_ls_di=`ls -di .` &&
1257 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1258 as_fn_error $? "working directory cannot be determined"
1259 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1260 as_fn_error $? "pwd does not report name of working directory"
1263 # Find the source files, if location was not specified.
1264 if test -z "$srcdir"; then
1265 ac_srcdir_defaulted=yes
1266 # Try the directory containing this script, then the parent directory.
1267 ac_confdir=`$as_dirname -- "$as_myself" ||
1268 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1269 X"$as_myself" : 'X\(//\)[^/]' \| \
1270 X"$as_myself" : 'X\(//\)$' \| \
1271 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1272 $as_echo X"$as_myself" |
1273 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1291 if test ! -r "$srcdir/$ac_unique_file"; then
1295 ac_srcdir_defaulted=no
1297 if test ! -r "$srcdir/$ac_unique_file"; then
1298 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1299 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1301 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1303 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1305 # When building in place, set srcdir=.
1306 if test "$ac_abs_confdir" = "$ac_pwd"; then
1309 # Remove unnecessary trailing slashes from srcdir.
1310 # Double slashes in file names in object file debugging info
1311 # mess up M-x gdb in Emacs.
1313 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1315 for ac_var in $ac_precious_vars; do
1316 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1317 eval ac_env_${ac_var}_value=\$${ac_var}
1318 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1319 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1323 # Report the --help message.
1325 if test "$ac_init_help" = "long"; then
1326 # Omit some internal or obsolete options to make the list less imposing.
1327 # This message is too long to be a string in the A/UX 3.1 sh.
1329 \`configure' configures ACL - Andromeda Class Library 0.1 to adapt to many kinds of systems.
1331 Usage: $0 [OPTION]... [VAR=VALUE]...
1333 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1334 VAR=VALUE. See below for descriptions of some of the useful variables.
1336 Defaults for the options are specified in brackets.
1339 -h, --help display this help and exit
1340 --help=short display options specific to this package
1341 --help=recursive display the short help of all the included packages
1342 -V, --version display version information and exit
1343 -q, --quiet, --silent do not print \`checking ...' messages
1344 --cache-file=FILE cache test results in FILE [disabled]
1345 -C, --config-cache alias for \`--cache-file=config.cache'
1346 -n, --no-create do not create output files
1347 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1349 Installation directories:
1350 --prefix=PREFIX install architecture-independent files in PREFIX
1351 [$ac_default_prefix]
1352 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1355 By default, \`make install' will install all the files in
1356 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1357 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1358 for instance \`--prefix=\$HOME'.
1360 For better control, use the options below.
1362 Fine tuning of the installation directories:
1363 --bindir=DIR user executables [EPREFIX/bin]
1364 --sbindir=DIR system admin executables [EPREFIX/sbin]
1365 --libexecdir=DIR program executables [EPREFIX/libexec]
1366 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1367 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1368 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1369 --libdir=DIR object code libraries [EPREFIX/lib]
1370 --includedir=DIR C header files [PREFIX/include]
1371 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1372 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1373 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1374 --infodir=DIR info documentation [DATAROOTDIR/info]
1375 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1376 --mandir=DIR man documentation [DATAROOTDIR/man]
1377 --docdir=DIR documentation root
1378 [DATAROOTDIR/doc/acl---andromeda-class-library]
1379 --htmldir=DIR html documentation [DOCDIR]
1380 --dvidir=DIR dvi documentation [DOCDIR]
1381 --pdfdir=DIR pdf documentation [DOCDIR]
1382 --psdir=DIR ps documentation [DOCDIR]
1388 --program-prefix=PREFIX prepend PREFIX to installed program names
1389 --program-suffix=SUFFIX append SUFFIX to installed program names
1390 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1393 --build=BUILD configure for building on BUILD [guessed]
1394 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1398 if test -n "$ac_init_help"; then
1399 case $ac_init_help in
1400 short | recursive ) echo "Configuration of ACL - Andromeda Class Library 0.1:";;
1405 --disable-option-checking ignore unrecognized --enable/--with options
1406 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1407 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1408 --enable-silent-rules less verbose build output (undo: "make V=1")
1409 --disable-silent-rules verbose build output (undo: "make V=0")
1410 --enable-dependency-tracking
1411 do not reject slow dependency extractors
1412 --disable-dependency-tracking
1413 speeds up one-time build
1414 --enable-shared[=PKGS] build shared libraries [default=yes]
1415 --enable-static[=PKGS] build static libraries [default=yes]
1416 --enable-fast-install[=PKGS]
1417 optimize for fast installation [default=yes]
1418 --disable-libtool-lock avoid locking (might break parallel builds)
1421 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1422 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1423 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1425 --with-aix-soname=aix|svr4|both
1426 shared library versioning (aka "SONAME") variant to
1427 provide on AIX, [default=aix].
1428 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1429 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1430 compiler's sysroot if not specified).
1432 Some influential environment variables:
1433 CXX C++ compiler command
1434 CXXFLAGS C++ compiler flags
1435 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1436 nonstandard directory <lib dir>
1437 LIBS libraries to pass to the linker, e.g. -l<library>
1438 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1439 you have headers in a nonstandard directory <include dir>
1440 CC C compiler command
1441 CFLAGS C compiler flags
1444 User-defined run-time library search path.
1445 CXXCPP C++ preprocessor
1447 Use these variables to override the choices made by `configure' or to help
1448 it to find libraries and programs with nonstandard names/locations.
1450 Report bugs to <arjen@androemda.nl>.
1455 if test "$ac_init_help" = "recursive"; then
1456 # If there are subdirs, report their specific --help.
1457 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1458 test -d "$ac_dir" ||
1459 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1464 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1466 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1467 # A ".." for each directory in $ac_dir_suffix.
1468 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1469 case $ac_top_builddir_sub in
1470 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1471 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1474 ac_abs_top_builddir=$ac_pwd
1475 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1476 # for backward compatibility:
1477 ac_top_builddir=$ac_top_build_prefix
1480 .) # We are building in place.
1482 ac_top_srcdir=$ac_top_builddir_sub
1483 ac_abs_top_srcdir=$ac_pwd ;;
1484 [\\/]* | ?:[\\/]* ) # Absolute name.
1485 ac_srcdir=$srcdir$ac_dir_suffix;
1486 ac_top_srcdir=$srcdir
1487 ac_abs_top_srcdir=$srcdir ;;
1489 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1490 ac_top_srcdir=$ac_top_build_prefix$srcdir
1491 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1493 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1495 cd "$ac_dir" || { ac_status=$?; continue; }
1496 # Check for guested configure.
1497 if test -f "$ac_srcdir/configure.gnu"; then
1499 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1500 elif test -f "$ac_srcdir/configure"; then
1502 $SHELL "$ac_srcdir/configure" --help=recursive
1504 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1506 cd "$ac_pwd" || { ac_status=$?; break; }
1510 test -n "$ac_init_help" && exit $ac_status
1511 if $ac_init_version; then
1513 ACL - Andromeda Class Library configure 0.1
1514 generated by GNU Autoconf 2.69
1516 Copyright (C) 2012 Free Software Foundation, Inc.
1517 This configure script is free software; the Free Software Foundation
1518 gives unlimited permission to copy, distribute and modify it.
1523 ## ------------------------ ##
1524 ## Autoconf initialization. ##
1525 ## ------------------------ ##
1527 # ac_fn_cxx_try_compile LINENO
1528 # ----------------------------
1529 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1530 ac_fn_cxx_try_compile ()
1532 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1533 rm -f conftest.$ac_objext
1534 if { { ac_try="$ac_compile"
1536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1537 *) ac_try_echo=$ac_try;;
1539 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1540 $as_echo "$ac_try_echo"; } >&5
1541 (eval "$ac_compile") 2>conftest.err
1543 if test -s conftest.err; then
1544 grep -v '^ *+' conftest.err >conftest.er1
1545 cat conftest.er1 >&5
1546 mv -f conftest.er1 conftest.err
1548 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1549 test $ac_status = 0; } && {
1550 test -z "$ac_cxx_werror_flag" ||
1551 test ! -s conftest.err
1552 } && test -s conftest.$ac_objext; then :
1555 $as_echo "$as_me: failed program was:" >&5
1556 sed 's/^/| /' conftest.$ac_ext >&5
1560 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1561 as_fn_set_status $ac_retval
1563 } # ac_fn_cxx_try_compile
1565 # ac_fn_c_try_compile LINENO
1566 # --------------------------
1567 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1568 ac_fn_c_try_compile ()
1570 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1571 rm -f conftest.$ac_objext
1572 if { { ac_try="$ac_compile"
1574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1575 *) ac_try_echo=$ac_try;;
1577 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1578 $as_echo "$ac_try_echo"; } >&5
1579 (eval "$ac_compile") 2>conftest.err
1581 if test -s conftest.err; then
1582 grep -v '^ *+' conftest.err >conftest.er1
1583 cat conftest.er1 >&5
1584 mv -f conftest.er1 conftest.err
1586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1587 test $ac_status = 0; } && {
1588 test -z "$ac_c_werror_flag" ||
1589 test ! -s conftest.err
1590 } && test -s conftest.$ac_objext; then :
1593 $as_echo "$as_me: failed program was:" >&5
1594 sed 's/^/| /' conftest.$ac_ext >&5
1598 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1599 as_fn_set_status $ac_retval
1601 } # ac_fn_c_try_compile
1603 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1604 # -------------------------------------------
1605 # Tests whether TYPE exists after having included INCLUDES, setting cache
1606 # variable VAR accordingly.
1607 ac_fn_c_check_type ()
1609 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1611 $as_echo_n "checking for $2... " >&6; }
1612 if eval \${$3+:} false; then :
1613 $as_echo_n "(cached) " >&6
1616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1617 /* end confdefs.h. */
1628 if ac_fn_c_try_compile "$LINENO"; then :
1629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1630 /* end confdefs.h. */
1641 if ac_fn_c_try_compile "$LINENO"; then :
1646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1652 $as_echo "$ac_res" >&6; }
1653 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1655 } # ac_fn_c_check_type
1657 # ac_fn_c_try_cpp LINENO
1658 # ----------------------
1659 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1662 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1663 if { { ac_try="$ac_cpp conftest.$ac_ext"
1665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1666 *) ac_try_echo=$ac_try;;
1668 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1669 $as_echo "$ac_try_echo"; } >&5
1670 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1672 if test -s conftest.err; then
1673 grep -v '^ *+' conftest.err >conftest.er1
1674 cat conftest.er1 >&5
1675 mv -f conftest.er1 conftest.err
1677 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1678 test $ac_status = 0; } > conftest.i && {
1679 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1680 test ! -s conftest.err
1684 $as_echo "$as_me: failed program was:" >&5
1685 sed 's/^/| /' conftest.$ac_ext >&5
1689 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1690 as_fn_set_status $ac_retval
1694 # ac_fn_c_try_run LINENO
1695 # ----------------------
1696 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1697 # that executables *can* be run.
1700 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1701 if { { ac_try="$ac_link"
1703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1704 *) ac_try_echo=$ac_try;;
1706 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1707 $as_echo "$ac_try_echo"; } >&5
1708 (eval "$ac_link") 2>&5
1710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1711 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1712 { { case "(($ac_try" in
1713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1714 *) ac_try_echo=$ac_try;;
1716 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1717 $as_echo "$ac_try_echo"; } >&5
1718 (eval "$ac_try") 2>&5
1720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1721 test $ac_status = 0; }; }; then :
1724 $as_echo "$as_me: program exited with status $ac_status" >&5
1725 $as_echo "$as_me: failed program was:" >&5
1726 sed 's/^/| /' conftest.$ac_ext >&5
1728 ac_retval=$ac_status
1730 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1731 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1732 as_fn_set_status $ac_retval
1736 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1737 # -------------------------------------------------------
1738 # Tests whether HEADER exists and can be compiled using the include files in
1739 # INCLUDES, setting the cache variable VAR accordingly.
1740 ac_fn_c_check_header_compile ()
1742 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1744 $as_echo_n "checking for $2... " >&6; }
1745 if eval \${$3+:} false; then :
1746 $as_echo_n "(cached) " >&6
1748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1749 /* end confdefs.h. */
1753 if ac_fn_c_try_compile "$LINENO"; then :
1758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1762 $as_echo "$ac_res" >&6; }
1763 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1765 } # ac_fn_c_check_header_compile
1767 # ac_fn_c_try_link LINENO
1768 # -----------------------
1769 # Try to link conftest.$ac_ext, and return whether this succeeded.
1772 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1773 rm -f conftest.$ac_objext conftest$ac_exeext
1774 if { { ac_try="$ac_link"
1776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1777 *) ac_try_echo=$ac_try;;
1779 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1780 $as_echo "$ac_try_echo"; } >&5
1781 (eval "$ac_link") 2>conftest.err
1783 if test -s conftest.err; then
1784 grep -v '^ *+' conftest.err >conftest.er1
1785 cat conftest.er1 >&5
1786 mv -f conftest.er1 conftest.err
1788 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1789 test $ac_status = 0; } && {
1790 test -z "$ac_c_werror_flag" ||
1791 test ! -s conftest.err
1792 } && test -s conftest$ac_exeext && {
1793 test "$cross_compiling" = yes ||
1794 test -x conftest$ac_exeext
1798 $as_echo "$as_me: failed program was:" >&5
1799 sed 's/^/| /' conftest.$ac_ext >&5
1803 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1804 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1805 # interfere with the next link command; also delete a directory that is
1806 # left behind by Apple's compiler. We do this before executing the actions.
1807 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1808 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1809 as_fn_set_status $ac_retval
1811 } # ac_fn_c_try_link
1813 # ac_fn_c_check_func LINENO FUNC VAR
1814 # ----------------------------------
1815 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1816 ac_fn_c_check_func ()
1818 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1820 $as_echo_n "checking for $2... " >&6; }
1821 if eval \${$3+:} false; then :
1822 $as_echo_n "(cached) " >&6
1824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1825 /* end confdefs.h. */
1826 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1827 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1828 #define $2 innocuous_$2
1830 /* System header to define __stub macros and hopefully few prototypes,
1831 which can conflict with char $2 (); below.
1832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1833 <limits.h> exists even on freestanding compilers. */
1836 # include <limits.h>
1838 # include <assert.h>
1843 /* Override any GCC internal prototype to avoid an error.
1844 Use char because int might match the return type of a GCC
1845 builtin and then its argument prototype would still apply. */
1850 /* The GNU C library defines this for functions which it implements
1851 to always fail with ENOSYS. Some functions are actually named
1852 something starting with __ and the normal name is an alias. */
1853 #if defined __stub_$2 || defined __stub___$2
1865 if ac_fn_c_try_link "$LINENO"; then :
1870 rm -f core conftest.err conftest.$ac_objext \
1871 conftest$ac_exeext conftest.$ac_ext
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1875 $as_echo "$ac_res" >&6; }
1876 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1878 } # ac_fn_c_check_func
1880 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1881 # -------------------------------------------------------
1882 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1883 # the include files in INCLUDES and setting the cache variable VAR
1885 ac_fn_c_check_header_mongrel ()
1887 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1888 if eval \${$3+:} false; then :
1889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1890 $as_echo_n "checking for $2... " >&6; }
1891 if eval \${$3+:} false; then :
1892 $as_echo_n "(cached) " >&6
1895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1896 $as_echo "$ac_res" >&6; }
1898 # Is the header compilable?
1899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1900 $as_echo_n "checking $2 usability... " >&6; }
1901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1902 /* end confdefs.h. */
1906 if ac_fn_c_try_compile "$LINENO"; then :
1907 ac_header_compiler=yes
1909 ac_header_compiler=no
1911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1913 $as_echo "$ac_header_compiler" >&6; }
1915 # Is the header present?
1916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1917 $as_echo_n "checking $2 presence... " >&6; }
1918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1919 /* end confdefs.h. */
1922 if ac_fn_c_try_cpp "$LINENO"; then :
1923 ac_header_preproc=yes
1925 ac_header_preproc=no
1927 rm -f conftest.err conftest.i conftest.$ac_ext
1928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1929 $as_echo "$ac_header_preproc" >&6; }
1931 # So? What about this header?
1932 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1935 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1937 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1941 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1942 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1943 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1944 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1945 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1946 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1947 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&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;}
1950 ( $as_echo "## --------------------------------- ##
1951 ## Report this to arjen@androemda.nl ##
1952 ## --------------------------------- ##"
1953 ) | sed "s/^/$as_me: WARNING: /" >&2
1956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1957 $as_echo_n "checking for $2... " >&6; }
1958 if eval \${$3+:} false; then :
1959 $as_echo_n "(cached) " >&6
1961 eval "$3=\$ac_header_compiler"
1964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1965 $as_echo "$ac_res" >&6; }
1967 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1969 } # ac_fn_c_check_header_mongrel
1971 # ac_fn_cxx_try_cpp LINENO
1972 # ------------------------
1973 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1974 ac_fn_cxx_try_cpp ()
1976 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1977 if { { ac_try="$ac_cpp conftest.$ac_ext"
1979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1980 *) ac_try_echo=$ac_try;;
1982 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1983 $as_echo "$ac_try_echo"; } >&5
1984 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1986 if test -s conftest.err; then
1987 grep -v '^ *+' conftest.err >conftest.er1
1988 cat conftest.er1 >&5
1989 mv -f conftest.er1 conftest.err
1991 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1992 test $ac_status = 0; } > conftest.i && {
1993 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1994 test ! -s conftest.err
1998 $as_echo "$as_me: failed program was:" >&5
1999 sed 's/^/| /' conftest.$ac_ext >&5
2003 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2004 as_fn_set_status $ac_retval
2006 } # ac_fn_cxx_try_cpp
2008 # ac_fn_cxx_try_link LINENO
2009 # -------------------------
2010 # Try to link conftest.$ac_ext, and return whether this succeeded.
2011 ac_fn_cxx_try_link ()
2013 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2014 rm -f conftest.$ac_objext conftest$ac_exeext
2015 if { { ac_try="$ac_link"
2017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2018 *) ac_try_echo=$ac_try;;
2020 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2021 $as_echo "$ac_try_echo"; } >&5
2022 (eval "$ac_link") 2>conftest.err
2024 if test -s conftest.err; then
2025 grep -v '^ *+' conftest.err >conftest.er1
2026 cat conftest.er1 >&5
2027 mv -f conftest.er1 conftest.err
2029 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2030 test $ac_status = 0; } && {
2031 test -z "$ac_cxx_werror_flag" ||
2032 test ! -s conftest.err
2033 } && test -s conftest$ac_exeext && {
2034 test "$cross_compiling" = yes ||
2035 test -x conftest$ac_exeext
2039 $as_echo "$as_me: failed program was:" >&5
2040 sed 's/^/| /' conftest.$ac_ext >&5
2044 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2045 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2046 # interfere with the next link command; also delete a directory that is
2047 # left behind by Apple's compiler. We do this before executing the actions.
2048 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2049 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2050 as_fn_set_status $ac_retval
2052 } # ac_fn_cxx_try_link
2053 cat >config.log <<_ACEOF
2054 This file contains any messages produced by compilers while
2055 running configure, to aid debugging if configure makes a mistake.
2057 It was created by ACL - Andromeda Class Library $as_me 0.1, which was
2058 generated by GNU Autoconf 2.69. Invocation command line was
2070 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2071 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2072 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2073 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2074 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2076 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2077 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2079 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2080 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2081 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2082 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2083 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2084 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2085 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2093 test -z "$as_dir" && as_dir=.
2094 $as_echo "PATH: $as_dir"
2110 # Keep a trace of the command line.
2111 # Strip out --no-create and --no-recursion so they do not pile up.
2112 # Strip out --silent because we don't want to record it for future runs.
2113 # Also quote any args containing shell meta-characters.
2114 # Make two passes to allow for proper duplicate-argument suppression.
2118 ac_must_keep_next=false
2124 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2125 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2126 | -silent | --silent | --silen | --sile | --sil)
2129 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2132 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2134 as_fn_append ac_configure_args1 " '$ac_arg'"
2135 if test $ac_must_keep_next = true; then
2136 ac_must_keep_next=false # Got value, back to normal.
2139 *=* | --config-cache | -C | -disable-* | --disable-* \
2140 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2141 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2142 | -with-* | --with-* | -without-* | --without-* | --x)
2143 case "$ac_configure_args0 " in
2144 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2147 -* ) ac_must_keep_next=true ;;
2150 as_fn_append ac_configure_args " '$ac_arg'"
2155 { ac_configure_args0=; unset ac_configure_args0;}
2156 { ac_configure_args1=; unset ac_configure_args1;}
2158 # When interrupted or exit'd, cleanup temporary files, and complete
2159 # config.log. We remove comments because anyway the quotes in there
2160 # would cause problems or look ugly.
2161 # WARNING: Use '\'' to represent an apostrophe within the trap.
2162 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2163 trap 'exit_status=$?
2164 # Save into config.log some information that might help in debugging.
2168 $as_echo "## ---------------- ##
2169 ## Cache variables. ##
2170 ## ---------------- ##"
2172 # The following way of writing the cache mishandles newlines in values,
2174 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2175 eval ac_val=\$$ac_var
2179 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2180 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2183 _ | IFS | as_nl) ;; #(
2184 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2185 *) { eval $ac_var=; unset $ac_var;} ;;
2190 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2191 *${as_nl}ac_space=\ *)
2193 "s/'\''/'\''\\\\'\'''\''/g;
2194 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2197 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2204 $as_echo "## ----------------- ##
2205 ## Output variables. ##
2206 ## ----------------- ##"
2208 for ac_var in $ac_subst_vars
2210 eval ac_val=\$$ac_var
2212 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2214 $as_echo "$ac_var='\''$ac_val'\''"
2218 if test -n "$ac_subst_files"; then
2219 $as_echo "## ------------------- ##
2220 ## File substitutions. ##
2221 ## ------------------- ##"
2223 for ac_var in $ac_subst_files
2225 eval ac_val=\$$ac_var
2227 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2229 $as_echo "$ac_var='\''$ac_val'\''"
2234 if test -s confdefs.h; then
2235 $as_echo "## ----------- ##
2242 test "$ac_signal" != 0 &&
2243 $as_echo "$as_me: caught signal $ac_signal"
2244 $as_echo "$as_me: exit $exit_status"
2246 rm -f core *.core core.conftest.* &&
2247 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2250 for ac_signal in 1 2 13 15; do
2251 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2255 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2256 rm -f -r conftest* confdefs.h
2258 $as_echo "/* confdefs.h */" > confdefs.h
2260 # Predefined preprocessor variables.
2262 cat >>confdefs.h <<_ACEOF
2263 #define PACKAGE_NAME "$PACKAGE_NAME"
2266 cat >>confdefs.h <<_ACEOF
2267 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2270 cat >>confdefs.h <<_ACEOF
2271 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2274 cat >>confdefs.h <<_ACEOF
2275 #define PACKAGE_STRING "$PACKAGE_STRING"
2278 cat >>confdefs.h <<_ACEOF
2279 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2282 cat >>confdefs.h <<_ACEOF
2283 #define PACKAGE_URL "$PACKAGE_URL"
2287 # Let the site file select an alternate cache file if it wants to.
2288 # Prefer an explicitly selected file to automatically selected ones.
2291 if test -n "$CONFIG_SITE"; then
2292 # We do not want a PATH search for config.site.
2293 case $CONFIG_SITE in #((
2294 -*) ac_site_file1=./$CONFIG_SITE;;
2295 */*) ac_site_file1=$CONFIG_SITE;;
2296 *) ac_site_file1=./$CONFIG_SITE;;
2298 elif test "x$prefix" != xNONE; then
2299 ac_site_file1=$prefix/share/config.site
2300 ac_site_file2=$prefix/etc/config.site
2302 ac_site_file1=$ac_default_prefix/share/config.site
2303 ac_site_file2=$ac_default_prefix/etc/config.site
2305 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2307 test "x$ac_site_file" = xNONE && continue
2308 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2309 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2310 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2311 sed 's/^/| /' "$ac_site_file" >&5
2313 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2314 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2315 as_fn_error $? "failed to load site script $ac_site_file
2316 See \`config.log' for more details" "$LINENO" 5; }
2320 if test -r "$cache_file"; then
2321 # Some versions of bash will fail to source /dev/null (special files
2322 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2323 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2324 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2325 $as_echo "$as_me: loading cache $cache_file" >&6;}
2327 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2328 *) . "./$cache_file";;
2332 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2333 $as_echo "$as_me: creating cache $cache_file" >&6;}
2337 # Check that the precious variables saved in the cache have kept the same
2339 ac_cache_corrupted=false
2340 for ac_var in $ac_precious_vars; do
2341 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2342 eval ac_new_set=\$ac_env_${ac_var}_set
2343 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2344 eval ac_new_val=\$ac_env_${ac_var}_value
2345 case $ac_old_set,$ac_new_set in
2347 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2348 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2349 ac_cache_corrupted=: ;;
2351 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2352 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2353 ac_cache_corrupted=: ;;
2356 if test "x$ac_old_val" != "x$ac_new_val"; then
2357 # differences in whitespace do not lead to failure.
2358 ac_old_val_w=`echo x $ac_old_val`
2359 ac_new_val_w=`echo x $ac_new_val`
2360 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2361 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2362 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2363 ac_cache_corrupted=:
2365 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2366 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2367 eval $ac_var=\$ac_old_val
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2370 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2372 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2375 # Pass precious variables to config.status.
2376 if test "$ac_new_set" = set; then
2378 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2379 *) ac_arg=$ac_var=$ac_new_val ;;
2381 case " $ac_configure_args " in
2382 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2383 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2387 if $ac_cache_corrupted; then
2388 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2389 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2390 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2391 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2392 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2394 ## -------------------- ##
2395 ## Main body of script. ##
2396 ## -------------------- ##
2399 ac_cpp='$CPP $CPPFLAGS'
2400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2405 am__api_version='1.16'
2408 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2409 if test -f "$ac_dir/install-sh"; then
2411 ac_install_sh="$ac_aux_dir/install-sh -c"
2413 elif test -f "$ac_dir/install.sh"; then
2415 ac_install_sh="$ac_aux_dir/install.sh -c"
2417 elif test -f "$ac_dir/shtool"; then
2419 ac_install_sh="$ac_aux_dir/shtool install -c"
2423 if test -z "$ac_aux_dir"; then
2424 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2427 # These three variables are undocumented and unsupported,
2428 # and are intended to be withdrawn in a future Autoconf release.
2429 # They can cause serious problems if a builder's source tree is in a directory
2430 # whose full name contains unusual characters.
2431 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2432 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2433 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2436 # Find a good install program. We prefer a C program (faster),
2437 # so one script is as good as another. But avoid the broken or
2438 # incompatible versions:
2439 # SysV /etc/install, /usr/sbin/install
2440 # SunOS /usr/etc/install
2441 # IRIX /sbin/install
2443 # AmigaOS /C/install, which installs bootblocks on floppy discs
2444 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2445 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2446 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2447 # OS/2's system install, which has a completely different semantic
2448 # ./install, which can be erroneously created by make from ./install.sh.
2449 # Reject install programs that cannot install multiple files.
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2451 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2452 if test -z "$INSTALL"; then
2453 if ${ac_cv_path_install+:} false; then :
2454 $as_echo_n "(cached) " >&6
2456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2460 test -z "$as_dir" && as_dir=.
2461 # Account for people who put trailing slashes in PATH elements.
2462 case $as_dir/ in #((
2463 ./ | .// | /[cC]/* | \
2464 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2465 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2468 # OSF1 and SCO ODT 3.0 have their own names for install.
2469 # Don't use installbsd from OSF since it installs stuff as root
2471 for ac_prog in ginstall scoinst install; do
2472 for ac_exec_ext in '' $ac_executable_extensions; do
2473 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2474 if test $ac_prog = install &&
2475 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2476 # AIX install. It has an incompatible calling convention.
2478 elif test $ac_prog = install &&
2479 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2480 # program-specific install script used by HP pwplus--don't use.
2483 rm -rf conftest.one conftest.two conftest.dir
2484 echo one > conftest.one
2485 echo two > conftest.two
2487 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2488 test -s conftest.one && test -s conftest.two &&
2489 test -s conftest.dir/conftest.one &&
2490 test -s conftest.dir/conftest.two
2492 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2505 rm -rf conftest.one conftest.two conftest.dir
2508 if test "${ac_cv_path_install+set}" = set; then
2509 INSTALL=$ac_cv_path_install
2511 # As a last resort, use the slow shell script. Don't cache a
2512 # value for INSTALL within a source directory, because that will
2513 # break other packages using the cache if that directory is
2514 # removed, or if the value is a relative name.
2515 INSTALL=$ac_install_sh
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2519 $as_echo "$INSTALL" >&6; }
2521 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2522 # It thinks the first close brace ends the variable substitution.
2523 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2525 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2527 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2530 $as_echo_n "checking whether build environment is sane... " >&6; }
2531 # Reject unsafe characters in $srcdir or the absolute working directory
2532 # name. Accept space and tab only in the latter.
2536 *[\\\"\#\$\&\'\`$am_lf]*)
2537 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2540 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2541 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2544 # Do 'set' in a subshell so we don't clobber the current shell's
2545 # arguments. Must try -L first in case configure is actually a
2546 # symlink; some systems play weird games with the mod time of symlinks
2547 # (eg FreeBSD returns the mod time of the symlink's containing
2551 for am_try in 1 2; do
2552 echo "timestamp, slept: $am_has_slept" > conftest.file
2553 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2554 if test "$*" = "X"; then
2556 set X `ls -t "$srcdir/configure" conftest.file`
2558 if test "$*" != "X $srcdir/configure conftest.file" \
2559 && test "$*" != "X conftest.file $srcdir/configure"; then
2561 # If neither matched, then we have a broken ls. This can happen
2562 # if, for instance, CONFIG_SHELL is bash and it inherits a
2563 # broken ls alias from the environment. This has actually
2564 # happened. Such a system could not be considered "sane".
2565 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2566 alias in your environment" "$LINENO" 5
2568 if test "$2" = conftest.file || test $am_try -eq 2; then
2575 test "$2" = conftest.file
2581 as_fn_error $? "newly created file is older than distributed files!
2582 Check your system clock" "$LINENO" 5
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2585 $as_echo "yes" >&6; }
2586 # If we didn't sleep, we still need to ensure time stamps of config.status and
2587 # generated files are strictly newer.
2589 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2596 test "$program_prefix" != NONE &&
2597 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2598 # Use a double $ so make ignores it.
2599 test "$program_suffix" != NONE &&
2600 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2601 # Double any \ or $.
2602 # By default was `s,x,x', remove it if useless.
2603 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2604 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2606 # Expand $ac_aux_dir to an absolute path.
2607 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2609 if test x"${MISSING+set}" != xset; then
2612 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2614 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2617 # Use eval to expand $SHELL
2618 if eval "$MISSING --is-lightweight"; then
2619 am_missing_run="$MISSING "
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2623 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2626 if test x"${install_sh+set}" != xset; then
2629 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2631 install_sh="\${SHELL} $am_aux_dir/install-sh"
2635 # Installed binaries are usually stripped using 'strip' when the user
2636 # run "make install-strip". However 'strip' might not be the right
2637 # tool to use in cross-compilation environments, therefore Automake
2638 # will honor the 'STRIP' environment variable to overrule this program.
2639 if test "$cross_compiling" != no; then
2640 if test -n "$ac_tool_prefix"; then
2641 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2642 set dummy ${ac_tool_prefix}strip; ac_word=$2
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2644 $as_echo_n "checking for $ac_word... " >&6; }
2645 if ${ac_cv_prog_STRIP+:} false; then :
2646 $as_echo_n "(cached) " >&6
2648 if test -n "$STRIP"; then
2649 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2655 test -z "$as_dir" && as_dir=.
2656 for ac_exec_ext in '' $ac_executable_extensions; do
2657 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2658 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2668 STRIP=$ac_cv_prog_STRIP
2669 if test -n "$STRIP"; then
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2671 $as_echo "$STRIP" >&6; }
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2674 $as_echo "no" >&6; }
2679 if test -z "$ac_cv_prog_STRIP"; then
2681 # Extract the first word of "strip", so it can be a program name with args.
2682 set dummy strip; ac_word=$2
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2684 $as_echo_n "checking for $ac_word... " >&6; }
2685 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2686 $as_echo_n "(cached) " >&6
2688 if test -n "$ac_ct_STRIP"; then
2689 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2695 test -z "$as_dir" && as_dir=.
2696 for ac_exec_ext in '' $ac_executable_extensions; do
2697 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2698 ac_cv_prog_ac_ct_STRIP="strip"
2699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2708 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2709 if test -n "$ac_ct_STRIP"; then
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2711 $as_echo "$ac_ct_STRIP" >&6; }
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2714 $as_echo "no" >&6; }
2717 if test "x$ac_ct_STRIP" = x; then
2720 case $cross_compiling:$ac_tool_warned in
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2723 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2724 ac_tool_warned=yes ;;
2729 STRIP="$ac_cv_prog_STRIP"
2733 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2736 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2737 if test -z "$MKDIR_P"; then
2738 if ${ac_cv_path_mkdir+:} false; then :
2739 $as_echo_n "(cached) " >&6
2741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2742 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2745 test -z "$as_dir" && as_dir=.
2746 for ac_prog in mkdir gmkdir; do
2747 for ac_exec_ext in '' $ac_executable_extensions; do
2748 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2749 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2750 'mkdir (GNU coreutils) '* | \
2751 'mkdir (coreutils) '* | \
2752 'mkdir (fileutils) '4.1*)
2753 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2763 test -d ./--version && rmdir ./--version
2764 if test "${ac_cv_path_mkdir+set}" = set; then
2765 MKDIR_P="$ac_cv_path_mkdir -p"
2767 # As a last resort, use the slow shell script. Don't cache a
2768 # value for MKDIR_P within a source directory, because that will
2769 # break other packages using the cache if that directory is
2770 # removed, or if the value is a relative name.
2771 MKDIR_P="$ac_install_sh -d"
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2775 $as_echo "$MKDIR_P" >&6; }
2777 for ac_prog in gawk mawk nawk awk
2779 # Extract the first word of "$ac_prog", so it can be a program name with args.
2780 set dummy $ac_prog; ac_word=$2
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2782 $as_echo_n "checking for $ac_word... " >&6; }
2783 if ${ac_cv_prog_AWK+:} false; then :
2784 $as_echo_n "(cached) " >&6
2786 if test -n "$AWK"; then
2787 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2793 test -z "$as_dir" && as_dir=.
2794 for ac_exec_ext in '' $ac_executable_extensions; do
2795 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2796 ac_cv_prog_AWK="$ac_prog"
2797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2807 if test -n "$AWK"; then
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2809 $as_echo "$AWK" >&6; }
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2812 $as_echo "no" >&6; }
2816 test -n "$AWK" && break
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2820 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2822 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2823 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2824 $as_echo_n "(cached) " >&6
2826 cat >conftest.make <<\_ACEOF
2827 SHELL = /data/data/com.termux/files/usr/bin/sh
2829 @echo '@@@%%%=$(MAKE)=@@@%%%'
2831 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2832 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2834 eval ac_cv_prog_make_${ac_make}_set=yes;;
2836 eval ac_cv_prog_make_${ac_make}_set=no;;
2840 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2842 $as_echo "yes" >&6; }
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2846 $as_echo "no" >&6; }
2847 SET_MAKE="MAKE=${MAKE-make}"
2850 rm -rf .tst 2>/dev/null
2851 mkdir .tst 2>/dev/null
2852 if test -d .tst; then
2857 rmdir .tst 2>/dev/null
2859 # Check whether --enable-silent-rules was given.
2860 if test "${enable_silent_rules+set}" = set; then :
2861 enableval=$enable_silent_rules;
2864 case $enable_silent_rules in # (((
2865 yes) AM_DEFAULT_VERBOSITY=0;;
2866 no) AM_DEFAULT_VERBOSITY=1;;
2867 *) AM_DEFAULT_VERBOSITY=1;;
2869 am_make=${MAKE-make}
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2871 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2872 if ${am_cv_make_support_nested_variables+:} false; then :
2873 $as_echo_n "(cached) " >&6
2875 if $as_echo 'TRUE=$(BAR$(V))
2881 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2882 am_cv_make_support_nested_variables=yes
2884 am_cv_make_support_nested_variables=no
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2888 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2889 if test $am_cv_make_support_nested_variables = yes; then
2891 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2893 AM_V=$AM_DEFAULT_VERBOSITY
2894 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2898 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2899 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2900 # is not polluted with repeated "-I."
2901 am__isrc=' -I$(srcdir)'
2902 # test to see if srcdir already configured
2903 if test -f $srcdir/config.status; then
2904 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2908 # test whether we have cygpath
2909 if test -z "$CYGPATH_W"; then
2910 if (cygpath --version) >/dev/null 2>/dev/null; then
2911 CYGPATH_W='cygpath -w'
2918 # Define the identity of the package.
2919 PACKAGE='acl---andromeda-class-library'
2923 cat >>confdefs.h <<_ACEOF
2924 #define PACKAGE "$PACKAGE"
2928 cat >>confdefs.h <<_ACEOF
2929 #define VERSION "$VERSION"
2932 # Some tools Automake needs.
2934 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2937 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2940 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2943 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2946 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2948 # For better backward compatibility. To be removed once Automake 1.9.x
2949 # dies out for good. For more background, see:
2950 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2951 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2952 mkdir_p='$(MKDIR_P)'
2954 # We need awk for the "check" target (and possibly the TAP driver). The
2955 # system "awk" is bad on some platforms.
2956 # Always define AMTAR for backward compatibility. Yes, it's still used
2957 # in the wild :-( We should find a proper way to deprecate it ...
2961 # We'll loop over all known methods to create a tar archive until one works.
2962 _am_tools='gnutar pax cpio none'
2964 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2971 # POSIX will say in a future version that running "rm -f" with no argument
2972 # is OK; and we want to be able to make that assumption in our Makefile
2973 # recipes. So use an aggressive probe to check that the usage we want is
2974 # actually supported "in the wild" to an acceptable degree.
2975 # See automake bug#10828.
2976 # To make any issue more visible, cause the running configure to be aborted
2977 # by default if the 'rm' program in use doesn't match our expectations; the
2978 # user can still override this though.
2979 if rm -f && rm -fr && rm -rf; then : OK; else
2983 Your 'rm' program seems unable to run without file operands specified
2984 on the command line, even when the '-f' option is present. This is contrary
2985 to the behaviour of most rm programs out there, and not conforming with
2986 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2988 Please tell bug-automake@gnu.org about your system, including the value
2989 of your $PATH and any error possibly output before this message. This
2990 can help us improve future automake versions.
2993 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2994 echo 'Configuration will proceed anyway, since you have set the' >&2
2995 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2999 Aborting the configuration process, to ensure you take notice of the issue.
3001 You can download and install GNU coreutils to get an 'rm' implementation
3002 that behaves properly: <https://www.gnu.org/software/coreutils/>.
3004 If you want to complete the configuration process using your problematic
3005 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3006 to "yes", and re-run configure.
3009 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3014 ac_config_files="$ac_config_files Makefile src/Makefile test/Makefile doc/Makefile"
3017 ac_config_headers="$ac_config_headers config.h"
3020 # Checks for programs.
3022 ac_cpp='$CXXCPP $CPPFLAGS'
3023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3026 if test -z "$CXX"; then
3027 if test -n "$CCC"; then
3030 if test -n "$ac_tool_prefix"; then
3031 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3033 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3034 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3036 $as_echo_n "checking for $ac_word... " >&6; }
3037 if ${ac_cv_prog_CXX+:} false; then :
3038 $as_echo_n "(cached) " >&6
3040 if test -n "$CXX"; then
3041 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3047 test -z "$as_dir" && as_dir=.
3048 for ac_exec_ext in '' $ac_executable_extensions; do
3049 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3050 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3061 if test -n "$CXX"; then
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3063 $as_echo "$CXX" >&6; }
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3066 $as_echo "no" >&6; }
3070 test -n "$CXX" && break
3073 if test -z "$CXX"; then
3075 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3077 # Extract the first word of "$ac_prog", so it can be a program name with args.
3078 set dummy $ac_prog; ac_word=$2
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3080 $as_echo_n "checking for $ac_word... " >&6; }
3081 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3082 $as_echo_n "(cached) " >&6
3084 if test -n "$ac_ct_CXX"; then
3085 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3091 test -z "$as_dir" && as_dir=.
3092 for ac_exec_ext in '' $ac_executable_extensions; do
3093 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3094 ac_cv_prog_ac_ct_CXX="$ac_prog"
3095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3104 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3105 if test -n "$ac_ct_CXX"; then
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3107 $as_echo "$ac_ct_CXX" >&6; }
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3110 $as_echo "no" >&6; }
3114 test -n "$ac_ct_CXX" && break
3117 if test "x$ac_ct_CXX" = x; then
3120 case $cross_compiling:$ac_tool_warned in
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3123 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3124 ac_tool_warned=yes ;;
3132 # Provide some information about the compiler.
3133 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3136 for ac_option in --version -v -V -qversion; do
3137 { { ac_try="$ac_compiler $ac_option >&5"
3139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3140 *) ac_try_echo=$ac_try;;
3142 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3143 $as_echo "$ac_try_echo"; } >&5
3144 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3146 if test -s conftest.err; then
3148 ... rest of stderr output deleted ...
3149 10q' conftest.err >conftest.er1
3150 cat conftest.er1 >&5
3152 rm -f conftest.er1 conftest.err
3153 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3154 test $ac_status = 0; }
3157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3158 /* end confdefs.h. */
3168 ac_clean_files_save=$ac_clean_files
3169 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3170 # Try to create an executable without -o first, disregard a.out.
3171 # It will help us diagnose broken compilers, and finding out an intuition
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3174 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3175 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3177 # The possible output files:
3178 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3181 for ac_file in $ac_files
3184 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3185 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3190 if { { ac_try="$ac_link_default"
3192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3193 *) ac_try_echo=$ac_try;;
3195 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3196 $as_echo "$ac_try_echo"; } >&5
3197 (eval "$ac_link_default") 2>&5
3199 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3200 test $ac_status = 0; }; then :
3201 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3202 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3203 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3204 # so that the user can short-circuit this test for compilers unknown to
3206 for ac_file in $ac_files ''
3208 test -f "$ac_file" || continue
3210 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3213 # We found the default executable, but exeext='' is most
3217 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3219 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3221 # We set ac_cv_exeext here because the later test for it is not
3222 # safe: cross compilers may not add the suffix if given an `-o'
3223 # argument, so we may need to know it at that point already.
3224 # Even if this section looks crufty: it has the advantage of
3231 test "$ac_cv_exeext" = no && ac_cv_exeext=
3236 if test -z "$ac_file"; then :
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3238 $as_echo "no" >&6; }
3239 $as_echo "$as_me: failed program was:" >&5
3240 sed 's/^/| /' conftest.$ac_ext >&5
3242 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3243 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3244 as_fn_error 77 "C++ compiler cannot create executables
3245 See \`config.log' for more details" "$LINENO" 5; }
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3248 $as_echo "yes" >&6; }
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3251 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3253 $as_echo "$ac_file" >&6; }
3254 ac_exeext=$ac_cv_exeext
3256 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3257 ac_clean_files=$ac_clean_files_save
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3259 $as_echo_n "checking for suffix of executables... " >&6; }
3260 if { { ac_try="$ac_link"
3262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3263 *) ac_try_echo=$ac_try;;
3265 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3266 $as_echo "$ac_try_echo"; } >&5
3267 (eval "$ac_link") 2>&5
3269 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3270 test $ac_status = 0; }; then :
3271 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3272 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3273 # work properly (i.e., refer to `conftest.exe'), while it won't with
3275 for ac_file in conftest.exe conftest conftest.*; do
3276 test -f "$ac_file" || continue
3278 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3279 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3285 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3286 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3287 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3288 See \`config.log' for more details" "$LINENO" 5; }
3290 rm -f conftest conftest$ac_cv_exeext
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3292 $as_echo "$ac_cv_exeext" >&6; }
3294 rm -f conftest.$ac_ext
3295 EXEEXT=$ac_cv_exeext
3297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3298 /* end confdefs.h. */
3303 FILE *f = fopen ("conftest.out", "w");
3304 return ferror (f) || fclose (f) != 0;
3310 ac_clean_files="$ac_clean_files conftest.out"
3311 # Check that the compiler produces executables we can run. If not, either
3312 # the compiler is broken, or we cross compile.
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3314 $as_echo_n "checking whether we are cross compiling... " >&6; }
3315 if test "$cross_compiling" != yes; then
3316 { { ac_try="$ac_link"
3318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3319 *) ac_try_echo=$ac_try;;
3321 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3322 $as_echo "$ac_try_echo"; } >&5
3323 (eval "$ac_link") 2>&5
3325 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3326 test $ac_status = 0; }
3327 if { ac_try='./conftest$ac_cv_exeext'
3328 { { case "(($ac_try" in
3329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3330 *) ac_try_echo=$ac_try;;
3332 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3333 $as_echo "$ac_try_echo"; } >&5
3334 (eval "$ac_try") 2>&5
3336 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3337 test $ac_status = 0; }; }; then
3340 if test "$cross_compiling" = maybe; then
3343 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3344 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3345 as_fn_error $? "cannot run C++ compiled programs.
3346 If you meant to cross compile, use \`--host'.
3347 See \`config.log' for more details" "$LINENO" 5; }
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3352 $as_echo "$cross_compiling" >&6; }
3354 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3355 ac_clean_files=$ac_clean_files_save
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3357 $as_echo_n "checking for suffix of object files... " >&6; }
3358 if ${ac_cv_objext+:} false; then :
3359 $as_echo_n "(cached) " >&6
3361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3362 /* end confdefs.h. */
3372 rm -f conftest.o conftest.obj
3373 if { { ac_try="$ac_compile"
3375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3376 *) ac_try_echo=$ac_try;;
3378 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3379 $as_echo "$ac_try_echo"; } >&5
3380 (eval "$ac_compile") 2>&5
3382 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3383 test $ac_status = 0; }; then :
3384 for ac_file in conftest.o conftest.obj conftest.*; do
3385 test -f "$ac_file" || continue;
3387 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3388 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3393 $as_echo "$as_me: failed program was:" >&5
3394 sed 's/^/| /' conftest.$ac_ext >&5
3396 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3397 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3398 as_fn_error $? "cannot compute suffix of object files: cannot compile
3399 See \`config.log' for more details" "$LINENO" 5; }
3401 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3404 $as_echo "$ac_cv_objext" >&6; }
3405 OBJEXT=$ac_cv_objext
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3408 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3409 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3410 $as_echo_n "(cached) " >&6
3412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3413 /* end confdefs.h. */
3426 if ac_fn_cxx_try_compile "$LINENO"; then :
3431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3432 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3436 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3437 if test $ac_compiler_gnu = yes; then
3442 ac_test_CXXFLAGS=${CXXFLAGS+set}
3443 ac_save_CXXFLAGS=$CXXFLAGS
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3445 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3446 if ${ac_cv_prog_cxx_g+:} false; then :
3447 $as_echo_n "(cached) " >&6
3449 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3450 ac_cxx_werror_flag=yes
3453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3454 /* end confdefs.h. */
3464 if ac_fn_cxx_try_compile "$LINENO"; then :
3465 ac_cv_prog_cxx_g=yes
3468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3469 /* end confdefs.h. */
3479 if ac_fn_cxx_try_compile "$LINENO"; then :
3482 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3485 /* end confdefs.h. */
3495 if ac_fn_cxx_try_compile "$LINENO"; then :
3496 ac_cv_prog_cxx_g=yes
3498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3503 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3506 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3507 if test "$ac_test_CXXFLAGS" = set; then
3508 CXXFLAGS=$ac_save_CXXFLAGS
3509 elif test $ac_cv_prog_cxx_g = yes; then
3510 if test "$GXX" = yes; then
3516 if test "$GXX" = yes; then
3523 ac_cpp='$CPP $CPPFLAGS'
3524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3527 DEPDIR="${am__leading_dot}deps"
3529 ac_config_commands="$ac_config_commands depfiles"
3531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3532 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
3533 cat > confinc.mk << 'END'
3535 @echo this is the am__doit target >confinc.out
3540 # BSD make does it like this.
3541 echo '.include "confinc.mk" # ignored' > confmf.BSD
3542 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
3543 echo 'include confinc.mk # ignored' > confmf.GNU
3545 for s in GNU BSD; do
3546 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3547 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3550 (exit $ac_status); }
3551 case $?:`cat confinc.out 2>/dev/null` in #(
3552 '0:this is the am__doit target') :
3555 am__include='.include' am__quote='"' ;; #(
3557 am__include='include' am__quote='' ;;
3562 if test "$am__include" != "#"; then
3563 _am_result="yes ($s style)"
3567 rm -f confinc.* confmf.*
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3569 $as_echo "${_am_result}" >&6; }
3571 # Check whether --enable-dependency-tracking was given.
3572 if test "${enable_dependency_tracking+set}" = set; then :
3573 enableval=$enable_dependency_tracking;
3576 if test "x$enable_dependency_tracking" != xno; then
3577 am_depcomp="$ac_aux_dir/depcomp"
3581 if test "x$enable_dependency_tracking" != xno; then
3591 depcc="$CXX" am_compiler_list=
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3594 $as_echo_n "checking dependency style of $depcc... " >&6; }
3595 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3596 $as_echo_n "(cached) " >&6
3598 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3599 # We make a subdir and do the tests there. Otherwise we can end up
3600 # making bogus files that we don't know about and never remove. For
3601 # instance it was reported that on HP-UX the gcc test will end up
3602 # making a dummy file named 'D' -- because '-MD' means "put the output
3606 # Copy depcomp to subdir because otherwise we won't find it if we're
3607 # using a relative directory.
3608 cp "$am_depcomp" conftest.dir
3610 # We will build objects and dependencies in a subdirectory because
3611 # it helps to detect inapplicable dependency modes. For instance
3612 # both Tru64's cc and ICC support -MD to output dependencies as a
3613 # side effect of compilation, but ICC will put the dependencies in
3614 # the current directory while Tru64 will put them in the object
3618 am_cv_CXX_dependencies_compiler_type=none
3619 if test "$am_compiler_list" = ""; then
3620 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3623 case " $depcc " in #(
3624 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3627 for depmode in $am_compiler_list; do
3628 # Setup a source with many dependencies, because some compilers
3629 # like to wrap large dependency lists on column 80 (with \), and
3630 # we should not choose a depcomp mode which is confused by this.
3632 # We need to recreate these files for each test, as the compiler may
3633 # overwrite some of them when testing with obscure command lines.
3634 # This happens at least with the AIX C compiler.
3636 for i in 1 2 3 4 5 6; do
3637 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3638 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3639 # Solaris 10 /bin/sh.
3640 echo '/* dummy */' > sub/conftst$i.h
3642 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3644 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3645 # mode. It turns out that the SunPro C++ compiler does not properly
3646 # handle '-M -o', and we need to detect this. Also, some Intel
3647 # versions had trouble with output in subdirs.
3648 am__obj=sub/conftest.${OBJEXT-o}
3649 am__minus_obj="-o $am__obj"
3652 # This depmode causes a compiler race in universal mode.
3653 test "$am__universal" = false || continue
3656 # After this tag, mechanisms are not by side-effect, so they'll
3657 # only be used when explicitly requested.
3658 if test "x$enable_dependency_tracking" = xyes; then
3664 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3665 # This compiler won't grok '-c -o', but also, the minuso test has
3666 # not run yet. These depmodes are late enough in the game, and
3667 # so weak that their functioning should not be impacted.
3668 am__obj=conftest.${OBJEXT-o}
3673 if depmode=$depmode \
3674 source=sub/conftest.c object=$am__obj \
3675 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3676 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3677 >/dev/null 2>conftest.err &&
3678 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3679 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3680 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3681 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3682 # icc doesn't choke on unknown options, it will just issue warnings
3683 # or remarks (even with -Werror). So we grep stderr for any message
3684 # that says an option was ignored or not supported.
3685 # When given -MP, icc 7.0 and 7.1 complain thusly:
3686 # icc: Command line warning: ignoring option '-M'; no argument required
3687 # The diagnosis changed in icc 8.0:
3688 # icc: Command line remark: option '-MP' not supported
3689 if (grep 'ignoring option' conftest.err ||
3690 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3691 am_cv_CXX_dependencies_compiler_type=$depmode
3700 am_cv_CXX_dependencies_compiler_type=none
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3705 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3706 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3709 test "x$enable_dependency_tracking" != xno \
3710 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3711 am__fastdepCXX_TRUE=
3712 am__fastdepCXX_FALSE='#'
3714 am__fastdepCXX_TRUE='#'
3715 am__fastdepCXX_FALSE=
3720 ac_cpp='$CPP $CPPFLAGS'
3721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3724 if test -n "$ac_tool_prefix"; then
3725 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3726 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3728 $as_echo_n "checking for $ac_word... " >&6; }
3729 if ${ac_cv_prog_CC+:} false; then :
3730 $as_echo_n "(cached) " >&6
3732 if test -n "$CC"; then
3733 ac_cv_prog_CC="$CC" # Let the user override the test.
3735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3739 test -z "$as_dir" && as_dir=.
3740 for ac_exec_ext in '' $ac_executable_extensions; do
3741 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3742 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3753 if test -n "$CC"; then
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3755 $as_echo "$CC" >&6; }
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3758 $as_echo "no" >&6; }
3763 if test -z "$ac_cv_prog_CC"; then
3765 # Extract the first word of "gcc", so it can be a program name with args.
3766 set dummy gcc; ac_word=$2
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3768 $as_echo_n "checking for $ac_word... " >&6; }
3769 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3770 $as_echo_n "(cached) " >&6
3772 if test -n "$ac_ct_CC"; then
3773 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3779 test -z "$as_dir" && as_dir=.
3780 for ac_exec_ext in '' $ac_executable_extensions; do
3781 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3782 ac_cv_prog_ac_ct_CC="gcc"
3783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3792 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3793 if test -n "$ac_ct_CC"; then
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3795 $as_echo "$ac_ct_CC" >&6; }
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3798 $as_echo "no" >&6; }
3801 if test "x$ac_ct_CC" = x; then
3804 case $cross_compiling:$ac_tool_warned in
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3807 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3808 ac_tool_warned=yes ;;
3816 if test -z "$CC"; then
3817 if test -n "$ac_tool_prefix"; then
3818 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3819 set dummy ${ac_tool_prefix}cc; ac_word=$2
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3821 $as_echo_n "checking for $ac_word... " >&6; }
3822 if ${ac_cv_prog_CC+:} false; then :
3823 $as_echo_n "(cached) " >&6
3825 if test -n "$CC"; then
3826 ac_cv_prog_CC="$CC" # Let the user override the test.
3828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3832 test -z "$as_dir" && as_dir=.
3833 for ac_exec_ext in '' $ac_executable_extensions; do
3834 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3835 ac_cv_prog_CC="${ac_tool_prefix}cc"
3836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3846 if test -n "$CC"; then
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3848 $as_echo "$CC" >&6; }
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3851 $as_echo "no" >&6; }
3857 if test -z "$CC"; then
3858 # Extract the first word of "cc", so it can be a program name with args.
3859 set dummy cc; ac_word=$2
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3861 $as_echo_n "checking for $ac_word... " >&6; }
3862 if ${ac_cv_prog_CC+:} false; then :
3863 $as_echo_n "(cached) " >&6
3865 if test -n "$CC"; then
3866 ac_cv_prog_CC="$CC" # Let the user override the test.
3869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3873 test -z "$as_dir" && as_dir=.
3874 for ac_exec_ext in '' $ac_executable_extensions; do
3875 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3876 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3877 ac_prog_rejected=yes
3881 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3888 if test $ac_prog_rejected = yes; then
3889 # We found a bogon in the path, so make sure we never use it.
3890 set dummy $ac_cv_prog_CC
3892 if test $# != 0; then
3893 # We chose a different compiler from the bogus one.
3894 # However, it has the same basename, so the bogon will be chosen
3895 # first if we set CC to just the basename; use the full file name.
3897 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3903 if test -n "$CC"; then
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3905 $as_echo "$CC" >&6; }
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3908 $as_echo "no" >&6; }
3913 if test -z "$CC"; then
3914 if test -n "$ac_tool_prefix"; then
3915 for ac_prog in cl.exe
3917 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3918 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3920 $as_echo_n "checking for $ac_word... " >&6; }
3921 if ${ac_cv_prog_CC+:} false; then :
3922 $as_echo_n "(cached) " >&6
3924 if test -n "$CC"; then
3925 ac_cv_prog_CC="$CC" # Let the user override the test.
3927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3931 test -z "$as_dir" && as_dir=.
3932 for ac_exec_ext in '' $ac_executable_extensions; do
3933 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3934 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3945 if test -n "$CC"; then
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3947 $as_echo "$CC" >&6; }
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3950 $as_echo "no" >&6; }
3954 test -n "$CC" && break
3957 if test -z "$CC"; then
3959 for ac_prog in cl.exe
3961 # Extract the first word of "$ac_prog", so it can be a program name with args.
3962 set dummy $ac_prog; ac_word=$2
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3964 $as_echo_n "checking for $ac_word... " >&6; }
3965 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3966 $as_echo_n "(cached) " >&6
3968 if test -n "$ac_ct_CC"; then
3969 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3975 test -z "$as_dir" && as_dir=.
3976 for ac_exec_ext in '' $ac_executable_extensions; do
3977 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3978 ac_cv_prog_ac_ct_CC="$ac_prog"
3979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3988 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3989 if test -n "$ac_ct_CC"; then
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3991 $as_echo "$ac_ct_CC" >&6; }
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3994 $as_echo "no" >&6; }
3998 test -n "$ac_ct_CC" && break
4001 if test "x$ac_ct_CC" = x; then
4004 case $cross_compiling:$ac_tool_warned in
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4007 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4008 ac_tool_warned=yes ;;
4017 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4018 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4019 as_fn_error $? "no acceptable C compiler found in \$PATH
4020 See \`config.log' for more details" "$LINENO" 5; }
4022 # Provide some information about the compiler.
4023 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4026 for ac_option in --version -v -V -qversion; do
4027 { { ac_try="$ac_compiler $ac_option >&5"
4029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4030 *) ac_try_echo=$ac_try;;
4032 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4033 $as_echo "$ac_try_echo"; } >&5
4034 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4036 if test -s conftest.err; then
4038 ... rest of stderr output deleted ...
4039 10q' conftest.err >conftest.er1
4040 cat conftest.er1 >&5
4042 rm -f conftest.er1 conftest.err
4043 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4044 test $ac_status = 0; }
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4048 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4049 if ${ac_cv_c_compiler_gnu+:} false; then :
4050 $as_echo_n "(cached) " >&6
4052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4053 /* end confdefs.h. */
4066 if ac_fn_c_try_compile "$LINENO"; then :
4071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4072 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4076 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4077 if test $ac_compiler_gnu = yes; then
4082 ac_test_CFLAGS=${CFLAGS+set}
4083 ac_save_CFLAGS=$CFLAGS
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4085 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4086 if ${ac_cv_prog_cc_g+:} false; then :
4087 $as_echo_n "(cached) " >&6
4089 ac_save_c_werror_flag=$ac_c_werror_flag
4090 ac_c_werror_flag=yes
4093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4094 /* end confdefs.h. */
4104 if ac_fn_c_try_compile "$LINENO"; then :
4108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4109 /* end confdefs.h. */
4119 if ac_fn_c_try_compile "$LINENO"; then :
4122 ac_c_werror_flag=$ac_save_c_werror_flag
4124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4125 /* end confdefs.h. */
4135 if ac_fn_c_try_compile "$LINENO"; then :
4138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4143 ac_c_werror_flag=$ac_save_c_werror_flag
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4146 $as_echo "$ac_cv_prog_cc_g" >&6; }
4147 if test "$ac_test_CFLAGS" = set; then
4148 CFLAGS=$ac_save_CFLAGS
4149 elif test $ac_cv_prog_cc_g = yes; then
4150 if test "$GCC" = yes; then
4156 if test "$GCC" = yes; then
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4163 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4164 if ${ac_cv_prog_cc_c89+:} false; then :
4165 $as_echo_n "(cached) " >&6
4167 ac_cv_prog_cc_c89=no
4169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4170 /* end confdefs.h. */
4174 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4175 struct buf { int x; };
4176 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4177 static char *e (p, i)
4183 static char *f (char * (*g) (char **, int), char **p, ...)
4188 s = g (p, va_arg (v,int));
4193 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4194 function prototypes and stuff, but not '\xHH' hex character constants.
4195 These don't provoke an error unfortunately, instead are silently treated
4196 as 'x'. The following induces an error, until -std is added to get
4197 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4198 array size at least. It's necessary to write '\x00'==0 to get something
4199 that's true only with -std. */
4200 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4202 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4203 inside strings and character constants. */
4205 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4207 int test (int i, double x);
4208 struct s1 {int (*f) (int a);};
4209 struct s2 {int (*f) (double a);};
4210 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4216 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4221 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4222 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4224 CC="$ac_save_CC $ac_arg"
4225 if ac_fn_c_try_compile "$LINENO"; then :
4226 ac_cv_prog_cc_c89=$ac_arg
4228 rm -f core conftest.err conftest.$ac_objext
4229 test "x$ac_cv_prog_cc_c89" != "xno" && break
4231 rm -f conftest.$ac_ext
4236 case "x$ac_cv_prog_cc_c89" in
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4239 $as_echo "none needed" >&6; } ;;
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4242 $as_echo "unsupported" >&6; } ;;
4244 CC="$CC $ac_cv_prog_cc_c89"
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4246 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4248 if test "x$ac_cv_prog_cc_c89" != xno; then :
4253 ac_cpp='$CPP $CPPFLAGS'
4254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4259 ac_cpp='$CPP $CPPFLAGS'
4260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4264 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4265 if ${am_cv_prog_cc_c_o+:} false; then :
4266 $as_echo_n "(cached) " >&6
4268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4269 /* end confdefs.h. */
4279 # Make sure it works both with $CC and with simple cc.
4280 # Following AC_PROG_CC_C_O, we do the test twice because some
4281 # compilers refuse to overwrite an existing .o file with -o,
4282 # though they will create one.
4283 am_cv_prog_cc_c_o=yes
4285 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4286 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4289 (exit $ac_status); } \
4290 && test -f conftest2.$ac_objext; then
4293 am_cv_prog_cc_c_o=no
4297 rm -f core conftest*
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4301 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4302 if test "$am_cv_prog_cc_c_o" != yes; then
4303 # Losing compiler, so override with the script.
4304 # FIXME: It is wrong to rewrite CC.
4305 # But if we don't then we get into trouble of one sort or another.
4306 # A longer-term fix would be to have automake use am__CC in this case,
4307 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4308 CC="$am_aux_dir/compile $CC"
4311 ac_cpp='$CPP $CPPFLAGS'
4312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4317 depcc="$CC" am_compiler_list=
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4320 $as_echo_n "checking dependency style of $depcc... " >&6; }
4321 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4322 $as_echo_n "(cached) " >&6
4324 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4325 # We make a subdir and do the tests there. Otherwise we can end up
4326 # making bogus files that we don't know about and never remove. For
4327 # instance it was reported that on HP-UX the gcc test will end up
4328 # making a dummy file named 'D' -- because '-MD' means "put the output
4332 # Copy depcomp to subdir because otherwise we won't find it if we're
4333 # using a relative directory.
4334 cp "$am_depcomp" conftest.dir
4336 # We will build objects and dependencies in a subdirectory because
4337 # it helps to detect inapplicable dependency modes. For instance
4338 # both Tru64's cc and ICC support -MD to output dependencies as a
4339 # side effect of compilation, but ICC will put the dependencies in
4340 # the current directory while Tru64 will put them in the object
4344 am_cv_CC_dependencies_compiler_type=none
4345 if test "$am_compiler_list" = ""; then
4346 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4349 case " $depcc " in #(
4350 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4353 for depmode in $am_compiler_list; do
4354 # Setup a source with many dependencies, because some compilers
4355 # like to wrap large dependency lists on column 80 (with \), and
4356 # we should not choose a depcomp mode which is confused by this.
4358 # We need to recreate these files for each test, as the compiler may
4359 # overwrite some of them when testing with obscure command lines.
4360 # This happens at least with the AIX C compiler.
4362 for i in 1 2 3 4 5 6; do
4363 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4364 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4365 # Solaris 10 /bin/sh.
4366 echo '/* dummy */' > sub/conftst$i.h
4368 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4370 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4371 # mode. It turns out that the SunPro C++ compiler does not properly
4372 # handle '-M -o', and we need to detect this. Also, some Intel
4373 # versions had trouble with output in subdirs.
4374 am__obj=sub/conftest.${OBJEXT-o}
4375 am__minus_obj="-o $am__obj"
4378 # This depmode causes a compiler race in universal mode.
4379 test "$am__universal" = false || continue
4382 # After this tag, mechanisms are not by side-effect, so they'll
4383 # only be used when explicitly requested.
4384 if test "x$enable_dependency_tracking" = xyes; then
4390 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4391 # This compiler won't grok '-c -o', but also, the minuso test has
4392 # not run yet. These depmodes are late enough in the game, and
4393 # so weak that their functioning should not be impacted.
4394 am__obj=conftest.${OBJEXT-o}
4399 if depmode=$depmode \
4400 source=sub/conftest.c object=$am__obj \
4401 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4402 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4403 >/dev/null 2>conftest.err &&
4404 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4405 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4406 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4407 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4408 # icc doesn't choke on unknown options, it will just issue warnings
4409 # or remarks (even with -Werror). So we grep stderr for any message
4410 # that says an option was ignored or not supported.
4411 # When given -MP, icc 7.0 and 7.1 complain thusly:
4412 # icc: Command line warning: ignoring option '-M'; no argument required
4413 # The diagnosis changed in icc 8.0:
4414 # icc: Command line remark: option '-MP' not supported
4415 if (grep 'ignoring option' conftest.err ||
4416 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4417 am_cv_CC_dependencies_compiler_type=$depmode
4426 am_cv_CC_dependencies_compiler_type=none
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4431 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4432 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4435 test "x$enable_dependency_tracking" != xno \
4436 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4438 am__fastdepCC_FALSE='#'
4440 am__fastdepCC_TRUE='#'
4441 am__fastdepCC_FALSE=
4446 if test -n "$ac_tool_prefix"; then
4447 for ac_prog in ar lib "link -lib"
4449 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4450 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4452 $as_echo_n "checking for $ac_word... " >&6; }
4453 if ${ac_cv_prog_AR+:} false; then :
4454 $as_echo_n "(cached) " >&6
4456 if test -n "$AR"; then
4457 ac_cv_prog_AR="$AR" # Let the user override the test.
4459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4463 test -z "$as_dir" && as_dir=.
4464 for ac_exec_ext in '' $ac_executable_extensions; do
4465 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4466 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4477 if test -n "$AR"; then
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4479 $as_echo "$AR" >&6; }
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4482 $as_echo "no" >&6; }
4486 test -n "$AR" && break
4489 if test -z "$AR"; then
4491 for ac_prog in ar lib "link -lib"
4493 # Extract the first word of "$ac_prog", so it can be a program name with args.
4494 set dummy $ac_prog; ac_word=$2
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4496 $as_echo_n "checking for $ac_word... " >&6; }
4497 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4498 $as_echo_n "(cached) " >&6
4500 if test -n "$ac_ct_AR"; then
4501 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4507 test -z "$as_dir" && as_dir=.
4508 for ac_exec_ext in '' $ac_executable_extensions; do
4509 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4510 ac_cv_prog_ac_ct_AR="$ac_prog"
4511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4520 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4521 if test -n "$ac_ct_AR"; then
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4523 $as_echo "$ac_ct_AR" >&6; }
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4526 $as_echo "no" >&6; }
4530 test -n "$ac_ct_AR" && break
4533 if test "x$ac_ct_AR" = x; then
4536 case $cross_compiling:$ac_tool_warned in
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4539 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4540 ac_tool_warned=yes ;;
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4549 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
4550 if ${am_cv_ar_interface+:} false; then :
4551 $as_echo_n "(cached) " >&6
4554 ac_cpp='$CPP $CPPFLAGS'
4555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4559 am_cv_ar_interface=ar
4560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4561 /* end confdefs.h. */
4562 int some_variable = 0;
4564 if ac_fn_c_try_compile "$LINENO"; then :
4565 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4566 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4567 (eval $am_ar_try) 2>&5
4569 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4570 test $ac_status = 0; }
4571 if test "$ac_status" -eq 0; then
4572 am_cv_ar_interface=ar
4574 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4575 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4576 (eval $am_ar_try) 2>&5
4578 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4579 test $ac_status = 0; }
4580 if test "$ac_status" -eq 0; then
4581 am_cv_ar_interface=lib
4583 am_cv_ar_interface=unknown
4586 rm -f conftest.lib libconftest.a
4589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4591 ac_cpp='$CPP $CPPFLAGS'
4592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4598 $as_echo "$am_cv_ar_interface" >&6; }
4600 case $am_cv_ar_interface in
4604 # Microsoft lib, so override with the ar-lib wrapper script.
4605 # FIXME: It is wrong to rewrite AR.
4606 # But if we don't then we get into trouble of one sort or another.
4607 # A longer-term fix would be to have automake use am__AR in this case,
4608 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4610 AR="$am_aux_dir/ar-lib $AR"
4613 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4618 # Checks for libraries.
4620 # Checks for header files.
4622 ac_cpp='$CPP $CPPFLAGS'
4623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4627 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4628 # On Suns, sometimes $CPP names a directory.
4629 if test -n "$CPP" && test -d "$CPP"; then
4632 if test -z "$CPP"; then
4633 if ${ac_cv_prog_CPP+:} false; then :
4634 $as_echo_n "(cached) " >&6
4636 # Double quotes because CPP needs to be expanded
4637 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4640 for ac_c_preproc_warn_flag in '' yes
4642 # Use a header file that comes with gcc, so configuring glibc
4643 # with a fresh cross-compiler works.
4644 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4645 # <limits.h> exists even on freestanding compilers.
4646 # On the NeXT, cc -E runs the code through the compiler's parser,
4647 # not just through cpp. "Syntax error" is here to catch this case.
4648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4649 /* end confdefs.h. */
4651 # include <limits.h>
4653 # include <assert.h>
4657 if ac_fn_c_try_cpp "$LINENO"; then :
4660 # Broken: fails on valid input.
4663 rm -f conftest.err conftest.i conftest.$ac_ext
4665 # OK, works on sane cases. Now check whether nonexistent headers
4666 # can be detected and how.
4667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4668 /* end confdefs.h. */
4669 #include <ac_nonexistent.h>
4671 if ac_fn_c_try_cpp "$LINENO"; then :
4672 # Broken: success on invalid input.
4675 # Passes both tests.
4679 rm -f conftest.err conftest.i conftest.$ac_ext
4682 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4683 rm -f conftest.i conftest.err conftest.$ac_ext
4684 if $ac_preproc_ok; then :
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4697 $as_echo "$CPP" >&6; }
4699 for ac_c_preproc_warn_flag in '' yes
4701 # Use a header file that comes with gcc, so configuring glibc
4702 # with a fresh cross-compiler works.
4703 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4704 # <limits.h> exists even on freestanding compilers.
4705 # On the NeXT, cc -E runs the code through the compiler's parser,
4706 # not just through cpp. "Syntax error" is here to catch this case.
4707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4708 /* end confdefs.h. */
4710 # include <limits.h>
4712 # include <assert.h>
4716 if ac_fn_c_try_cpp "$LINENO"; then :
4719 # Broken: fails on valid input.
4722 rm -f conftest.err conftest.i conftest.$ac_ext
4724 # OK, works on sane cases. Now check whether nonexistent headers
4725 # can be detected and how.
4726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4727 /* end confdefs.h. */
4728 #include <ac_nonexistent.h>
4730 if ac_fn_c_try_cpp "$LINENO"; then :
4731 # Broken: success on invalid input.
4734 # Passes both tests.
4738 rm -f conftest.err conftest.i conftest.$ac_ext
4741 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4742 rm -f conftest.i conftest.err conftest.$ac_ext
4743 if $ac_preproc_ok; then :
4746 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4747 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4748 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4749 See \`config.log' for more details" "$LINENO" 5; }
4753 ac_cpp='$CPP $CPPFLAGS'
4754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4760 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4761 if ${ac_cv_path_GREP+:} false; then :
4762 $as_echo_n "(cached) " >&6
4764 if test -z "$GREP"; then
4765 ac_path_GREP_found=false
4766 # Loop through the user's path and test for each of PROGNAME-LIST
4767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4768 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4771 test -z "$as_dir" && as_dir=.
4772 for ac_prog in grep ggrep; do
4773 for ac_exec_ext in '' $ac_executable_extensions; do
4774 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4775 as_fn_executable_p "$ac_path_GREP" || continue
4776 # Check for GNU ac_path_GREP and select it if it is found.
4777 # Check for GNU $ac_path_GREP
4778 case `"$ac_path_GREP" --version 2>&1` in
4780 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4783 $as_echo_n 0123456789 >"conftest.in"
4786 cat "conftest.in" "conftest.in" >"conftest.tmp"
4787 mv "conftest.tmp" "conftest.in"
4788 cp "conftest.in" "conftest.nl"
4789 $as_echo 'GREP' >> "conftest.nl"
4790 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4791 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4792 as_fn_arith $ac_count + 1 && ac_count=$as_val
4793 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4794 # Best one so far, save it but keep looking for a better one
4795 ac_cv_path_GREP="$ac_path_GREP"
4796 ac_path_GREP_max=$ac_count
4798 # 10*(2^10) chars as input seems more than enough
4799 test $ac_count -gt 10 && break
4801 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4804 $ac_path_GREP_found && break 3
4809 if test -z "$ac_cv_path_GREP"; then
4810 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4813 ac_cv_path_GREP=$GREP
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4818 $as_echo "$ac_cv_path_GREP" >&6; }
4819 GREP="$ac_cv_path_GREP"
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4823 $as_echo_n "checking for egrep... " >&6; }
4824 if ${ac_cv_path_EGREP+:} false; then :
4825 $as_echo_n "(cached) " >&6
4827 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4828 then ac_cv_path_EGREP="$GREP -E"
4830 if test -z "$EGREP"; then
4831 ac_path_EGREP_found=false
4832 # Loop through the user's path and test for each of PROGNAME-LIST
4833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4834 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4837 test -z "$as_dir" && as_dir=.
4838 for ac_prog in egrep; do
4839 for ac_exec_ext in '' $ac_executable_extensions; do
4840 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4841 as_fn_executable_p "$ac_path_EGREP" || continue
4842 # Check for GNU ac_path_EGREP and select it if it is found.
4843 # Check for GNU $ac_path_EGREP
4844 case `"$ac_path_EGREP" --version 2>&1` in
4846 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4849 $as_echo_n 0123456789 >"conftest.in"
4852 cat "conftest.in" "conftest.in" >"conftest.tmp"
4853 mv "conftest.tmp" "conftest.in"
4854 cp "conftest.in" "conftest.nl"
4855 $as_echo 'EGREP' >> "conftest.nl"
4856 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4857 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4858 as_fn_arith $ac_count + 1 && ac_count=$as_val
4859 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4860 # Best one so far, save it but keep looking for a better one
4861 ac_cv_path_EGREP="$ac_path_EGREP"
4862 ac_path_EGREP_max=$ac_count
4864 # 10*(2^10) chars as input seems more than enough
4865 test $ac_count -gt 10 && break
4867 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4870 $ac_path_EGREP_found && break 3
4875 if test -z "$ac_cv_path_EGREP"; then
4876 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4879 ac_cv_path_EGREP=$EGREP
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4885 $as_echo "$ac_cv_path_EGREP" >&6; }
4886 EGREP="$ac_cv_path_EGREP"
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4890 $as_echo_n "checking for ANSI C header files... " >&6; }
4891 if ${ac_cv_header_stdc+:} false; then :
4892 $as_echo_n "(cached) " >&6
4894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4895 /* end confdefs.h. */
4909 if ac_fn_c_try_compile "$LINENO"; then :
4910 ac_cv_header_stdc=yes
4912 ac_cv_header_stdc=no
4914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4916 if test $ac_cv_header_stdc = yes; then
4917 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4919 /* end confdefs.h. */
4923 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4924 $EGREP "memchr" >/dev/null 2>&1; then :
4927 ac_cv_header_stdc=no
4933 if test $ac_cv_header_stdc = yes; then
4934 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4936 /* end confdefs.h. */
4940 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4941 $EGREP "free" >/dev/null 2>&1; then :
4944 ac_cv_header_stdc=no
4950 if test $ac_cv_header_stdc = yes; then
4951 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4952 if test "$cross_compiling" = yes; then :
4955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4956 /* end confdefs.h. */
4959 #if ((' ' & 0x0FF) == 0x020)
4960 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4961 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4963 # define ISLOWER(c) \
4964 (('a' <= (c) && (c) <= 'i') \
4965 || ('j' <= (c) && (c) <= 'r') \
4966 || ('s' <= (c) && (c) <= 'z'))
4967 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4970 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4975 for (i = 0; i < 256; i++)
4976 if (XOR (islower (i), ISLOWER (i))
4977 || toupper (i) != TOUPPER (i))
4982 if ac_fn_c_try_run "$LINENO"; then :
4985 ac_cv_header_stdc=no
4987 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4988 conftest.$ac_objext conftest.beam conftest.$ac_ext
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4994 $as_echo "$ac_cv_header_stdc" >&6; }
4995 if test $ac_cv_header_stdc = yes; then
4997 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5001 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5002 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5003 inttypes.h stdint.h unistd.h
5005 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5006 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5008 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5009 cat >>confdefs.h <<_ACEOF
5010 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5018 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
5019 if test "x$ac_cv_type_size_t" = xyes; then :
5023 cat >>confdefs.h <<_ACEOF
5024 #define size_t unsigned int
5029 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
5030 # for constant arguments. Useless!
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
5032 $as_echo_n "checking for working alloca.h... " >&6; }
5033 if ${ac_cv_working_alloca_h+:} false; then :
5034 $as_echo_n "(cached) " >&6
5036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5037 /* end confdefs.h. */
5042 char *p = (char *) alloca (2 * sizeof (int));
5048 if ac_fn_c_try_link "$LINENO"; then :
5049 ac_cv_working_alloca_h=yes
5051 ac_cv_working_alloca_h=no
5053 rm -f core conftest.err conftest.$ac_objext \
5054 conftest$ac_exeext conftest.$ac_ext
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
5057 $as_echo "$ac_cv_working_alloca_h" >&6; }
5058 if test $ac_cv_working_alloca_h = yes; then
5060 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
5065 $as_echo_n "checking for alloca... " >&6; }
5066 if ${ac_cv_func_alloca_works+:} false; then :
5067 $as_echo_n "(cached) " >&6
5069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5070 /* end confdefs.h. */
5072 # define alloca __builtin_alloca
5075 # include <malloc.h>
5076 # define alloca _alloca
5078 # ifdef HAVE_ALLOCA_H
5079 # include <alloca.h>
5084 # ifndef alloca /* predefined by HP cc +Olibcalls */
5085 void *alloca (size_t);
5095 char *p = (char *) alloca (1);
5101 if ac_fn_c_try_link "$LINENO"; then :
5102 ac_cv_func_alloca_works=yes
5104 ac_cv_func_alloca_works=no
5106 rm -f core conftest.err conftest.$ac_objext \
5107 conftest$ac_exeext conftest.$ac_ext
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
5110 $as_echo "$ac_cv_func_alloca_works" >&6; }
5112 if test $ac_cv_func_alloca_works = yes; then
5114 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
5117 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
5118 # that cause trouble. Some versions do not even contain alloca or
5119 # contain a buggy version. If you still want to use their alloca,
5120 # use ar to extract alloca.o from them instead of compiling alloca.c.
5122 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
5124 $as_echo "#define C_ALLOCA 1" >>confdefs.h
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
5128 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
5129 if ${ac_cv_os_cray+:} false; then :
5130 $as_echo_n "(cached) " >&6
5132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5133 /* end confdefs.h. */
5134 #if defined CRAY && ! defined CRAY2
5141 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5142 $EGREP "webecray" >/dev/null 2>&1; then :
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
5151 $as_echo "$ac_cv_os_cray" >&6; }
5152 if test $ac_cv_os_cray = yes; then
5153 for ac_func in _getb67 GETB67 getb67; do
5154 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5155 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5156 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
5158 cat >>confdefs.h <<_ACEOF
5159 #define CRAY_STACKSEG_END $ac_func
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
5169 $as_echo_n "checking stack direction for C alloca... " >&6; }
5170 if ${ac_cv_c_stack_direction+:} false; then :
5171 $as_echo_n "(cached) " >&6
5173 if test "$cross_compiling" = yes; then :
5174 ac_cv_c_stack_direction=0
5176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5177 /* end confdefs.h. */
5178 $ac_includes_default
5180 find_stack_direction (int *addr, int depth)
5185 *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
5186 dir = depth ? find_stack_direction (addr, depth - 1) : 0;
5191 main (int argc, char **argv)
5193 return find_stack_direction (0, argc + !argv + 20) < 0;
5196 if ac_fn_c_try_run "$LINENO"; then :
5197 ac_cv_c_stack_direction=1
5199 ac_cv_c_stack_direction=-1
5201 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5202 conftest.$ac_objext conftest.beam conftest.$ac_ext
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
5207 $as_echo "$ac_cv_c_stack_direction" >&6; }
5208 cat >>confdefs.h <<_ACEOF
5209 #define STACK_DIRECTION $ac_cv_c_stack_direction
5215 for ac_header in libintl.h malloc.h stddef.h stdlib.h string.h
5217 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5218 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5219 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5220 cat >>confdefs.h <<_ACEOF
5221 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5229 # Checks for typedefs, structures, and compiler characteristics.
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
5231 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
5232 if ${ac_cv_header_stdbool_h+:} false; then :
5233 $as_echo_n "(cached) " >&6
5235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5236 /* end confdefs.h. */
5238 #include <stdbool.h>
5240 "error: bool is not defined"
5243 "error: false is not defined"
5246 "error: false is not 0"
5249 "error: true is not defined"
5252 "error: true is not 1"
5254 #ifndef __bool_true_false_are_defined
5255 "error: __bool_true_false_are_defined is not defined"
5258 struct s { _Bool s: 1; _Bool t; } s;
5260 char a[true == 1 ? 1 : -1];
5261 char b[false == 0 ? 1 : -1];
5262 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
5263 char d[(bool) 0.5 == true ? 1 : -1];
5264 /* See body of main program for 'e'. */
5265 char f[(_Bool) 0.0 == false ? 1 : -1];
5267 char h[sizeof (_Bool)];
5269 enum { j = false, k = true, l = false * true, m = true * 256 };
5270 /* The following fails for
5271 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
5273 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
5274 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
5275 /* Catch a bug in an HP-UX C compiler. See
5276 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
5277 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
5289 /* Refer to every declared value, to avoid compiler optimizations. */
5290 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
5291 + !m + !n + !o + !p + !q + !pq);
5297 if ac_fn_c_try_compile "$LINENO"; then :
5298 ac_cv_header_stdbool_h=yes
5300 ac_cv_header_stdbool_h=no
5302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
5305 $as_echo "$ac_cv_header_stdbool_h" >&6; }
5306 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
5307 if test "x$ac_cv_type__Bool" = xyes; then :
5309 cat >>confdefs.h <<_ACEOF
5310 #define HAVE__BOOL 1
5317 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
5318 if test "x$ac_cv_type_size_t" = xyes; then :
5322 cat >>confdefs.h <<_ACEOF
5323 #define size_t unsigned int
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5332 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5337 macro_version='2.4.6'
5338 macro_revision='2.4.6'
5352 ltmain=$ac_aux_dir/ltmain.sh
5354 # Make sure we can run config.sub.
5355 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5356 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5359 $as_echo_n "checking build system type... " >&6; }
5360 if ${ac_cv_build+:} false; then :
5361 $as_echo_n "(cached) " >&6
5363 ac_build_alias=$build_alias
5364 test "x$ac_build_alias" = x &&
5365 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5366 test "x$ac_build_alias" = x &&
5367 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5368 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5369 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5373 $as_echo "$ac_cv_build" >&6; }
5374 case $ac_cv_build in
5376 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5379 ac_save_IFS=$IFS; IFS='-'
5385 # Remember, the first character of IFS is used to create $*,
5386 # except with old shells:
5389 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5393 $as_echo_n "checking host system type... " >&6; }
5394 if ${ac_cv_host+:} false; then :
5395 $as_echo_n "(cached) " >&6
5397 if test "x$host_alias" = x; then
5398 ac_cv_host=$ac_cv_build
5400 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5401 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5406 $as_echo "$ac_cv_host" >&6; }
5409 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5412 ac_save_IFS=$IFS; IFS='-'
5418 # Remember, the first character of IFS is used to create $*,
5419 # except with old shells:
5422 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5425 # Backslashify metacharacters that are still active within
5426 # double-quoted strings.
5427 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5429 # Same as above, but do not quote variable references.
5430 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5432 # Sed substitution to delay expansion of an escaped shell variable in a
5433 # double_quote_subst'ed string.
5434 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5436 # Sed substitution to delay expansion of an escaped single quote.
5437 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5439 # Sed substitution to avoid accidental globbing in evaled expressions
5440 no_glob_subst='s/\*/\\\*/g'
5442 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5443 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5444 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5447 $as_echo_n "checking how to print strings... " >&6; }
5448 # Test print first, because it will be a builtin if present.
5449 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5450 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5452 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5455 # Use this function as a fallback that always works.
5456 func_fallback_echo ()
5458 eval 'cat <<_LTECHO_EOF
5462 ECHO='func_fallback_echo'
5465 # func_echo_all arg...
5466 # Invoke $ECHO with all args, space-separated.
5473 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5474 $as_echo "printf" >&6; } ;;
5475 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5476 $as_echo "print -r" >&6; } ;;
5477 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5478 $as_echo "cat" >&6; } ;;
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5495 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5496 if ${ac_cv_path_SED+:} false; then :
5497 $as_echo_n "(cached) " >&6
5499 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5500 for ac_i in 1 2 3 4 5 6 7; do
5501 ac_script="$ac_script$as_nl$ac_script"
5503 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5504 { ac_script=; unset ac_script;}
5505 if test -z "$SED"; then
5506 ac_path_SED_found=false
5507 # Loop through the user's path and test for each of PROGNAME-LIST
5508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5512 test -z "$as_dir" && as_dir=.
5513 for ac_prog in sed gsed; do
5514 for ac_exec_ext in '' $ac_executable_extensions; do
5515 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5516 as_fn_executable_p "$ac_path_SED" || continue
5517 # Check for GNU ac_path_SED and select it if it is found.
5518 # Check for GNU $ac_path_SED
5519 case `"$ac_path_SED" --version 2>&1` in
5521 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5524 $as_echo_n 0123456789 >"conftest.in"
5527 cat "conftest.in" "conftest.in" >"conftest.tmp"
5528 mv "conftest.tmp" "conftest.in"
5529 cp "conftest.in" "conftest.nl"
5530 $as_echo '' >> "conftest.nl"
5531 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5532 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5533 as_fn_arith $ac_count + 1 && ac_count=$as_val
5534 if test $ac_count -gt ${ac_path_SED_max-0}; then
5535 # Best one so far, save it but keep looking for a better one
5536 ac_cv_path_SED="$ac_path_SED"
5537 ac_path_SED_max=$ac_count
5539 # 10*(2^10) chars as input seems more than enough
5540 test $ac_count -gt 10 && break
5542 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5545 $ac_path_SED_found && break 3
5550 if test -z "$ac_cv_path_SED"; then
5551 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5559 $as_echo "$ac_cv_path_SED" >&6; }
5560 SED="$ac_cv_path_SED"
5563 test -z "$SED" && SED=sed
5564 Xsed="$SED -e 1s/^X//"
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5577 $as_echo_n "checking for fgrep... " >&6; }
5578 if ${ac_cv_path_FGREP+:} false; then :
5579 $as_echo_n "(cached) " >&6
5581 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5582 then ac_cv_path_FGREP="$GREP -F"
5584 if test -z "$FGREP"; then
5585 ac_path_FGREP_found=false
5586 # Loop through the user's path and test for each of PROGNAME-LIST
5587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5588 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5591 test -z "$as_dir" && as_dir=.
5592 for ac_prog in fgrep; do
5593 for ac_exec_ext in '' $ac_executable_extensions; do
5594 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5595 as_fn_executable_p "$ac_path_FGREP" || continue
5596 # Check for GNU ac_path_FGREP and select it if it is found.
5597 # Check for GNU $ac_path_FGREP
5598 case `"$ac_path_FGREP" --version 2>&1` in
5600 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5603 $as_echo_n 0123456789 >"conftest.in"
5606 cat "conftest.in" "conftest.in" >"conftest.tmp"
5607 mv "conftest.tmp" "conftest.in"
5608 cp "conftest.in" "conftest.nl"
5609 $as_echo 'FGREP' >> "conftest.nl"
5610 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5611 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5612 as_fn_arith $ac_count + 1 && ac_count=$as_val
5613 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5614 # Best one so far, save it but keep looking for a better one
5615 ac_cv_path_FGREP="$ac_path_FGREP"
5616 ac_path_FGREP_max=$ac_count
5618 # 10*(2^10) chars as input seems more than enough
5619 test $ac_count -gt 10 && break
5621 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5624 $ac_path_FGREP_found && break 3
5629 if test -z "$ac_cv_path_FGREP"; then
5630 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5633 ac_cv_path_FGREP=$FGREP
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5639 $as_echo "$ac_cv_path_FGREP" >&6; }
5640 FGREP="$ac_cv_path_FGREP"
5643 test -z "$GREP" && GREP=grep
5663 # Check whether --with-gnu-ld was given.
5664 if test "${with_gnu_ld+set}" = set; then :
5665 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5671 if test yes = "$GCC"; then
5672 # Check if gcc -print-prog-name=ld gives a path.
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5674 $as_echo_n "checking for ld used by $CC... " >&6; }
5677 # gcc leaves a trailing carriage return, which upsets mingw
5678 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5680 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5683 # Accept absolute paths.
5685 re_direlt='/[^/][^/]*/\.\./'
5686 # Canonicalize the pathname of ld
5687 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5688 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5689 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5691 test -z "$LD" && LD=$ac_prog
5694 # If it fails, then pretend we aren't using GCC.
5698 # If it is relative, then search for the first ld in PATH.
5702 elif test yes = "$with_gnu_ld"; then
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5704 $as_echo_n "checking for GNU ld... " >&6; }
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5707 $as_echo_n "checking for non-GNU ld... " >&6; }
5709 if ${lt_cv_path_LD+:} false; then :
5710 $as_echo_n "(cached) " >&6
5712 if test -z "$LD"; then
5713 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5714 for ac_dir in $PATH; do
5716 test -z "$ac_dir" && ac_dir=.
5717 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5718 lt_cv_path_LD=$ac_dir/$ac_prog
5719 # Check to see if the program is GNU ld. I'd rather use --version,
5720 # but apparently some variants of GNU ld only accept -v.
5721 # Break only if it was the GNU/non-GNU ld that we prefer.
5722 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5723 *GNU* | *'with BFD'*)
5724 test no != "$with_gnu_ld" && break
5727 test yes != "$with_gnu_ld" && break
5734 lt_cv_path_LD=$LD # Let the user override the test with a path.
5739 if test -n "$LD"; then
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5741 $as_echo "$LD" >&6; }
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5744 $as_echo "no" >&6; }
5746 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5748 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5749 if ${lt_cv_prog_gnu_ld+:} false; then :
5750 $as_echo_n "(cached) " >&6
5752 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5753 case `$LD -v 2>&1 </dev/null` in
5754 *GNU* | *'with BFD'*)
5755 lt_cv_prog_gnu_ld=yes
5758 lt_cv_prog_gnu_ld=no
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5763 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5764 with_gnu_ld=$lt_cv_prog_gnu_ld
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5775 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5776 if ${lt_cv_path_NM+:} false; then :
5777 $as_echo_n "(cached) " >&6
5779 if test -n "$NM"; then
5780 # Let the user override the test.
5783 lt_nm_to_check=${ac_tool_prefix}nm
5784 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5785 lt_nm_to_check="$lt_nm_to_check nm"
5787 for lt_tmp_nm in $lt_nm_to_check; do
5788 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5789 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5791 test -z "$ac_dir" && ac_dir=.
5792 tmp_nm=$ac_dir/$lt_tmp_nm
5793 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5794 # Check to see if the nm accepts a BSD-compat flag.
5795 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5796 # nm: unknown option "B" ignored
5797 # Tru64's nm complains that /dev/null is an invalid object file
5798 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5800 mingw*) lt_bad_file=conftest.nm/nofile ;;
5801 *) lt_bad_file=/dev/null ;;
5803 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5804 *$lt_bad_file* | *'Invalid file or object type'*)
5805 lt_cv_path_NM="$tmp_nm -B"
5809 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5811 lt_cv_path_NM="$tmp_nm -p"
5815 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5816 continue # so that we can try to find one that supports BSD flags
5825 : ${lt_cv_path_NM=no}
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5829 $as_echo "$lt_cv_path_NM" >&6; }
5830 if test no != "$lt_cv_path_NM"; then
5833 # Didn't find any BSD compatible name lister, look for dumpbin.
5834 if test -n "$DUMPBIN"; then :
5835 # Let the user override the test.
5837 if test -n "$ac_tool_prefix"; then
5838 for ac_prog in dumpbin "link -dump"
5840 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5841 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5843 $as_echo_n "checking for $ac_word... " >&6; }
5844 if ${ac_cv_prog_DUMPBIN+:} false; then :
5845 $as_echo_n "(cached) " >&6
5847 if test -n "$DUMPBIN"; then
5848 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5854 test -z "$as_dir" && as_dir=.
5855 for ac_exec_ext in '' $ac_executable_extensions; do
5856 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5857 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5867 DUMPBIN=$ac_cv_prog_DUMPBIN
5868 if test -n "$DUMPBIN"; then
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5870 $as_echo "$DUMPBIN" >&6; }
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5873 $as_echo "no" >&6; }
5877 test -n "$DUMPBIN" && break
5880 if test -z "$DUMPBIN"; then
5881 ac_ct_DUMPBIN=$DUMPBIN
5882 for ac_prog in dumpbin "link -dump"
5884 # Extract the first word of "$ac_prog", so it can be a program name with args.
5885 set dummy $ac_prog; ac_word=$2
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5887 $as_echo_n "checking for $ac_word... " >&6; }
5888 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5889 $as_echo_n "(cached) " >&6
5891 if test -n "$ac_ct_DUMPBIN"; then
5892 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5898 test -z "$as_dir" && as_dir=.
5899 for ac_exec_ext in '' $ac_executable_extensions; do
5900 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5901 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5911 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5912 if test -n "$ac_ct_DUMPBIN"; then
5913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5914 $as_echo "$ac_ct_DUMPBIN" >&6; }
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5917 $as_echo "no" >&6; }
5921 test -n "$ac_ct_DUMPBIN" && break
5924 if test "x$ac_ct_DUMPBIN" = x; then
5927 case $cross_compiling:$ac_tool_warned in
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5930 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5931 ac_tool_warned=yes ;;
5933 DUMPBIN=$ac_ct_DUMPBIN
5937 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5939 DUMPBIN="$DUMPBIN -symbols -headers"
5947 if test : != "$DUMPBIN"; then
5951 test -z "$NM" && NM=nm
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5959 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5960 if ${lt_cv_nm_interface+:} false; then :
5961 $as_echo_n "(cached) " >&6
5963 lt_cv_nm_interface="BSD nm"
5964 echo "int some_variable = 0;" > conftest.$ac_ext
5965 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5966 (eval "$ac_compile" 2>conftest.err)
5967 cat conftest.err >&5
5968 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5969 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5970 cat conftest.err >&5
5971 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5972 cat conftest.out >&5
5973 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5974 lt_cv_nm_interface="MS dumpbin"
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5979 $as_echo "$lt_cv_nm_interface" >&6; }
5981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5982 $as_echo_n "checking whether ln -s works... " >&6; }
5984 if test "$LN_S" = "ln -s"; then
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5986 $as_echo "yes" >&6; }
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5989 $as_echo "no, using $LN_S" >&6; }
5992 # find the maximum length of command line arguments
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5994 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5995 if ${lt_cv_sys_max_cmd_len+:} false; then :
5996 $as_echo_n "(cached) " >&6
6003 # On DJGPP, this test can blow up pretty badly due to problems in libc
6004 # (any single argument exceeding 2000 bytes causes a buffer overrun
6005 # during glob expansion). Even if it were fixed, the result of this
6006 # check would be larger than it should be.
6007 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6011 # Under GNU Hurd, this test is not required because there is
6012 # no limit to the length of command line arguments.
6013 # Libtool will interpret -1 as no limit whatsoever
6014 lt_cv_sys_max_cmd_len=-1;
6017 cygwin* | mingw* | cegcc*)
6018 # On Win9x/ME, this test blows up -- it succeeds, but takes
6019 # about 5 minutes as the teststring grows exponentially.
6020 # Worse, since 9x/ME are not pre-emptively multitasking,
6021 # you end up with a "frozen" computer, even though with patience
6022 # the test eventually succeeds (with a max line length of 256k).
6023 # Instead, let's just punt: use the minimum linelength reported by
6024 # all of the supported platforms: 8192 (on NT/2K/XP).
6025 lt_cv_sys_max_cmd_len=8192;
6029 # On MiNT this can take a long time and run out of memory.
6030 lt_cv_sys_max_cmd_len=8192;
6034 # On AmigaOS with pdksh, this test takes hours, literally.
6035 # So we just punt and use a minimum line length of 8192.
6036 lt_cv_sys_max_cmd_len=8192;
6039 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
6040 # This has been around since 386BSD, at least. Likely further.
6041 if test -x /sbin/sysctl; then
6042 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6043 elif test -x /usr/sbin/sysctl; then
6044 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6046 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6048 # And add a safety zone
6049 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6050 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6054 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6055 lt_cv_sys_max_cmd_len=196608
6059 # The test takes a long time on OS/2.
6060 lt_cv_sys_max_cmd_len=8192
6064 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6065 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6066 # nice to cause kernel panics so lets avoid the loop below.
6067 # First set a reasonable default.
6068 lt_cv_sys_max_cmd_len=16384
6070 if test -x /sbin/sysconfig; then
6071 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6072 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6077 lt_cv_sys_max_cmd_len=102400
6079 sysv5* | sco5v6* | sysv4.2uw2*)
6080 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6081 if test -n "$kargmax"; then
6082 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6084 lt_cv_sys_max_cmd_len=32768
6088 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6089 if test -n "$lt_cv_sys_max_cmd_len" && \
6090 test undefined != "$lt_cv_sys_max_cmd_len"; then
6091 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6092 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6094 # Make teststring a little bigger before we do anything with it.
6095 # a 1K string should be a reasonable start.
6096 for i in 1 2 3 4 5 6 7 8; do
6097 teststring=$teststring$teststring
6099 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6100 # If test is not a shell built-in, we'll probably end up computing a
6101 # maximum length that is only half of the actual maximum length, but
6103 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
6104 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6105 test 17 != "$i" # 1/2 MB should be enough
6108 teststring=$teststring$teststring
6110 # Only check the string length outside the loop.
6111 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6113 # Add a significant safety factor because C++ compilers can tack on
6114 # massive amounts of additional arguments before passing them to the
6115 # linker. It appears as though 1/2 is a usable value.
6116 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6123 if test -n "$lt_cv_sys_max_cmd_len"; then
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6125 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6128 $as_echo "none" >&6; }
6130 max_cmd_len=$lt_cv_sys_max_cmd_len
6141 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6151 # test EBCDIC or ASCII
6152 case `echo X|tr X '\101'` in
6153 A) # ASCII based system
6154 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6155 lt_SP2NL='tr \040 \012'
6156 lt_NL2SP='tr \015\012 \040\040'
6158 *) # EBCDIC based system
6159 lt_SP2NL='tr \100 \n'
6160 lt_NL2SP='tr \r\n \100\100'
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6173 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6174 if ${lt_cv_to_host_file_cmd+:} false; then :
6175 $as_echo_n "(cached) " >&6
6180 *-*-mingw* ) # actually msys
6181 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6184 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6186 * ) # otherwise, assume *nix
6187 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6193 *-*-mingw* ) # actually msys
6194 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6197 lt_cv_to_host_file_cmd=func_convert_file_noop
6199 * ) # otherwise, assume *nix
6200 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6204 * ) # unhandled hosts (and "normal" native builds)
6205 lt_cv_to_host_file_cmd=func_convert_file_noop
6211 to_host_file_cmd=$lt_cv_to_host_file_cmd
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6213 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6220 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6221 if ${lt_cv_to_tool_file_cmd+:} false; then :
6222 $as_echo_n "(cached) " >&6
6224 #assume ordinary cross tools, or native build.
6225 lt_cv_to_tool_file_cmd=func_convert_file_noop
6229 *-*-mingw* ) # actually msys
6230 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6238 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6240 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6247 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6248 if ${lt_cv_ld_reload_flag+:} false; then :
6249 $as_echo_n "(cached) " >&6
6251 lt_cv_ld_reload_flag='-r'
6253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6254 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6255 reload_flag=$lt_cv_ld_reload_flag
6256 case $reload_flag in
6258 *) reload_flag=" $reload_flag" ;;
6260 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6262 cygwin* | mingw* | pw32* | cegcc*)
6263 if test yes != "$GCC"; then
6268 if test yes = "$GCC"; then
6269 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6271 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6284 if test -n "$ac_tool_prefix"; then
6285 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6286 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6288 $as_echo_n "checking for $ac_word... " >&6; }
6289 if ${ac_cv_prog_OBJDUMP+:} false; then :
6290 $as_echo_n "(cached) " >&6
6292 if test -n "$OBJDUMP"; then
6293 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6299 test -z "$as_dir" && as_dir=.
6300 for ac_exec_ext in '' $ac_executable_extensions; do
6301 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6302 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6303 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6312 OBJDUMP=$ac_cv_prog_OBJDUMP
6313 if test -n "$OBJDUMP"; then
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6315 $as_echo "$OBJDUMP" >&6; }
6317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6318 $as_echo "no" >&6; }
6323 if test -z "$ac_cv_prog_OBJDUMP"; then
6324 ac_ct_OBJDUMP=$OBJDUMP
6325 # Extract the first word of "objdump", so it can be a program name with args.
6326 set dummy objdump; ac_word=$2
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6328 $as_echo_n "checking for $ac_word... " >&6; }
6329 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6330 $as_echo_n "(cached) " >&6
6332 if test -n "$ac_ct_OBJDUMP"; then
6333 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6339 test -z "$as_dir" && as_dir=.
6340 for ac_exec_ext in '' $ac_executable_extensions; do
6341 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6342 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6352 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6353 if test -n "$ac_ct_OBJDUMP"; then
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6355 $as_echo "$ac_ct_OBJDUMP" >&6; }
6357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6358 $as_echo "no" >&6; }
6361 if test "x$ac_ct_OBJDUMP" = x; then
6364 case $cross_compiling:$ac_tool_warned in
6366 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6367 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6368 ac_tool_warned=yes ;;
6370 OBJDUMP=$ac_ct_OBJDUMP
6373 OBJDUMP="$ac_cv_prog_OBJDUMP"
6376 test -z "$OBJDUMP" && OBJDUMP=objdump
6386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6387 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6388 if ${lt_cv_deplibs_check_method+:} false; then :
6389 $as_echo_n "(cached) " >&6
6391 lt_cv_file_magic_cmd='$MAGIC_CMD'
6392 lt_cv_file_magic_test_file=
6393 lt_cv_deplibs_check_method='unknown'
6394 # Need to set the preceding variable on all platforms that support
6395 # interlibrary dependencies.
6396 # 'none' -- dependencies not supported.
6397 # 'unknown' -- same as none, but documents that we really don't know.
6398 # 'pass_all' -- all dependencies passed with no checks.
6399 # 'test_compile' -- check by making test program.
6400 # 'file_magic [[regex]]' -- check by looking for files in library path
6401 # that responds to the $file_magic_cmd with a given extended regex.
6402 # If you have 'file' or equivalent on your system and you're not sure
6403 # whether 'pass_all' will *always* work, you probably want this one.
6407 lt_cv_deplibs_check_method=pass_all
6411 lt_cv_deplibs_check_method=pass_all
6415 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6416 lt_cv_file_magic_cmd='/usr/bin/file -L'
6417 lt_cv_file_magic_test_file=/shlib/libc.so
6421 # func_win32_libid is a shell function defined in ltmain.sh
6422 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6423 lt_cv_file_magic_cmd='func_win32_libid'
6427 # Base MSYS/MinGW do not provide the 'file' command needed by
6428 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6429 # unless we find 'file', for example because we are cross-compiling.
6430 if ( file / ) >/dev/null 2>&1; then
6431 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6432 lt_cv_file_magic_cmd='func_win32_libid'
6434 # Keep this pattern in sync with the one in func_win32_libid.
6435 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6436 lt_cv_file_magic_cmd='$OBJDUMP -f'
6441 # use the weaker test based on 'objdump'. See mingw*.
6442 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6443 lt_cv_file_magic_cmd='$OBJDUMP -f'
6446 darwin* | rhapsody*)
6447 lt_cv_deplibs_check_method=pass_all
6450 freebsd* | dragonfly*)
6451 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6454 # Not sure whether the presence of OpenBSD here was a mistake.
6455 # Let's accept both of them until this is cleared up.
6456 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6457 lt_cv_file_magic_cmd=/usr/bin/file
6458 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6462 lt_cv_deplibs_check_method=pass_all
6467 lt_cv_deplibs_check_method=pass_all
6470 hpux10.20* | hpux11*)
6471 lt_cv_file_magic_cmd=/usr/bin/file
6474 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6475 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6478 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]'
6479 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6482 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6483 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6489 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6490 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6493 irix5* | irix6* | nonstopux*)
6495 *-32|*"-32 ") libmagic=32-bit;;
6496 *-n32|*"-n32 ") libmagic=N32;;
6497 *-64|*"-64 ") libmagic=64-bit;;
6498 *) libmagic=never-match;;
6500 lt_cv_deplibs_check_method=pass_all
6503 # This must be glibc/ELF.
6504 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6505 lt_cv_deplibs_check_method=pass_all
6509 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6510 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6512 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6517 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6518 lt_cv_file_magic_cmd=/usr/bin/file
6519 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6523 lt_cv_deplibs_check_method=pass_all
6527 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6528 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6530 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6534 osf3* | osf4* | osf5*)
6535 lt_cv_deplibs_check_method=pass_all
6539 lt_cv_deplibs_check_method=pass_all
6543 lt_cv_deplibs_check_method=pass_all
6546 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6547 lt_cv_deplibs_check_method=pass_all
6551 case $host_vendor in
6553 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]'
6554 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6557 lt_cv_deplibs_check_method=pass_all
6560 lt_cv_file_magic_cmd='/bin/file'
6561 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6564 lt_cv_file_magic_cmd='/bin/file'
6565 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6566 lt_cv_file_magic_test_file=/lib/libc.so
6569 lt_cv_deplibs_check_method=pass_all
6572 lt_cv_deplibs_check_method=pass_all
6578 lt_cv_deplibs_check_method=pass_all
6581 lt_cv_deplibs_check_method=pass_all
6586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6587 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6591 if test "$build" = "$host"; then
6594 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6597 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6603 file_magic_cmd=$lt_cv_file_magic_cmd
6604 deplibs_check_method=$lt_cv_deplibs_check_method
6605 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6628 if test -n "$ac_tool_prefix"; then
6629 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6630 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6632 $as_echo_n "checking for $ac_word... " >&6; }
6633 if ${ac_cv_prog_DLLTOOL+:} false; then :
6634 $as_echo_n "(cached) " >&6
6636 if test -n "$DLLTOOL"; then
6637 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6643 test -z "$as_dir" && as_dir=.
6644 for ac_exec_ext in '' $ac_executable_extensions; do
6645 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6646 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6656 DLLTOOL=$ac_cv_prog_DLLTOOL
6657 if test -n "$DLLTOOL"; then
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6659 $as_echo "$DLLTOOL" >&6; }
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6662 $as_echo "no" >&6; }
6667 if test -z "$ac_cv_prog_DLLTOOL"; then
6668 ac_ct_DLLTOOL=$DLLTOOL
6669 # Extract the first word of "dlltool", so it can be a program name with args.
6670 set dummy dlltool; ac_word=$2
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6672 $as_echo_n "checking for $ac_word... " >&6; }
6673 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6674 $as_echo_n "(cached) " >&6
6676 if test -n "$ac_ct_DLLTOOL"; then
6677 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6683 test -z "$as_dir" && as_dir=.
6684 for ac_exec_ext in '' $ac_executable_extensions; do
6685 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6686 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6696 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6697 if test -n "$ac_ct_DLLTOOL"; then
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6699 $as_echo "$ac_ct_DLLTOOL" >&6; }
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6702 $as_echo "no" >&6; }
6705 if test "x$ac_ct_DLLTOOL" = x; then
6708 case $cross_compiling:$ac_tool_warned in
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6711 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6712 ac_tool_warned=yes ;;
6714 DLLTOOL=$ac_ct_DLLTOOL
6717 DLLTOOL="$ac_cv_prog_DLLTOOL"
6720 test -z "$DLLTOOL" && DLLTOOL=dlltool
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6732 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6733 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6734 $as_echo_n "(cached) " >&6
6736 lt_cv_sharedlib_from_linklib_cmd='unknown'
6739 cygwin* | mingw* | pw32* | cegcc*)
6740 # two different shell functions defined in ltmain.sh;
6741 # decide which one to use based on capabilities of $DLLTOOL
6742 case `$DLLTOOL --help 2>&1` in
6743 *--identify-strict*)
6744 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6747 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6752 # fallback: assume linklib IS sharedlib
6753 lt_cv_sharedlib_from_linklib_cmd=$ECHO
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6759 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6760 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6761 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6769 if test -n "$ac_tool_prefix"; then
6772 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6773 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6775 $as_echo_n "checking for $ac_word... " >&6; }
6776 if ${ac_cv_prog_AR+:} false; then :
6777 $as_echo_n "(cached) " >&6
6779 if test -n "$AR"; then
6780 ac_cv_prog_AR="$AR" # Let the user override the test.
6782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6786 test -z "$as_dir" && as_dir=.
6787 for ac_exec_ext in '' $ac_executable_extensions; do
6788 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6789 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6800 if test -n "$AR"; then
6801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6802 $as_echo "$AR" >&6; }
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6805 $as_echo "no" >&6; }
6809 test -n "$AR" && break
6812 if test -z "$AR"; then
6816 # Extract the first word of "$ac_prog", so it can be a program name with args.
6817 set dummy $ac_prog; ac_word=$2
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6819 $as_echo_n "checking for $ac_word... " >&6; }
6820 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6821 $as_echo_n "(cached) " >&6
6823 if test -n "$ac_ct_AR"; then
6824 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6830 test -z "$as_dir" && as_dir=.
6831 for ac_exec_ext in '' $ac_executable_extensions; do
6832 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6833 ac_cv_prog_ac_ct_AR="$ac_prog"
6834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6843 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6844 if test -n "$ac_ct_AR"; then
6845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6846 $as_echo "$ac_ct_AR" >&6; }
6848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6849 $as_echo "no" >&6; }
6853 test -n "$ac_ct_AR" && break
6856 if test "x$ac_ct_AR" = x; then
6859 case $cross_compiling:$ac_tool_warned in
6861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6862 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6863 ac_tool_warned=yes ;;
6882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6883 $as_echo_n "checking for archiver @FILE support... " >&6; }
6884 if ${lt_cv_ar_at_file+:} false; then :
6885 $as_echo_n "(cached) " >&6
6888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6889 /* end confdefs.h. */
6899 if ac_fn_c_try_compile "$LINENO"; then :
6900 echo conftest.$ac_objext > conftest.lst
6901 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6902 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6903 (eval $lt_ar_try) 2>&5
6905 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6906 test $ac_status = 0; }
6907 if test 0 -eq "$ac_status"; then
6908 # Ensure the archiver fails upon bogus file names.
6909 rm -f conftest.$ac_objext libconftest.a
6910 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6911 (eval $lt_ar_try) 2>&5
6913 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6914 test $ac_status = 0; }
6915 if test 0 -ne "$ac_status"; then
6919 rm -f conftest.* libconftest.a
6922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6926 $as_echo "$lt_cv_ar_at_file" >&6; }
6928 if test no = "$lt_cv_ar_at_file"; then
6931 archiver_list_spec=$lt_cv_ar_at_file
6940 if test -n "$ac_tool_prefix"; then
6941 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6942 set dummy ${ac_tool_prefix}strip; ac_word=$2
6943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6944 $as_echo_n "checking for $ac_word... " >&6; }
6945 if ${ac_cv_prog_STRIP+:} false; then :
6946 $as_echo_n "(cached) " >&6
6948 if test -n "$STRIP"; then
6949 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6955 test -z "$as_dir" && as_dir=.
6956 for ac_exec_ext in '' $ac_executable_extensions; do
6957 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6958 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6968 STRIP=$ac_cv_prog_STRIP
6969 if test -n "$STRIP"; then
6970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6971 $as_echo "$STRIP" >&6; }
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6974 $as_echo "no" >&6; }
6979 if test -z "$ac_cv_prog_STRIP"; then
6981 # Extract the first word of "strip", so it can be a program name with args.
6982 set dummy strip; ac_word=$2
6983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6984 $as_echo_n "checking for $ac_word... " >&6; }
6985 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6986 $as_echo_n "(cached) " >&6
6988 if test -n "$ac_ct_STRIP"; then
6989 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6995 test -z "$as_dir" && as_dir=.
6996 for ac_exec_ext in '' $ac_executable_extensions; do
6997 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6998 ac_cv_prog_ac_ct_STRIP="strip"
6999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7008 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7009 if test -n "$ac_ct_STRIP"; then
7010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7011 $as_echo "$ac_ct_STRIP" >&6; }
7013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7014 $as_echo "no" >&6; }
7017 if test "x$ac_ct_STRIP" = x; then
7020 case $cross_compiling:$ac_tool_warned in
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7023 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7024 ac_tool_warned=yes ;;
7029 STRIP="$ac_cv_prog_STRIP"
7032 test -z "$STRIP" && STRIP=:
7039 if test -n "$ac_tool_prefix"; then
7040 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7041 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7043 $as_echo_n "checking for $ac_word... " >&6; }
7044 if ${ac_cv_prog_RANLIB+:} false; then :
7045 $as_echo_n "(cached) " >&6
7047 if test -n "$RANLIB"; then
7048 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7054 test -z "$as_dir" && as_dir=.
7055 for ac_exec_ext in '' $ac_executable_extensions; do
7056 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7057 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7067 RANLIB=$ac_cv_prog_RANLIB
7068 if test -n "$RANLIB"; then
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7070 $as_echo "$RANLIB" >&6; }
7072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7073 $as_echo "no" >&6; }
7078 if test -z "$ac_cv_prog_RANLIB"; then
7079 ac_ct_RANLIB=$RANLIB
7080 # Extract the first word of "ranlib", so it can be a program name with args.
7081 set dummy ranlib; ac_word=$2
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7083 $as_echo_n "checking for $ac_word... " >&6; }
7084 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7085 $as_echo_n "(cached) " >&6
7087 if test -n "$ac_ct_RANLIB"; then
7088 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7094 test -z "$as_dir" && as_dir=.
7095 for ac_exec_ext in '' $ac_executable_extensions; do
7096 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7097 ac_cv_prog_ac_ct_RANLIB="ranlib"
7098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7107 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7108 if test -n "$ac_ct_RANLIB"; then
7109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7110 $as_echo "$ac_ct_RANLIB" >&6; }
7112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7113 $as_echo "no" >&6; }
7116 if test "x$ac_ct_RANLIB" = x; then
7119 case $cross_compiling:$ac_tool_warned in
7121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7122 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7123 ac_tool_warned=yes ;;
7125 RANLIB=$ac_ct_RANLIB
7128 RANLIB="$ac_cv_prog_RANLIB"
7131 test -z "$RANLIB" && RANLIB=:
7138 # Determine commands to create old-style static archives.
7139 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7140 old_postinstall_cmds='chmod 644 $oldlib'
7141 old_postuninstall_cmds=
7143 if test -n "$RANLIB"; then
7146 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7149 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7152 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7157 lock_old_archive_extraction=yes ;;
7159 lock_old_archive_extraction=no ;;
7200 # If no C compiler was specified, use CC.
7203 # If no C compiler flags were specified, use CFLAGS.
7204 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7206 # Allow CC to be a program name with arguments.
7210 # Check for command to grab the raw symbol name followed by C symbol from nm.
7211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7212 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7213 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7214 $as_echo_n "(cached) " >&6
7217 # These are sane defaults that work on at least a few old systems.
7218 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7220 # Character class describing NM global symbol codes.
7221 symcode='[BCDEGRST]'
7223 # Regexp to match symbols that can be accessed directly from C.
7224 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7226 # Define system-specific variables.
7231 cygwin* | mingw* | pw32* | cegcc*)
7232 symcode='[ABCDGISTW]'
7235 if test ia64 = "$host_cpu"; then
7236 symcode='[ABCDEGRST]'
7240 symcode='[BCDEGRST]'
7243 symcode='[BCDEGQRST]'
7254 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7262 # If we're using GNU nm, then use its standard symbol codes.
7263 case `$NM -V 2>&1` in
7264 *GNU* | *'with BFD'*)
7265 symcode='[ABCDGIRSTW]' ;;
7268 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7269 # Gets list of data symbols to import.
7270 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7271 # Adjust the below global symbol transforms to fixup imported variables.
7272 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7273 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
7274 lt_c_name_lib_hook="\
7275 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
7276 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
7278 # Disable hooks by default.
7279 lt_cv_sys_global_symbol_to_import=
7285 # Transform an extracted symbol line into a proper C declaration.
7286 # Some systems (esp. on ia64) link data and code symbols differently,
7287 # so use this general approach.
7288 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
7290 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7291 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7293 # Transform an extracted symbol line into symbol name and symbol address
7294 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
7296 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7297 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
7299 # Transform an extracted symbol line into symbol name with lib prefix and
7301 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
7302 $lt_c_name_lib_hook\
7303 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7304 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
7305 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
7307 # Handle CRLF in mingw tool chain
7311 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7315 # Try without a prefix underscore, then with it.
7316 for ac_symprfx in "" "_"; do
7318 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7319 symxfrm="\\1 $ac_symprfx\\2 \\2"
7321 # Write the raw and C identifiers.
7322 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7323 # Fake it for dumpbin and say T for any non-static function,
7324 # D for any global variable and I for any imported variable.
7325 # Also find C++ and __fastcall symbols from MSVC++,
7326 # which start with @ or ?.
7327 lt_cv_sys_global_symbol_pipe="$AWK '"\
7328 " {last_section=section; section=\$ 3};"\
7329 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7330 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7331 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7332 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7333 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7334 " \$ 0!~/External *\|/{next};"\
7335 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7336 " {if(hide[section]) next};"\
7337 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7338 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7339 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7340 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7341 " ' prfx=^$ac_symprfx"
7343 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7345 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7347 # Check to see that the pipe works correctly.
7351 cat > conftest.$ac_ext <<_LT_EOF
7356 void nm_test_func(void);
7357 void nm_test_func(void){}
7361 int main(){nm_test_var='a';nm_test_func();return(0);}
7364 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7365 (eval $ac_compile) 2>&5
7367 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7368 test $ac_status = 0; }; then
7369 # Now try to grab the symbols.
7371 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7372 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7374 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7375 test $ac_status = 0; } && test -s "$nlist"; then
7376 # Try sorting and uniquifying the output.
7377 if sort "$nlist" | uniq > "$nlist"T; then
7378 mv -f "$nlist"T "$nlist"
7383 # Make sure that we snagged all the symbols we need.
7384 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7385 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7386 cat <<_LT_EOF > conftest.$ac_ext
7387 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7388 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7389 /* DATA imports from DLLs on WIN32 can't be const, because runtime
7390 relocations are performed -- see ld's documentation on pseudo-relocs. */
7391 # define LT_DLSYM_CONST
7392 #elif defined __osf__
7393 /* This system does not cope well with relocations in const data. */
7394 # define LT_DLSYM_CONST
7396 # define LT_DLSYM_CONST const
7404 # Now generate the symbol file.
7405 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7407 cat <<_LT_EOF >> conftest.$ac_ext
7409 /* The mapping between symbol names and symbols. */
7410 LT_DLSYM_CONST struct {
7414 lt__PROGRAM__LTX_preloaded_symbols[] =
7416 { "@PROGRAM@", (void *) 0 },
7418 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7419 cat <<\_LT_EOF >> conftest.$ac_ext
7423 /* This works around a problem in FreeBSD linker */
7424 #ifdef FREEBSD_WORKAROUND
7425 static const void *lt_preloaded_setup() {
7426 return lt__PROGRAM__LTX_preloaded_symbols;
7434 # Now try linking the two files.
7435 mv conftest.$ac_objext conftstm.$ac_objext
7436 lt_globsym_save_LIBS=$LIBS
7437 lt_globsym_save_CFLAGS=$CFLAGS
7438 LIBS=conftstm.$ac_objext
7439 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7440 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7441 (eval $ac_link) 2>&5
7443 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7444 test $ac_status = 0; } && test -s conftest$ac_exeext; then
7447 LIBS=$lt_globsym_save_LIBS
7448 CFLAGS=$lt_globsym_save_CFLAGS
7450 echo "cannot find nm_test_func in $nlist" >&5
7453 echo "cannot find nm_test_var in $nlist" >&5
7456 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7459 echo "$progname: failed program was:" >&5
7460 cat conftest.$ac_ext >&5
7462 rm -rf conftest* conftst*
7464 # Do not use the global_symbol_pipe unless it works.
7465 if test yes = "$pipe_works"; then
7468 lt_cv_sys_global_symbol_pipe=
7474 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7475 lt_cv_sys_global_symbol_to_cdecl=
7477 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7479 $as_echo "failed" >&6; }
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7482 $as_echo "ok" >&6; }
7485 # Response file support.
7486 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7487 nm_file_list_spec='@'
7488 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7489 nm_file_list_spec='@'
7528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7529 $as_echo_n "checking for sysroot... " >&6; }
7531 # Check whether --with-sysroot was given.
7532 if test "${with_sysroot+set}" = set; then :
7533 withval=$with_sysroot;
7540 case $with_sysroot in #(
7542 if test yes = "$GCC"; then
7543 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7547 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7553 $as_echo "$with_sysroot" >&6; }
7554 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7559 $as_echo "${lt_sysroot:-no}" >&6; }
7565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7566 $as_echo_n "checking for a working dd... " >&6; }
7567 if ${ac_cv_path_lt_DD+:} false; then :
7568 $as_echo_n "(cached) " >&6
7570 printf 0123456789abcdef0123456789abcdef >conftest.i
7571 cat conftest.i conftest.i >conftest2.i
7573 if test -z "$lt_DD"; then
7574 ac_path_lt_DD_found=false
7575 # Loop through the user's path and test for each of PROGNAME-LIST
7576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7580 test -z "$as_dir" && as_dir=.
7581 for ac_prog in dd; do
7582 for ac_exec_ext in '' $ac_executable_extensions; do
7583 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
7584 as_fn_executable_p "$ac_path_lt_DD" || continue
7585 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7586 cmp -s conftest.i conftest.out \
7587 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7589 $ac_path_lt_DD_found && break 3
7594 if test -z "$ac_cv_path_lt_DD"; then
7598 ac_cv_path_lt_DD=$lt_DD
7601 rm -f conftest.i conftest2.i conftest.out
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7604 $as_echo "$ac_cv_path_lt_DD" >&6; }
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7608 $as_echo_n "checking how to truncate binary pipes... " >&6; }
7609 if ${lt_cv_truncate_bin+:} false; then :
7610 $as_echo_n "(cached) " >&6
7612 printf 0123456789abcdef0123456789abcdef >conftest.i
7613 cat conftest.i conftest.i >conftest2.i
7615 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7616 cmp -s conftest.i conftest.out \
7617 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
7619 rm -f conftest.i conftest2.i conftest.out
7620 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
7622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7623 $as_echo "$lt_cv_truncate_bin" >&6; }
7631 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
7634 for cc_temp in $*""; do
7636 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7637 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7642 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7645 # Check whether --enable-libtool-lock was given.
7646 if test "${enable_libtool_lock+set}" = set; then :
7647 enableval=$enable_libtool_lock;
7650 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7652 # Some flags need to be propagated to the compiler or linker for good
7656 # Find out what ABI is being produced by ac_compile, and set mode
7657 # options accordingly.
7658 echo 'int i;' > conftest.$ac_ext
7659 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7660 (eval $ac_compile) 2>&5
7662 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7663 test $ac_status = 0; }; then
7664 case `/usr/bin/file conftest.$ac_objext` in
7676 # Find out what ABI is being produced by ac_compile, and set linker
7677 # options accordingly.
7678 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7679 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7680 (eval $ac_compile) 2>&5
7682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7683 test $ac_status = 0; }; then
7684 if test yes = "$lt_cv_prog_gnu_ld"; then
7685 case `/usr/bin/file conftest.$ac_objext` in
7687 LD="${LD-ld} -melf32bsmip"
7690 LD="${LD-ld} -melf32bmipn32"
7693 LD="${LD-ld} -melf64bmip"
7697 case `/usr/bin/file conftest.$ac_objext` in
7714 # Find out what ABI is being produced by ac_compile, and set linker
7715 # options accordingly.
7716 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7717 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7718 (eval $ac_compile) 2>&5
7720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7721 test $ac_status = 0; }; then
7723 case `/usr/bin/file conftest.$ac_objext` in
7731 case `/usr/bin/file conftest.$ac_objext` in
7733 emul="${emul}btsmip"
7736 emul="${emul}ltsmip"
7739 case `/usr/bin/file conftest.$ac_objext` in
7744 LD="${LD-ld} -m $emul"
7749 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7750 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7751 # Find out what ABI is being produced by ac_compile, and set linker
7752 # options accordingly. Note that the listed cases only cover the
7753 # situations where additional linker options are needed (such as when
7754 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7755 # vice versa); the common cases where no linker options are needed do
7756 # not appear in the list.
7757 echo 'int i;' > conftest.$ac_ext
7758 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7759 (eval $ac_compile) 2>&5
7761 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7762 test $ac_status = 0; }; then
7763 case `/usr/bin/file conftest.o` in
7766 x86_64-*kfreebsd*-gnu)
7767 LD="${LD-ld} -m elf_i386_fbsd"
7770 case `/usr/bin/file conftest.o` in
7772 LD="${LD-ld} -m elf32_x86_64"
7775 LD="${LD-ld} -m elf_i386"
7779 powerpc64le-*linux*)
7780 LD="${LD-ld} -m elf32lppclinux"
7783 LD="${LD-ld} -m elf32ppclinux"
7786 LD="${LD-ld} -m elf_s390"
7789 LD="${LD-ld} -m elf32_sparc"
7795 x86_64-*kfreebsd*-gnu)
7796 LD="${LD-ld} -m elf_x86_64_fbsd"
7799 LD="${LD-ld} -m elf_x86_64"
7802 LD="${LD-ld} -m elf64lppc"
7805 LD="${LD-ld} -m elf64ppc"
7807 s390*-*linux*|s390*-*tpf*)
7808 LD="${LD-ld} -m elf64_s390"
7811 LD="${LD-ld} -m elf64_sparc"
7821 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7823 CFLAGS="$CFLAGS -belf"
7824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7825 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7826 if ${lt_cv_cc_needs_belf+:} false; then :
7827 $as_echo_n "(cached) " >&6
7830 ac_cpp='$CPP $CPPFLAGS'
7831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7836 /* end confdefs.h. */
7846 if ac_fn_c_try_link "$LINENO"; then :
7847 lt_cv_cc_needs_belf=yes
7849 lt_cv_cc_needs_belf=no
7851 rm -f core conftest.err conftest.$ac_objext \
7852 conftest$ac_exeext conftest.$ac_ext
7854 ac_cpp='$CPP $CPPFLAGS'
7855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7861 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7862 if test yes != "$lt_cv_cc_needs_belf"; then
7863 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7868 # Find out what ABI is being produced by ac_compile, and set linker
7869 # options accordingly.
7870 echo 'int i;' > conftest.$ac_ext
7871 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7872 (eval $ac_compile) 2>&5
7874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7875 test $ac_status = 0; }; then
7876 case `/usr/bin/file conftest.o` in
7878 case $lt_cv_prog_gnu_ld in
7881 i?86-*-solaris*|x86_64-*-solaris*)
7882 LD="${LD-ld} -m elf_x86_64"
7885 LD="${LD-ld} -m elf64_sparc"
7888 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7889 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7894 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7906 need_locks=$enable_libtool_lock
7908 if test -n "$ac_tool_prefix"; then
7909 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7910 set dummy ${ac_tool_prefix}mt; ac_word=$2
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7912 $as_echo_n "checking for $ac_word... " >&6; }
7913 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7914 $as_echo_n "(cached) " >&6
7916 if test -n "$MANIFEST_TOOL"; then
7917 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7923 test -z "$as_dir" && as_dir=.
7924 for ac_exec_ext in '' $ac_executable_extensions; do
7925 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7926 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7936 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7937 if test -n "$MANIFEST_TOOL"; then
7938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7939 $as_echo "$MANIFEST_TOOL" >&6; }
7941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7942 $as_echo "no" >&6; }
7947 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7948 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7949 # Extract the first word of "mt", so it can be a program name with args.
7950 set dummy mt; ac_word=$2
7951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7952 $as_echo_n "checking for $ac_word... " >&6; }
7953 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7954 $as_echo_n "(cached) " >&6
7956 if test -n "$ac_ct_MANIFEST_TOOL"; then
7957 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7963 test -z "$as_dir" && as_dir=.
7964 for ac_exec_ext in '' $ac_executable_extensions; do
7965 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7966 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7967 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7976 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7977 if test -n "$ac_ct_MANIFEST_TOOL"; then
7978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7979 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7982 $as_echo "no" >&6; }
7985 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7988 case $cross_compiling:$ac_tool_warned in
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7991 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7992 ac_tool_warned=yes ;;
7994 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7997 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8000 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8002 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8003 if ${lt_cv_path_mainfest_tool+:} false; then :
8004 $as_echo_n "(cached) " >&6
8006 lt_cv_path_mainfest_tool=no
8007 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8008 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8009 cat conftest.err >&5
8010 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8011 lt_cv_path_mainfest_tool=yes
8015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8016 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
8017 if test yes != "$lt_cv_path_mainfest_tool"; then
8027 rhapsody* | darwin*)
8028 if test -n "$ac_tool_prefix"; then
8029 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8030 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8032 $as_echo_n "checking for $ac_word... " >&6; }
8033 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8034 $as_echo_n "(cached) " >&6
8036 if test -n "$DSYMUTIL"; then
8037 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8043 test -z "$as_dir" && as_dir=.
8044 for ac_exec_ext in '' $ac_executable_extensions; do
8045 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8046 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8056 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8057 if test -n "$DSYMUTIL"; then
8058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8059 $as_echo "$DSYMUTIL" >&6; }
8061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8062 $as_echo "no" >&6; }
8067 if test -z "$ac_cv_prog_DSYMUTIL"; then
8068 ac_ct_DSYMUTIL=$DSYMUTIL
8069 # Extract the first word of "dsymutil", so it can be a program name with args.
8070 set dummy dsymutil; ac_word=$2
8071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8072 $as_echo_n "checking for $ac_word... " >&6; }
8073 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8074 $as_echo_n "(cached) " >&6
8076 if test -n "$ac_ct_DSYMUTIL"; then
8077 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8083 test -z "$as_dir" && as_dir=.
8084 for ac_exec_ext in '' $ac_executable_extensions; do
8085 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8086 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8096 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8097 if test -n "$ac_ct_DSYMUTIL"; then
8098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8099 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8102 $as_echo "no" >&6; }
8105 if test "x$ac_ct_DSYMUTIL" = x; then
8108 case $cross_compiling:$ac_tool_warned in
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8111 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8112 ac_tool_warned=yes ;;
8114 DSYMUTIL=$ac_ct_DSYMUTIL
8117 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8120 if test -n "$ac_tool_prefix"; then
8121 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8122 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8124 $as_echo_n "checking for $ac_word... " >&6; }
8125 if ${ac_cv_prog_NMEDIT+:} false; then :
8126 $as_echo_n "(cached) " >&6
8128 if test -n "$NMEDIT"; then
8129 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8135 test -z "$as_dir" && as_dir=.
8136 for ac_exec_ext in '' $ac_executable_extensions; do
8137 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8138 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8148 NMEDIT=$ac_cv_prog_NMEDIT
8149 if test -n "$NMEDIT"; then
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8151 $as_echo "$NMEDIT" >&6; }
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8154 $as_echo "no" >&6; }
8159 if test -z "$ac_cv_prog_NMEDIT"; then
8160 ac_ct_NMEDIT=$NMEDIT
8161 # Extract the first word of "nmedit", so it can be a program name with args.
8162 set dummy nmedit; ac_word=$2
8163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8164 $as_echo_n "checking for $ac_word... " >&6; }
8165 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8166 $as_echo_n "(cached) " >&6
8168 if test -n "$ac_ct_NMEDIT"; then
8169 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8175 test -z "$as_dir" && as_dir=.
8176 for ac_exec_ext in '' $ac_executable_extensions; do
8177 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8178 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8188 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8189 if test -n "$ac_ct_NMEDIT"; then
8190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8191 $as_echo "$ac_ct_NMEDIT" >&6; }
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8194 $as_echo "no" >&6; }
8197 if test "x$ac_ct_NMEDIT" = x; then
8200 case $cross_compiling:$ac_tool_warned in
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8203 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8204 ac_tool_warned=yes ;;
8206 NMEDIT=$ac_ct_NMEDIT
8209 NMEDIT="$ac_cv_prog_NMEDIT"
8212 if test -n "$ac_tool_prefix"; then
8213 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8214 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8216 $as_echo_n "checking for $ac_word... " >&6; }
8217 if ${ac_cv_prog_LIPO+:} false; then :
8218 $as_echo_n "(cached) " >&6
8220 if test -n "$LIPO"; then
8221 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8227 test -z "$as_dir" && as_dir=.
8228 for ac_exec_ext in '' $ac_executable_extensions; do
8229 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8230 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8240 LIPO=$ac_cv_prog_LIPO
8241 if test -n "$LIPO"; then
8242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8243 $as_echo "$LIPO" >&6; }
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8246 $as_echo "no" >&6; }
8251 if test -z "$ac_cv_prog_LIPO"; then
8253 # Extract the first word of "lipo", so it can be a program name with args.
8254 set dummy lipo; ac_word=$2
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8256 $as_echo_n "checking for $ac_word... " >&6; }
8257 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8258 $as_echo_n "(cached) " >&6
8260 if test -n "$ac_ct_LIPO"; then
8261 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8267 test -z "$as_dir" && as_dir=.
8268 for ac_exec_ext in '' $ac_executable_extensions; do
8269 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8270 ac_cv_prog_ac_ct_LIPO="lipo"
8271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8280 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8281 if test -n "$ac_ct_LIPO"; then
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8283 $as_echo "$ac_ct_LIPO" >&6; }
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8286 $as_echo "no" >&6; }
8289 if test "x$ac_ct_LIPO" = x; then
8292 case $cross_compiling:$ac_tool_warned in
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8295 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8296 ac_tool_warned=yes ;;
8301 LIPO="$ac_cv_prog_LIPO"
8304 if test -n "$ac_tool_prefix"; then
8305 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8306 set dummy ${ac_tool_prefix}otool; ac_word=$2
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8308 $as_echo_n "checking for $ac_word... " >&6; }
8309 if ${ac_cv_prog_OTOOL+:} false; then :
8310 $as_echo_n "(cached) " >&6
8312 if test -n "$OTOOL"; then
8313 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8319 test -z "$as_dir" && as_dir=.
8320 for ac_exec_ext in '' $ac_executable_extensions; do
8321 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8322 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8332 OTOOL=$ac_cv_prog_OTOOL
8333 if test -n "$OTOOL"; then
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8335 $as_echo "$OTOOL" >&6; }
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8338 $as_echo "no" >&6; }
8343 if test -z "$ac_cv_prog_OTOOL"; then
8345 # Extract the first word of "otool", so it can be a program name with args.
8346 set dummy otool; ac_word=$2
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8348 $as_echo_n "checking for $ac_word... " >&6; }
8349 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8350 $as_echo_n "(cached) " >&6
8352 if test -n "$ac_ct_OTOOL"; then
8353 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8359 test -z "$as_dir" && as_dir=.
8360 for ac_exec_ext in '' $ac_executable_extensions; do
8361 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8362 ac_cv_prog_ac_ct_OTOOL="otool"
8363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8372 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8373 if test -n "$ac_ct_OTOOL"; then
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8375 $as_echo "$ac_ct_OTOOL" >&6; }
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8378 $as_echo "no" >&6; }
8381 if test "x$ac_ct_OTOOL" = x; then
8384 case $cross_compiling:$ac_tool_warned in
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8387 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8388 ac_tool_warned=yes ;;
8393 OTOOL="$ac_cv_prog_OTOOL"
8396 if test -n "$ac_tool_prefix"; then
8397 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8398 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8400 $as_echo_n "checking for $ac_word... " >&6; }
8401 if ${ac_cv_prog_OTOOL64+:} false; then :
8402 $as_echo_n "(cached) " >&6
8404 if test -n "$OTOOL64"; then
8405 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8411 test -z "$as_dir" && as_dir=.
8412 for ac_exec_ext in '' $ac_executable_extensions; do
8413 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8414 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8424 OTOOL64=$ac_cv_prog_OTOOL64
8425 if test -n "$OTOOL64"; then
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8427 $as_echo "$OTOOL64" >&6; }
8429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8430 $as_echo "no" >&6; }
8435 if test -z "$ac_cv_prog_OTOOL64"; then
8436 ac_ct_OTOOL64=$OTOOL64
8437 # Extract the first word of "otool64", so it can be a program name with args.
8438 set dummy otool64; ac_word=$2
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8440 $as_echo_n "checking for $ac_word... " >&6; }
8441 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8442 $as_echo_n "(cached) " >&6
8444 if test -n "$ac_ct_OTOOL64"; then
8445 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8451 test -z "$as_dir" && as_dir=.
8452 for ac_exec_ext in '' $ac_executable_extensions; do
8453 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8454 ac_cv_prog_ac_ct_OTOOL64="otool64"
8455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8464 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8465 if test -n "$ac_ct_OTOOL64"; then
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8467 $as_echo "$ac_ct_OTOOL64" >&6; }
8469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8470 $as_echo "no" >&6; }
8473 if test "x$ac_ct_OTOOL64" = x; then
8476 case $cross_compiling:$ac_tool_warned in
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8479 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8480 ac_tool_warned=yes ;;
8482 OTOOL64=$ac_ct_OTOOL64
8485 OTOOL64="$ac_cv_prog_OTOOL64"
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8515 $as_echo_n "checking for -single_module linker flag... " >&6; }
8516 if ${lt_cv_apple_cc_single_mod+:} false; then :
8517 $as_echo_n "(cached) " >&6
8519 lt_cv_apple_cc_single_mod=no
8520 if test -z "$LT_MULTI_MODULE"; then
8521 # By default we will add the -single_module flag. You can override
8522 # by either setting the environment variable LT_MULTI_MODULE
8523 # non-empty at configure time, or by adding -multi_module to the
8525 rm -rf libconftest.dylib*
8526 echo "int foo(void){return 1;}" > conftest.c
8527 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8528 -dynamiclib -Wl,-single_module conftest.c" >&5
8529 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8530 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8532 # If there is a non-empty error log, and "single_module"
8533 # appears in it, assume the flag caused a linker warning
8534 if test -s conftest.err && $GREP single_module conftest.err; then
8535 cat conftest.err >&5
8536 # Otherwise, if the output was created with a 0 exit code from
8537 # the compiler, it worked.
8538 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8539 lt_cv_apple_cc_single_mod=yes
8541 cat conftest.err >&5
8543 rm -rf libconftest.dylib*
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8548 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8551 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8552 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8553 $as_echo_n "(cached) " >&6
8555 lt_cv_ld_exported_symbols_list=no
8556 save_LDFLAGS=$LDFLAGS
8557 echo "_main" > conftest.sym
8558 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8560 /* end confdefs.h. */
8570 if ac_fn_c_try_link "$LINENO"; then :
8571 lt_cv_ld_exported_symbols_list=yes
8573 lt_cv_ld_exported_symbols_list=no
8575 rm -f core conftest.err conftest.$ac_objext \
8576 conftest$ac_exeext conftest.$ac_ext
8577 LDFLAGS=$save_LDFLAGS
8580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8581 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8584 $as_echo_n "checking for -force_load linker flag... " >&6; }
8585 if ${lt_cv_ld_force_load+:} false; then :
8586 $as_echo_n "(cached) " >&6
8588 lt_cv_ld_force_load=no
8589 cat > conftest.c << _LT_EOF
8590 int forced_loaded() { return 2;}
8592 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8593 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8594 echo "$AR cru libconftest.a conftest.o" >&5
8595 $AR cru libconftest.a conftest.o 2>&5
8596 echo "$RANLIB libconftest.a" >&5
8597 $RANLIB libconftest.a 2>&5
8598 cat > conftest.c << _LT_EOF
8599 int main() { return 0;}
8601 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8602 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8604 if test -s conftest.err && $GREP force_load conftest.err; then
8605 cat conftest.err >&5
8606 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8607 lt_cv_ld_force_load=yes
8609 cat conftest.err >&5
8611 rm -f conftest.err libconftest.a conftest conftest.c
8612 rm -rf conftest.dSYM
8615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8616 $as_echo "$lt_cv_ld_force_load" >&6; }
8618 rhapsody* | darwin1.[012])
8619 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8621 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8622 darwin*) # darwin 5.x on
8623 # if running on 10.5 or later, the deployment target defaults
8624 # to the OS version, if on x86, and 10.4, the deployment
8625 # target defaults to 10.4. Don't you love it?
8626 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8627 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8628 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8630 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8632 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8636 if test yes = "$lt_cv_apple_cc_single_mod"; then
8637 _lt_dar_single_mod='$single_module'
8639 if test yes = "$lt_cv_ld_exported_symbols_list"; then
8640 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8642 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8644 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8645 _lt_dsymutil='~$DSYMUTIL $lib || :'
8652 # func_munge_path_list VARIABLE PATH
8653 # -----------------------------------
8654 # VARIABLE is name of variable containing _space_ separated list of
8655 # directories to be munged by the contents of PATH, which is string
8658 # string "DIR[ DIR]" will be prepended to VARIABLE
8660 # string "DIR[ DIR]" will be appended to VARIABLE
8661 # "DIRP[:DIRP]::[DIRA:]DIRA"
8662 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
8663 # "DIRA[ DIRA]" will be appended to VARIABLE
8665 # VARIABLE will be replaced by "DIR[ DIR]"
8666 func_munge_path_list ()
8672 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
8675 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8678 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8679 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8682 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8687 for ac_header in dlfcn.h
8689 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8691 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8692 cat >>confdefs.h <<_ACEOF
8693 #define HAVE_DLFCN_H 1
8703 func_stripname_cnf ()
8706 .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
8707 *) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
8709 } # func_stripname_cnf
8725 # Check whether --enable-shared was given.
8726 if test "${enable_shared+set}" = set; then :
8727 enableval=$enable_shared; p=${PACKAGE-default}
8729 yes) enable_shared=yes ;;
8730 no) enable_shared=no ;;
8733 # Look at the argument we got. We use all the common list separators.
8734 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8735 for pkg in $enableval; do
8737 if test "X$pkg" = "X$p"; then
8756 # Check whether --enable-static was given.
8757 if test "${enable_static+set}" = set; then :
8758 enableval=$enable_static; p=${PACKAGE-default}
8760 yes) enable_static=yes ;;
8761 no) enable_static=no ;;
8764 # Look at the argument we got. We use all the common list separators.
8765 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8766 for pkg in $enableval; do
8768 if test "X$pkg" = "X$p"; then
8788 # Check whether --with-pic was given.
8789 if test "${with_pic+set}" = set; then :
8790 withval=$with_pic; lt_p=${PACKAGE-default}
8792 yes|no) pic_mode=$withval ;;
8795 # Look at the argument we got. We use all the common list separators.
8796 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8797 for lt_pkg in $withval; do
8799 if test "X$lt_pkg" = "X$lt_p"; then
8817 # Check whether --enable-fast-install was given.
8818 if test "${enable_fast_install+set}" = set; then :
8819 enableval=$enable_fast_install; p=${PACKAGE-default}
8821 yes) enable_fast_install=yes ;;
8822 no) enable_fast_install=no ;;
8824 enable_fast_install=no
8825 # Look at the argument we got. We use all the common list separators.
8826 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8827 for pkg in $enableval; do
8829 if test "X$pkg" = "X$p"; then
8830 enable_fast_install=yes
8837 enable_fast_install=yes
8847 shared_archive_member_spec=
8848 case $host,$enable_shared in
8849 power*-*-aix[5-9]*,yes)
8850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
8851 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
8853 # Check whether --with-aix-soname was given.
8854 if test "${with_aix_soname+set}" = set; then :
8855 withval=$with_aix_soname; case $withval in
8859 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
8862 lt_cv_with_aix_soname=$with_aix_soname
8864 if ${lt_cv_with_aix_soname+:} false; then :
8865 $as_echo_n "(cached) " >&6
8867 lt_cv_with_aix_soname=aix
8870 with_aix_soname=$lt_cv_with_aix_soname
8873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8874 $as_echo "$with_aix_soname" >&6; }
8875 if test aix != "$with_aix_soname"; then
8876 # For the AIX way of multilib, we name the shared archive member
8877 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
8878 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
8879 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8880 # the AIX toolchain works better with OBJECT_MODE set (default 32).
8881 if test 64 = "${OBJECT_MODE-32}"; then
8882 shared_archive_member_spec=shr_64
8884 shared_archive_member_spec=shr
8902 # This can be used to rebuild libtool when needed
8903 LIBTOOL_DEPS=$ltmain
8905 # Always use our own libtool.
8906 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8937 test -z "$LN_S" && LN_S="ln -s"
8952 if test -n "${ZSH_VERSION+set}"; then
8953 setopt NO_GLOB_SUBST
8956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8957 $as_echo_n "checking for objdir... " >&6; }
8958 if ${lt_cv_objdir+:} false; then :
8959 $as_echo_n "(cached) " >&6
8961 rm -f .libs 2>/dev/null
8962 mkdir .libs 2>/dev/null
8963 if test -d .libs; then
8966 # MS-DOS does not allow filenames that begin with a dot.
8969 rmdir .libs 2>/dev/null
8971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8972 $as_echo "$lt_cv_objdir" >&6; }
8973 objdir=$lt_cv_objdir
8979 cat >>confdefs.h <<_ACEOF
8980 #define LT_OBJDIR "$lt_cv_objdir/"
8988 # AIX sometimes has problems with the GCC collect2 program. For some
8989 # reason, if we set the COLLECT_NAMES environment variable, the problems
8990 # vanish in a puff of smoke.
8991 if test set != "${COLLECT_NAMES+set}"; then
8993 export COLLECT_NAMES
9000 can_build_shared=yes
9002 # All known linkers require a '.a' archive for static linking (except MSVC,
9003 # which needs '.lib').
9006 with_gnu_ld=$lt_cv_prog_gnu_ld
9011 # Set sane defaults for various variables
9012 test -z "$CC" && CC=cc
9013 test -z "$LTCC" && LTCC=$CC
9014 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9015 test -z "$LD" && LD=ld
9016 test -z "$ac_objext" && ac_objext=o
9018 func_cc_basename $compiler
9019 cc_basename=$func_cc_basename_result
9022 # Only perform the check for file, if the check method requires it
9023 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9024 case $deplibs_check_method in
9026 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9028 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9029 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9030 $as_echo_n "(cached) " >&6
9034 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9037 lt_save_MAGIC_CMD=$MAGIC_CMD
9038 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9039 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9040 for ac_dir in $ac_dummy; do
9042 test -z "$ac_dir" && ac_dir=.
9043 if test -f "$ac_dir/${ac_tool_prefix}file"; then
9044 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
9045 if test -n "$file_magic_test_file"; then
9046 case $deplibs_check_method in
9048 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9049 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9050 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9051 $EGREP "$file_magic_regex" > /dev/null; then
9056 *** Warning: the command libtool uses to detect shared libraries,
9057 *** $file_magic_cmd, produces output that libtool cannot recognize.
9058 *** The result is that libtool may fail to recognize shared libraries
9059 *** as such. This will affect the creation of libtool libraries that
9060 *** depend on shared libraries, but programs linked with such libtool
9061 *** libraries will work regardless of this problem. Nevertheless, you
9062 *** may want to report the problem to your system manager and/or to
9063 *** bug-libtool@gnu.org
9073 MAGIC_CMD=$lt_save_MAGIC_CMD
9078 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9079 if test -n "$MAGIC_CMD"; then
9080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9081 $as_echo "$MAGIC_CMD" >&6; }
9083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9084 $as_echo "no" >&6; }
9091 if test -z "$lt_cv_path_MAGIC_CMD"; then
9092 if test -n "$ac_tool_prefix"; then
9093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9094 $as_echo_n "checking for file... " >&6; }
9095 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9096 $as_echo_n "(cached) " >&6
9100 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9103 lt_save_MAGIC_CMD=$MAGIC_CMD
9104 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9105 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9106 for ac_dir in $ac_dummy; do
9108 test -z "$ac_dir" && ac_dir=.
9109 if test -f "$ac_dir/file"; then
9110 lt_cv_path_MAGIC_CMD=$ac_dir/"file"
9111 if test -n "$file_magic_test_file"; then
9112 case $deplibs_check_method in
9114 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9115 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9116 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9117 $EGREP "$file_magic_regex" > /dev/null; then
9122 *** Warning: the command libtool uses to detect shared libraries,
9123 *** $file_magic_cmd, produces output that libtool cannot recognize.
9124 *** The result is that libtool may fail to recognize shared libraries
9125 *** as such. This will affect the creation of libtool libraries that
9126 *** depend on shared libraries, but programs linked with such libtool
9127 *** libraries will work regardless of this problem. Nevertheless, you
9128 *** may want to report the problem to your system manager and/or to
9129 *** bug-libtool@gnu.org
9139 MAGIC_CMD=$lt_save_MAGIC_CMD
9144 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9145 if test -n "$MAGIC_CMD"; then
9146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9147 $as_echo "$MAGIC_CMD" >&6; }
9149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9150 $as_echo "no" >&6; }
9163 # Use C for the default configuration in the libtool script
9167 ac_cpp='$CPP $CPPFLAGS'
9168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9173 # Source file extension for C test sources.
9176 # Object file extension for compiled C test sources.
9180 # Code to be used in simple compile tests
9181 lt_simple_compile_test_code="int some_variable = 0;"
9183 # Code to be used in simple link tests
9184 lt_simple_link_test_code='int main(){return(0);}'
9192 # If no C compiler was specified, use CC.
9195 # If no C compiler flags were specified, use CFLAGS.
9196 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9198 # Allow CC to be a program name with arguments.
9201 # Save the default compiler, since it gets overwritten when the other
9202 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9203 compiler_DEFAULT=$CC
9205 # save warnings/boilerplate of simple test code
9206 ac_outfile=conftest.$ac_objext
9207 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9208 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9209 _lt_compiler_boilerplate=`cat conftest.err`
9212 ac_outfile=conftest.$ac_objext
9213 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9214 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9215 _lt_linker_boilerplate=`cat conftest.err`
9219 if test -n "$compiler"; then
9221 lt_prog_compiler_no_builtin_flag=
9223 if test yes = "$GCC"; then
9224 case $cc_basename in
9226 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9228 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9232 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9233 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9234 $as_echo_n "(cached) " >&6
9236 lt_cv_prog_compiler_rtti_exceptions=no
9237 ac_outfile=conftest.$ac_objext
9238 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9239 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
9240 # Insert the option either (1) after the last *FLAGS variable, or
9241 # (2) before a word containing "conftest.", or (3) at the end.
9242 # Note that $ac_compile itself does not contain backslashes and begins
9243 # with a dollar sign (not a hyphen), so the echo should work correctly.
9244 # The option is referenced via a variable to avoid confusing sed.
9245 lt_compile=`echo "$ac_compile" | $SED \
9246 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9247 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9248 -e 's:$: $lt_compiler_flag:'`
9249 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9250 (eval "$lt_compile" 2>conftest.err)
9252 cat conftest.err >&5
9253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9254 if (exit $ac_status) && test -s "$ac_outfile"; then
9255 # The compiler can only warn and ignore the option if not recognized
9256 # So say no if there are warnings other than the usual output.
9257 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9258 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9259 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9260 lt_cv_prog_compiler_rtti_exceptions=yes
9266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9267 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9269 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9270 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9282 lt_prog_compiler_wl=
9283 lt_prog_compiler_pic=
9284 lt_prog_compiler_static=
9287 if test yes = "$GCC"; then
9288 lt_prog_compiler_wl='-Wl,'
9289 lt_prog_compiler_static='-static'
9293 # All AIX code is PIC.
9294 if test ia64 = "$host_cpu"; then
9295 # AIX 5 now supports IA64 processor
9296 lt_prog_compiler_static='-Bstatic'
9298 lt_prog_compiler_pic='-fPIC'
9304 # see comment about AmigaOS4 .so support
9305 lt_prog_compiler_pic='-fPIC'
9308 # FIXME: we need at least 68020 code to build shared libraries, but
9309 # adding the '-m68020' flag to GCC prevents building anything better,
9311 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9316 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9317 # PIC is the default for these OSes.
9320 mingw* | cygwin* | pw32* | os2* | cegcc*)
9321 # This hack is so that the source file can tell whether it is being
9322 # built for inclusion in a dll (and should export symbols for example).
9323 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9324 # (--disable-auto-import) libraries
9325 lt_prog_compiler_pic='-DDLL_EXPORT'
9328 lt_prog_compiler_static='$wl-static'
9333 darwin* | rhapsody*)
9334 # PIC is the default on this platform
9335 # Common symbols not allowed in MH_DYLIB files
9336 lt_prog_compiler_pic='-fno-common'
9340 # PIC is the default for Haiku.
9341 # The "-static" flag exists, but is broken.
9342 lt_prog_compiler_static=
9346 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9347 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9348 # sets the default TLS model and affects inlining.
9354 lt_prog_compiler_pic='-fPIC'
9360 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9361 # Instead, we relocate shared libraries at runtime.
9365 # Just because we use GCC doesn't mean we suddenly get shared libraries
9366 # on systems that don't support them.
9367 lt_prog_compiler_can_build_shared=no
9372 # QNX uses GNU C++, but need to define -shared option too, otherwise
9374 lt_prog_compiler_pic='-fPIC -shared'
9378 if test -d /usr/nec; then
9379 lt_prog_compiler_pic=-Kconform_pic
9384 lt_prog_compiler_pic='-fPIC'
9388 case $cc_basename in
9389 nvcc*) # Cuda Compiler Driver 2.2
9390 lt_prog_compiler_wl='-Xlinker '
9391 if test -n "$lt_prog_compiler_pic"; then
9392 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9397 # PORTME Check for flag to pass linker flags through the system compiler.
9400 lt_prog_compiler_wl='-Wl,'
9401 if test ia64 = "$host_cpu"; then
9402 # AIX 5 now supports IA64 processor
9403 lt_prog_compiler_static='-Bstatic'
9405 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9409 darwin* | rhapsody*)
9410 # PIC is the default on this platform
9411 # Common symbols not allowed in MH_DYLIB files
9412 lt_prog_compiler_pic='-fno-common'
9413 case $cc_basename in
9415 # NAG Fortran compiler
9416 lt_prog_compiler_wl='-Wl,-Wl,,'
9417 lt_prog_compiler_pic='-PIC'
9418 lt_prog_compiler_static='-Bstatic'
9423 mingw* | cygwin* | pw32* | os2* | cegcc*)
9424 # This hack is so that the source file can tell whether it is being
9425 # built for inclusion in a dll (and should export symbols for example).
9426 lt_prog_compiler_pic='-DDLL_EXPORT'
9429 lt_prog_compiler_static='$wl-static'
9434 hpux9* | hpux10* | hpux11*)
9435 lt_prog_compiler_wl='-Wl,'
9436 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9443 lt_prog_compiler_pic='+Z'
9446 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9447 lt_prog_compiler_static='$wl-a ${wl}archive'
9450 irix5* | irix6* | nonstopux*)
9451 lt_prog_compiler_wl='-Wl,'
9452 # PIC (with -KPIC) is the default.
9453 lt_prog_compiler_static='-non_shared'
9456 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9457 case $cc_basename in
9458 # old Intel for x86_64, which still supported -KPIC.
9460 lt_prog_compiler_wl='-Wl,'
9461 lt_prog_compiler_pic='-KPIC'
9462 lt_prog_compiler_static='-static'
9464 # icc used to be incompatible with GCC.
9465 # ICC 10 doesn't accept -KPIC any more.
9467 lt_prog_compiler_wl='-Wl,'
9468 lt_prog_compiler_pic='-fPIC'
9469 lt_prog_compiler_static='-static'
9471 # Lahey Fortran 8.1.
9473 lt_prog_compiler_wl='-Wl,'
9474 lt_prog_compiler_pic='--shared'
9475 lt_prog_compiler_static='--static'
9478 # NAG Fortran compiler
9479 lt_prog_compiler_wl='-Wl,-Wl,,'
9480 lt_prog_compiler_pic='-PIC'
9481 lt_prog_compiler_static='-Bstatic'
9484 # Fabrice Bellard et al's Tiny C Compiler
9485 lt_prog_compiler_wl='-Wl,'
9486 lt_prog_compiler_pic='-fPIC'
9487 lt_prog_compiler_static='-static'
9489 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9490 # Portland Group compilers (*not* the Pentium gcc compiler,
9491 # which looks to be a dead project)
9492 lt_prog_compiler_wl='-Wl,'
9493 lt_prog_compiler_pic='-fpic'
9494 lt_prog_compiler_static='-Bstatic'
9497 lt_prog_compiler_wl='-Wl,'
9498 # All Alpha code is PIC.
9499 lt_prog_compiler_static='-non_shared'
9501 xl* | bgxl* | bgf* | mpixl*)
9502 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9503 lt_prog_compiler_wl='-Wl,'
9504 lt_prog_compiler_pic='-qpic'
9505 lt_prog_compiler_static='-qstaticlink'
9508 case `$CC -V 2>&1 | sed 5q` in
9509 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9510 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9511 lt_prog_compiler_pic='-KPIC'
9512 lt_prog_compiler_static='-Bstatic'
9513 lt_prog_compiler_wl=''
9515 *Sun\ F* | *Sun*Fortran*)
9516 lt_prog_compiler_pic='-KPIC'
9517 lt_prog_compiler_static='-Bstatic'
9518 lt_prog_compiler_wl='-Qoption ld '
9522 lt_prog_compiler_pic='-KPIC'
9523 lt_prog_compiler_static='-Bstatic'
9524 lt_prog_compiler_wl='-Wl,'
9526 *Intel*\ [CF]*Compiler*)
9527 lt_prog_compiler_wl='-Wl,'
9528 lt_prog_compiler_pic='-fPIC'
9529 lt_prog_compiler_static='-static'
9532 lt_prog_compiler_wl='-Wl,'
9533 lt_prog_compiler_pic='-fpic'
9534 lt_prog_compiler_static='-Bstatic'
9542 lt_prog_compiler_pic='-KPIC'
9543 lt_prog_compiler_static='-Bstatic'
9547 # QNX uses GNU C++, but need to define -shared option too, otherwise
9549 lt_prog_compiler_pic='-fPIC -shared'
9552 osf3* | osf4* | osf5*)
9553 lt_prog_compiler_wl='-Wl,'
9554 # All OSF/1 code is PIC.
9555 lt_prog_compiler_static='-non_shared'
9559 lt_prog_compiler_static='-non_shared'
9563 lt_prog_compiler_pic='-KPIC'
9564 lt_prog_compiler_static='-Bstatic'
9565 case $cc_basename in
9566 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9567 lt_prog_compiler_wl='-Qoption ld ';;
9569 lt_prog_compiler_wl='-Wl,';;
9574 lt_prog_compiler_wl='-Qoption ld '
9575 lt_prog_compiler_pic='-PIC'
9576 lt_prog_compiler_static='-Bstatic'
9579 sysv4 | sysv4.2uw2* | sysv4.3*)
9580 lt_prog_compiler_wl='-Wl,'
9581 lt_prog_compiler_pic='-KPIC'
9582 lt_prog_compiler_static='-Bstatic'
9586 if test -d /usr/nec; then
9587 lt_prog_compiler_pic='-Kconform_pic'
9588 lt_prog_compiler_static='-Bstatic'
9592 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9593 lt_prog_compiler_wl='-Wl,'
9594 lt_prog_compiler_pic='-KPIC'
9595 lt_prog_compiler_static='-Bstatic'
9599 lt_prog_compiler_wl='-Wl,'
9600 lt_prog_compiler_can_build_shared=no
9604 lt_prog_compiler_pic='-pic'
9605 lt_prog_compiler_static='-Bstatic'
9609 lt_prog_compiler_can_build_shared=no
9615 # For platforms that do not support PIC, -DPIC is meaningless:
9617 lt_prog_compiler_pic=
9620 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9625 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9626 if ${lt_cv_prog_compiler_pic+:} false; then :
9627 $as_echo_n "(cached) " >&6
9629 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9632 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9633 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9636 # Check to make sure the PIC flag actually works.
9638 if test -n "$lt_prog_compiler_pic"; then
9639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9640 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9641 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9642 $as_echo_n "(cached) " >&6
9644 lt_cv_prog_compiler_pic_works=no
9645 ac_outfile=conftest.$ac_objext
9646 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9647 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
9648 # Insert the option either (1) after the last *FLAGS variable, or
9649 # (2) before a word containing "conftest.", or (3) at the end.
9650 # Note that $ac_compile itself does not contain backslashes and begins
9651 # with a dollar sign (not a hyphen), so the echo should work correctly.
9652 # The option is referenced via a variable to avoid confusing sed.
9653 lt_compile=`echo "$ac_compile" | $SED \
9654 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9655 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9656 -e 's:$: $lt_compiler_flag:'`
9657 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9658 (eval "$lt_compile" 2>conftest.err)
9660 cat conftest.err >&5
9661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9662 if (exit $ac_status) && test -s "$ac_outfile"; then
9663 # The compiler can only warn and ignore the option if not recognized
9664 # So say no if there are warnings other than the usual output.
9665 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9666 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9667 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9668 lt_cv_prog_compiler_pic_works=yes
9674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9675 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9677 if test yes = "$lt_cv_prog_compiler_pic_works"; then
9678 case $lt_prog_compiler_pic in
9680 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9683 lt_prog_compiler_pic=
9684 lt_prog_compiler_can_build_shared=no
9700 # Check to make sure the static flag actually works.
9702 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9704 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9705 if ${lt_cv_prog_compiler_static_works+:} false; then :
9706 $as_echo_n "(cached) " >&6
9708 lt_cv_prog_compiler_static_works=no
9709 save_LDFLAGS=$LDFLAGS
9710 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9711 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9712 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9713 # The linker can only warn and ignore the option if not recognized
9714 # So say no if there are warnings
9715 if test -s conftest.err; then
9716 # Append any errors to the config.log.
9717 cat conftest.err 1>&5
9718 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9719 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9720 if diff conftest.exp conftest.er2 >/dev/null; then
9721 lt_cv_prog_compiler_static_works=yes
9724 lt_cv_prog_compiler_static_works=yes
9728 LDFLAGS=$save_LDFLAGS
9731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9732 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9734 if test yes = "$lt_cv_prog_compiler_static_works"; then
9737 lt_prog_compiler_static=
9746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9747 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9748 if ${lt_cv_prog_compiler_c_o+:} false; then :
9749 $as_echo_n "(cached) " >&6
9751 lt_cv_prog_compiler_c_o=no
9752 $RM -r conftest 2>/dev/null
9756 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9758 lt_compiler_flag="-o out/conftest2.$ac_objext"
9759 # Insert the option either (1) after the last *FLAGS variable, or
9760 # (2) before a word containing "conftest.", or (3) at the end.
9761 # Note that $ac_compile itself does not contain backslashes and begins
9762 # with a dollar sign (not a hyphen), so the echo should work correctly.
9763 lt_compile=`echo "$ac_compile" | $SED \
9764 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9765 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9766 -e 's:$: $lt_compiler_flag:'`
9767 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9768 (eval "$lt_compile" 2>out/conftest.err)
9770 cat out/conftest.err >&5
9771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9772 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9774 # The compiler can only warn and ignore the option if not recognized
9775 # So say no if there are warnings
9776 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9777 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9778 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9779 lt_cv_prog_compiler_c_o=yes
9784 # SGI C++ compiler will create directory out/ii_files/ for
9785 # template instantiation
9786 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9787 $RM out/* && rmdir out
9793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9794 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9802 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9803 if ${lt_cv_prog_compiler_c_o+:} false; then :
9804 $as_echo_n "(cached) " >&6
9806 lt_cv_prog_compiler_c_o=no
9807 $RM -r conftest 2>/dev/null
9811 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9813 lt_compiler_flag="-o out/conftest2.$ac_objext"
9814 # Insert the option either (1) after the last *FLAGS variable, or
9815 # (2) before a word containing "conftest.", or (3) at the end.
9816 # Note that $ac_compile itself does not contain backslashes and begins
9817 # with a dollar sign (not a hyphen), so the echo should work correctly.
9818 lt_compile=`echo "$ac_compile" | $SED \
9819 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9820 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9821 -e 's:$: $lt_compiler_flag:'`
9822 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9823 (eval "$lt_compile" 2>out/conftest.err)
9825 cat out/conftest.err >&5
9826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9827 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9829 # The compiler can only warn and ignore the option if not recognized
9830 # So say no if there are warnings
9831 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9832 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9833 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9834 lt_cv_prog_compiler_c_o=yes
9839 # SGI C++ compiler will create directory out/ii_files/ for
9840 # template instantiation
9841 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9842 $RM out/* && rmdir out
9848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9849 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9854 hard_links=nottested
9855 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
9856 # do not overwrite the value of need_locks provided by the user
9857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9858 $as_echo_n "checking if we can lock with hard links... " >&6; }
9861 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9863 ln conftest.a conftest.b 2>&5 || hard_links=no
9864 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9866 $as_echo "$hard_links" >&6; }
9867 if test no = "$hard_links"; then
9868 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9869 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9882 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9885 allow_undefined_flag=
9886 always_export_symbols=no
9888 archive_expsym_cmds=
9889 compiler_needs_object=no
9890 enable_shared_with_static_runtimes=no
9891 export_dynamic_flag_spec=
9892 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9893 hardcode_automatic=no
9895 hardcode_direct_absolute=no
9896 hardcode_libdir_flag_spec=
9897 hardcode_libdir_separator=
9899 hardcode_shlibpath_var=unsupported
9901 link_all_deplibs=unknown
9904 old_archive_from_new_cmds=
9905 old_archive_from_expsyms_cmds=
9906 thread_safe_flag_spec=
9907 whole_archive_flag_spec=
9908 # include_expsyms should be a list of space-separated symbols to be *always*
9909 # included in the symbol list
9911 # exclude_expsyms can be an extended regexp of symbols to exclude
9912 # it will be wrapped by ' (' and ')$', so one must not match beginning or
9913 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9914 # as well as any symbol that contains 'd'.
9915 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9916 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9917 # platforms (ab)use it in PIC code, but their linkers get confused if
9918 # the symbol is explicitly referenced. Since portable code cannot
9919 # rely on this symbol name, it's probably fine to never include it in
9920 # preloaded symbol tables.
9921 # Exclude shared library initialization/finalization symbols.
9922 extract_expsyms_cmds=
9925 cygwin* | mingw* | pw32* | cegcc*)
9926 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9927 # When not using gcc, we currently assume that we are using
9928 # Microsoft Visual C++.
9929 if test yes != "$GCC"; then
9934 # we just hope/assume this is gcc and not c89 (= MSVC++)
9944 # On some targets, GNU ld is compatible enough with the native linker
9945 # that we're better off using the native interface for both.
9946 lt_use_gnu_ld_interface=no
9947 if test yes = "$with_gnu_ld"; then
9950 # The AIX port of GNU ld has always aspired to compatibility
9951 # with the native linker. However, as the warning in the GNU ld
9952 # block says, versions before 2.19.5* couldn't really create working
9953 # shared libraries, regardless of the interface used.
9954 case `$LD -v 2>&1` in
9955 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9956 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9957 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9959 lt_use_gnu_ld_interface=yes
9964 lt_use_gnu_ld_interface=yes
9969 if test yes = "$lt_use_gnu_ld_interface"; then
9970 # If archive_cmds runs LD, not CC, wlarc should be empty
9973 # Set some defaults for GNU ld with shared library support. These
9974 # are reset later if shared libraries are not supported. Putting them
9975 # here allows them to be overridden if necessary.
9976 runpath_var=LD_RUN_PATH
9977 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9978 export_dynamic_flag_spec='$wl--export-dynamic'
9979 # ancient GNU ld didn't support --whole-archive et. al.
9980 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9981 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9983 whole_archive_flag_spec=
9985 supports_anon_versioning=no
9986 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9987 *GNU\ gold*) supports_anon_versioning=yes ;;
9988 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9989 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9990 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9991 *\ 2.11.*) ;; # other 2.11 versions
9992 *) supports_anon_versioning=yes ;;
9995 # See if GNU ld supports shared libraries.
9998 # On AIX/PPC, the GNU linker is very broken
9999 if test ia64 != "$host_cpu"; then
10003 *** Warning: the GNU linker, at least up to release 2.19, is reported
10004 *** to be unable to reliably create shared libraries on AIX.
10005 *** Therefore, libtool is disabling shared libraries support. If you
10006 *** really care for shared libraries, you may want to install binutils
10007 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10008 *** You will then need to restart the configuration process.
10017 # see comment about AmigaOS4 .so support
10018 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10019 archive_expsym_cmds=''
10022 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)'
10023 hardcode_libdir_flag_spec='-L$libdir'
10024 hardcode_minus_L=yes
10030 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10031 allow_undefined_flag=unsupported
10032 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10033 # support --undefined. This deserves some investigation. FIXME
10034 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10040 cygwin* | mingw* | pw32* | cegcc*)
10041 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10042 # as there is no search path for DLLs.
10043 hardcode_libdir_flag_spec='-L$libdir'
10044 export_dynamic_flag_spec='$wl--export-all-symbols'
10045 allow_undefined_flag=unsupported
10046 always_export_symbols=no
10047 enable_shared_with_static_runtimes=yes
10048 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'
10049 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10051 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10052 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10053 # If the export-symbols file already is a .def file, use it as
10054 # is; otherwise, prepend EXPORTS...
10055 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10056 cp $export_symbols $output_objdir/$soname.def;
10058 echo EXPORTS > $output_objdir/$soname.def;
10059 cat $export_symbols >> $output_objdir/$soname.def;
10061 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10068 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10069 link_all_deplibs=yes
10073 hardcode_libdir_flag_spec='-L$libdir'
10074 hardcode_minus_L=yes
10075 allow_undefined_flag=unsupported
10077 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10078 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10079 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10080 $ECHO EXPORTS >> $output_objdir/$libname.def~
10081 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10082 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10083 emximp -o $lib $output_objdir/$libname.def'
10084 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10085 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10086 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10087 $ECHO EXPORTS >> $output_objdir/$libname.def~
10088 prefix_cmds="$SED"~
10089 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10090 prefix_cmds="$prefix_cmds -e 1d";
10092 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10093 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10094 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10095 emximp -o $lib $output_objdir/$libname.def'
10096 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10097 enable_shared_with_static_runtimes=yes
10102 hardcode_shlibpath_var=no
10103 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10104 export_dynamic_flag_spec='$wl-E'
10105 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10106 # Instead, shared libraries are loaded at an image base (0x10000000 by
10107 # default) and relocated if they conflict, which is a slow very memory
10108 # consuming and fragmenting process. To avoid this, we pick a random,
10109 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10110 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10111 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10112 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'
10115 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10117 if test linux-dietlibc = "$host_os"; then
10118 case $cc_basename in
10119 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
10122 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10123 && test no = "$tmp_diet"
10125 tmp_addflag=' $pic_flag'
10126 tmp_sharedflag='-shared'
10127 case $cc_basename,$host_cpu in
10128 pgcc*) # Portland Group C compiler
10129 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'
10130 tmp_addflag=' $pic_flag'
10132 pgf77* | pgf90* | pgf95* | pgfortran*)
10133 # Portland Group f77 and f90 compilers
10134 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'
10135 tmp_addflag=' $pic_flag -Mnomain' ;;
10136 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
10137 tmp_addflag=' -i_dynamic' ;;
10138 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
10139 tmp_addflag=' -i_dynamic -nofor_main' ;;
10140 ifc* | ifort*) # Intel Fortran compiler
10141 tmp_addflag=' -nofor_main' ;;
10142 lf95*) # Lahey Fortran 8.1
10143 whole_archive_flag_spec=
10144 tmp_sharedflag='--shared' ;;
10145 nagfor*) # NAGFOR 5.3
10146 tmp_sharedflag='-Wl,-shared' ;;
10147 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10148 tmp_sharedflag='-qmkshrobj'
10150 nvcc*) # Cuda Compiler Driver 2.2
10151 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'
10152 compiler_needs_object=yes
10155 case `$CC -V 2>&1 | sed 5q` in
10156 *Sun\ C*) # Sun C 5.9
10157 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'
10158 compiler_needs_object=yes
10159 tmp_sharedflag='-G' ;;
10160 *Sun\ F*) # Sun Fortran 8.3
10161 tmp_sharedflag='-G' ;;
10163 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10165 if test yes = "$supports_anon_versioning"; then
10166 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10167 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10168 echo "local: *; };" >> $output_objdir/$libname.ver~
10169 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10172 case $cc_basename in
10174 export_dynamic_flag_spec='-rdynamic'
10176 xlf* | bgf* | bgxlf* | mpixlf*)
10177 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10178 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10179 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10180 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10181 if test yes = "$supports_anon_versioning"; then
10182 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10183 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10184 echo "local: *; };" >> $output_objdir/$libname.ver~
10185 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10195 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10196 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10199 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10200 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10205 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10209 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10210 *** create shared libraries on Solaris systems. Therefore, libtool
10211 *** is disabling shared libraries support. We urge you to upgrade GNU
10212 *** binutils to release 2.9.1 or newer. Another option is to modify
10213 *** your PATH or compiler configuration so that the native linker is
10214 *** used, and then restart.
10217 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
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'
10225 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10226 case `$LD -v 2>&1` in
10227 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10231 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10232 *** reliably create shared libraries on SCO systems. Therefore, libtool
10233 *** is disabling shared libraries support. We urge you to upgrade GNU
10234 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10235 *** your PATH or compiler configuration so that the native linker is
10236 *** used, and then restart.
10241 # For security reasons, it is highly recommended that you always
10242 # use absolute paths for naming shared libraries, and exclude the
10243 # DT_RUNPATH tag from executables and libraries. But doing so
10244 # requires that you compile everything twice, which is a pain.
10245 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10246 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10247 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10248 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10257 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10259 hardcode_direct=yes
10260 hardcode_shlibpath_var=no
10264 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10265 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10266 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10273 if test no = "$ld_shlibs"; then
10275 hardcode_libdir_flag_spec=
10276 export_dynamic_flag_spec=
10277 whole_archive_flag_spec=
10280 # PORTME fill in a description of your system's linker (not GNU ld)
10283 allow_undefined_flag=unsupported
10284 always_export_symbols=yes
10285 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'
10286 # Note: this linker hardcodes the directories in LIBPATH if there
10287 # are no directories specified by -L.
10288 hardcode_minus_L=yes
10289 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10290 # Neither direct hardcoding nor static linking is supported with a
10292 hardcode_direct=unsupported
10297 if test ia64 = "$host_cpu"; then
10298 # On IA64, the linker does run time linking by default, so we don't
10299 # have to do anything special.
10300 aix_use_runtimelinking=no
10301 exp_sym_flag='-Bexport'
10304 # If we're using GNU nm, then we don't want the "-C" option.
10305 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
10306 # Without the "-l" option, or with the "-B" option, AIX nm treats
10307 # weak defined symbols like other global defined symbols, whereas
10308 # GNU nm marks them as "W".
10309 # While the 'weak' keyword is ignored in the Export File, we need
10310 # it in the Import File for the 'aix-soname' feature, so we have
10311 # to replace the "-B" option with "-P" for AIX nm.
10312 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10313 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'
10315 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'
10317 aix_use_runtimelinking=no
10319 # Test if we are trying to use run time linking or normal
10320 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10321 # have runtime linking enabled, and use it for executables.
10322 # For shared libraries, we enable/disable runtime linking
10323 # depending on the kind of the shared library created -
10324 # when "with_aix_soname,aix_use_runtimelinking" is:
10325 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
10326 # "aix,yes" lib.so shared, rtl:yes, for executables
10327 # lib.a static archive
10328 # "both,no" lib.so.V(shr.o) shared, rtl:yes
10329 # lib.a(lib.so.V) shared, rtl:no, for executables
10330 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10331 # lib.a(lib.so.V) shared, rtl:no
10332 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
10333 # lib.a static archive
10334 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10335 for ld_flag in $LDFLAGS; do
10336 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
10337 aix_use_runtimelinking=yes
10341 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
10342 # With aix-soname=svr4, we create the lib.so.V shared archives only,
10343 # so we don't have lib.a shared libs to link our executables.
10344 # We have to force runtime linking in this case.
10345 aix_use_runtimelinking=yes
10346 LDFLAGS="$LDFLAGS -Wl,-brtl"
10351 exp_sym_flag='-bexport'
10352 no_entry_flag='-bnoentry'
10355 # When large executables or shared objects are built, AIX ld can
10356 # have problems creating the table of contents. If linking a library
10357 # or program results in "error TOC overflow" add -mminimal-toc to
10358 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10359 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10362 hardcode_direct=yes
10363 hardcode_direct_absolute=yes
10364 hardcode_libdir_separator=':'
10365 link_all_deplibs=yes
10366 file_list_spec='$wl-f,'
10367 case $with_aix_soname,$aix_use_runtimelinking in
10368 aix,*) ;; # traditional, no import file
10369 svr4,* | *,yes) # use import file
10370 # The Import File defines what to hardcode.
10372 hardcode_direct_absolute=no
10376 if test yes = "$GCC"; then
10377 case $host_os in aix4.[012]|aix4.[012].*)
10378 # We only want to do this on AIX 4.2 and lower, the check
10379 # below for broken collect2 doesn't work under 4.3+
10380 collect2name=`$CC -print-prog-name=collect2`
10381 if test -f "$collect2name" &&
10382 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10384 # We have reworked collect2
10387 # We have old collect2
10388 hardcode_direct=unsupported
10389 # It fails to find uninstalled libraries when the uninstalled
10390 # path is not listed in the libpath. Setting hardcode_minus_L
10391 # to unsupported forces relinking
10392 hardcode_minus_L=yes
10393 hardcode_libdir_flag_spec='-L$libdir'
10394 hardcode_libdir_separator=
10398 shared_flag='-shared'
10399 if test yes = "$aix_use_runtimelinking"; then
10400 shared_flag="$shared_flag "'$wl-G'
10402 # Need to ensure runtime linking is disabled for the traditional
10403 # shared library, or the linker may eventually find shared libraries
10404 # /with/ Import File - we do not want to mix them.
10405 shared_flag_aix='-shared'
10406 shared_flag_svr4='-shared $wl-G'
10409 if test ia64 = "$host_cpu"; then
10410 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10411 # chokes on -Wl,-G. The following line is correct:
10414 if test yes = "$aix_use_runtimelinking"; then
10415 shared_flag='$wl-G'
10417 shared_flag='$wl-bM:SRE'
10419 shared_flag_aix='$wl-bM:SRE'
10420 shared_flag_svr4='$wl-G'
10424 export_dynamic_flag_spec='$wl-bexpall'
10425 # It seems that -bexpall does not export symbols beginning with
10426 # underscore (_), so it is better to generate a list of symbols to export.
10427 always_export_symbols=yes
10428 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10429 # Warning - without using the other runtime loading flags (-brtl),
10430 # -berok will link without error, but may produce a broken library.
10431 allow_undefined_flag='-berok'
10432 # Determine the default libpath from the value encoded in an
10433 # empty executable.
10434 if test set = "${lt_cv_aix_libpath+set}"; then
10435 aix_libpath=$lt_cv_aix_libpath
10437 if ${lt_cv_aix_libpath_+:} false; then :
10438 $as_echo_n "(cached) " >&6
10440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10441 /* end confdefs.h. */
10451 if ac_fn_c_try_link "$LINENO"; then :
10453 lt_aix_libpath_sed='
10454 /Import File Strings/,/^$/ {
10456 s/^0 *\([^ ]*\) *$/\1/
10460 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10461 # Check for a 64-bit object if we didn't find anything.
10462 if test -z "$lt_cv_aix_libpath_"; then
10463 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10466 rm -f core conftest.err conftest.$ac_objext \
10467 conftest$ac_exeext conftest.$ac_ext
10468 if test -z "$lt_cv_aix_libpath_"; then
10469 lt_cv_aix_libpath_=/usr/lib:/lib
10474 aix_libpath=$lt_cv_aix_libpath_
10477 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10478 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
10480 if test ia64 = "$host_cpu"; then
10481 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
10482 allow_undefined_flag="-z nodefs"
10483 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"
10485 # Determine the default libpath from the value encoded in an
10486 # empty executable.
10487 if test set = "${lt_cv_aix_libpath+set}"; then
10488 aix_libpath=$lt_cv_aix_libpath
10490 if ${lt_cv_aix_libpath_+:} false; then :
10491 $as_echo_n "(cached) " >&6
10493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10494 /* end confdefs.h. */
10504 if ac_fn_c_try_link "$LINENO"; then :
10506 lt_aix_libpath_sed='
10507 /Import File Strings/,/^$/ {
10509 s/^0 *\([^ ]*\) *$/\1/
10513 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10514 # Check for a 64-bit object if we didn't find anything.
10515 if test -z "$lt_cv_aix_libpath_"; then
10516 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10519 rm -f core conftest.err conftest.$ac_objext \
10520 conftest$ac_exeext conftest.$ac_ext
10521 if test -z "$lt_cv_aix_libpath_"; then
10522 lt_cv_aix_libpath_=/usr/lib:/lib
10527 aix_libpath=$lt_cv_aix_libpath_
10530 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10531 # Warning - without using the other run time loading flags,
10532 # -berok will link without error, but may produce a broken library.
10533 no_undefined_flag=' $wl-bernotok'
10534 allow_undefined_flag=' $wl-berok'
10535 if test yes = "$with_gnu_ld"; then
10536 # We only use this code for GNU lds that support --whole-archive.
10537 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
10539 # Exported symbols can be pulled into shared objects from archives
10540 whole_archive_flag_spec='$convenience'
10542 archive_cmds_need_lc=yes
10543 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10544 # -brtl affects multiple linker settings, -berok does not and is overridden later
10545 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10546 if test svr4 != "$with_aix_soname"; then
10547 # This is similar to how AIX traditionally builds its shared libraries.
10548 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'
10550 if test aix != "$with_aix_soname"; then
10551 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'
10553 # used by -dlpreopen to get the symbols
10554 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
10556 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10564 # see comment about AmigaOS4 .so support
10565 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10566 archive_expsym_cmds=''
10569 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)'
10570 hardcode_libdir_flag_spec='-L$libdir'
10571 hardcode_minus_L=yes
10577 export_dynamic_flag_spec=-rdynamic
10580 cygwin* | mingw* | pw32* | cegcc*)
10581 # When not using gcc, we currently assume that we are using
10582 # Microsoft Visual C++.
10583 # hardcode_libdir_flag_spec is actually meaningless, as there is
10584 # no search path for DLLs.
10585 case $cc_basename in
10588 hardcode_libdir_flag_spec=' '
10589 allow_undefined_flag=unsupported
10590 always_export_symbols=yes
10592 # Tell ltmain to make .lib files, not .a files.
10594 # Tell ltmain to make .dll files, not .so files.
10596 # FIXME: Setting linknames here is a bad hack.
10597 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10598 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10599 cp "$export_symbols" "$output_objdir/$soname.def";
10600 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10602 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10604 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10606 # The linker will not automatically build a static lib if we build a DLL.
10607 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10608 enable_shared_with_static_runtimes=yes
10609 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10610 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10612 old_postinstall_cmds='chmod 644 $oldlib'
10613 postlink_cmds='lt_outputfile="@OUTPUT@"~
10614 lt_tool_outputfile="@TOOL_OUTPUT@"~
10615 case $lt_outputfile in
10618 lt_outputfile=$lt_outputfile.exe
10619 lt_tool_outputfile=$lt_tool_outputfile.exe
10622 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10623 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10624 $RM "$lt_outputfile.manifest";
10628 # Assume MSVC wrapper
10629 hardcode_libdir_flag_spec=' '
10630 allow_undefined_flag=unsupported
10631 # Tell ltmain to make .lib files, not .a files.
10633 # Tell ltmain to make .dll files, not .so files.
10635 # FIXME: Setting linknames here is a bad hack.
10636 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10637 # The linker will automatically build a .lib file if we build a DLL.
10638 old_archive_from_new_cmds='true'
10639 # FIXME: Should let the user specify the lib program.
10640 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10641 enable_shared_with_static_runtimes=yes
10646 darwin* | rhapsody*)
10649 archive_cmds_need_lc=no
10651 hardcode_automatic=yes
10652 hardcode_shlibpath_var=unsupported
10653 if test yes = "$lt_cv_ld_force_load"; then
10654 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\"`'
10657 whole_archive_flag_spec=''
10659 link_all_deplibs=yes
10660 allow_undefined_flag=$_lt_dar_allow_undefined
10661 case $cc_basename in
10662 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
10663 *) _lt_dar_can_shared=$GCC ;;
10665 if test yes = "$_lt_dar_can_shared"; then
10666 output_verbose_link_cmd=func_echo_all
10667 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10668 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10669 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"
10670 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"
10679 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10680 hardcode_libdir_flag_spec='-L$libdir'
10681 hardcode_shlibpath_var=no
10684 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10685 # support. Future versions do this automatically, but an explicit c++rt0.o
10686 # does not break anything, and helps significantly (at the cost of a little
10689 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10690 hardcode_libdir_flag_spec='-R$libdir'
10691 hardcode_direct=yes
10692 hardcode_shlibpath_var=no
10695 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10697 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10698 hardcode_direct=yes
10699 hardcode_minus_L=yes
10700 hardcode_shlibpath_var=no
10703 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10704 freebsd* | dragonfly*)
10705 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10706 hardcode_libdir_flag_spec='-R$libdir'
10707 hardcode_direct=yes
10708 hardcode_shlibpath_var=no
10712 if test yes = "$GCC"; then
10713 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'
10715 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'
10717 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10718 hardcode_libdir_separator=:
10719 hardcode_direct=yes
10721 # hardcode_minus_L: Not really in the search PATH,
10722 # but as the default location of the library.
10723 hardcode_minus_L=yes
10724 export_dynamic_flag_spec='$wl-E'
10728 if test yes,no = "$GCC,$with_gnu_ld"; then
10729 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10731 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10733 if test no = "$with_gnu_ld"; then
10734 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10735 hardcode_libdir_separator=:
10736 hardcode_direct=yes
10737 hardcode_direct_absolute=yes
10738 export_dynamic_flag_spec='$wl-E'
10739 # hardcode_minus_L: Not really in the search PATH,
10740 # but as the default location of the library.
10741 hardcode_minus_L=yes
10746 if test yes,no = "$GCC,$with_gnu_ld"; then
10749 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10752 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10755 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10761 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10764 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10768 # Older versions of the 11.00 compiler do not understand -b yet
10769 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10771 $as_echo_n "checking if $CC understands -b... " >&6; }
10772 if ${lt_cv_prog_compiler__b+:} false; then :
10773 $as_echo_n "(cached) " >&6
10775 lt_cv_prog_compiler__b=no
10776 save_LDFLAGS=$LDFLAGS
10777 LDFLAGS="$LDFLAGS -b"
10778 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10779 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10780 # The linker can only warn and ignore the option if not recognized
10781 # So say no if there are warnings
10782 if test -s conftest.err; then
10783 # Append any errors to the config.log.
10784 cat conftest.err 1>&5
10785 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10786 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10787 if diff conftest.exp conftest.er2 >/dev/null; then
10788 lt_cv_prog_compiler__b=yes
10791 lt_cv_prog_compiler__b=yes
10795 LDFLAGS=$save_LDFLAGS
10798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10799 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10801 if test yes = "$lt_cv_prog_compiler__b"; then
10802 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10804 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10810 if test no = "$with_gnu_ld"; then
10811 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10812 hardcode_libdir_separator=:
10817 hardcode_shlibpath_var=no
10820 hardcode_direct=yes
10821 hardcode_direct_absolute=yes
10822 export_dynamic_flag_spec='$wl-E'
10824 # hardcode_minus_L: Not really in the search PATH,
10825 # but as the default location of the library.
10826 hardcode_minus_L=yes
10832 irix5* | irix6* | nonstopux*)
10833 if test yes = "$GCC"; then
10834 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'
10835 # Try to use the -exported_symbol ld option, if it does not
10836 # work, assume that -exports_file does not work either and
10837 # implicitly export all symbols.
10838 # This should be the same for all languages, so no per-tag cache variable.
10839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10840 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10841 if ${lt_cv_irix_exported_symbol+:} false; then :
10842 $as_echo_n "(cached) " >&6
10844 save_LDFLAGS=$LDFLAGS
10845 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
10846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10847 /* end confdefs.h. */
10848 int foo (void) { return 0; }
10850 if ac_fn_c_try_link "$LINENO"; then :
10851 lt_cv_irix_exported_symbol=yes
10853 lt_cv_irix_exported_symbol=no
10855 rm -f core conftest.err conftest.$ac_objext \
10856 conftest$ac_exeext conftest.$ac_ext
10857 LDFLAGS=$save_LDFLAGS
10859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10860 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10861 if test yes = "$lt_cv_irix_exported_symbol"; then
10862 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'
10865 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'
10866 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'
10868 archive_cmds_need_lc='no'
10869 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10870 hardcode_libdir_separator=:
10872 link_all_deplibs=yes
10876 case $cc_basename in
10878 # Fabrice Bellard et al's Tiny C Compiler
10880 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10886 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10887 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10889 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10891 hardcode_libdir_flag_spec='-R$libdir'
10892 hardcode_direct=yes
10893 hardcode_shlibpath_var=no
10897 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10898 hardcode_direct=yes
10899 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10900 hardcode_libdir_separator=:
10901 hardcode_shlibpath_var=no
10907 openbsd* | bitrig*)
10908 if test -f /usr/libexec/ld.so; then
10909 hardcode_direct=yes
10910 hardcode_shlibpath_var=no
10911 hardcode_direct_absolute=yes
10912 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10913 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10914 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10915 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10916 export_dynamic_flag_spec='$wl-E'
10918 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10919 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10927 hardcode_libdir_flag_spec='-L$libdir'
10928 hardcode_minus_L=yes
10929 allow_undefined_flag=unsupported
10931 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10932 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10933 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10934 $ECHO EXPORTS >> $output_objdir/$libname.def~
10935 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10936 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10937 emximp -o $lib $output_objdir/$libname.def'
10938 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10939 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10940 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10941 $ECHO EXPORTS >> $output_objdir/$libname.def~
10942 prefix_cmds="$SED"~
10943 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10944 prefix_cmds="$prefix_cmds -e 1d";
10946 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10947 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10948 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10949 emximp -o $lib $output_objdir/$libname.def'
10950 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10951 enable_shared_with_static_runtimes=yes
10955 if test yes = "$GCC"; then
10956 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10957 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'
10959 allow_undefined_flag=' -expect_unresolved \*'
10960 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'
10962 archive_cmds_need_lc='no'
10963 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10964 hardcode_libdir_separator=:
10967 osf4* | osf5*) # as osf3* with the addition of -msym flag
10968 if test yes = "$GCC"; then
10969 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10970 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'
10971 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10973 allow_undefined_flag=' -expect_unresolved \*'
10974 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'
10975 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~
10976 $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'
10978 # Both c and cxx compiler support -rpath directly
10979 hardcode_libdir_flag_spec='-rpath $libdir'
10981 archive_cmds_need_lc='no'
10982 hardcode_libdir_separator=:
10986 no_undefined_flag=' -z defs'
10987 if test yes = "$GCC"; then
10989 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10990 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10991 $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'
10993 case `$CC -V 2>&1` in
10996 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10997 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10998 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11002 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11003 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11004 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11008 hardcode_libdir_flag_spec='-R$libdir'
11009 hardcode_shlibpath_var=no
11011 solaris2.[0-5] | solaris2.[0-5].*) ;;
11013 # The compiler driver will combine and reorder linker options,
11014 # but understands '-z linker_flag'. GCC discards it without '$wl',
11015 # but is careful enough not to reorder.
11016 # Supported since Solaris 2.6 (maybe 2.5.1?)
11017 if test yes = "$GCC"; then
11018 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11020 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11024 link_all_deplibs=yes
11028 if test sequent = "$host_vendor"; then
11029 # Use $CC to link under sequent, because it throws in some extra .o
11030 # files that make .init and .fini sections work.
11031 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11033 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11035 hardcode_libdir_flag_spec='-L$libdir'
11036 hardcode_direct=yes
11037 hardcode_minus_L=yes
11038 hardcode_shlibpath_var=no
11042 case $host_vendor in
11044 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11045 hardcode_direct=yes # is this really true???
11048 ## LD is ld it makes a PLAMLIB
11049 ## CC just makes a GrossModule.
11050 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11051 reload_cmds='$CC -r -o $output$reload_objs'
11055 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11056 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11059 runpath_var='LD_RUN_PATH'
11060 hardcode_shlibpath_var=no
11064 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11065 hardcode_shlibpath_var=no
11066 export_dynamic_flag_spec='-Bexport'
11070 if test -d /usr/nec; then
11071 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11072 hardcode_shlibpath_var=no
11073 runpath_var=LD_RUN_PATH
11074 hardcode_runpath_var=yes
11079 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11080 no_undefined_flag='$wl-z,text'
11081 archive_cmds_need_lc=no
11082 hardcode_shlibpath_var=no
11083 runpath_var='LD_RUN_PATH'
11085 if test yes = "$GCC"; then
11086 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11087 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11089 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11090 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11094 sysv5* | sco3.2v5* | sco5v6*)
11095 # Note: We CANNOT use -z defs as we might desire, because we do not
11096 # link with -lc, and that would cause any symbols used from libc to
11097 # always be unresolved, which means just about no library would
11098 # ever link correctly. If we're not using GNU ld we use -z text
11099 # though, which does catch some bad symbols but isn't as heavy-handed
11101 no_undefined_flag='$wl-z,text'
11102 allow_undefined_flag='$wl-z,nodefs'
11103 archive_cmds_need_lc=no
11104 hardcode_shlibpath_var=no
11105 hardcode_libdir_flag_spec='$wl-R,$libdir'
11106 hardcode_libdir_separator=':'
11107 link_all_deplibs=yes
11108 export_dynamic_flag_spec='$wl-Bexport'
11109 runpath_var='LD_RUN_PATH'
11111 if test yes = "$GCC"; then
11112 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11113 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11115 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11116 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11121 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11122 hardcode_libdir_flag_spec='-L$libdir'
11123 hardcode_shlibpath_var=no
11131 if test sni = "$host_vendor"; then
11133 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11134 export_dynamic_flag_spec='$wl-Blargedynsym'
11140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11141 $as_echo "$ld_shlibs" >&6; }
11142 test no = "$ld_shlibs" && can_build_shared=no
11144 with_gnu_ld=$with_gnu_ld
11161 # Do we need to explicitly link libc?
11163 case "x$archive_cmds_need_lc" in
11165 # Assume -lc should be added
11166 archive_cmds_need_lc=yes
11168 if test yes,yes = "$GCC,$enable_shared"; then
11169 case $archive_cmds in
11171 # FIXME: we may have to deal with multi-command sequences.
11174 # Test whether the compiler implicitly links with -lc since on some
11175 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11176 # to ld, don't add -lc before -lgcc.
11177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11178 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11179 if ${lt_cv_archive_cmds_need_lc+:} false; then :
11180 $as_echo_n "(cached) " >&6
11183 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11185 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11186 (eval $ac_compile) 2>&5
11188 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11189 test $ac_status = 0; } 2>conftest.err; then
11192 libobjs=conftest.$ac_objext
11194 wl=$lt_prog_compiler_wl
11195 pic_flag=$lt_prog_compiler_pic
11201 lt_save_allow_undefined_flag=$allow_undefined_flag
11202 allow_undefined_flag=
11203 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11204 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11206 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11207 test $ac_status = 0; }
11209 lt_cv_archive_cmds_need_lc=no
11211 lt_cv_archive_cmds_need_lc=yes
11213 allow_undefined_flag=$lt_save_allow_undefined_flag
11215 cat conftest.err 1>&5
11220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11221 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11222 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11381 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11383 if test yes = "$GCC"; then
11385 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
11386 *) lt_awk_arg='/^libraries:/' ;;
11389 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
11390 *) lt_sed_strip_eq='s|=/|/|g' ;;
11392 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11393 case $lt_search_path_spec in
11395 # if the path contains ";" then we assume it to be the separator
11396 # otherwise default to the standard path separator (i.e. ":") - it is
11397 # assumed that no part of a normal pathname contains ";" but that should
11398 # okay in the real world where ";" in dirpaths is itself problematic.
11399 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11402 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11405 # Ok, now we have the path, separated by spaces, we can step through it
11406 # and add multilib dir if necessary...
11407 lt_tmp_lt_search_path_spec=
11408 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11409 # ...but if some path component already ends with the multilib dir we assume
11410 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11411 case "$lt_multi_os_dir; $lt_search_path_spec " in
11412 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11416 for lt_sys_path in $lt_search_path_spec; do
11417 if test -d "$lt_sys_path$lt_multi_os_dir"; then
11418 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11419 elif test -n "$lt_multi_os_dir"; then
11420 test -d "$lt_sys_path" && \
11421 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11424 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11425 BEGIN {RS = " "; FS = "/|\n";} {
11428 for (lt_i = NF; lt_i > 0; lt_i--) {
11429 if ($lt_i != "" && $lt_i != ".") {
11430 if ($lt_i == "..") {
11433 if (lt_count == 0) {
11434 lt_foo = "/" $lt_i lt_foo;
11441 if (lt_foo != "") { lt_freq[lt_foo]++; }
11442 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11444 # AWK program above erroneously prepends '/' to C:/dos/paths
11447 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11448 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11450 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11452 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11454 library_names_spec=
11455 libname_spec='lib$name'
11459 postuninstall_cmds=
11463 shlibpath_overrides_runpath=unknown
11465 dynamic_linker="$host_os ld.so"
11466 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11467 need_lib_prefix=unknown
11468 hardcode_into_libs=no
11470 # when you set need_version to no, make sure it does not cause -set_version
11471 # flags to be left without arguments
11472 need_version=unknown
11478 version_type=linux # correct to gnu/linux during the next big refactor
11479 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
11480 shlibpath_var=LIBPATH
11482 # AIX 3 has no versioning support, so we append a major version to the name.
11483 soname_spec='$libname$release$shared_ext$major'
11487 version_type=linux # correct to gnu/linux during the next big refactor
11490 hardcode_into_libs=yes
11491 if test ia64 = "$host_cpu"; then
11492 # AIX 5 supports IA64
11493 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11494 shlibpath_var=LD_LIBRARY_PATH
11496 # With GCC up to 2.95.x, collect2 would create an import file
11497 # for dependence libraries. The import file would start with
11498 # the line '#! .'. This would cause the generated library to
11499 # depend on '.', always an invalid library. This was fixed in
11500 # development snapshots of GCC prior to 3.0.
11502 aix4 | aix4.[01] | aix4.[01].*)
11503 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11505 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
11508 can_build_shared=no
11512 # Using Import Files as archive members, it is possible to support
11513 # filename-based versioning of shared library archives on AIX. While
11514 # this would work for both with and without runtime linking, it will
11515 # prevent static linking of such archives. So we do filename-based
11516 # shared library versioning with .so extension only, which is used
11517 # when both runtime linking and shared linking is enabled.
11518 # Unfortunately, runtime linking may impact performance, so we do
11519 # not want this to be the default eventually. Also, we use the
11520 # versioned .so libs for executables only if there is the -brtl
11521 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11522 # To allow for filename-based versioning support, we need to create
11523 # libNAME.so.V as an archive file, containing:
11524 # *) an Import File, referring to the versioned filename of the
11525 # archive as well as the shared archive member, telling the
11526 # bitwidth (32 or 64) of that shared object, and providing the
11527 # list of exported symbols of that shared object, eventually
11528 # decorated with the 'weak' keyword
11529 # *) the shared object with the F_LOADONLY flag set, to really avoid
11530 # it being seen by the linker.
11531 # At run time we better use the real file rather than another symlink,
11532 # but for link time we create the symlink libNAME.so -> libNAME.so.V
11534 case $with_aix_soname,$aix_use_runtimelinking in
11535 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11536 # soname into executable. Probably we can add versioning support to
11537 # collect2, so additional links can be useful in future.
11538 aix,yes) # traditional libtool
11539 dynamic_linker='AIX unversionable lib.so'
11540 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11541 # instead of lib<name>.a to let people know that these are not
11542 # typical AIX shared libraries.
11543 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11545 aix,no) # traditional AIX only
11546 dynamic_linker='AIX lib.a(lib.so.V)'
11547 # We preserve .a as extension for shared libraries through AIX4.2
11548 # and later when we are not doing run time linking.
11549 library_names_spec='$libname$release.a $libname.a'
11550 soname_spec='$libname$release$shared_ext$major'
11552 svr4,*) # full svr4 only
11553 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
11554 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11555 # We do not specify a path in Import Files, so LIBPATH fires.
11556 shlibpath_overrides_runpath=yes
11558 *,yes) # both, prefer svr4
11559 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11560 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11561 # unpreferred sharedlib libNAME.a needs extra handling
11562 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"'
11563 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"'
11564 # We do not specify a path in Import Files, so LIBPATH fires.
11565 shlibpath_overrides_runpath=yes
11567 *,no) # both, prefer aix
11568 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11569 library_names_spec='$libname$release.a $libname.a'
11570 soname_spec='$libname$release$shared_ext$major'
11571 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11572 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)'
11573 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"'
11576 shlibpath_var=LIBPATH
11583 # Since July 2007 AmigaOS4 officially supports .so libraries.
11584 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11585 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11588 library_names_spec='$libname.ixlibrary $libname.a'
11589 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11590 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'
11596 library_names_spec='$libname$shared_ext'
11597 dynamic_linker="$host_os ld.so"
11598 shlibpath_var=LIBRARY_PATH
11602 version_type=linux # correct to gnu/linux during the next big refactor
11604 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11605 soname_spec='$libname$release$shared_ext$major'
11606 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11607 shlibpath_var=LD_LIBRARY_PATH
11608 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11609 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11610 # the default ld.so.conf also contains /usr/contrib/lib and
11611 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11612 # libtool to hard-code these into programs
11615 cygwin* | mingw* | pw32* | cegcc*)
11616 version_type=windows
11621 case $GCC,$cc_basename in
11624 library_names_spec='$libname.dll.a'
11625 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11626 postinstall_cmds='base_file=`basename \$file`~
11627 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11628 dldir=$destdir/`dirname \$dlpath`~
11629 test -d \$dldir || mkdir -p \$dldir~
11630 $install_prog $dir/$dlname \$dldir/$dlname~
11631 chmod a+x \$dldir/$dlname~
11632 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11633 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11635 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11636 dlpath=$dir/\$dldll~
11638 shlibpath_overrides_runpath=yes
11642 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11643 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11645 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11648 # MinGW DLLs use traditional 'lib' prefix
11649 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11652 # pw32 DLLs use 'pw' prefix rather than 'lib'
11653 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11656 dynamic_linker='Win32 ld.exe'
11661 libname_spec='$name'
11662 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11663 library_names_spec='$libname.dll.lib'
11667 sys_lib_search_path_spec=
11670 for lt_path in $LIB
11673 # Let DOS variable expansion print the short 8.3 style file name.
11674 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11675 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11678 # Convert to MSYS style.
11679 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11682 # Convert to unix form, then to dos form, then back to unix form
11683 # but this time dos style (no spaces!) so that the unix form looks
11684 # like /cygdrive/c/PROGRA~1:/cygdr...
11685 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11686 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11687 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11690 sys_lib_search_path_spec=$LIB
11691 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11692 # It is most probably a Windows format PATH.
11693 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11695 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11697 # FIXME: find the short name or the path components, as spaces are
11698 # common. (e.g. "Program Files" -> "PROGRA~1")
11702 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11703 postinstall_cmds='base_file=`basename \$file`~
11704 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11705 dldir=$destdir/`dirname \$dlpath`~
11706 test -d \$dldir || mkdir -p \$dldir~
11707 $install_prog $dir/$dlname \$dldir/$dlname'
11708 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11709 dlpath=$dir/\$dldll~
11711 shlibpath_overrides_runpath=yes
11712 dynamic_linker='Win32 link.exe'
11716 # Assume MSVC wrapper
11717 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
11718 dynamic_linker='Win32 ld.exe'
11721 # FIXME: first we should search . and the directory the executable is in
11725 darwin* | rhapsody*)
11726 dynamic_linker="$host_os dyld"
11727 version_type=darwin
11730 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
11731 soname_spec='$libname$release$major$shared_ext'
11732 shlibpath_overrides_runpath=yes
11733 shlibpath_var=DYLD_LIBRARY_PATH
11734 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11736 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11737 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11741 version_type=linux # correct to gnu/linux during the next big refactor
11744 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11745 soname_spec='$libname$release$shared_ext$major'
11746 shlibpath_var=LD_LIBRARY_PATH
11749 freebsd* | dragonfly*)
11750 # DragonFly does not have aout. When/if they implement a new
11751 # versioning mechanism, adjust this.
11752 if test -x /usr/bin/objformat; then
11753 objformat=`/usr/bin/objformat`
11756 freebsd[23].*) objformat=aout ;;
11757 *) objformat=elf ;;
11760 version_type=freebsd-$objformat
11761 case $version_type in
11763 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11764 soname_spec='$libname$release$shared_ext$major'
11769 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11773 shlibpath_var=LD_LIBRARY_PATH
11776 shlibpath_overrides_runpath=yes
11778 freebsd3.[01]* | freebsdelf3.[01]*)
11779 shlibpath_overrides_runpath=yes
11780 hardcode_into_libs=yes
11782 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11783 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11784 shlibpath_overrides_runpath=no
11785 hardcode_into_libs=yes
11787 *) # from 4.6 on, and DragonFly
11788 shlibpath_overrides_runpath=yes
11789 hardcode_into_libs=yes
11795 version_type=linux # correct to gnu/linux during the next big refactor
11798 dynamic_linker="$host_os runtime_loader"
11799 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11800 soname_spec='$libname$release$shared_ext$major'
11801 shlibpath_var=LIBRARY_PATH
11802 shlibpath_overrides_runpath=no
11803 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11804 hardcode_into_libs=yes
11807 hpux9* | hpux10* | hpux11*)
11808 # Give a soname corresponding to the major version so that dld.sl refuses to
11809 # link against other versions.
11816 hardcode_into_libs=yes
11817 dynamic_linker="$host_os dld.so"
11818 shlibpath_var=LD_LIBRARY_PATH
11819 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11820 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11821 soname_spec='$libname$release$shared_ext$major'
11822 if test 32 = "$HPUX_IA64_MODE"; then
11823 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11824 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
11826 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11827 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
11832 hardcode_into_libs=yes
11833 dynamic_linker="$host_os dld.sl"
11834 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11835 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11836 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11837 soname_spec='$libname$release$shared_ext$major'
11838 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11839 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11843 dynamic_linker="$host_os dld.sl"
11844 shlibpath_var=SHLIB_PATH
11845 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11846 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11847 soname_spec='$libname$release$shared_ext$major'
11850 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11851 postinstall_cmds='chmod 555 $lib'
11852 # or fails outright, so override atomically:
11853 install_override_mode=555
11857 version_type=linux # correct to gnu/linux during the next big refactor
11860 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11861 soname_spec='$libname$release$shared_ext$major'
11862 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11863 shlibpath_var=LD_LIBRARY_PATH
11864 shlibpath_overrides_runpath=no
11865 hardcode_into_libs=yes
11868 irix5* | irix6* | nonstopux*)
11870 nonstopux*) version_type=nonstopux ;;
11872 if test yes = "$lt_cv_prog_gnu_ld"; then
11873 version_type=linux # correct to gnu/linux during the next big refactor
11880 soname_spec='$libname$release$shared_ext$major'
11881 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11883 irix5* | nonstopux*)
11884 libsuff= shlibsuff=
11887 case $LD in # libtool.m4 will add one of these switches to LD
11888 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11889 libsuff= shlibsuff= libmagic=32-bit;;
11890 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11891 libsuff=32 shlibsuff=N32 libmagic=N32;;
11892 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11893 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11894 *) libsuff= shlibsuff= libmagic=never-match;;
11898 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11899 shlibpath_overrides_runpath=no
11900 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11901 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
11902 hardcode_into_libs=yes
11905 # No shared lib support for Linux oldld, aout, or coff.
11906 linux*oldld* | linux*aout* | linux*coff*)
11911 version_type=none # Android doesn't support versioned libraries.
11914 library_names_spec='$libname$release$shared_ext'
11915 soname_spec='$libname$release$shared_ext'
11917 shlibpath_var=LD_LIBRARY_PATH
11918 shlibpath_overrides_runpath=yes
11920 # This implies no fast_install, which is unacceptable.
11921 # Some rework will be needed to allow for fast_install
11922 # before this can be enabled.
11923 hardcode_into_libs=yes
11925 dynamic_linker='Android linker'
11926 # Don't embed -rpath directories since the linker doesn't support them.
11927 hardcode_libdir_flag_spec='-L$libdir'
11930 # This must be glibc/ELF.
11931 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11932 version_type=linux # correct to gnu/linux during the next big refactor
11935 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11936 soname_spec='$libname$release$shared_ext$major'
11937 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11938 shlibpath_var=LD_LIBRARY_PATH
11939 shlibpath_overrides_runpath=no
11941 # Some binutils ld are patched to set DT_RUNPATH
11942 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11943 $as_echo_n "(cached) " >&6
11945 lt_cv_shlibpath_overrides_runpath=no
11946 save_LDFLAGS=$LDFLAGS
11947 save_libdir=$libdir
11948 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11949 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11951 /* end confdefs.h. */
11961 if ac_fn_c_try_link "$LINENO"; then :
11962 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11963 lt_cv_shlibpath_overrides_runpath=yes
11966 rm -f core conftest.err conftest.$ac_objext \
11967 conftest$ac_exeext conftest.$ac_ext
11968 LDFLAGS=$save_LDFLAGS
11969 libdir=$save_libdir
11973 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11975 # This implies no fast_install, which is unacceptable.
11976 # Some rework will be needed to allow for fast_install
11977 # before this can be enabled.
11978 hardcode_into_libs=yes
11980 # Ideally, we could use ldconfig to report *all* directores which are
11981 # searched for libraries, however this is still not possible. Aside from not
11982 # being certain /sbin/ldconfig is available, command
11983 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11984 # even though it is searched at run-time. Try to do the best guess by
11985 # appending ld.so.conf contents (and includes) to the search path.
11986 if test -f /etc/ld.so.conf; then
11987 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' ' '`
11988 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11991 # We used to test for /lib/ld.so.1 and disable shared libraries on
11992 # powerpc, because MkLinux only supported shared libraries with the
11993 # GNU dynamic linker. Since this was broken with cross compilers,
11994 # most powerpc-linux boxes support dynamic linking these days and
11995 # people can always --disable-shared, the test was removed, and we
11996 # assume the GNU/Linux dynamic linker is in use.
11997 dynamic_linker='GNU/Linux ld.so'
12004 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12005 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12006 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12007 dynamic_linker='NetBSD (a.out) ld.so'
12009 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12010 soname_spec='$libname$release$shared_ext$major'
12011 dynamic_linker='NetBSD ld.elf_so'
12013 shlibpath_var=LD_LIBRARY_PATH
12014 shlibpath_overrides_runpath=yes
12015 hardcode_into_libs=yes
12019 version_type=linux # correct to gnu/linux during the next big refactor
12020 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12021 shlibpath_var=LD_LIBRARY_PATH
12022 shlibpath_overrides_runpath=yes
12029 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12030 soname_spec='$libname$release$shared_ext$major'
12031 shlibpath_var=LD_LIBRARY_PATH
12032 shlibpath_overrides_runpath=no
12033 hardcode_into_libs=yes
12034 dynamic_linker='ldqnx.so'
12037 openbsd* | bitrig*)
12039 sys_lib_dlsearch_path_spec=/usr/lib
12041 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12046 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12047 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12048 shlibpath_var=LD_LIBRARY_PATH
12049 shlibpath_overrides_runpath=yes
12053 libname_spec='$name'
12054 version_type=windows
12058 # OS/2 can only load a DLL with a base name of 8 characters or less.
12059 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
12060 v=$($ECHO $release$versuffix | tr -d .-);
12061 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12062 $ECHO $n$v`$shared_ext'
12063 library_names_spec='${libname}_dll.$libext'
12064 dynamic_linker='OS/2 ld.exe'
12065 shlibpath_var=BEGINLIBPATH
12066 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12067 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12068 postinstall_cmds='base_file=`basename \$file`~
12069 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12070 dldir=$destdir/`dirname \$dlpath`~
12071 test -d \$dldir || mkdir -p \$dldir~
12072 $install_prog $dir/$dlname \$dldir/$dlname~
12073 chmod a+x \$dldir/$dlname~
12074 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12075 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12077 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12078 dlpath=$dir/\$dldll~
12082 osf3* | osf4* | osf5*)
12086 soname_spec='$libname$release$shared_ext$major'
12087 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12088 shlibpath_var=LD_LIBRARY_PATH
12089 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12090 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12098 version_type=linux # correct to gnu/linux during the next big refactor
12101 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12102 soname_spec='$libname$release$shared_ext$major'
12103 shlibpath_var=LD_LIBRARY_PATH
12104 shlibpath_overrides_runpath=yes
12105 hardcode_into_libs=yes
12106 # ldd complains unless libraries are executable
12107 postinstall_cmds='chmod +x $lib'
12112 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12113 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12114 shlibpath_var=LD_LIBRARY_PATH
12115 shlibpath_overrides_runpath=yes
12116 if test yes = "$with_gnu_ld"; then
12123 version_type=linux # correct to gnu/linux during the next big refactor
12124 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12125 soname_spec='$libname$release$shared_ext$major'
12126 shlibpath_var=LD_LIBRARY_PATH
12127 case $host_vendor in
12129 shlibpath_overrides_runpath=no
12131 runpath_var=LD_RUN_PATH
12139 shlibpath_overrides_runpath=no
12140 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12146 if test -d /usr/nec; then
12147 version_type=linux # correct to gnu/linux during the next big refactor
12148 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12149 soname_spec='$libname$shared_ext.$major'
12150 shlibpath_var=LD_LIBRARY_PATH
12154 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12158 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12159 soname_spec='$libname$release$shared_ext$major'
12160 shlibpath_var=LD_LIBRARY_PATH
12161 shlibpath_overrides_runpath=yes
12162 hardcode_into_libs=yes
12163 if test yes = "$with_gnu_ld"; then
12164 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12166 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12169 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12173 sys_lib_dlsearch_path_spec='/usr/lib'
12177 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12178 version_type=linux # correct to gnu/linux during the next big refactor
12181 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12182 shlibpath_var=LD_LIBRARY_PATH
12183 shlibpath_overrides_runpath=no
12184 hardcode_into_libs=yes
12188 version_type=linux # correct to gnu/linux during the next big refactor
12189 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12190 soname_spec='$libname$release$shared_ext$major'
12191 shlibpath_var=LD_LIBRARY_PATH
12198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12199 $as_echo "$dynamic_linker" >&6; }
12200 test no = "$dynamic_linker" && can_build_shared=no
12202 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12203 if test yes = "$GCC"; then
12204 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12207 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12208 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
12211 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12212 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
12215 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12216 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
12218 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12219 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
12221 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12222 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12321 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12323 if test -n "$hardcode_libdir_flag_spec" ||
12324 test -n "$runpath_var" ||
12325 test yes = "$hardcode_automatic"; then
12327 # We can hardcode non-existent directories.
12328 if test no != "$hardcode_direct" &&
12329 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12330 # have to relink, otherwise we might link with an installed library
12331 # when we should be linking with a yet-to-be-installed one
12332 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12333 test no != "$hardcode_minus_L"; then
12334 # Linking always hardcodes the temporary library directory.
12335 hardcode_action=relink
12337 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12338 hardcode_action=immediate
12341 # We cannot hardcode anything, or else we can only hardcode existing
12343 hardcode_action=unsupported
12345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12346 $as_echo "$hardcode_action" >&6; }
12348 if test relink = "$hardcode_action" ||
12349 test yes = "$inherit_rpath"; then
12350 # Fast installation is not supported
12351 enable_fast_install=no
12352 elif test yes = "$shlibpath_overrides_runpath" ||
12353 test no = "$enable_shared"; then
12354 # Fast installation is not necessary
12355 enable_fast_install=needless
12363 if test yes != "$enable_dlopen"; then
12364 enable_dlopen=unknown
12365 enable_dlopen_self=unknown
12366 enable_dlopen_self_static=unknown
12373 lt_cv_dlopen=load_add_on
12375 lt_cv_dlopen_self=yes
12378 mingw* | pw32* | cegcc*)
12379 lt_cv_dlopen=LoadLibrary
12384 lt_cv_dlopen=dlopen
12389 # if libdl is installed we need to link against it
12390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12391 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12392 if ${ac_cv_lib_dl_dlopen+:} false; then :
12393 $as_echo_n "(cached) " >&6
12395 ac_check_lib_save_LIBS=$LIBS
12397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12398 /* end confdefs.h. */
12400 /* Override any GCC internal prototype to avoid an error.
12401 Use char because int might match the return type of a GCC
12402 builtin and then its argument prototype would still apply. */
12415 if ac_fn_c_try_link "$LINENO"; then :
12416 ac_cv_lib_dl_dlopen=yes
12418 ac_cv_lib_dl_dlopen=no
12420 rm -f core conftest.err conftest.$ac_objext \
12421 conftest$ac_exeext conftest.$ac_ext
12422 LIBS=$ac_check_lib_save_LIBS
12424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12425 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12426 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12427 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12432 lt_cv_dlopen_self=yes
12439 # Don't try to run any link tests for TPF. We know it's impossible
12440 # because TPF is a cross-compiler, and we know how we open DSOs.
12441 lt_cv_dlopen=dlopen
12443 lt_cv_dlopen_self=no
12447 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12448 if test "x$ac_cv_func_shl_load" = xyes; then :
12449 lt_cv_dlopen=shl_load
12451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12452 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12453 if ${ac_cv_lib_dld_shl_load+:} false; then :
12454 $as_echo_n "(cached) " >&6
12456 ac_check_lib_save_LIBS=$LIBS
12458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12459 /* end confdefs.h. */
12461 /* Override any GCC internal prototype to avoid an error.
12462 Use char because int might match the return type of a GCC
12463 builtin and then its argument prototype would still apply. */
12471 return shl_load ();
12476 if ac_fn_c_try_link "$LINENO"; then :
12477 ac_cv_lib_dld_shl_load=yes
12479 ac_cv_lib_dld_shl_load=no
12481 rm -f core conftest.err conftest.$ac_objext \
12482 conftest$ac_exeext conftest.$ac_ext
12483 LIBS=$ac_check_lib_save_LIBS
12485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12486 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12487 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12488 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
12490 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12491 if test "x$ac_cv_func_dlopen" = xyes; then :
12492 lt_cv_dlopen=dlopen
12494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12495 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12496 if ${ac_cv_lib_dl_dlopen+:} false; then :
12497 $as_echo_n "(cached) " >&6
12499 ac_check_lib_save_LIBS=$LIBS
12501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12502 /* end confdefs.h. */
12504 /* Override any GCC internal prototype to avoid an error.
12505 Use char because int might match the return type of a GCC
12506 builtin and then its argument prototype would still apply. */
12519 if ac_fn_c_try_link "$LINENO"; then :
12520 ac_cv_lib_dl_dlopen=yes
12522 ac_cv_lib_dl_dlopen=no
12524 rm -f core conftest.err conftest.$ac_objext \
12525 conftest$ac_exeext conftest.$ac_ext
12526 LIBS=$ac_check_lib_save_LIBS
12528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12529 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12530 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12531 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12534 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12535 if ${ac_cv_lib_svld_dlopen+:} false; then :
12536 $as_echo_n "(cached) " >&6
12538 ac_check_lib_save_LIBS=$LIBS
12539 LIBS="-lsvld $LIBS"
12540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12541 /* end confdefs.h. */
12543 /* Override any GCC internal prototype to avoid an error.
12544 Use char because int might match the return type of a GCC
12545 builtin and then its argument prototype would still apply. */
12558 if ac_fn_c_try_link "$LINENO"; then :
12559 ac_cv_lib_svld_dlopen=yes
12561 ac_cv_lib_svld_dlopen=no
12563 rm -f core conftest.err conftest.$ac_objext \
12564 conftest$ac_exeext conftest.$ac_ext
12565 LIBS=$ac_check_lib_save_LIBS
12567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12568 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12569 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12570 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
12572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12573 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12574 if ${ac_cv_lib_dld_dld_link+:} false; then :
12575 $as_echo_n "(cached) " >&6
12577 ac_check_lib_save_LIBS=$LIBS
12579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12580 /* end confdefs.h. */
12582 /* Override any GCC internal prototype to avoid an error.
12583 Use char because int might match the return type of a GCC
12584 builtin and then its argument prototype would still apply. */
12592 return dld_link ();
12597 if ac_fn_c_try_link "$LINENO"; then :
12598 ac_cv_lib_dld_dld_link=yes
12600 ac_cv_lib_dld_dld_link=no
12602 rm -f core conftest.err conftest.$ac_objext \
12603 conftest$ac_exeext conftest.$ac_ext
12604 LIBS=$ac_check_lib_save_LIBS
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12607 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12608 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12609 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
12630 if test no = "$lt_cv_dlopen"; then
12636 case $lt_cv_dlopen in
12638 save_CPPFLAGS=$CPPFLAGS
12639 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12641 save_LDFLAGS=$LDFLAGS
12642 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12645 LIBS="$lt_cv_dlopen_libs $LIBS"
12647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12648 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12649 if ${lt_cv_dlopen_self+:} false; then :
12650 $as_echo_n "(cached) " >&6
12652 if test yes = "$cross_compiling"; then :
12653 lt_cv_dlopen_self=cross
12655 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12656 lt_status=$lt_dlunknown
12657 cat > conftest.$ac_ext <<_LT_EOF
12658 #line $LINENO "configure"
12659 #include "confdefs.h"
12668 # define LT_DLGLOBAL RTLD_GLOBAL
12671 # define LT_DLGLOBAL DL_GLOBAL
12673 # define LT_DLGLOBAL 0
12677 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12678 find out it does not work in some platform. */
12679 #ifndef LT_DLLAZY_OR_NOW
12681 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12684 # define LT_DLLAZY_OR_NOW DL_LAZY
12687 # define LT_DLLAZY_OR_NOW RTLD_NOW
12690 # define LT_DLLAZY_OR_NOW DL_NOW
12692 # define LT_DLLAZY_OR_NOW 0
12699 /* When -fvisibility=hidden is used, assume the code has been annotated
12700 correspondingly for the symbols needed. */
12701 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12702 int fnord () __attribute__((visibility("default")));
12705 int fnord () { return 42; }
12708 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12709 int status = $lt_dlunknown;
12713 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12716 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12717 else puts (dlerror ());
12719 /* dlclose (self); */
12727 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12728 (eval $ac_link) 2>&5
12730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12731 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12732 (./conftest; exit; ) >&5 2>/dev/null
12734 case x$lt_status in
12735 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12736 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12737 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12740 # compilation failed
12741 lt_cv_dlopen_self=no
12748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12749 $as_echo "$lt_cv_dlopen_self" >&6; }
12751 if test yes = "$lt_cv_dlopen_self"; then
12752 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12754 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12755 if ${lt_cv_dlopen_self_static+:} false; then :
12756 $as_echo_n "(cached) " >&6
12758 if test yes = "$cross_compiling"; then :
12759 lt_cv_dlopen_self_static=cross
12761 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12762 lt_status=$lt_dlunknown
12763 cat > conftest.$ac_ext <<_LT_EOF
12764 #line $LINENO "configure"
12765 #include "confdefs.h"
12774 # define LT_DLGLOBAL RTLD_GLOBAL
12777 # define LT_DLGLOBAL DL_GLOBAL
12779 # define LT_DLGLOBAL 0
12783 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12784 find out it does not work in some platform. */
12785 #ifndef LT_DLLAZY_OR_NOW
12787 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12790 # define LT_DLLAZY_OR_NOW DL_LAZY
12793 # define LT_DLLAZY_OR_NOW RTLD_NOW
12796 # define LT_DLLAZY_OR_NOW DL_NOW
12798 # define LT_DLLAZY_OR_NOW 0
12805 /* When -fvisibility=hidden is used, assume the code has been annotated
12806 correspondingly for the symbols needed. */
12807 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12808 int fnord () __attribute__((visibility("default")));
12811 int fnord () { return 42; }
12814 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12815 int status = $lt_dlunknown;
12819 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12822 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12823 else puts (dlerror ());
12825 /* dlclose (self); */
12833 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12834 (eval $ac_link) 2>&5
12836 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12837 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12838 (./conftest; exit; ) >&5 2>/dev/null
12840 case x$lt_status in
12841 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12842 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12843 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12846 # compilation failed
12847 lt_cv_dlopen_self_static=no
12854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12855 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12858 CPPFLAGS=$save_CPPFLAGS
12859 LDFLAGS=$save_LDFLAGS
12864 case $lt_cv_dlopen_self in
12865 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12866 *) enable_dlopen_self=unknown ;;
12869 case $lt_cv_dlopen_self_static in
12870 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12871 *) enable_dlopen_self_static=unknown ;;
12893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12894 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12895 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12896 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12897 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12899 $as_echo "yes" >&6; }
12901 # FIXME - insert some real tests, host_os isn't really good enough
12904 if test -n "$STRIP"; then
12905 striplib="$STRIP -x"
12906 old_striplib="$STRIP -S"
12907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12908 $as_echo "yes" >&6; }
12910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12911 $as_echo "no" >&6; }
12915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12916 $as_echo "no" >&6; }
12932 # Report what library types will actually be built
12933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12934 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12936 $as_echo "$can_build_shared" >&6; }
12938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12939 $as_echo_n "checking whether to build shared libraries... " >&6; }
12940 test no = "$can_build_shared" && enable_shared=no
12942 # On AIX, shared libraries and static libraries use the same namespace, and
12943 # are all built from PIC.
12946 test yes = "$enable_shared" && enable_static=no
12947 if test -n "$RANLIB"; then
12948 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12949 postinstall_cmds='$RANLIB $lib'
12954 if test ia64 != "$host_cpu"; then
12955 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12956 yes,aix,yes) ;; # shared object as lib.so file only
12957 yes,svr4,*) ;; # shared object as lib.so archive member only
12958 yes,*) enable_static=no ;; # shared object in lib.a archive as well
12963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12964 $as_echo "$enable_shared" >&6; }
12966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12967 $as_echo_n "checking whether to build static libraries... " >&6; }
12968 # Make sure either enable_shared or enable_static is yes.
12969 test yes = "$enable_shared" || enable_static=yes
12970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12971 $as_echo "$enable_static" >&6; }
12978 ac_cpp='$CPP $CPPFLAGS'
12979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12985 if test -n "$CXX" && ( test no != "$CXX" &&
12986 ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
12987 (test g++ != "$CXX"))); then
12989 ac_cpp='$CXXCPP $CPPFLAGS'
12990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12994 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12995 if test -z "$CXXCPP"; then
12996 if ${ac_cv_prog_CXXCPP+:} false; then :
12997 $as_echo_n "(cached) " >&6
12999 # Double quotes because CXXCPP needs to be expanded
13000 for CXXCPP in "$CXX -E" "/lib/cpp"
13002 ac_preproc_ok=false
13003 for ac_cxx_preproc_warn_flag in '' yes
13005 # Use a header file that comes with gcc, so configuring glibc
13006 # with a fresh cross-compiler works.
13007 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13008 # <limits.h> exists even on freestanding compilers.
13009 # On the NeXT, cc -E runs the code through the compiler's parser,
13010 # not just through cpp. "Syntax error" is here to catch this case.
13011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13012 /* end confdefs.h. */
13014 # include <limits.h>
13016 # include <assert.h>
13020 if ac_fn_cxx_try_cpp "$LINENO"; then :
13023 # Broken: fails on valid input.
13026 rm -f conftest.err conftest.i conftest.$ac_ext
13028 # OK, works on sane cases. Now check whether nonexistent headers
13029 # can be detected and how.
13030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13031 /* end confdefs.h. */
13032 #include <ac_nonexistent.h>
13034 if ac_fn_cxx_try_cpp "$LINENO"; then :
13035 # Broken: success on invalid input.
13038 # Passes both tests.
13042 rm -f conftest.err conftest.i conftest.$ac_ext
13045 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13046 rm -f conftest.i conftest.err conftest.$ac_ext
13047 if $ac_preproc_ok; then :
13052 ac_cv_prog_CXXCPP=$CXXCPP
13055 CXXCPP=$ac_cv_prog_CXXCPP
13057 ac_cv_prog_CXXCPP=$CXXCPP
13059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13060 $as_echo "$CXXCPP" >&6; }
13061 ac_preproc_ok=false
13062 for ac_cxx_preproc_warn_flag in '' yes
13064 # Use a header file that comes with gcc, so configuring glibc
13065 # with a fresh cross-compiler works.
13066 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13067 # <limits.h> exists even on freestanding compilers.
13068 # On the NeXT, cc -E runs the code through the compiler's parser,
13069 # not just through cpp. "Syntax error" is here to catch this case.
13070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13071 /* end confdefs.h. */
13073 # include <limits.h>
13075 # include <assert.h>
13079 if ac_fn_cxx_try_cpp "$LINENO"; then :
13082 # Broken: fails on valid input.
13085 rm -f conftest.err conftest.i conftest.$ac_ext
13087 # OK, works on sane cases. Now check whether nonexistent headers
13088 # can be detected and how.
13089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13090 /* end confdefs.h. */
13091 #include <ac_nonexistent.h>
13093 if ac_fn_cxx_try_cpp "$LINENO"; then :
13094 # Broken: success on invalid input.
13097 # Passes both tests.
13101 rm -f conftest.err conftest.i conftest.$ac_ext
13104 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13105 rm -f conftest.i conftest.err conftest.$ac_ext
13106 if $ac_preproc_ok; then :
13109 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13110 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13111 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
13112 See \`config.log' for more details" "$LINENO" 5; }
13116 ac_cpp='$CPP $CPPFLAGS'
13117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13122 _lt_caught_CXX_error=yes
13126 ac_cpp='$CXXCPP $CPPFLAGS'
13127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13131 archive_cmds_need_lc_CXX=no
13132 allow_undefined_flag_CXX=
13133 always_export_symbols_CXX=no
13134 archive_expsym_cmds_CXX=
13135 compiler_needs_object_CXX=no
13136 export_dynamic_flag_spec_CXX=
13137 hardcode_direct_CXX=no
13138 hardcode_direct_absolute_CXX=no
13139 hardcode_libdir_flag_spec_CXX=
13140 hardcode_libdir_separator_CXX=
13141 hardcode_minus_L_CXX=no
13142 hardcode_shlibpath_var_CXX=unsupported
13143 hardcode_automatic_CXX=no
13144 inherit_rpath_CXX=no
13146 module_expsym_cmds_CXX=
13147 link_all_deplibs_CXX=unknown
13148 old_archive_cmds_CXX=$old_archive_cmds
13149 reload_flag_CXX=$reload_flag
13150 reload_cmds_CXX=$reload_cmds
13151 no_undefined_flag_CXX=
13152 whole_archive_flag_spec_CXX=
13153 enable_shared_with_static_runtimes_CXX=no
13155 # Source file extension for C++ test sources.
13158 # Object file extension for compiled C++ test sources.
13162 # No sense in running all these tests if we already determined that
13163 # the CXX compiler isn't working. Some variables (like enable_shared)
13164 # are currently assumed to apply to all compilers on this platform,
13165 # and will be corrupted by setting them based on a non-working compiler.
13166 if test yes != "$_lt_caught_CXX_error"; then
13167 # Code to be used in simple compile tests
13168 lt_simple_compile_test_code="int some_variable = 0;"
13170 # Code to be used in simple link tests
13171 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
13173 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13180 # If no C compiler was specified, use CC.
13183 # If no C compiler flags were specified, use CFLAGS.
13184 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13186 # Allow CC to be a program name with arguments.
13190 # save warnings/boilerplate of simple test code
13191 ac_outfile=conftest.$ac_objext
13192 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13193 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13194 _lt_compiler_boilerplate=`cat conftest.err`
13197 ac_outfile=conftest.$ac_objext
13198 echo "$lt_simple_link_test_code" >conftest.$ac_ext
13199 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13200 _lt_linker_boilerplate=`cat conftest.err`
13204 # Allow CC to be a program name with arguments.
13206 lt_save_CFLAGS=$CFLAGS
13210 lt_save_with_gnu_ld=$with_gnu_ld
13211 lt_save_path_LD=$lt_cv_path_LD
13212 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13213 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13215 $as_unset lt_cv_prog_gnu_ld
13217 if test -n "${lt_cv_path_LDCXX+set}"; then
13218 lt_cv_path_LD=$lt_cv_path_LDCXX
13220 $as_unset lt_cv_path_LD
13222 test -z "${LDCXX+set}" || LD=$LDCXX
13227 func_cc_basename $compiler
13228 cc_basename=$func_cc_basename_result
13231 if test -n "$compiler"; then
13232 # We don't want -fno-exception when compiling C++ code, so set the
13233 # no_builtin_flag separately
13234 if test yes = "$GXX"; then
13235 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13237 lt_prog_compiler_no_builtin_flag_CXX=
13240 if test yes = "$GXX"; then
13241 # Set up default GNU C++ configuration
13245 # Check whether --with-gnu-ld was given.
13246 if test "${with_gnu_ld+set}" = set; then :
13247 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
13253 if test yes = "$GCC"; then
13254 # Check if gcc -print-prog-name=ld gives a path.
13255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13256 $as_echo_n "checking for ld used by $CC... " >&6; }
13259 # gcc leaves a trailing carriage return, which upsets mingw
13260 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13262 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13265 # Accept absolute paths.
13267 re_direlt='/[^/][^/]*/\.\./'
13268 # Canonicalize the pathname of ld
13269 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13270 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
13271 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13273 test -z "$LD" && LD=$ac_prog
13276 # If it fails, then pretend we aren't using GCC.
13280 # If it is relative, then search for the first ld in PATH.
13281 with_gnu_ld=unknown
13284 elif test yes = "$with_gnu_ld"; then
13285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13286 $as_echo_n "checking for GNU ld... " >&6; }
13288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13289 $as_echo_n "checking for non-GNU ld... " >&6; }
13291 if ${lt_cv_path_LD+:} false; then :
13292 $as_echo_n "(cached) " >&6
13294 if test -z "$LD"; then
13295 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
13296 for ac_dir in $PATH; do
13298 test -z "$ac_dir" && ac_dir=.
13299 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13300 lt_cv_path_LD=$ac_dir/$ac_prog
13301 # Check to see if the program is GNU ld. I'd rather use --version,
13302 # but apparently some variants of GNU ld only accept -v.
13303 # Break only if it was the GNU/non-GNU ld that we prefer.
13304 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13305 *GNU* | *'with BFD'*)
13306 test no != "$with_gnu_ld" && break
13309 test yes != "$with_gnu_ld" && break
13316 lt_cv_path_LD=$LD # Let the user override the test with a path.
13321 if test -n "$LD"; then
13322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13323 $as_echo "$LD" >&6; }
13325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13326 $as_echo "no" >&6; }
13328 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13330 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13331 if ${lt_cv_prog_gnu_ld+:} false; then :
13332 $as_echo_n "(cached) " >&6
13334 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13335 case `$LD -v 2>&1 </dev/null` in
13336 *GNU* | *'with BFD'*)
13337 lt_cv_prog_gnu_ld=yes
13340 lt_cv_prog_gnu_ld=no
13344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13345 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13346 with_gnu_ld=$lt_cv_prog_gnu_ld
13354 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13355 # archiving commands below assume that GNU ld is being used.
13356 if test yes = "$with_gnu_ld"; then
13357 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
13358 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'
13360 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
13361 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
13363 # If archive_cmds runs LD, not CC, wlarc should be empty
13364 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13365 # investigate it a little bit more. (MM)
13368 # ancient GNU ld didn't support --whole-archive et. al.
13369 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13370 $GREP 'no-whole-archive' > /dev/null; then
13371 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
13373 whole_archive_flag_spec_CXX=
13379 # A generic and very simple default shared library creation
13380 # command for GNU C++ for the case where it uses the native
13381 # linker, instead of GNU ld. If possible, this setting should
13382 # overridden to take advantage of the native linker features on
13383 # the platform it is being used on.
13384 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13387 # Commands to make compiler produce verbose output that lists
13388 # what "hidden" libraries, object files and flags are used when
13389 # linking a shared library.
13390 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13398 # PORTME: fill in a description of your system's C++ link characteristics
13399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13400 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13404 # FIXME: insert proper C++ library support
13408 if test ia64 = "$host_cpu"; then
13409 # On IA64, the linker does run time linking by default, so we don't
13410 # have to do anything special.
13411 aix_use_runtimelinking=no
13412 exp_sym_flag='-Bexport'
13415 aix_use_runtimelinking=no
13417 # Test if we are trying to use run time linking or normal
13418 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13419 # have runtime linking enabled, and use it for executables.
13420 # For shared libraries, we enable/disable runtime linking
13421 # depending on the kind of the shared library created -
13422 # when "with_aix_soname,aix_use_runtimelinking" is:
13423 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
13424 # "aix,yes" lib.so shared, rtl:yes, for executables
13425 # lib.a static archive
13426 # "both,no" lib.so.V(shr.o) shared, rtl:yes
13427 # lib.a(lib.so.V) shared, rtl:no, for executables
13428 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
13429 # lib.a(lib.so.V) shared, rtl:no
13430 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
13431 # lib.a static archive
13432 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13433 for ld_flag in $LDFLAGS; do
13436 aix_use_runtimelinking=yes
13441 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
13442 # With aix-soname=svr4, we create the lib.so.V shared archives only,
13443 # so we don't have lib.a shared libs to link our executables.
13444 # We have to force runtime linking in this case.
13445 aix_use_runtimelinking=yes
13446 LDFLAGS="$LDFLAGS -Wl,-brtl"
13451 exp_sym_flag='-bexport'
13452 no_entry_flag='-bnoentry'
13455 # When large executables or shared objects are built, AIX ld can
13456 # have problems creating the table of contents. If linking a library
13457 # or program results in "error TOC overflow" add -mminimal-toc to
13458 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13459 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13461 archive_cmds_CXX=''
13462 hardcode_direct_CXX=yes
13463 hardcode_direct_absolute_CXX=yes
13464 hardcode_libdir_separator_CXX=':'
13465 link_all_deplibs_CXX=yes
13466 file_list_spec_CXX='$wl-f,'
13467 case $with_aix_soname,$aix_use_runtimelinking in
13468 aix,*) ;; # no import file
13469 svr4,* | *,yes) # use import file
13470 # The Import File defines what to hardcode.
13471 hardcode_direct_CXX=no
13472 hardcode_direct_absolute_CXX=no
13476 if test yes = "$GXX"; then
13477 case $host_os in aix4.[012]|aix4.[012].*)
13478 # We only want to do this on AIX 4.2 and lower, the check
13479 # below for broken collect2 doesn't work under 4.3+
13480 collect2name=`$CC -print-prog-name=collect2`
13481 if test -f "$collect2name" &&
13482 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13484 # We have reworked collect2
13487 # We have old collect2
13488 hardcode_direct_CXX=unsupported
13489 # It fails to find uninstalled libraries when the uninstalled
13490 # path is not listed in the libpath. Setting hardcode_minus_L
13491 # to unsupported forces relinking
13492 hardcode_minus_L_CXX=yes
13493 hardcode_libdir_flag_spec_CXX='-L$libdir'
13494 hardcode_libdir_separator_CXX=
13497 shared_flag='-shared'
13498 if test yes = "$aix_use_runtimelinking"; then
13499 shared_flag=$shared_flag' $wl-G'
13501 # Need to ensure runtime linking is disabled for the traditional
13502 # shared library, or the linker may eventually find shared libraries
13503 # /with/ Import File - we do not want to mix them.
13504 shared_flag_aix='-shared'
13505 shared_flag_svr4='-shared $wl-G'
13508 if test ia64 = "$host_cpu"; then
13509 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13510 # chokes on -Wl,-G. The following line is correct:
13513 if test yes = "$aix_use_runtimelinking"; then
13514 shared_flag='$wl-G'
13516 shared_flag='$wl-bM:SRE'
13518 shared_flag_aix='$wl-bM:SRE'
13519 shared_flag_svr4='$wl-G'
13523 export_dynamic_flag_spec_CXX='$wl-bexpall'
13524 # It seems that -bexpall does not export symbols beginning with
13525 # underscore (_), so it is better to generate a list of symbols to
13527 always_export_symbols_CXX=yes
13528 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
13529 # Warning - without using the other runtime loading flags (-brtl),
13530 # -berok will link without error, but may produce a broken library.
13531 # The "-G" linker flag allows undefined symbols.
13532 no_undefined_flag_CXX='-bernotok'
13533 # Determine the default libpath from the value encoded in an empty
13535 if test set = "${lt_cv_aix_libpath+set}"; then
13536 aix_libpath=$lt_cv_aix_libpath
13538 if ${lt_cv_aix_libpath__CXX+:} false; then :
13539 $as_echo_n "(cached) " >&6
13541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13542 /* end confdefs.h. */
13552 if ac_fn_cxx_try_link "$LINENO"; then :
13554 lt_aix_libpath_sed='
13555 /Import File Strings/,/^$/ {
13557 s/^0 *\([^ ]*\) *$/\1/
13561 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13562 # Check for a 64-bit object if we didn't find anything.
13563 if test -z "$lt_cv_aix_libpath__CXX"; then
13564 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13567 rm -f core conftest.err conftest.$ac_objext \
13568 conftest$ac_exeext conftest.$ac_ext
13569 if test -z "$lt_cv_aix_libpath__CXX"; then
13570 lt_cv_aix_libpath__CXX=/usr/lib:/lib
13575 aix_libpath=$lt_cv_aix_libpath__CXX
13578 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
13580 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
13582 if test ia64 = "$host_cpu"; then
13583 hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
13584 allow_undefined_flag_CXX="-z nodefs"
13585 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"
13587 # Determine the default libpath from the value encoded in an
13588 # empty executable.
13589 if test set = "${lt_cv_aix_libpath+set}"; then
13590 aix_libpath=$lt_cv_aix_libpath
13592 if ${lt_cv_aix_libpath__CXX+:} false; then :
13593 $as_echo_n "(cached) " >&6
13595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13596 /* end confdefs.h. */
13606 if ac_fn_cxx_try_link "$LINENO"; then :
13608 lt_aix_libpath_sed='
13609 /Import File Strings/,/^$/ {
13611 s/^0 *\([^ ]*\) *$/\1/
13615 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13616 # Check for a 64-bit object if we didn't find anything.
13617 if test -z "$lt_cv_aix_libpath__CXX"; then
13618 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13621 rm -f core conftest.err conftest.$ac_objext \
13622 conftest$ac_exeext conftest.$ac_ext
13623 if test -z "$lt_cv_aix_libpath__CXX"; then
13624 lt_cv_aix_libpath__CXX=/usr/lib:/lib
13629 aix_libpath=$lt_cv_aix_libpath__CXX
13632 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
13633 # Warning - without using the other run time loading flags,
13634 # -berok will link without error, but may produce a broken library.
13635 no_undefined_flag_CXX=' $wl-bernotok'
13636 allow_undefined_flag_CXX=' $wl-berok'
13637 if test yes = "$with_gnu_ld"; then
13638 # We only use this code for GNU lds that support --whole-archive.
13639 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
13641 # Exported symbols can be pulled into shared objects from archives
13642 whole_archive_flag_spec_CXX='$convenience'
13644 archive_cmds_need_lc_CXX=yes
13645 archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
13646 # -brtl affects multiple linker settings, -berok does not and is overridden later
13647 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
13648 if test svr4 != "$with_aix_soname"; then
13649 # This is similar to how AIX traditionally builds its shared
13650 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
13651 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'
13653 if test aix != "$with_aix_soname"; then
13654 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'
13656 # used by -dlpreopen to get the symbols
13657 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
13659 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
13665 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13666 allow_undefined_flag_CXX=unsupported
13667 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13668 # support --undefined. This deserves some investigation. FIXME
13669 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13676 case $cc_basename in
13678 # FIXME: insert proper C++ library support
13684 cygwin* | mingw* | pw32* | cegcc*)
13685 case $GXX,$cc_basename in
13688 # hardcode_libdir_flag_spec is actually meaningless, as there is
13689 # no search path for DLLs.
13690 hardcode_libdir_flag_spec_CXX=' '
13691 allow_undefined_flag_CXX=unsupported
13692 always_export_symbols_CXX=yes
13693 file_list_spec_CXX='@'
13694 # Tell ltmain to make .lib files, not .a files.
13696 # Tell ltmain to make .dll files, not .so files.
13698 # FIXME: Setting linknames here is a bad hack.
13699 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
13700 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
13701 cp "$export_symbols" "$output_objdir/$soname.def";
13702 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
13704 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
13706 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13708 # The linker will not automatically build a static lib if we build a DLL.
13709 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13710 enable_shared_with_static_runtimes_CXX=yes
13712 old_postinstall_cmds_CXX='chmod 644 $oldlib'
13713 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
13714 lt_tool_outputfile="@TOOL_OUTPUT@"~
13715 case $lt_outputfile in
13718 lt_outputfile=$lt_outputfile.exe
13719 lt_tool_outputfile=$lt_tool_outputfile.exe
13722 func_to_tool_file "$lt_outputfile"~
13723 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
13724 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13725 $RM "$lt_outputfile.manifest";
13730 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13731 # as there is no search path for DLLs.
13732 hardcode_libdir_flag_spec_CXX='-L$libdir'
13733 export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
13734 allow_undefined_flag_CXX=unsupported
13735 always_export_symbols_CXX=no
13736 enable_shared_with_static_runtimes_CXX=yes
13738 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13739 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'
13740 # If the export-symbols file already is a .def file, use it as
13741 # is; otherwise, prepend EXPORTS...
13742 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
13743 cp $export_symbols $output_objdir/$soname.def;
13745 echo EXPORTS > $output_objdir/$soname.def;
13746 cat $export_symbols >> $output_objdir/$soname.def;
13748 $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'
13755 darwin* | rhapsody*)
13758 archive_cmds_need_lc_CXX=no
13759 hardcode_direct_CXX=no
13760 hardcode_automatic_CXX=yes
13761 hardcode_shlibpath_var_CXX=unsupported
13762 if test yes = "$lt_cv_ld_force_load"; then
13763 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\"`'
13766 whole_archive_flag_spec_CXX=''
13768 link_all_deplibs_CXX=yes
13769 allow_undefined_flag_CXX=$_lt_dar_allow_undefined
13770 case $cc_basename in
13771 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
13772 *) _lt_dar_can_shared=$GCC ;;
13774 if test yes = "$_lt_dar_can_shared"; then
13775 output_verbose_link_cmd=func_echo_all
13776 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"
13777 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
13778 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"
13779 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"
13780 if test yes != "$lt_cv_apple_cc_single_mod"; then
13781 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"
13782 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"
13792 hardcode_libdir_flag_spec_CXX='-L$libdir'
13793 hardcode_minus_L_CXX=yes
13794 allow_undefined_flag_CXX=unsupported
13796 archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
13797 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
13798 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
13799 $ECHO EXPORTS >> $output_objdir/$libname.def~
13800 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
13801 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
13802 emximp -o $lib $output_objdir/$libname.def'
13803 archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
13804 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
13805 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
13806 $ECHO EXPORTS >> $output_objdir/$libname.def~
13807 prefix_cmds="$SED"~
13808 if test EXPORTS = "`$SED 1q $export_symbols`"; then
13809 prefix_cmds="$prefix_cmds -e 1d";
13811 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
13812 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
13813 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
13814 emximp -o $lib $output_objdir/$libname.def'
13815 old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
13816 enable_shared_with_static_runtimes_CXX=yes
13820 case $cc_basename in
13822 # FIXME: insert proper C++ library support
13826 # Green Hills C++ Compiler
13827 # FIXME: insert proper C++ library support
13831 # FIXME: insert proper C++ library support
13838 # C++ shared libraries reported to be fairly broken before
13844 archive_cmds_need_lc_CXX=no
13847 freebsd* | dragonfly*)
13848 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13854 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13855 link_all_deplibs_CXX=yes
13859 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
13860 hardcode_libdir_separator_CXX=:
13861 export_dynamic_flag_spec_CXX='$wl-E'
13862 hardcode_direct_CXX=yes
13863 hardcode_minus_L_CXX=yes # Not in the search PATH,
13864 # but as the default
13865 # location of the library.
13867 case $cc_basename in
13869 # FIXME: insert proper C++ library support
13873 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'
13874 # Commands to make compiler produce verbose output that lists
13875 # what "hidden" libraries, object files and flags are used when
13876 # linking a shared library.
13878 # There doesn't appear to be a way to prevent this compiler from
13879 # explicitly linking system object files so we need to strip them
13880 # from the output so that they don't get included in the library
13882 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"'
13885 if test yes = "$GXX"; then
13886 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'
13888 # FIXME: insert proper C++ library support
13896 if test no = "$with_gnu_ld"; then
13897 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
13898 hardcode_libdir_separator_CXX=:
13904 export_dynamic_flag_spec_CXX='$wl-E'
13910 hardcode_direct_CXX=no
13911 hardcode_shlibpath_var_CXX=no
13914 hardcode_direct_CXX=yes
13915 hardcode_direct_absolute_CXX=yes
13916 hardcode_minus_L_CXX=yes # Not in the search PATH,
13917 # but as the default
13918 # location of the library.
13922 case $cc_basename in
13924 # FIXME: insert proper C++ library support
13930 archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13933 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13936 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13939 # Commands to make compiler produce verbose output that lists
13940 # what "hidden" libraries, object files and flags are used when
13941 # linking a shared library.
13943 # There doesn't appear to be a way to prevent this compiler from
13944 # explicitly linking system object files so we need to strip them
13945 # from the output so that they don't get included in the library
13947 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"'
13950 if test yes = "$GXX"; then
13951 if test no = "$with_gnu_ld"; then
13954 archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13957 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13960 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'
13965 # FIXME: insert proper C++ library support
13973 hardcode_direct_CXX=no
13974 hardcode_shlibpath_var_CXX=no
13975 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
13976 export_dynamic_flag_spec_CXX='$wl-E'
13977 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13978 # Instead, shared libraries are loaded at an image base (0x10000000 by
13979 # default) and relocated if they conflict, which is a slow very memory
13980 # consuming and fragmenting process. To avoid this, we pick a random,
13981 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13982 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13983 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'
13984 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'
13987 case $cc_basename in
13990 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'
13992 # Archives containing C++ object files must be created using
13993 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13994 # necessary to make sure instantiated templates are included
13996 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13999 if test yes = "$GXX"; then
14000 if test no = "$with_gnu_ld"; then
14001 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'
14003 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'
14006 link_all_deplibs_CXX=yes
14009 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14010 hardcode_libdir_separator_CXX=:
14011 inherit_rpath_CXX=yes
14014 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14015 case $cc_basename in
14017 # Kuck and Associates, Inc. (KAI) C++ Compiler
14019 # KCC will only create a shared library if the output file
14020 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14021 # to its proper name (with version) after linking.
14022 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'
14023 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'
14024 # Commands to make compiler produce verbose output that lists
14025 # what "hidden" libraries, object files and flags are used when
14026 # linking a shared library.
14028 # There doesn't appear to be a way to prevent this compiler from
14029 # explicitly linking system object files so we need to strip them
14030 # from the output so that they don't get included in the library
14032 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"'
14034 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14035 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14037 # Archives containing C++ object files must be created using
14038 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14039 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14044 # version 8.0 and above of icpc choke on multiply defined symbols
14045 # if we add $predep_objects and $postdep_objects, however 7.1 and
14046 # earlier do not add the objects themselves.
14047 case `$CC -V 2>&1` in
14049 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14050 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'
14052 *) # Version 8.0 or newer
14055 ia64*) tmp_idyn=' -i_dynamic';;
14057 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14058 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'
14061 archive_cmds_need_lc_CXX=no
14062 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14063 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14064 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
14067 # Portland Group C++ compiler
14069 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
14070 prelink_cmds_CXX='tpldir=Template.dir~
14072 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14073 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
14074 old_archive_cmds_CXX='tpldir=Template.dir~
14076 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14077 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
14079 archive_cmds_CXX='tpldir=Template.dir~
14081 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14082 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14083 archive_expsym_cmds_CXX='tpldir=Template.dir~
14085 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14086 $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'
14088 *) # Version 6 and above use weak symbols
14089 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14090 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'
14094 hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
14095 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14096 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'
14100 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14101 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'
14103 runpath_var=LD_RUN_PATH
14104 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14105 hardcode_libdir_separator_CXX=:
14107 # Commands to make compiler produce verbose output that lists
14108 # what "hidden" libraries, object files and flags are used when
14109 # linking a shared library.
14111 # There doesn't appear to be a way to prevent this compiler from
14112 # explicitly linking system object files so we need to strip them
14113 # from the output so that they don't get included in the library
14115 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'
14117 xl* | mpixl* | bgxl*)
14118 # IBM XL 8.0 on PPC, with GNU ld
14119 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14120 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14121 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14122 if test yes = "$supports_anon_versioning"; then
14123 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
14124 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14125 echo "local: *; };" >> $output_objdir/$libname.ver~
14126 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
14130 case `$CC -V 2>&1 | sed 5q` in
14133 no_undefined_flag_CXX=' -zdefs'
14134 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14135 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'
14136 hardcode_libdir_flag_spec_CXX='-R$libdir'
14137 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'
14138 compiler_needs_object_CXX=yes
14140 # Not sure whether something based on
14141 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14143 output_verbose_link_cmd='func_echo_all'
14145 # Archives containing C++ object files must be created using
14146 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14147 # necessary to make sure instantiated templates are included
14149 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14157 # FIXME: insert proper C++ library support
14162 # FIXME: insert proper C++ library support
14167 case $cc_basename in
14169 # FIXME: insert proper C++ library support
14173 # FIXME: insert proper C++ library support
14180 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14181 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14183 hardcode_libdir_flag_spec_CXX='-R$libdir'
14184 hardcode_direct_CXX=yes
14185 hardcode_shlibpath_var_CXX=no
14187 # Workaround some broken pre-1.5 toolchains
14188 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14195 openbsd* | bitrig*)
14196 if test -f /usr/libexec/ld.so; then
14197 hardcode_direct_CXX=yes
14198 hardcode_shlibpath_var_CXX=no
14199 hardcode_direct_absolute_CXX=yes
14200 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14201 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14202 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
14203 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
14204 export_dynamic_flag_spec_CXX='$wl-E'
14205 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
14207 output_verbose_link_cmd=func_echo_all
14213 osf3* | osf4* | osf5*)
14214 case $cc_basename in
14216 # Kuck and Associates, Inc. (KAI) C++ Compiler
14218 # KCC will only create a shared library if the output file
14219 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14220 # to its proper name (with version) after linking.
14221 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'
14223 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14224 hardcode_libdir_separator_CXX=:
14226 # Archives containing C++ object files must be created using
14227 # the KAI C++ compiler.
14229 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
14230 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
14234 # Rational C++ 2.4.1
14235 # FIXME: insert proper C++ library support
14241 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
14242 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'
14243 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14246 allow_undefined_flag_CXX=' -expect_unresolved \*'
14247 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'
14248 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14249 echo "-hidden">> $lib.exp~
14250 $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~
14252 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14256 hardcode_libdir_separator_CXX=:
14258 # Commands to make compiler produce verbose output that lists
14259 # what "hidden" libraries, object files and flags are used when
14260 # linking a shared library.
14262 # There doesn't appear to be a way to prevent this compiler from
14263 # explicitly linking system object files so we need to strip them
14264 # from the output so that they don't get included in the library
14266 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"'
14269 if test yes,no = "$GXX,$with_gnu_ld"; then
14270 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
14273 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'
14276 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'
14280 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14281 hardcode_libdir_separator_CXX=:
14283 # Commands to make compiler produce verbose output that lists
14284 # what "hidden" libraries, object files and flags are used when
14285 # linking a shared library.
14286 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14289 # FIXME: insert proper C++ library support
14297 # FIXME: insert proper C++ library support
14302 case $cc_basename in
14305 # FIXME: insert proper C++ library support
14310 # FIXME: insert proper C++ library support
14314 # FIXME: insert proper C++ library support
14321 case $cc_basename in
14323 # Sun C++ 4.2, 5.x and Centerline C++
14324 archive_cmds_need_lc_CXX=yes
14325 no_undefined_flag_CXX=' -zdefs'
14326 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14327 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14328 $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'
14330 hardcode_libdir_flag_spec_CXX='-R$libdir'
14331 hardcode_shlibpath_var_CXX=no
14333 solaris2.[0-5] | solaris2.[0-5].*) ;;
14335 # The compiler driver will combine and reorder linker options,
14336 # but understands '-z linker_flag'.
14337 # Supported since Solaris 2.6 (maybe 2.5.1?)
14338 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
14341 link_all_deplibs_CXX=yes
14343 output_verbose_link_cmd='func_echo_all'
14345 # Archives containing C++ object files must be created using
14346 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14347 # necessary to make sure instantiated templates are included
14349 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14352 # Green Hills C++ Compiler
14353 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14355 # The C++ compiler must be used to create the archive.
14356 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14359 # GNU C++ compiler with Solaris linker
14360 if test yes,no = "$GXX,$with_gnu_ld"; then
14361 no_undefined_flag_CXX=' $wl-z ${wl}defs'
14362 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
14363 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14364 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14365 $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'
14367 # Commands to make compiler produce verbose output that lists
14368 # what "hidden" libraries, object files and flags are used when
14369 # linking a shared library.
14370 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14372 # g++ 2.7 appears to require '-G' NOT '-shared' on this
14374 archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14375 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14376 $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'
14378 # Commands to make compiler produce verbose output that lists
14379 # what "hidden" libraries, object files and flags are used when
14380 # linking a shared library.
14381 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14384 hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
14386 solaris2.[0-5] | solaris2.[0-5].*) ;;
14388 whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
14396 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14397 no_undefined_flag_CXX='$wl-z,text'
14398 archive_cmds_need_lc_CXX=no
14399 hardcode_shlibpath_var_CXX=no
14400 runpath_var='LD_RUN_PATH'
14402 case $cc_basename in
14404 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14405 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14408 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14409 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14414 sysv5* | sco3.2v5* | sco5v6*)
14415 # Note: We CANNOT use -z defs as we might desire, because we do not
14416 # link with -lc, and that would cause any symbols used from libc to
14417 # always be unresolved, which means just about no library would
14418 # ever link correctly. If we're not using GNU ld we use -z text
14419 # though, which does catch some bad symbols but isn't as heavy-handed
14421 no_undefined_flag_CXX='$wl-z,text'
14422 allow_undefined_flag_CXX='$wl-z,nodefs'
14423 archive_cmds_need_lc_CXX=no
14424 hardcode_shlibpath_var_CXX=no
14425 hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
14426 hardcode_libdir_separator_CXX=':'
14427 link_all_deplibs_CXX=yes
14428 export_dynamic_flag_spec_CXX='$wl-Bexport'
14429 runpath_var='LD_RUN_PATH'
14431 case $cc_basename in
14433 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14434 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14435 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
14436 '"$old_archive_cmds_CXX"
14437 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
14438 '"$reload_cmds_CXX"
14441 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14442 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14448 case $cc_basename in
14450 # NonStop-UX NCC 3.20
14451 # FIXME: insert proper C++ library support
14455 # FIXME: insert proper C++ library support
14462 # FIXME: insert proper C++ library support
14467 # FIXME: insert proper C++ library support
14472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14473 $as_echo "$ld_shlibs_CXX" >&6; }
14474 test no = "$ld_shlibs_CXX" && can_build_shared=no
14480 ## There is no encapsulation within the following macros, do not change
14481 ## the running order or otherwise move them around unless you know exactly
14482 ## what you are doing...
14483 # Dependencies to place before and after the object being linked:
14484 predep_objects_CXX=
14485 postdep_objects_CXX=
14488 compiler_lib_search_path_CXX=
14490 cat > conftest.$ac_ext <<_LT_EOF
14494 Foo (void) { a = 0; }
14501 _lt_libdeps_save_CFLAGS=$CFLAGS
14502 case "$CC $CFLAGS " in #(
14503 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
14504 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
14505 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
14508 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14509 (eval $ac_compile) 2>&5
14511 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14512 test $ac_status = 0; }; then
14513 # Parse the compiler output and extract the necessary
14514 # objects, libraries and library flags.
14516 # Sentinel used to keep track of whether or not we are before
14517 # the conftest object file.
14518 pre_test_object_deps_done=no
14520 for p in `eval "$output_verbose_link_cmd"`; do
14524 # Some compilers place space between "-{L,R}" and the path.
14525 # Remove the space.
14526 if test x-L = "$p" ||
14527 test x-R = "$p"; then
14532 # Expand the sysroot to ease extracting the directories later.
14533 if test -z "$prev"; then
14535 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
14536 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
14537 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
14541 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
14543 if test no = "$pre_test_object_deps_done"; then
14546 # Internal compiler library paths should come after those
14547 # provided the user. The postdeps already come after the
14548 # user supplied libs so there is no need to process them.
14549 if test -z "$compiler_lib_search_path_CXX"; then
14550 compiler_lib_search_path_CXX=$prev$p
14552 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
14555 # The "-l" case would never come before the object being
14556 # linked, so don't bother handling this case.
14559 if test -z "$postdeps_CXX"; then
14560 postdeps_CXX=$prev$p
14562 postdeps_CXX="${postdeps_CXX} $prev$p"
14568 *.lto.$objext) ;; # Ignore GCC LTO objects
14570 # This assumes that the test object file only shows up
14571 # once in the compiler output.
14572 if test "$p" = "conftest.$objext"; then
14573 pre_test_object_deps_done=yes
14577 if test no = "$pre_test_object_deps_done"; then
14578 if test -z "$predep_objects_CXX"; then
14579 predep_objects_CXX=$p
14581 predep_objects_CXX="$predep_objects_CXX $p"
14584 if test -z "$postdep_objects_CXX"; then
14585 postdep_objects_CXX=$p
14587 postdep_objects_CXX="$postdep_objects_CXX $p"
14592 *) ;; # Ignore the rest.
14600 echo "libtool.m4: error: problem compiling CXX test program"
14603 $RM -f confest.$objext
14604 CFLAGS=$_lt_libdeps_save_CFLAGS
14606 # PORTME: override above test on systems where it is broken
14609 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14610 # hack all around it, let's just trust "g++" to DTRT.
14611 predep_objects_CXX=
14612 postdep_objects_CXX=
14618 case " $postdeps_CXX " in
14619 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
14621 compiler_lib_search_dirs_CXX=
14622 if test -n "${compiler_lib_search_path_CXX}"; then
14623 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
14656 lt_prog_compiler_wl_CXX=
14657 lt_prog_compiler_pic_CXX=
14658 lt_prog_compiler_static_CXX=
14661 # C++ specific cases for pic, static, wl, etc.
14662 if test yes = "$GXX"; then
14663 lt_prog_compiler_wl_CXX='-Wl,'
14664 lt_prog_compiler_static_CXX='-static'
14668 # All AIX code is PIC.
14669 if test ia64 = "$host_cpu"; then
14670 # AIX 5 now supports IA64 processor
14671 lt_prog_compiler_static_CXX='-Bstatic'
14673 lt_prog_compiler_pic_CXX='-fPIC'
14679 # see comment about AmigaOS4 .so support
14680 lt_prog_compiler_pic_CXX='-fPIC'
14683 # FIXME: we need at least 68020 code to build shared libraries, but
14684 # adding the '-m68020' flag to GCC prevents building anything better,
14686 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14691 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14692 # PIC is the default for these OSes.
14694 mingw* | cygwin* | os2* | pw32* | cegcc*)
14695 # This hack is so that the source file can tell whether it is being
14696 # built for inclusion in a dll (and should export symbols for example).
14697 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14698 # (--disable-auto-import) libraries
14699 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14702 lt_prog_compiler_static_CXX='$wl-static'
14706 darwin* | rhapsody*)
14707 # PIC is the default on this platform
14708 # Common symbols not allowed in MH_DYLIB files
14709 lt_prog_compiler_pic_CXX='-fno-common'
14712 # DJGPP does not support shared libraries at all
14713 lt_prog_compiler_pic_CXX=
14716 # PIC is the default for Haiku.
14717 # The "-static" flag exists, but is broken.
14718 lt_prog_compiler_static_CXX=
14721 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14722 # Instead, we relocate shared libraries at runtime.
14725 if test -d /usr/nec; then
14726 lt_prog_compiler_pic_CXX=-Kconform_pic
14730 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14731 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14732 # sets the default TLS model and affects inlining.
14737 lt_prog_compiler_pic_CXX='-fPIC'
14742 # QNX uses GNU C++, but need to define -shared option too, otherwise
14743 # it will coredump.
14744 lt_prog_compiler_pic_CXX='-fPIC -shared'
14747 lt_prog_compiler_pic_CXX='-fPIC'
14753 # All AIX code is PIC.
14754 if test ia64 = "$host_cpu"; then
14755 # AIX 5 now supports IA64 processor
14756 lt_prog_compiler_static_CXX='-Bstatic'
14758 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14762 case $cc_basename in
14764 # Green Hills C++ Compiler
14765 # _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"
14769 mingw* | cygwin* | os2* | pw32* | cegcc*)
14770 # This hack is so that the source file can tell whether it is being
14771 # built for inclusion in a dll (and should export symbols for example).
14772 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14775 case $cc_basename in
14777 lt_prog_compiler_pic_CXX='-KPIC'
14780 # Green Hills C++ Compiler
14781 lt_prog_compiler_pic_CXX='-pic'
14787 freebsd* | dragonfly*)
14788 # FreeBSD uses GNU C++
14790 hpux9* | hpux10* | hpux11*)
14791 case $cc_basename in
14793 lt_prog_compiler_wl_CXX='-Wl,'
14794 lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
14795 if test ia64 != "$host_cpu"; then
14796 lt_prog_compiler_pic_CXX='+Z'
14800 lt_prog_compiler_wl_CXX='-Wl,'
14801 lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
14807 lt_prog_compiler_pic_CXX='+Z'
14816 # This is c89, which is MS Visual C++ (no shared libs)
14817 # Anyone wants to do a port?
14819 irix5* | irix6* | nonstopux*)
14820 case $cc_basename in
14822 lt_prog_compiler_wl_CXX='-Wl,'
14823 lt_prog_compiler_static_CXX='-non_shared'
14824 # CC pic flag -KPIC is the default.
14830 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14831 case $cc_basename in
14834 lt_prog_compiler_wl_CXX='--backend -Wl,'
14835 lt_prog_compiler_pic_CXX='-fPIC'
14838 # old Intel C++ for x86_64, which still supported -KPIC.
14839 lt_prog_compiler_wl_CXX='-Wl,'
14840 lt_prog_compiler_pic_CXX='-KPIC'
14841 lt_prog_compiler_static_CXX='-static'
14844 # Intel C++, used to be incompatible with GCC.
14845 # ICC 10 doesn't accept -KPIC any more.
14846 lt_prog_compiler_wl_CXX='-Wl,'
14847 lt_prog_compiler_pic_CXX='-fPIC'
14848 lt_prog_compiler_static_CXX='-static'
14851 # Portland Group C++ compiler
14852 lt_prog_compiler_wl_CXX='-Wl,'
14853 lt_prog_compiler_pic_CXX='-fpic'
14854 lt_prog_compiler_static_CXX='-Bstatic'
14858 # Make sure the PIC flag is empty. It appears that all Alpha
14859 # Linux and Compaq Tru64 Unix objects are PIC.
14860 lt_prog_compiler_pic_CXX=
14861 lt_prog_compiler_static_CXX='-non_shared'
14863 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14864 # IBM XL 8.0, 9.0 on PPC and BlueGene
14865 lt_prog_compiler_wl_CXX='-Wl,'
14866 lt_prog_compiler_pic_CXX='-qpic'
14867 lt_prog_compiler_static_CXX='-qstaticlink'
14870 case `$CC -V 2>&1 | sed 5q` in
14873 lt_prog_compiler_pic_CXX='-KPIC'
14874 lt_prog_compiler_static_CXX='-Bstatic'
14875 lt_prog_compiler_wl_CXX='-Qoption ld '
14886 case $cc_basename in
14888 lt_prog_compiler_pic_CXX='-W c,exportall'
14897 # QNX uses GNU C++, but need to define -shared option too, otherwise
14898 # it will coredump.
14899 lt_prog_compiler_pic_CXX='-fPIC -shared'
14901 osf3* | osf4* | osf5*)
14902 case $cc_basename in
14904 lt_prog_compiler_wl_CXX='--backend -Wl,'
14907 # Rational C++ 2.4.1
14908 lt_prog_compiler_pic_CXX='-pic'
14911 # Digital/Compaq C++
14912 lt_prog_compiler_wl_CXX='-Wl,'
14913 # Make sure the PIC flag is empty. It appears that all Alpha
14914 # Linux and Compaq Tru64 Unix objects are PIC.
14915 lt_prog_compiler_pic_CXX=
14916 lt_prog_compiler_static_CXX='-non_shared'
14925 case $cc_basename in
14927 # Sun C++ 4.2, 5.x and Centerline C++
14928 lt_prog_compiler_pic_CXX='-KPIC'
14929 lt_prog_compiler_static_CXX='-Bstatic'
14930 lt_prog_compiler_wl_CXX='-Qoption ld '
14933 # Green Hills C++ Compiler
14934 lt_prog_compiler_pic_CXX='-PIC'
14941 case $cc_basename in
14944 lt_prog_compiler_pic_CXX='-pic'
14945 lt_prog_compiler_static_CXX='-Bstatic'
14949 lt_prog_compiler_pic_CXX='-pic'
14955 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14956 case $cc_basename in
14958 lt_prog_compiler_wl_CXX='-Wl,'
14959 lt_prog_compiler_pic_CXX='-KPIC'
14960 lt_prog_compiler_static_CXX='-Bstatic'
14965 case $cc_basename in
14967 # NonStop-UX NCC 3.20
14968 lt_prog_compiler_pic_CXX='-KPIC'
14977 lt_prog_compiler_can_build_shared_CXX=no
14983 # For platforms that do not support PIC, -DPIC is meaningless:
14985 lt_prog_compiler_pic_CXX=
14988 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14993 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14994 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
14995 $as_echo_n "(cached) " >&6
14997 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
14999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
15000 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
15001 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
15004 # Check to make sure the PIC flag actually works.
15006 if test -n "$lt_prog_compiler_pic_CXX"; then
15007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15008 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15009 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
15010 $as_echo_n "(cached) " >&6
15012 lt_cv_prog_compiler_pic_works_CXX=no
15013 ac_outfile=conftest.$ac_objext
15014 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15015 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment
15016 # Insert the option either (1) after the last *FLAGS variable, or
15017 # (2) before a word containing "conftest.", or (3) at the end.
15018 # Note that $ac_compile itself does not contain backslashes and begins
15019 # with a dollar sign (not a hyphen), so the echo should work correctly.
15020 # The option is referenced via a variable to avoid confusing sed.
15021 lt_compile=`echo "$ac_compile" | $SED \
15022 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15023 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15024 -e 's:$: $lt_compiler_flag:'`
15025 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15026 (eval "$lt_compile" 2>conftest.err)
15028 cat conftest.err >&5
15029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15030 if (exit $ac_status) && test -s "$ac_outfile"; then
15031 # The compiler can only warn and ignore the option if not recognized
15032 # So say no if there are warnings other than the usual output.
15033 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
15034 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15035 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15036 lt_cv_prog_compiler_pic_works_CXX=yes
15042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15043 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15045 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
15046 case $lt_prog_compiler_pic_CXX in
15048 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
15051 lt_prog_compiler_pic_CXX=
15052 lt_prog_compiler_can_build_shared_CXX=no
15062 # Check to make sure the static flag actually works.
15064 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
15065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15066 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15067 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
15068 $as_echo_n "(cached) " >&6
15070 lt_cv_prog_compiler_static_works_CXX=no
15071 save_LDFLAGS=$LDFLAGS
15072 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15073 echo "$lt_simple_link_test_code" > conftest.$ac_ext
15074 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15075 # The linker can only warn and ignore the option if not recognized
15076 # So say no if there are warnings
15077 if test -s conftest.err; then
15078 # Append any errors to the config.log.
15079 cat conftest.err 1>&5
15080 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
15081 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15082 if diff conftest.exp conftest.er2 >/dev/null; then
15083 lt_cv_prog_compiler_static_works_CXX=yes
15086 lt_cv_prog_compiler_static_works_CXX=yes
15090 LDFLAGS=$save_LDFLAGS
15093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15094 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15096 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
15099 lt_prog_compiler_static_CXX=
15105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15106 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15107 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15108 $as_echo_n "(cached) " >&6
15110 lt_cv_prog_compiler_c_o_CXX=no
15111 $RM -r conftest 2>/dev/null
15115 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15117 lt_compiler_flag="-o out/conftest2.$ac_objext"
15118 # Insert the option either (1) after the last *FLAGS variable, or
15119 # (2) before a word containing "conftest.", or (3) at the end.
15120 # Note that $ac_compile itself does not contain backslashes and begins
15121 # with a dollar sign (not a hyphen), so the echo should work correctly.
15122 lt_compile=`echo "$ac_compile" | $SED \
15123 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15124 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15125 -e 's:$: $lt_compiler_flag:'`
15126 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15127 (eval "$lt_compile" 2>out/conftest.err)
15129 cat out/conftest.err >&5
15130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15131 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15133 # The compiler can only warn and ignore the option if not recognized
15134 # So say no if there are warnings
15135 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15136 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15137 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15138 lt_cv_prog_compiler_c_o_CXX=yes
15143 # SGI C++ compiler will create directory out/ii_files/ for
15144 # template instantiation
15145 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15146 $RM out/* && rmdir out
15152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15153 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15158 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15159 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15160 $as_echo_n "(cached) " >&6
15162 lt_cv_prog_compiler_c_o_CXX=no
15163 $RM -r conftest 2>/dev/null
15167 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15169 lt_compiler_flag="-o out/conftest2.$ac_objext"
15170 # Insert the option either (1) after the last *FLAGS variable, or
15171 # (2) before a word containing "conftest.", or (3) at the end.
15172 # Note that $ac_compile itself does not contain backslashes and begins
15173 # with a dollar sign (not a hyphen), so the echo should work correctly.
15174 lt_compile=`echo "$ac_compile" | $SED \
15175 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15176 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15177 -e 's:$: $lt_compiler_flag:'`
15178 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15179 (eval "$lt_compile" 2>out/conftest.err)
15181 cat out/conftest.err >&5
15182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15183 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15185 # The compiler can only warn and ignore the option if not recognized
15186 # So say no if there are warnings
15187 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15188 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15189 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15190 lt_cv_prog_compiler_c_o_CXX=yes
15195 # SGI C++ compiler will create directory out/ii_files/ for
15196 # template instantiation
15197 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15198 $RM out/* && rmdir out
15204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15205 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15210 hard_links=nottested
15211 if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
15212 # do not overwrite the value of need_locks provided by the user
15213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15214 $as_echo_n "checking if we can lock with hard links... " >&6; }
15217 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15219 ln conftest.a conftest.b 2>&5 || hard_links=no
15220 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15222 $as_echo "$hard_links" >&6; }
15223 if test no = "$hard_links"; then
15224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
15225 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
15234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15235 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15237 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15238 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15241 # If we're using GNU nm, then we don't want the "-C" option.
15242 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
15243 # Without the "-l" option, or with the "-B" option, AIX nm treats
15244 # weak defined symbols like other global defined symbols, whereas
15245 # GNU nm marks them as "W".
15246 # While the 'weak' keyword is ignored in the Export File, we need
15247 # it in the Import File for the 'aix-soname' feature, so we have
15248 # to replace the "-B" option with "-P" for AIX nm.
15249 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
15250 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'
15252 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'
15256 export_symbols_cmds_CXX=$ltdll_cmds
15258 cygwin* | mingw* | cegcc*)
15259 case $cc_basename in
15261 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
15264 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'
15265 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
15270 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15275 $as_echo "$ld_shlibs_CXX" >&6; }
15276 test no = "$ld_shlibs_CXX" && can_build_shared=no
15278 with_gnu_ld_CXX=$with_gnu_ld
15286 # Do we need to explicitly link libc?
15288 case "x$archive_cmds_need_lc_CXX" in
15290 # Assume -lc should be added
15291 archive_cmds_need_lc_CXX=yes
15293 if test yes,yes = "$GCC,$enable_shared"; then
15294 case $archive_cmds_CXX in
15296 # FIXME: we may have to deal with multi-command sequences.
15299 # Test whether the compiler implicitly links with -lc since on some
15300 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15301 # to ld, don't add -lc before -lgcc.
15302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15303 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15304 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
15305 $as_echo_n "(cached) " >&6
15308 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15310 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15311 (eval $ac_compile) 2>&5
15313 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15314 test $ac_status = 0; } 2>conftest.err; then
15317 libobjs=conftest.$ac_objext
15319 wl=$lt_prog_compiler_wl_CXX
15320 pic_flag=$lt_prog_compiler_pic_CXX
15326 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
15327 allow_undefined_flag_CXX=
15328 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15329 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15331 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15332 test $ac_status = 0; }
15334 lt_cv_archive_cmds_need_lc_CXX=no
15336 lt_cv_archive_cmds_need_lc_CXX=yes
15338 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
15340 cat conftest.err 1>&5
15345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15346 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15347 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
15415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15416 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15418 library_names_spec=
15419 libname_spec='lib$name'
15423 postuninstall_cmds=
15427 shlibpath_overrides_runpath=unknown
15429 dynamic_linker="$host_os ld.so"
15430 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15431 need_lib_prefix=unknown
15432 hardcode_into_libs=no
15434 # when you set need_version to no, make sure it does not cause -set_version
15435 # flags to be left without arguments
15436 need_version=unknown
15442 version_type=linux # correct to gnu/linux during the next big refactor
15443 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
15444 shlibpath_var=LIBPATH
15446 # AIX 3 has no versioning support, so we append a major version to the name.
15447 soname_spec='$libname$release$shared_ext$major'
15451 version_type=linux # correct to gnu/linux during the next big refactor
15454 hardcode_into_libs=yes
15455 if test ia64 = "$host_cpu"; then
15456 # AIX 5 supports IA64
15457 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
15458 shlibpath_var=LD_LIBRARY_PATH
15460 # With GCC up to 2.95.x, collect2 would create an import file
15461 # for dependence libraries. The import file would start with
15462 # the line '#! .'. This would cause the generated library to
15463 # depend on '.', always an invalid library. This was fixed in
15464 # development snapshots of GCC prior to 3.0.
15466 aix4 | aix4.[01] | aix4.[01].*)
15467 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15469 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
15472 can_build_shared=no
15476 # Using Import Files as archive members, it is possible to support
15477 # filename-based versioning of shared library archives on AIX. While
15478 # this would work for both with and without runtime linking, it will
15479 # prevent static linking of such archives. So we do filename-based
15480 # shared library versioning with .so extension only, which is used
15481 # when both runtime linking and shared linking is enabled.
15482 # Unfortunately, runtime linking may impact performance, so we do
15483 # not want this to be the default eventually. Also, we use the
15484 # versioned .so libs for executables only if there is the -brtl
15485 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
15486 # To allow for filename-based versioning support, we need to create
15487 # libNAME.so.V as an archive file, containing:
15488 # *) an Import File, referring to the versioned filename of the
15489 # archive as well as the shared archive member, telling the
15490 # bitwidth (32 or 64) of that shared object, and providing the
15491 # list of exported symbols of that shared object, eventually
15492 # decorated with the 'weak' keyword
15493 # *) the shared object with the F_LOADONLY flag set, to really avoid
15494 # it being seen by the linker.
15495 # At run time we better use the real file rather than another symlink,
15496 # but for link time we create the symlink libNAME.so -> libNAME.so.V
15498 case $with_aix_soname,$aix_use_runtimelinking in
15499 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
15500 # soname into executable. Probably we can add versioning support to
15501 # collect2, so additional links can be useful in future.
15502 aix,yes) # traditional libtool
15503 dynamic_linker='AIX unversionable lib.so'
15504 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15505 # instead of lib<name>.a to let people know that these are not
15506 # typical AIX shared libraries.
15507 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15509 aix,no) # traditional AIX only
15510 dynamic_linker='AIX lib.a(lib.so.V)'
15511 # We preserve .a as extension for shared libraries through AIX4.2
15512 # and later when we are not doing run time linking.
15513 library_names_spec='$libname$release.a $libname.a'
15514 soname_spec='$libname$release$shared_ext$major'
15516 svr4,*) # full svr4 only
15517 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
15518 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
15519 # We do not specify a path in Import Files, so LIBPATH fires.
15520 shlibpath_overrides_runpath=yes
15522 *,yes) # both, prefer svr4
15523 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
15524 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
15525 # unpreferred sharedlib libNAME.a needs extra handling
15526 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"'
15527 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"'
15528 # We do not specify a path in Import Files, so LIBPATH fires.
15529 shlibpath_overrides_runpath=yes
15531 *,no) # both, prefer aix
15532 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
15533 library_names_spec='$libname$release.a $libname.a'
15534 soname_spec='$libname$release$shared_ext$major'
15535 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
15536 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)'
15537 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"'
15540 shlibpath_var=LIBPATH
15547 # Since July 2007 AmigaOS4 officially supports .so libraries.
15548 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15549 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15552 library_names_spec='$libname.ixlibrary $libname.a'
15553 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15554 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'
15560 library_names_spec='$libname$shared_ext'
15561 dynamic_linker="$host_os ld.so"
15562 shlibpath_var=LIBRARY_PATH
15566 version_type=linux # correct to gnu/linux during the next big refactor
15568 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15569 soname_spec='$libname$release$shared_ext$major'
15570 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15571 shlibpath_var=LD_LIBRARY_PATH
15572 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15573 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15574 # the default ld.so.conf also contains /usr/contrib/lib and
15575 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15576 # libtool to hard-code these into programs
15579 cygwin* | mingw* | pw32* | cegcc*)
15580 version_type=windows
15585 case $GCC,$cc_basename in
15588 library_names_spec='$libname.dll.a'
15589 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15590 postinstall_cmds='base_file=`basename \$file`~
15591 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
15592 dldir=$destdir/`dirname \$dlpath`~
15593 test -d \$dldir || mkdir -p \$dldir~
15594 $install_prog $dir/$dlname \$dldir/$dlname~
15595 chmod a+x \$dldir/$dlname~
15596 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15597 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15599 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15600 dlpath=$dir/\$dldll~
15602 shlibpath_overrides_runpath=yes
15606 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15607 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15611 # MinGW DLLs use traditional 'lib' prefix
15612 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15615 # pw32 DLLs use 'pw' prefix rather than 'lib'
15616 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15619 dynamic_linker='Win32 ld.exe'
15624 libname_spec='$name'
15625 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15626 library_names_spec='$libname.dll.lib'
15630 sys_lib_search_path_spec=
15633 for lt_path in $LIB
15636 # Let DOS variable expansion print the short 8.3 style file name.
15637 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15638 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
15641 # Convert to MSYS style.
15642 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15645 # Convert to unix form, then to dos form, then back to unix form
15646 # but this time dos style (no spaces!) so that the unix form looks
15647 # like /cygdrive/c/PROGRA~1:/cygdr...
15648 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
15649 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15650 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15653 sys_lib_search_path_spec=$LIB
15654 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15655 # It is most probably a Windows format PATH.
15656 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15658 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15660 # FIXME: find the short name or the path components, as spaces are
15661 # common. (e.g. "Program Files" -> "PROGRA~1")
15665 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15666 postinstall_cmds='base_file=`basename \$file`~
15667 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
15668 dldir=$destdir/`dirname \$dlpath`~
15669 test -d \$dldir || mkdir -p \$dldir~
15670 $install_prog $dir/$dlname \$dldir/$dlname'
15671 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15672 dlpath=$dir/\$dldll~
15674 shlibpath_overrides_runpath=yes
15675 dynamic_linker='Win32 link.exe'
15679 # Assume MSVC wrapper
15680 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
15681 dynamic_linker='Win32 ld.exe'
15684 # FIXME: first we should search . and the directory the executable is in
15688 darwin* | rhapsody*)
15689 dynamic_linker="$host_os dyld"
15690 version_type=darwin
15693 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
15694 soname_spec='$libname$release$major$shared_ext'
15695 shlibpath_overrides_runpath=yes
15696 shlibpath_var=DYLD_LIBRARY_PATH
15697 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15699 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15703 version_type=linux # correct to gnu/linux during the next big refactor
15706 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15707 soname_spec='$libname$release$shared_ext$major'
15708 shlibpath_var=LD_LIBRARY_PATH
15711 freebsd* | dragonfly*)
15712 # DragonFly does not have aout. When/if they implement a new
15713 # versioning mechanism, adjust this.
15714 if test -x /usr/bin/objformat; then
15715 objformat=`/usr/bin/objformat`
15718 freebsd[23].*) objformat=aout ;;
15719 *) objformat=elf ;;
15722 version_type=freebsd-$objformat
15723 case $version_type in
15725 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15726 soname_spec='$libname$release$shared_ext$major'
15731 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
15735 shlibpath_var=LD_LIBRARY_PATH
15738 shlibpath_overrides_runpath=yes
15740 freebsd3.[01]* | freebsdelf3.[01]*)
15741 shlibpath_overrides_runpath=yes
15742 hardcode_into_libs=yes
15744 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15745 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15746 shlibpath_overrides_runpath=no
15747 hardcode_into_libs=yes
15749 *) # from 4.6 on, and DragonFly
15750 shlibpath_overrides_runpath=yes
15751 hardcode_into_libs=yes
15757 version_type=linux # correct to gnu/linux during the next big refactor
15760 dynamic_linker="$host_os runtime_loader"
15761 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15762 soname_spec='$libname$release$shared_ext$major'
15763 shlibpath_var=LIBRARY_PATH
15764 shlibpath_overrides_runpath=no
15765 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15766 hardcode_into_libs=yes
15769 hpux9* | hpux10* | hpux11*)
15770 # Give a soname corresponding to the major version so that dld.sl refuses to
15771 # link against other versions.
15778 hardcode_into_libs=yes
15779 dynamic_linker="$host_os dld.so"
15780 shlibpath_var=LD_LIBRARY_PATH
15781 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15782 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15783 soname_spec='$libname$release$shared_ext$major'
15784 if test 32 = "$HPUX_IA64_MODE"; then
15785 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15786 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
15788 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15789 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
15794 hardcode_into_libs=yes
15795 dynamic_linker="$host_os dld.sl"
15796 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15797 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15798 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15799 soname_spec='$libname$release$shared_ext$major'
15800 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15801 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15805 dynamic_linker="$host_os dld.sl"
15806 shlibpath_var=SHLIB_PATH
15807 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15808 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15809 soname_spec='$libname$release$shared_ext$major'
15812 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15813 postinstall_cmds='chmod 555 $lib'
15814 # or fails outright, so override atomically:
15815 install_override_mode=555
15819 version_type=linux # correct to gnu/linux during the next big refactor
15822 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15823 soname_spec='$libname$release$shared_ext$major'
15824 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15825 shlibpath_var=LD_LIBRARY_PATH
15826 shlibpath_overrides_runpath=no
15827 hardcode_into_libs=yes
15830 irix5* | irix6* | nonstopux*)
15832 nonstopux*) version_type=nonstopux ;;
15834 if test yes = "$lt_cv_prog_gnu_ld"; then
15835 version_type=linux # correct to gnu/linux during the next big refactor
15842 soname_spec='$libname$release$shared_ext$major'
15843 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
15845 irix5* | nonstopux*)
15846 libsuff= shlibsuff=
15849 case $LD in # libtool.m4 will add one of these switches to LD
15850 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15851 libsuff= shlibsuff= libmagic=32-bit;;
15852 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15853 libsuff=32 shlibsuff=N32 libmagic=N32;;
15854 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15855 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15856 *) libsuff= shlibsuff= libmagic=never-match;;
15860 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15861 shlibpath_overrides_runpath=no
15862 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
15863 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
15864 hardcode_into_libs=yes
15867 # No shared lib support for Linux oldld, aout, or coff.
15868 linux*oldld* | linux*aout* | linux*coff*)
15873 version_type=none # Android doesn't support versioned libraries.
15876 library_names_spec='$libname$release$shared_ext'
15877 soname_spec='$libname$release$shared_ext'
15879 shlibpath_var=LD_LIBRARY_PATH
15880 shlibpath_overrides_runpath=yes
15882 # This implies no fast_install, which is unacceptable.
15883 # Some rework will be needed to allow for fast_install
15884 # before this can be enabled.
15885 hardcode_into_libs=yes
15887 dynamic_linker='Android linker'
15888 # Don't embed -rpath directories since the linker doesn't support them.
15889 hardcode_libdir_flag_spec_CXX='-L$libdir'
15892 # This must be glibc/ELF.
15893 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15894 version_type=linux # correct to gnu/linux during the next big refactor
15897 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15898 soname_spec='$libname$release$shared_ext$major'
15899 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15900 shlibpath_var=LD_LIBRARY_PATH
15901 shlibpath_overrides_runpath=no
15903 # Some binutils ld are patched to set DT_RUNPATH
15904 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15905 $as_echo_n "(cached) " >&6
15907 lt_cv_shlibpath_overrides_runpath=no
15908 save_LDFLAGS=$LDFLAGS
15909 save_libdir=$libdir
15910 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15911 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15913 /* end confdefs.h. */
15923 if ac_fn_cxx_try_link "$LINENO"; then :
15924 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15925 lt_cv_shlibpath_overrides_runpath=yes
15928 rm -f core conftest.err conftest.$ac_objext \
15929 conftest$ac_exeext conftest.$ac_ext
15930 LDFLAGS=$save_LDFLAGS
15931 libdir=$save_libdir
15935 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15937 # This implies no fast_install, which is unacceptable.
15938 # Some rework will be needed to allow for fast_install
15939 # before this can be enabled.
15940 hardcode_into_libs=yes
15942 # Ideally, we could use ldconfig to report *all* directores which are
15943 # searched for libraries, however this is still not possible. Aside from not
15944 # being certain /sbin/ldconfig is available, command
15945 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
15946 # even though it is searched at run-time. Try to do the best guess by
15947 # appending ld.so.conf contents (and includes) to the search path.
15948 if test -f /etc/ld.so.conf; then
15949 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' ' '`
15950 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15953 # We used to test for /lib/ld.so.1 and disable shared libraries on
15954 # powerpc, because MkLinux only supported shared libraries with the
15955 # GNU dynamic linker. Since this was broken with cross compilers,
15956 # most powerpc-linux boxes support dynamic linking these days and
15957 # people can always --disable-shared, the test was removed, and we
15958 # assume the GNU/Linux dynamic linker is in use.
15959 dynamic_linker='GNU/Linux ld.so'
15966 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15967 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
15968 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15969 dynamic_linker='NetBSD (a.out) ld.so'
15971 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15972 soname_spec='$libname$release$shared_ext$major'
15973 dynamic_linker='NetBSD ld.elf_so'
15975 shlibpath_var=LD_LIBRARY_PATH
15976 shlibpath_overrides_runpath=yes
15977 hardcode_into_libs=yes
15981 version_type=linux # correct to gnu/linux during the next big refactor
15982 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15983 shlibpath_var=LD_LIBRARY_PATH
15984 shlibpath_overrides_runpath=yes
15991 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15992 soname_spec='$libname$release$shared_ext$major'
15993 shlibpath_var=LD_LIBRARY_PATH
15994 shlibpath_overrides_runpath=no
15995 hardcode_into_libs=yes
15996 dynamic_linker='ldqnx.so'
15999 openbsd* | bitrig*)
16001 sys_lib_dlsearch_path_spec=/usr/lib
16003 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
16008 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16009 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16010 shlibpath_var=LD_LIBRARY_PATH
16011 shlibpath_overrides_runpath=yes
16015 libname_spec='$name'
16016 version_type=windows
16020 # OS/2 can only load a DLL with a base name of 8 characters or less.
16021 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
16022 v=$($ECHO $release$versuffix | tr -d .-);
16023 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
16024 $ECHO $n$v`$shared_ext'
16025 library_names_spec='${libname}_dll.$libext'
16026 dynamic_linker='OS/2 ld.exe'
16027 shlibpath_var=BEGINLIBPATH
16028 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16029 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16030 postinstall_cmds='base_file=`basename \$file`~
16031 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
16032 dldir=$destdir/`dirname \$dlpath`~
16033 test -d \$dldir || mkdir -p \$dldir~
16034 $install_prog $dir/$dlname \$dldir/$dlname~
16035 chmod a+x \$dldir/$dlname~
16036 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16037 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16039 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
16040 dlpath=$dir/\$dldll~
16044 osf3* | osf4* | osf5*)
16048 soname_spec='$libname$release$shared_ext$major'
16049 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16050 shlibpath_var=LD_LIBRARY_PATH
16051 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16052 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16060 version_type=linux # correct to gnu/linux during the next big refactor
16063 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16064 soname_spec='$libname$release$shared_ext$major'
16065 shlibpath_var=LD_LIBRARY_PATH
16066 shlibpath_overrides_runpath=yes
16067 hardcode_into_libs=yes
16068 # ldd complains unless libraries are executable
16069 postinstall_cmds='chmod +x $lib'
16074 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16075 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16076 shlibpath_var=LD_LIBRARY_PATH
16077 shlibpath_overrides_runpath=yes
16078 if test yes = "$with_gnu_ld"; then
16085 version_type=linux # correct to gnu/linux during the next big refactor
16086 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16087 soname_spec='$libname$release$shared_ext$major'
16088 shlibpath_var=LD_LIBRARY_PATH
16089 case $host_vendor in
16091 shlibpath_overrides_runpath=no
16093 runpath_var=LD_RUN_PATH
16101 shlibpath_overrides_runpath=no
16102 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16108 if test -d /usr/nec; then
16109 version_type=linux # correct to gnu/linux during the next big refactor
16110 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
16111 soname_spec='$libname$shared_ext.$major'
16112 shlibpath_var=LD_LIBRARY_PATH
16116 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16120 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
16121 soname_spec='$libname$release$shared_ext$major'
16122 shlibpath_var=LD_LIBRARY_PATH
16123 shlibpath_overrides_runpath=yes
16124 hardcode_into_libs=yes
16125 if test yes = "$with_gnu_ld"; then
16126 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16128 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16131 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16135 sys_lib_dlsearch_path_spec='/usr/lib'
16139 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16140 version_type=linux # correct to gnu/linux during the next big refactor
16143 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16144 shlibpath_var=LD_LIBRARY_PATH
16145 shlibpath_overrides_runpath=no
16146 hardcode_into_libs=yes
16150 version_type=linux # correct to gnu/linux during the next big refactor
16151 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16152 soname_spec='$libname$release$shared_ext$major'
16153 shlibpath_var=LD_LIBRARY_PATH
16160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16161 $as_echo "$dynamic_linker" >&6; }
16162 test no = "$dynamic_linker" && can_build_shared=no
16164 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16165 if test yes = "$GCC"; then
16166 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16169 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
16170 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
16173 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
16174 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
16177 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
16178 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
16180 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
16181 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
16183 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
16184 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
16225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16226 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16227 hardcode_action_CXX=
16228 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16229 test -n "$runpath_var_CXX" ||
16230 test yes = "$hardcode_automatic_CXX"; then
16232 # We can hardcode non-existent directories.
16233 if test no != "$hardcode_direct_CXX" &&
16234 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16235 # have to relink, otherwise we might link with an installed library
16236 # when we should be linking with a yet-to-be-installed one
16237 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
16238 test no != "$hardcode_minus_L_CXX"; then
16239 # Linking always hardcodes the temporary library directory.
16240 hardcode_action_CXX=relink
16242 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16243 hardcode_action_CXX=immediate
16246 # We cannot hardcode anything, or else we can only hardcode existing
16248 hardcode_action_CXX=unsupported
16250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16251 $as_echo "$hardcode_action_CXX" >&6; }
16253 if test relink = "$hardcode_action_CXX" ||
16254 test yes = "$inherit_rpath_CXX"; then
16255 # Fast installation is not supported
16256 enable_fast_install=no
16257 elif test yes = "$shlibpath_overrides_runpath" ||
16258 test no = "$enable_shared"; then
16259 # Fast installation is not necessary
16260 enable_fast_install=needless
16269 fi # test -n "$compiler"
16272 CFLAGS=$lt_save_CFLAGS
16276 with_gnu_ld=$lt_save_with_gnu_ld
16277 lt_cv_path_LDCXX=$lt_cv_path_LD
16278 lt_cv_path_LD=$lt_save_path_LD
16279 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16280 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16281 fi # test yes != "$_lt_caught_CXX_error"
16284 ac_cpp='$CPP $CPPFLAGS'
16285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16303 ac_config_commands="$ac_config_commands libtool"
16308 # Only expand once:
16312 # Checks for library functions.
16313 for ac_header in stdlib.h
16315 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
16316 if test "x$ac_cv_header_stdlib_h" = xyes; then :
16317 cat >>confdefs.h <<_ACEOF
16318 #define HAVE_STDLIB_H 1
16325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
16326 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
16327 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
16328 $as_echo_n "(cached) " >&6
16330 if test "$cross_compiling" = yes; then :
16331 ac_cv_func_malloc_0_nonnull=no
16333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16334 /* end confdefs.h. */
16335 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
16336 # include <stdlib.h>
16344 return ! malloc (0);
16349 if ac_fn_c_try_run "$LINENO"; then :
16350 ac_cv_func_malloc_0_nonnull=yes
16352 ac_cv_func_malloc_0_nonnull=no
16354 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16355 conftest.$ac_objext conftest.beam conftest.$ac_ext
16359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
16360 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
16361 if test $ac_cv_func_malloc_0_nonnull = yes; then :
16363 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
16366 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
16368 case " $LIBOBJS " in
16369 *" malloc.$ac_objext "* ) ;;
16370 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
16375 $as_echo "#define malloc rpl_malloc" >>confdefs.h
16380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strtod" >&5
16381 $as_echo_n "checking for working strtod... " >&6; }
16382 if ${ac_cv_func_strtod+:} false; then :
16383 $as_echo_n "(cached) " >&6
16385 if test "$cross_compiling" = yes; then :
16386 ac_cv_func_strtod=no
16388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16389 /* end confdefs.h. */
16391 $ac_includes_default
16399 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
16400 char *string = " +69";
16403 value = strtod (string, &term);
16404 if (value != 69 || term != (string + 4))
16409 /* Under Solaris 2.4, strtod returns the wrong value for the
16410 terminating character under some conditions. */
16411 char *string = "NaN";
16413 strtod (string, &term);
16414 if (term != string && *(term - 1) == 0)
16421 if ac_fn_c_try_run "$LINENO"; then :
16422 ac_cv_func_strtod=yes
16424 ac_cv_func_strtod=no
16426 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16427 conftest.$ac_objext conftest.beam conftest.$ac_ext
16431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strtod" >&5
16432 $as_echo "$ac_cv_func_strtod" >&6; }
16433 if test $ac_cv_func_strtod = no; then
16434 case " $LIBOBJS " in
16435 *" strtod.$ac_objext "* ) ;;
16436 *) LIBOBJS="$LIBOBJS strtod.$ac_objext"
16440 ac_fn_c_check_func "$LINENO" "pow" "ac_cv_func_pow"
16441 if test "x$ac_cv_func_pow" = xyes; then :
16445 if test $ac_cv_func_pow = no; then
16446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
16447 $as_echo_n "checking for pow in -lm... " >&6; }
16448 if ${ac_cv_lib_m_pow+:} false; then :
16449 $as_echo_n "(cached) " >&6
16451 ac_check_lib_save_LIBS=$LIBS
16453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16454 /* end confdefs.h. */
16456 /* Override any GCC internal prototype to avoid an error.
16457 Use char because int might match the return type of a GCC
16458 builtin and then its argument prototype would still apply. */
16471 if ac_fn_c_try_link "$LINENO"; then :
16472 ac_cv_lib_m_pow=yes
16476 rm -f core conftest.err conftest.$ac_objext \
16477 conftest$ac_exeext conftest.$ac_ext
16478 LIBS=$ac_check_lib_save_LIBS
16480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
16481 $as_echo "$ac_cv_lib_m_pow" >&6; }
16482 if test "x$ac_cv_lib_m_pow" = xyes; then :
16485 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find library containing definition of pow" >&5
16486 $as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
16493 for ac_func in regcomp strchr strrchr strstr strtol strtoul
16495 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16496 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16497 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16498 cat >>confdefs.h <<_ACEOF
16499 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16506 cat >confcache <<\_ACEOF
16507 # This file is a shell script that caches the results of configure
16508 # tests run on this system so they can be shared between configure
16509 # scripts and configure runs, see configure's option --config-cache.
16510 # It is not useful on other systems. If it contains results you don't
16511 # want to keep, you may remove or edit it.
16513 # config.status only pays attention to the cache file if you give it
16514 # the --recheck option to rerun configure.
16516 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16517 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16518 # following values.
16522 # The following way of writing the cache mishandles newlines in values,
16523 # but we know of no workaround that is simple, portable, and efficient.
16524 # So, we kill variables containing newlines.
16525 # Ultrix sh set writes to stderr and can't be redirected directly,
16526 # and sets the high bit in the cache file unless we assign to the vars.
16528 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16529 eval ac_val=\$$ac_var
16533 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16534 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16537 _ | IFS | as_nl) ;; #(
16538 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16539 *) { eval $ac_var=; unset $ac_var;} ;;
16545 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16546 *${as_nl}ac_space=\ *)
16547 # `set' does not quote correctly, so add quotes: double-quote
16548 # substitution turns \\\\ into \\, and sed turns \\ into \.
16551 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16554 # `set' quotes correctly as required by POSIX, so do not add quotes.
16555 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16564 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16566 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16568 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16569 if test -w "$cache_file"; then
16570 if test "x$cache_file" != "x/dev/null"; then
16571 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16572 $as_echo "$as_me: updating cache $cache_file" >&6;}
16573 if test ! -f "$cache_file" || test -h "$cache_file"; then
16574 cat confcache >"$cache_file"
16576 case $cache_file in #(
16578 mv -f confcache "$cache_file"$$ &&
16579 mv -f "$cache_file"$$ "$cache_file" ;; #(
16581 mv -f confcache "$cache_file" ;;
16586 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16587 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16592 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16593 # Let make expand exec_prefix.
16594 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16596 DEFS=-DHAVE_CONFIG_H
16601 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16602 # 1. Remove the extension, and $U if already installed.
16603 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16604 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16605 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16606 # will be set to the directory where LIBOBJS objects are built.
16607 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16608 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16610 LIBOBJS=$ac_libobjs
16612 LTLIBOBJS=$ac_ltlibobjs
16615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
16616 $as_echo_n "checking that generated files are newer than configure... " >&6; }
16617 if test -n "$am_sleep_pid"; then
16618 # Hide warnings about reused PIDs.
16619 wait $am_sleep_pid 2>/dev/null
16621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
16622 $as_echo "done" >&6; }
16623 if test -n "$EXEEXT"; then
16625 am__EXEEXT_FALSE='#'
16627 am__EXEEXT_TRUE='#'
16631 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16632 as_fn_error $? "conditional \"AMDEP\" was never defined.
16633 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16635 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16636 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
16637 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16639 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16640 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16641 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16644 : "${CONFIG_STATUS=./config.status}"
16646 ac_clean_files_save=$ac_clean_files
16647 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16648 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16649 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16651 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16653 # Generated by $as_me.
16654 # Run this file to recreate the current configuration.
16655 # Compiler output produced by configure, useful for debugging
16656 # configure, is in config.log if it exists.
16659 ac_cs_recheck=false
16662 SHELL=\${CONFIG_SHELL-$SHELL}
16665 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16666 ## -------------------- ##
16667 ## M4sh Initialization. ##
16668 ## -------------------- ##
16670 # Be more Bourne compatible
16671 DUALCASE=1; export DUALCASE # for MKS sh
16672 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16675 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16676 # is contrary to our usage. Disable this feature.
16677 alias -g '${1+"$@"}'='"$@"'
16678 setopt NO_GLOB_SUBST
16680 case `(set -o) 2>/dev/null` in #(
16692 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16693 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16694 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16695 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16696 # Prefer a ksh shell builtin over an external printf program on Solaris,
16697 # but without wasting forks for bash or zsh.
16698 if test -z "$BASH_VERSION$ZSH_VERSION" \
16699 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16700 as_echo='print -r --'
16701 as_echo_n='print -rn --'
16702 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16703 as_echo='printf %s\n'
16704 as_echo_n='printf %s'
16706 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16707 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16708 as_echo_n='/usr/ucb/echo -n'
16710 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16711 as_echo_n_body='eval
16715 expr "X$arg" : "X\\(.*\\)$as_nl";
16716 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16718 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16720 export as_echo_n_body
16721 as_echo_n='sh -c $as_echo_n_body as_echo'
16723 export as_echo_body
16724 as_echo='sh -c $as_echo_body as_echo'
16727 # The user is always right.
16728 if test "${PATH_SEPARATOR+set}" != set; then
16730 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16731 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16738 # We need space, tab and new line, in precisely that order. Quoting is
16739 # there to prevent editors from complaining about space-tab.
16740 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16741 # splitting by setting IFS to empty value.)
16744 # Find who we are. Look in the path if we contain no directory separator.
16747 *[\\/]* ) as_myself=$0 ;;
16748 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16749 for as_dir in $PATH
16752 test -z "$as_dir" && as_dir=.
16753 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16759 # We did not find ourselves, most probably we were run as `sh COMMAND'
16760 # in which case we are not to be found in the path.
16761 if test "x$as_myself" = x; then
16764 if test ! -f "$as_myself"; then
16765 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16769 # Unset variables that we do not need and which cause bugs (e.g. in
16770 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16771 # suppresses any "Segmentation fault" message there. '((' could
16772 # trigger a bug in pdksh 5.2.14.
16773 for as_var in BASH_ENV ENV MAIL MAILPATH
16774 do eval test x\${$as_var+set} = xset \
16775 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16788 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16791 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16792 # ----------------------------------------
16793 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16794 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16795 # script with STATUS, using 1 if that was 0.
16798 as_status=$1; test $as_status -eq 0 && as_status=1
16800 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16801 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16803 $as_echo "$as_me: error: $2" >&2
16804 as_fn_exit $as_status
16808 # as_fn_set_status STATUS
16809 # -----------------------
16810 # Set $? to STATUS, without forking.
16811 as_fn_set_status ()
16814 } # as_fn_set_status
16816 # as_fn_exit STATUS
16817 # -----------------
16818 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16822 as_fn_set_status $1
16828 # Portably unset VAR.
16831 { eval $1=; unset $1;}
16833 as_unset=as_fn_unset
16834 # as_fn_append VAR VALUE
16835 # ----------------------
16836 # Append the text in VALUE to the end of the definition contained in VAR. Take
16837 # advantage of any shell optimizations that allow amortized linear growth over
16838 # repeated appends, instead of the typical quadratic growth present in naive
16840 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16841 eval 'as_fn_append ()
16852 # as_fn_arith ARG...
16853 # ------------------
16854 # Perform arithmetic evaluation on the ARGs, and store the result in the
16855 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16856 # must be portable across $(()) and expr.
16857 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16858 eval 'as_fn_arith ()
16865 as_val=`expr "$@" || test $? -eq 1`
16870 if expr a : '\(a\)' >/dev/null 2>&1 &&
16871 test "X`expr 00001 : '.*\(...\)'`" = X001; then
16877 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16878 as_basename=basename
16883 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16889 as_me=`$as_basename -- "$0" ||
16890 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16891 X"$0" : 'X\(//\)$' \| \
16892 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16894 sed '/^.*\/\([^/][^/]*\)\/*$/{
16908 # Avoid depending upon Character Ranges.
16909 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16910 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16911 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16912 as_cr_digits='0123456789'
16913 as_cr_alnum=$as_cr_Letters$as_cr_digits
16915 ECHO_C= ECHO_N= ECHO_T=
16916 case `echo -n x` in #(((((
16918 case `echo 'xy\c'` in
16919 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
16921 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
16928 rm -f conf$$ conf$$.exe conf$$.file
16929 if test -d conf$$.dir; then
16930 rm -f conf$$.dir/conf$$.file
16933 mkdir conf$$.dir 2>/dev/null
16935 if (echo >conf$$.file) 2>/dev/null; then
16936 if ln -s conf$$.file conf$$ 2>/dev/null; then
16938 # ... but there are two gotchas:
16939 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16940 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16941 # In both cases, we have to default to `cp -pR'.
16942 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16944 elif ln conf$$.file conf$$ 2>/dev/null; then
16952 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16953 rmdir conf$$.dir 2>/dev/null
16958 # Create "$as_dir" as a directory, including parents if necessary.
16963 -*) as_dir=./$as_dir;;
16965 test -d "$as_dir" || eval $as_mkdir_p || {
16969 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16970 *) as_qdir=$as_dir;;
16972 as_dirs="'$as_qdir' $as_dirs"
16973 as_dir=`$as_dirname -- "$as_dir" ||
16974 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16975 X"$as_dir" : 'X\(//\)[^/]' \| \
16976 X"$as_dir" : 'X\(//\)$' \| \
16977 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16978 $as_echo X"$as_dir" |
16979 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16983 /^X\(\/\/\)[^/].*/{
16996 test -d "$as_dir" && break
16998 test -z "$as_dirs" || eval "mkdir $as_dirs"
16999 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17003 if mkdir -p . 2>/dev/null; then
17004 as_mkdir_p='mkdir -p "$as_dir"'
17006 test -d ./-p && rmdir ./-p
17011 # as_fn_executable_p FILE
17012 # -----------------------
17013 # Test if FILE is an executable regular file.
17014 as_fn_executable_p ()
17016 test -f "$1" && test -x "$1"
17017 } # as_fn_executable_p
17018 as_test_x='test -x'
17019 as_executable_p=as_fn_executable_p
17021 # Sed expression to map a string onto a valid CPP name.
17022 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17024 # Sed expression to map a string onto a valid variable name.
17025 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17029 ## ----------------------------------- ##
17030 ## Main body of $CONFIG_STATUS script. ##
17031 ## ----------------------------------- ##
17033 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17035 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17036 # Save the log message, to keep $0 and so on meaningful, and to
17037 # report actual input values of CONFIG_FILES etc. instead of their
17038 # values after options handling.
17040 This file was extended by ACL - Andromeda Class Library $as_me 0.1, which was
17041 generated by GNU Autoconf 2.69. Invocation command line was
17043 CONFIG_FILES = $CONFIG_FILES
17044 CONFIG_HEADERS = $CONFIG_HEADERS
17045 CONFIG_LINKS = $CONFIG_LINKS
17046 CONFIG_COMMANDS = $CONFIG_COMMANDS
17049 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17054 case $ac_config_files in *"
17055 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17058 case $ac_config_headers in *"
17059 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17063 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17064 # Files that config.status was made for.
17065 config_files="$ac_config_files"
17066 config_headers="$ac_config_headers"
17067 config_commands="$ac_config_commands"
17071 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17073 \`$as_me' instantiates files and other configuration actions
17074 from templates according to the current configuration. Unless the files
17075 and actions are specified as TAGs, all are instantiated by default.
17077 Usage: $0 [OPTION]... [TAG]...
17079 -h, --help print this help, then exit
17080 -V, --version print version number and configuration settings, then exit
17081 --config print configuration, then exit
17082 -q, --quiet, --silent
17083 do not print progress messages
17084 -d, --debug don't remove temporary files
17085 --recheck update $as_me by reconfiguring in the same conditions
17086 --file=FILE[:TEMPLATE]
17087 instantiate the configuration file FILE
17088 --header=FILE[:TEMPLATE]
17089 instantiate the configuration header FILE
17091 Configuration files:
17094 Configuration headers:
17097 Configuration commands:
17100 Report bugs to <arjen@androemda.nl>."
17103 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17104 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17106 ACL - Andromeda Class Library config.status 0.1
17107 configured by $0, generated by GNU Autoconf 2.69,
17108 with options \\"\$ac_cs_config\\"
17110 Copyright (C) 2012 Free Software Foundation, Inc.
17111 This config.status script is free software; the Free Software Foundation
17112 gives unlimited permission to copy, distribute and modify it."
17119 test -n "\$AWK" || AWK=awk
17122 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17123 # The default lists apply if the user does not specify any file.
17129 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17130 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17134 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17146 # Handling of the options.
17147 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17149 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17150 $as_echo "$ac_cs_version"; exit ;;
17151 --config | --confi | --conf | --con | --co | --c )
17152 $as_echo "$ac_cs_config"; exit ;;
17153 --debug | --debu | --deb | --de | --d | -d )
17155 --file | --fil | --fi | --f )
17158 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17159 '') as_fn_error $? "missing file argument" ;;
17161 as_fn_append CONFIG_FILES " '$ac_optarg'"
17162 ac_need_defaults=false;;
17163 --header | --heade | --head | --hea )
17166 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17168 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17169 ac_need_defaults=false;;
17171 # Conflict between --help and --header
17172 as_fn_error $? "ambiguous option: \`$1'
17173 Try \`$0 --help' for more information.";;
17174 --help | --hel | -h )
17175 $as_echo "$ac_cs_usage"; exit ;;
17176 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17177 | -silent | --silent | --silen | --sile | --sil | --si | --s)
17180 # This is an error.
17181 -*) as_fn_error $? "unrecognized option: \`$1'
17182 Try \`$0 --help' for more information." ;;
17184 *) as_fn_append ac_config_targets " $1"
17185 ac_need_defaults=false ;;
17191 ac_configure_extra_args=
17193 if $ac_cs_silent; then
17195 ac_configure_extra_args="$ac_configure_extra_args --silent"
17199 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17200 if \$ac_cs_recheck; then
17201 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17203 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17204 CONFIG_SHELL='$SHELL'
17205 export CONFIG_SHELL
17210 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17214 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17215 ## Running $as_me. ##
17221 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17225 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
17228 # The HP-UX ksh and POSIX shell print the target directory to stdout
17229 # if CDPATH is set.
17230 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17232 sed_quote_subst='$sed_quote_subst'
17233 double_quote_subst='$double_quote_subst'
17234 delay_variable_subst='$delay_variable_subst'
17235 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17236 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17237 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17238 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17239 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17240 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17241 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
17242 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17243 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17244 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17245 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17246 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17247 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17248 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17249 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17250 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17251 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17252 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17253 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17254 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17255 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17256 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17257 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17258 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17259 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17260 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17261 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17262 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17263 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17264 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17265 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17266 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17267 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17268 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17269 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17270 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17271 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17272 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17273 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17274 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17275 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17276 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17277 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17278 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17279 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17280 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17281 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17282 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17283 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17284 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17285 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17286 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17287 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17288 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17289 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17290 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17291 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
17292 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17293 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"`'
17294 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
17295 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17296 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17297 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
17298 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17299 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17300 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17301 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17302 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17303 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17304 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17305 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17306 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17307 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17308 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17309 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17310 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17311 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17312 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17313 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17314 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17315 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17316 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17317 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17318 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17319 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17320 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17321 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17322 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17323 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17324 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17325 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17326 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17327 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17328 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17329 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17330 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17331 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17332 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17333 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17334 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17335 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17336 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17337 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17338 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17339 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17340 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17341 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17342 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17343 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17344 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17345 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17346 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17347 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17348 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17349 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17350 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17351 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17352 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17353 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17354 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17355 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17356 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17357 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17358 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17359 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17360 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17361 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17362 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
17363 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
17364 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17365 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17366 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17367 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17368 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17369 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17370 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
17371 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
17372 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
17373 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
17374 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
17375 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
17376 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
17377 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
17378 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17379 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17380 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
17381 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
17382 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
17383 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
17384 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
17385 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
17386 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
17387 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
17388 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
17389 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17390 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17391 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
17392 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17393 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17394 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17395 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17396 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17397 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17398 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
17399 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17400 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17401 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17402 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
17403 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
17404 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
17405 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
17406 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
17407 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
17408 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
17409 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
17410 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
17411 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17412 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17413 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17414 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17415 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17416 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
17417 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
17418 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
17419 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17420 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17421 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
17422 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
17423 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
17426 LTCFLAGS='$LTCFLAGS'
17427 compiler='$compiler_DEFAULT'
17429 # A function that is used when there is no print builtin or printf.
17430 func_fallback_echo ()
17432 eval 'cat <<_LTECHO_EOF
17437 # Quote evaled strings.
17452 deplibs_check_method \
17457 sharedlib_from_linklib_cmd \
17460 archiver_list_spec \
17466 lt_cv_sys_global_symbol_pipe \
17467 lt_cv_sys_global_symbol_to_cdecl \
17468 lt_cv_sys_global_symbol_to_import \
17469 lt_cv_sys_global_symbol_to_c_name_address \
17470 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17471 lt_cv_nm_interface \
17472 nm_file_list_spec \
17473 lt_cv_truncate_bin \
17474 lt_prog_compiler_no_builtin_flag \
17475 lt_prog_compiler_pic \
17476 lt_prog_compiler_wl \
17477 lt_prog_compiler_static \
17478 lt_cv_prog_compiler_c_o \
17487 export_dynamic_flag_spec \
17488 whole_archive_flag_spec \
17489 compiler_needs_object \
17491 allow_undefined_flag \
17492 no_undefined_flag \
17493 hardcode_libdir_flag_spec \
17494 hardcode_libdir_separator \
17498 variables_saved_for_relink \
17500 library_names_spec \
17502 install_override_mode \
17506 compiler_lib_search_dirs \
17511 compiler_lib_search_path \
17515 lt_prog_compiler_no_builtin_flag_CXX \
17516 lt_prog_compiler_pic_CXX \
17517 lt_prog_compiler_wl_CXX \
17518 lt_prog_compiler_static_CXX \
17519 lt_cv_prog_compiler_c_o_CXX \
17520 export_dynamic_flag_spec_CXX \
17521 whole_archive_flag_spec_CXX \
17522 compiler_needs_object_CXX \
17524 allow_undefined_flag_CXX \
17525 no_undefined_flag_CXX \
17526 hardcode_libdir_flag_spec_CXX \
17527 hardcode_libdir_separator_CXX \
17528 exclude_expsyms_CXX \
17529 include_expsyms_CXX \
17530 file_list_spec_CXX \
17531 compiler_lib_search_dirs_CXX \
17532 predep_objects_CXX \
17533 postdep_objects_CXX \
17536 compiler_lib_search_path_CXX; do
17537 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17538 *[\\\\\\\`\\"\\\$]*)
17539 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
17542 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17547 # Double-quote double-evaled strings.
17548 for var in reload_cmds \
17549 old_postinstall_cmds \
17550 old_postuninstall_cmds \
17552 extract_expsyms_cmds \
17553 old_archive_from_new_cmds \
17554 old_archive_from_expsyms_cmds \
17556 archive_expsym_cmds \
17558 module_expsym_cmds \
17559 export_symbols_cmds \
17563 postuninstall_cmds \
17565 sys_lib_search_path_spec \
17566 configure_time_dlsearch_path \
17567 configure_time_lt_sys_library_path \
17569 old_archive_cmds_CXX \
17570 old_archive_from_new_cmds_CXX \
17571 old_archive_from_expsyms_cmds_CXX \
17573 archive_expsym_cmds_CXX \
17575 module_expsym_cmds_CXX \
17576 export_symbols_cmds_CXX \
17578 postlink_cmds_CXX; do
17579 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17580 *[\\\\\\\`\\"\\\$]*)
17581 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
17584 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17589 ac_aux_dir='$ac_aux_dir'
17591 # See if we are running on zsh, and set the options that allow our
17592 # commands through without removal of \ escapes INIT.
17593 if test -n "\${ZSH_VERSION+set}"; then
17594 setopt NO_GLOB_SUBST
17610 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17612 # Handling of arguments.
17613 for ac_config_target in $ac_config_targets
17615 case $ac_config_target in
17616 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17617 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
17618 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
17619 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
17620 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17621 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17622 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17624 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17629 # If the user did not use the arguments to specify the items to instantiate,
17630 # then the envvar interface is used. Set only those that are not.
17631 # We use the long form for the default assignment because of an extremely
17632 # bizarre bug on SunOS 4.1.3.
17633 if $ac_need_defaults; then
17634 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17635 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17636 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17639 # Have a temporary directory for convenience. Make it in the build tree
17640 # simply because there is no reason against having it here, and in addition,
17641 # creating and moving files from /tmp can sometimes cause problems.
17642 # Hook for its removal unless debugging.
17643 # Note that there is a small window in which the directory will not be cleaned:
17644 # after its creation but before its name has been assigned to `$tmp'.
17648 trap 'exit_status=$?
17649 : "${ac_tmp:=$tmp}"
17650 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17652 trap 'as_fn_exit 1' 1 2 13 15
17654 # Create a (secure) tmp directory for tmp files.
17657 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17661 tmp=./conf$$-$RANDOM
17662 (umask 077 && mkdir "$tmp")
17663 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17666 # Set up the scripts for CONFIG_FILES section.
17667 # No need to generate them if there are no CONFIG_FILES.
17668 # This happens for instance with `./config.status config.h'.
17669 if test -n "$CONFIG_FILES"; then
17672 ac_cr=`echo X | tr X '\015'`
17673 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17674 # But we know of no other shell where ac_cr would be empty at this
17675 # point, so we can use a bashism as a fallback.
17676 if test "x$ac_cr" = x; then
17677 eval ac_cr=\$\'\\r\'
17679 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17680 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17683 ac_cs_awk_cr=$ac_cr
17686 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17691 echo "cat >conf$$subs.awk <<_ACEOF" &&
17692 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17694 } >conf$$subs.sh ||
17695 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17696 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17698 for ac_last_try in false false false false false :; do
17699 . ./conf$$subs.sh ||
17700 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17702 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17703 if test $ac_delim_n = $ac_delim_num; then
17705 elif $ac_last_try; then
17706 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17708 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17711 rm -f conf$$subs.sh
17713 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17714 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17718 s/^/S["/; s/!.*/"]=/
17728 s/\(.\{148\}\)..*/\1/
17730 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17735 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17742 s/\(.\{148\}\)..*/\1/
17744 s/["\\]/\\&/g; s/^/"/; s/$/"/
17748 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17753 ' <conf$$subs.awk | sed '
17758 ' >>$CONFIG_STATUS || ac_write_fail=1
17759 rm -f conf$$subs.awk
17760 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17762 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17763 for (key in S) S_is_set[key] = 1
17769 nfields = split(line, field, "@")
17771 len = length(field[1])
17772 for (i = 2; i < nfields; i++) {
17774 keylen = length(key)
17775 if (S_is_set[key]) {
17777 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17778 len += length(value) + length(field[++i])
17789 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17790 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17791 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17794 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17795 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17798 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17799 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17800 # trailing colons and then remove the whole line if VPATH becomes empty
17801 # (actually we leave an empty line to preserve line numbers).
17802 if test "x$srcdir" = x.; then
17803 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17821 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17822 fi # test -n "$CONFIG_FILES"
17824 # Set up the scripts for CONFIG_HEADERS section.
17825 # No need to generate them if there are no CONFIG_HEADERS.
17826 # This happens for instance with `./config.status Makefile'.
17827 if test -n "$CONFIG_HEADERS"; then
17828 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
17832 # Transform confdefs.h into an awk script `defines.awk', embedded as
17833 # here-document in config.status, that substitutes the proper values into
17834 # config.h.in to produce config.h.
17836 # Create a delimiter string that does not exist in confdefs.h, to ease
17837 # handling of long lines.
17839 for ac_last_try in false false :; do
17840 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
17841 if test -z "$ac_tt"; then
17843 elif $ac_last_try; then
17844 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17846 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17850 # For the awk script, D is an array of macro values keyed by name,
17851 # likewise P contains macro parameters if any. Preserve backslash
17852 # newline sequences.
17854 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17856 s/.\{148\}/&'"$ac_delim"'/g
17859 s/^[ ]*#[ ]*define[ ][ ]*/ /
17866 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17868 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
17872 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17873 D["\1"]=" \3\\\\\\n"\\/p
17875 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17880 s/.\{148\}/&'"$ac_delim"'/g
17885 s/["\\]/\\&/g; s/^/"/; s/$/"/p
17888 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17890 ' <confdefs.h | sed '
17891 s/'"$ac_delim"'/"\\\
17892 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17894 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17895 for (key in D) D_is_set[key] = 1
17898 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17900 split(line, arg, " ")
17901 if (arg[1] == "#") {
17905 defundef = substr(arg[1], 2)
17908 split(mac1, mac2, "(") #)
17910 prefix = substr(line, 1, index(line, defundef) - 1)
17911 if (D_is_set[macro]) {
17912 # Preserve the white space surrounding the "#".
17913 print prefix "define", macro P[macro] D[macro]
17916 # Replace #undef with comments. This is necessary, for example,
17917 # in the case of _POSIX_SOURCE, which is predefined and required
17918 # on some systems where configure will not decide to define it.
17919 if (defundef == "undef") {
17920 print "/*", prefix defundef, macro, "*/"
17928 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17929 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17930 fi # test -n "$CONFIG_HEADERS"
17933 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17938 :[FHLC]) ac_mode=$ac_tag; continue;;
17940 case $ac_mode$ac_tag in
17942 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17943 :[FH]-) ac_tag=-:-;;
17944 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17961 -) ac_f="$ac_tmp/stdin";;
17962 *) # Look for the file first in the build tree, then in the source tree
17963 # (if the path is not absolute). The absolute path cannot be DOS-style,
17964 # because $ac_f cannot contain `:'.
17968 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17970 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17972 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17973 as_fn_append ac_file_inputs " '$ac_f'"
17976 # Let's still pretend it is `configure' which instantiates (i.e., don't
17977 # use $as_me), people would be surprised to read:
17978 # /* config.h. Generated by config.status. */
17979 configure_input='Generated from '`
17980 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17982 if test x"$ac_file" != x-; then
17983 configure_input="$ac_file. $configure_input"
17984 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17985 $as_echo "$as_me: creating $ac_file" >&6;}
17987 # Neutralize special characters interpreted by sed in replacement strings.
17988 case $configure_input in #(
17989 *\&* | *\|* | *\\* )
17990 ac_sed_conf_input=`$as_echo "$configure_input" |
17991 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17992 *) ac_sed_conf_input=$configure_input;;
17996 *:-:* | *:-) cat >"$ac_tmp/stdin" \
17997 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18002 ac_dir=`$as_dirname -- "$ac_file" ||
18003 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18004 X"$ac_file" : 'X\(//\)[^/]' \| \
18005 X"$ac_file" : 'X\(//\)$' \| \
18006 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18007 $as_echo X"$ac_file" |
18008 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18012 /^X\(\/\/\)[^/].*/{
18025 as_dir="$ac_dir"; as_fn_mkdir_p
18029 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18031 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18032 # A ".." for each directory in $ac_dir_suffix.
18033 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18034 case $ac_top_builddir_sub in
18035 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18036 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18039 ac_abs_top_builddir=$ac_pwd
18040 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18041 # for backward compatibility:
18042 ac_top_builddir=$ac_top_build_prefix
18045 .) # We are building in place.
18047 ac_top_srcdir=$ac_top_builddir_sub
18048 ac_abs_top_srcdir=$ac_pwd ;;
18049 [\\/]* | ?:[\\/]* ) # Absolute name.
18050 ac_srcdir=$srcdir$ac_dir_suffix;
18051 ac_top_srcdir=$srcdir
18052 ac_abs_top_srcdir=$srcdir ;;
18053 *) # Relative name.
18054 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18055 ac_top_srcdir=$ac_top_build_prefix$srcdir
18056 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18058 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18068 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18069 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18071 ac_MKDIR_P=$MKDIR_P
18073 [\\/$]* | ?:[\\/]* ) ;;
18074 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18078 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18079 # If the template does not know about datarootdir, expand it.
18080 # FIXME: This hack should be removed a few years after 2.60.
18081 ac_datarootdir_hack=; ac_datarootdir_seen=
18092 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18093 *datarootdir*) ac_datarootdir_seen=yes;;
18094 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18096 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18098 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18099 ac_datarootdir_hack='
18100 s&@datadir@&$datadir&g
18101 s&@docdir@&$docdir&g
18102 s&@infodir@&$infodir&g
18103 s&@localedir@&$localedir&g
18104 s&@mandir@&$mandir&g
18105 s&\\\${datarootdir}&$datarootdir&g' ;;
18109 # Neutralize VPATH when `$srcdir' = `.'.
18110 # Shell code in configure.ac might set extrasub.
18111 # FIXME: do we really want to maintain this feature?
18112 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18113 ac_sed_extra="$ac_vpsub
18116 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18118 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18119 s|@configure_input@|$ac_sed_conf_input|;t t
18120 s&@top_builddir@&$ac_top_builddir_sub&;t t
18121 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18122 s&@srcdir@&$ac_srcdir&;t t
18123 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18124 s&@top_srcdir@&$ac_top_srcdir&;t t
18125 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18126 s&@builddir@&$ac_builddir&;t t
18127 s&@abs_builddir@&$ac_abs_builddir&;t t
18128 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18129 s&@INSTALL@&$ac_INSTALL&;t t
18130 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18131 $ac_datarootdir_hack
18133 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18134 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18136 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18137 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18138 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18139 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18141 which seems to be undefined. Please make sure it is defined" >&5
18142 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18143 which seems to be undefined. Please make sure it is defined" >&2;}
18145 rm -f "$ac_tmp/stdin"
18147 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18148 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18150 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18156 if test x"$ac_file" != x-; then
18158 $as_echo "/* $configure_input */" \
18159 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18160 } >"$ac_tmp/config.h" \
18161 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18162 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18163 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18164 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18167 mv "$ac_tmp/config.h" "$ac_file" \
18168 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18171 $as_echo "/* $configure_input */" \
18172 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18173 || as_fn_error $? "could not create -" "$LINENO" 5
18175 # Compute "$ac_file"'s index in $config_headers.
18178 for _am_header in $config_headers :; do
18179 case $_am_header in
18180 $_am_arg | $_am_arg:* )
18183 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18186 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18187 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18188 X"$_am_arg" : 'X\(//\)[^/]' \| \
18189 X"$_am_arg" : 'X\(//\)$' \| \
18190 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18191 $as_echo X"$_am_arg" |
18192 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18196 /^X\(\/\/\)[^/].*/{
18208 s/.*/./; q'`/stamp-h$_am_stamp_count
18211 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18212 $as_echo "$as_me: executing $ac_file commands" >&6;}
18217 case $ac_file$ac_mode in
18218 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18219 # Older Autoconf quotes --file arguments for eval, but not when files
18220 # are listed without --file. Let's play safe and only enable the eval
18221 # if we detect the quoting.
18222 # TODO: see whether this extra hack can be removed once we start
18223 # requiring Autoconf 2.70 or later.
18224 case $CONFIG_FILES in #(
18226 eval set x "$CONFIG_FILES" ;; #(
18228 set x $CONFIG_FILES ;; #(
18233 # Used to flag and report bootstrapping failures.
18237 # Strip MF so we end up with the name of the file.
18238 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
18239 # Check whether this is an Automake generated Makefile which includes
18240 # dependency-tracking related rules and includes.
18241 # Grep'ing the whole file directly is not great: AIX grep has a line
18242 # limit of 2048, but all sed's we know have understand at least 4000.
18243 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
18245 am_dirpart=`$as_dirname -- "$am_mf" ||
18246 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18247 X"$am_mf" : 'X\(//\)[^/]' \| \
18248 X"$am_mf" : 'X\(//\)$' \| \
18249 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
18250 $as_echo X"$am_mf" |
18251 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18255 /^X\(\/\/\)[^/].*/{
18268 am_filepart=`$as_basename -- "$am_mf" ||
18269 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
18270 X"$am_mf" : 'X\(//\)$' \| \
18271 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
18272 $as_echo X/"$am_mf" |
18273 sed '/^.*\/\([^/][^/]*\)\/*$/{
18286 { echo "$as_me:$LINENO: cd "$am_dirpart" \
18287 && sed -e '/# am--include-marker/d' "$am_filepart" \
18288 | $MAKE -f - am--depfiles" >&5
18289 (cd "$am_dirpart" \
18290 && sed -e '/# am--include-marker/d' "$am_filepart" \
18291 | $MAKE -f - am--depfiles) >&5 2>&5
18293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18294 (exit $ac_status); } || am_rc=$?
18296 if test $am_rc -ne 0; then
18297 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18298 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18299 as_fn_error $? "Something went wrong bootstrapping makefile fragments
18300 for automatic dependency tracking. Try re-running configure with the
18301 '--disable-dependency-tracking' option to at least be able to build
18302 the package (albeit without support for automatic dependency tracking).
18303 See \`config.log' for more details" "$LINENO" 5; }
18305 { am_dirpart=; unset am_dirpart;}
18306 { am_filepart=; unset am_filepart;}
18307 { am_mf=; unset am_mf;}
18308 { am_rc=; unset am_rc;}
18309 rm -f conftest-deps.mk
18314 # See if we are running on zsh, and set the options that allow our
18315 # commands through without removal of \ escapes.
18316 if test -n "${ZSH_VERSION+set}"; then
18317 setopt NO_GLOB_SUBST
18321 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18324 cat <<_LT_EOF >> "$cfgfile"
18326 # Generated automatically by $as_me ($PACKAGE) $VERSION
18327 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18328 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18330 # Provide generalized library-building support services.
18331 # Written by Gordon Matzigkeit, 1996
18333 # Copyright (C) 2014 Free Software Foundation, Inc.
18334 # This is free software; see the source for copying conditions. There is NO
18335 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18337 # GNU Libtool is free software; you can redistribute it and/or modify
18338 # it under the terms of the GNU General Public License as published by
18339 # the Free Software Foundation; either version 2 of of the License, or
18340 # (at your option) any later version.
18342 # As a special exception to the GNU General Public License, if you
18343 # distribute this file as part of a program or library that is built
18344 # using GNU Libtool, you may include this file under the same
18345 # distribution terms that you use for the rest of that program.
18347 # GNU Libtool is distributed in the hope that it will be useful, but
18348 # WITHOUT ANY WARRANTY; without even the implied warranty of
18349 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18350 # GNU General Public License for more details.
18352 # You should have received a copy of the GNU General Public License
18353 # along with this program. If not, see <http://www.gnu.org/licenses/>.
18356 # The names of the tagged configurations supported by this script.
18357 available_tags='CXX '
18359 # Configured defaults for sys_lib_dlsearch_path munging.
18360 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
18362 # ### BEGIN LIBTOOL CONFIG
18364 # Which release of libtool.m4 was used?
18365 macro_version=$macro_version
18366 macro_revision=$macro_revision
18368 # Whether or not to build shared libraries.
18369 build_libtool_libs=$enable_shared
18371 # Whether or not to build static libraries.
18372 build_old_libs=$enable_static
18374 # What type of objects to build.
18377 # Whether or not to optimize for fast installation.
18378 fast_install=$enable_fast_install
18380 # Shared archive member basename,for filename based shared library versioning on AIX.
18381 shared_archive_member_spec=$shared_archive_member_spec
18383 # Shell to use when invoking shell scripts.
18386 # An echo program that protects backslashes.
18389 # The PATH separator for the build system.
18390 PATH_SEPARATOR=$lt_PATH_SEPARATOR
18393 host_alias=$host_alias
18397 # The build system.
18398 build_alias=$build_alias
18402 # A sed program that does not truncate output.
18405 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18406 Xsed="\$SED -e 1s/^X//"
18408 # A grep program that handles long lines.
18414 # A literal string matcher.
18417 # A BSD- or MS-compatible name lister.
18420 # Whether we need soft or hard links.
18423 # What is the maximum length of a command?
18424 max_cmd_len=$max_cmd_len
18426 # Object file suffix (normally "o").
18429 # Executable file suffix (normally "").
18432 # whether the shell understands "unset".
18435 # turn spaces into newlines.
18438 # turn newlines into spaces.
18441 # convert \$build file names to \$host format.
18442 to_host_file_cmd=$lt_cv_to_host_file_cmd
18444 # convert \$build files to toolchain format.
18445 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18447 # An object symbol dumper.
18448 OBJDUMP=$lt_OBJDUMP
18450 # Method to check whether dependent libraries are shared objects.
18451 deplibs_check_method=$lt_deplibs_check_method
18453 # Command to use when deplibs_check_method = "file_magic".
18454 file_magic_cmd=$lt_file_magic_cmd
18456 # How to find potential files when deplibs_check_method = "file_magic".
18457 file_magic_glob=$lt_file_magic_glob
18459 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18460 want_nocaseglob=$lt_want_nocaseglob
18462 # DLL creation program.
18463 DLLTOOL=$lt_DLLTOOL
18465 # Command to associate shared and link libraries.
18466 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18471 # Flags to create an archive.
18472 AR_FLAGS=$lt_AR_FLAGS
18474 # How to feed a file listing to the archiver.
18475 archiver_list_spec=$lt_archiver_list_spec
18477 # A symbol stripping program.
18480 # Commands used to install an old-style archive.
18482 old_postinstall_cmds=$lt_old_postinstall_cmds
18483 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18485 # Whether to use a lock for old archive extraction.
18486 lock_old_archive_extraction=$lock_old_archive_extraction
18491 # LTCC compiler flags.
18492 LTCFLAGS=$lt_CFLAGS
18494 # Take the output of nm and produce a listing of raw symbols and C names.
18495 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18497 # Transform the output of nm in a proper C declaration.
18498 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18500 # Transform the output of nm into a list of symbols to manually relocate.
18501 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
18503 # Transform the output of nm in a C name address pair.
18504 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18506 # Transform the output of nm in a C name address pair when lib prefix is needed.
18507 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18509 # The name lister interface.
18510 nm_interface=$lt_lt_cv_nm_interface
18512 # Specify filename containing input files for \$NM.
18513 nm_file_list_spec=$lt_nm_file_list_spec
18515 # The root where to search for dependent libraries,and where our libraries should be installed.
18516 lt_sysroot=$lt_sysroot
18518 # Command to truncate a binary pipe.
18519 lt_truncate_bin=$lt_lt_cv_truncate_bin
18521 # The name of the directory that contains temporary libtool files.
18524 # Used to examine libraries when file_magic_cmd begins with "file".
18525 MAGIC_CMD=$MAGIC_CMD
18527 # Must we lock files when doing compilation?
18528 need_locks=$lt_need_locks
18531 MANIFEST_TOOL=$lt_MANIFEST_TOOL
18533 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18534 DSYMUTIL=$lt_DSYMUTIL
18536 # Tool to change global to local symbols on Mac OS X.
18539 # Tool to manipulate fat objects and archives on Mac OS X.
18542 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18545 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18546 OTOOL64=$lt_OTOOL64
18548 # Old archive suffix (normally "a").
18551 # Shared library suffix (normally ".so").
18552 shrext_cmds=$lt_shrext_cmds
18554 # The commands to extract the exported symbol list from a shared archive.
18555 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18557 # Variables whose values should be saved in libtool wrapper scripts and
18558 # restored at link time.
18559 variables_saved_for_relink=$lt_variables_saved_for_relink
18561 # Do we need the "lib" prefix for modules?
18562 need_lib_prefix=$need_lib_prefix
18564 # Do we need a version for libraries?
18565 need_version=$need_version
18567 # Library versioning type.
18568 version_type=$version_type
18570 # Shared library runtime path variable.
18571 runpath_var=$runpath_var
18573 # Shared library path variable.
18574 shlibpath_var=$shlibpath_var
18576 # Is shlibpath searched before the hard-coded library search path?
18577 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18579 # Format of library name prefix.
18580 libname_spec=$lt_libname_spec
18582 # List of archive names. First name is the real one, the rest are links.
18583 # The last name is the one that the linker finds with -lNAME
18584 library_names_spec=$lt_library_names_spec
18586 # The coded name of the library, if different from the real name.
18587 soname_spec=$lt_soname_spec
18589 # Permission mode override for installation of shared libraries.
18590 install_override_mode=$lt_install_override_mode
18592 # Command to use after installation of a shared archive.
18593 postinstall_cmds=$lt_postinstall_cmds
18595 # Command to use after uninstallation of a shared archive.
18596 postuninstall_cmds=$lt_postuninstall_cmds
18598 # Commands used to finish a libtool library installation in a directory.
18599 finish_cmds=$lt_finish_cmds
18601 # As "finish_cmds", except a single script fragment to be evaled but
18603 finish_eval=$lt_finish_eval
18605 # Whether we should hardcode library paths into libraries.
18606 hardcode_into_libs=$hardcode_into_libs
18608 # Compile-time system search path for libraries.
18609 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18611 # Detected run-time system search path for libraries.
18612 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
18614 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
18615 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
18617 # Whether dlopen is supported.
18618 dlopen_support=$enable_dlopen
18620 # Whether dlopen of programs is supported.
18621 dlopen_self=$enable_dlopen_self
18623 # Whether dlopen of statically linked programs is supported.
18624 dlopen_self_static=$enable_dlopen_self_static
18626 # Commands to strip libraries.
18627 old_striplib=$lt_old_striplib
18628 striplib=$lt_striplib
18631 # The linker used to build libraries.
18634 # How to create reloadable object files.
18635 reload_flag=$lt_reload_flag
18636 reload_cmds=$lt_reload_cmds
18638 # Commands used to build an old-style archive.
18639 old_archive_cmds=$lt_old_archive_cmds
18641 # A language specific compiler.
18644 # Is the compiler the GNU compiler?
18647 # Compiler flag to turn off builtin functions.
18648 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18650 # Additional compiler flags for building library objects.
18651 pic_flag=$lt_lt_prog_compiler_pic
18653 # How to pass a linker flag through the compiler.
18654 wl=$lt_lt_prog_compiler_wl
18656 # Compiler flag to prevent dynamic linking.
18657 link_static_flag=$lt_lt_prog_compiler_static
18659 # Does compiler simultaneously support -c and -o options?
18660 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18662 # Whether or not to add -lc for building shared libraries.
18663 build_libtool_need_lc=$archive_cmds_need_lc
18665 # Whether or not to disallow shared libs when runtime libs are static.
18666 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18668 # Compiler flag to allow reflexive dlopens.
18669 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18671 # Compiler flag to generate shared objects directly from archives.
18672 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18674 # Whether the compiler copes with passing no objects directly.
18675 compiler_needs_object=$lt_compiler_needs_object
18677 # Create an old-style archive from a shared archive.
18678 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18680 # Create a temporary old-style archive to link instead of a shared archive.
18681 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18683 # Commands used to build a shared archive.
18684 archive_cmds=$lt_archive_cmds
18685 archive_expsym_cmds=$lt_archive_expsym_cmds
18687 # Commands used to build a loadable module if different from building
18688 # a shared archive.
18689 module_cmds=$lt_module_cmds
18690 module_expsym_cmds=$lt_module_expsym_cmds
18692 # Whether we are building with GNU ld or not.
18693 with_gnu_ld=$lt_with_gnu_ld
18695 # Flag that allows shared libraries with undefined symbols to be built.
18696 allow_undefined_flag=$lt_allow_undefined_flag
18698 # Flag that enforces no undefined symbols.
18699 no_undefined_flag=$lt_no_undefined_flag
18701 # Flag to hardcode \$libdir into a binary during linking.
18702 # This must work even if \$libdir does not exist
18703 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18705 # Whether we need a single "-rpath" flag with a separated argument.
18706 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18708 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
18709 # DIR into the resulting binary.
18710 hardcode_direct=$hardcode_direct
18712 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
18713 # DIR into the resulting binary and the resulting library dependency is
18714 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
18715 # library is relocated.
18716 hardcode_direct_absolute=$hardcode_direct_absolute
18718 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18719 # into the resulting binary.
18720 hardcode_minus_L=$hardcode_minus_L
18722 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18723 # into the resulting binary.
18724 hardcode_shlibpath_var=$hardcode_shlibpath_var
18726 # Set to "yes" if building a shared library automatically hardcodes DIR
18727 # into the library and all subsequent libraries and executables linked
18729 hardcode_automatic=$hardcode_automatic
18731 # Set to yes if linker adds runtime paths of dependent libraries
18732 # to runtime path list.
18733 inherit_rpath=$inherit_rpath
18735 # Whether libtool must link a program against all its dependency libraries.
18736 link_all_deplibs=$link_all_deplibs
18738 # Set to "yes" if exported symbols are required.
18739 always_export_symbols=$always_export_symbols
18741 # The commands to list exported symbols.
18742 export_symbols_cmds=$lt_export_symbols_cmds
18744 # Symbols that should not be listed in the preloaded symbols.
18745 exclude_expsyms=$lt_exclude_expsyms
18747 # Symbols that must always be exported.
18748 include_expsyms=$lt_include_expsyms
18750 # Commands necessary for linking programs (against libraries) with templates.
18751 prelink_cmds=$lt_prelink_cmds
18753 # Commands necessary for finishing linking programs.
18754 postlink_cmds=$lt_postlink_cmds
18756 # Specify filename containing input files.
18757 file_list_spec=$lt_file_list_spec
18759 # How to hardcode a shared library path into an executable.
18760 hardcode_action=$hardcode_action
18762 # The directories searched by this compiler when creating a shared library.
18763 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
18765 # Dependencies to place before and after the objects being linked to
18766 # create a shared library.
18767 predep_objects=$lt_predep_objects
18768 postdep_objects=$lt_postdep_objects
18769 predeps=$lt_predeps
18770 postdeps=$lt_postdeps
18772 # The library search path used internally by the compiler when linking
18773 # a shared library.
18774 compiler_lib_search_path=$lt_compiler_lib_search_path
18776 # ### END LIBTOOL CONFIG
18780 cat <<'_LT_EOF' >> "$cfgfile"
18782 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
18784 # func_munge_path_list VARIABLE PATH
18785 # -----------------------------------
18786 # VARIABLE is name of variable containing _space_ separated list of
18787 # directories to be munged by the contents of PATH, which is string
18790 # string "DIR[ DIR]" will be prepended to VARIABLE
18792 # string "DIR[ DIR]" will be appended to VARIABLE
18793 # "DIRP[:DIRP]::[DIRA:]DIRA"
18794 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
18795 # "DIRA[ DIRA]" will be appended to VARIABLE
18797 # VARIABLE will be replaced by "DIR[ DIR]"
18798 func_munge_path_list ()
18804 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
18807 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
18810 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
18811 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
18814 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
18820 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
18821 func_cc_basename ()
18823 for cc_temp in $*""; do
18825 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18826 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18831 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
18835 # ### END FUNCTIONS SHARED WITH CONFIGURE
18841 cat <<\_LT_EOF >> "$cfgfile"
18842 # AIX sometimes has problems with the GCC collect2 program. For some
18843 # reason, if we set the COLLECT_NAMES environment variable, the problems
18844 # vanish in a puff of smoke.
18845 if test set != "${COLLECT_NAMES+set}"; then
18847 export COLLECT_NAMES
18854 ltmain=$ac_aux_dir/ltmain.sh
18857 # We use sed instead of cat because bash on DJGPP gets confused if
18858 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18859 # text mode, it properly converts lines to CR/LF. This bash problem
18860 # is reportedly fixed, but why not run on old versions too?
18861 sed '$q' "$ltmain" >> "$cfgfile" \
18862 || (rm -f "$cfgfile"; exit 1)
18864 mv -f "$cfgfile" "$ofile" ||
18865 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18869 cat <<_LT_EOF >> "$ofile"
18871 # ### BEGIN LIBTOOL TAG CONFIG: CXX
18873 # The linker used to build libraries.
18876 # How to create reloadable object files.
18877 reload_flag=$lt_reload_flag_CXX
18878 reload_cmds=$lt_reload_cmds_CXX
18880 # Commands used to build an old-style archive.
18881 old_archive_cmds=$lt_old_archive_cmds_CXX
18883 # A language specific compiler.
18884 CC=$lt_compiler_CXX
18886 # Is the compiler the GNU compiler?
18889 # Compiler flag to turn off builtin functions.
18890 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
18892 # Additional compiler flags for building library objects.
18893 pic_flag=$lt_lt_prog_compiler_pic_CXX
18895 # How to pass a linker flag through the compiler.
18896 wl=$lt_lt_prog_compiler_wl_CXX
18898 # Compiler flag to prevent dynamic linking.
18899 link_static_flag=$lt_lt_prog_compiler_static_CXX
18901 # Does compiler simultaneously support -c and -o options?
18902 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
18904 # Whether or not to add -lc for building shared libraries.
18905 build_libtool_need_lc=$archive_cmds_need_lc_CXX
18907 # Whether or not to disallow shared libs when runtime libs are static.
18908 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
18910 # Compiler flag to allow reflexive dlopens.
18911 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
18913 # Compiler flag to generate shared objects directly from archives.
18914 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
18916 # Whether the compiler copes with passing no objects directly.
18917 compiler_needs_object=$lt_compiler_needs_object_CXX
18919 # Create an old-style archive from a shared archive.
18920 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
18922 # Create a temporary old-style archive to link instead of a shared archive.
18923 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
18925 # Commands used to build a shared archive.
18926 archive_cmds=$lt_archive_cmds_CXX
18927 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
18929 # Commands used to build a loadable module if different from building
18930 # a shared archive.
18931 module_cmds=$lt_module_cmds_CXX
18932 module_expsym_cmds=$lt_module_expsym_cmds_CXX
18934 # Whether we are building with GNU ld or not.
18935 with_gnu_ld=$lt_with_gnu_ld_CXX
18937 # Flag that allows shared libraries with undefined symbols to be built.
18938 allow_undefined_flag=$lt_allow_undefined_flag_CXX
18940 # Flag that enforces no undefined symbols.
18941 no_undefined_flag=$lt_no_undefined_flag_CXX
18943 # Flag to hardcode \$libdir into a binary during linking.
18944 # This must work even if \$libdir does not exist
18945 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
18947 # Whether we need a single "-rpath" flag with a separated argument.
18948 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
18950 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
18951 # DIR into the resulting binary.
18952 hardcode_direct=$hardcode_direct_CXX
18954 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
18955 # DIR into the resulting binary and the resulting library dependency is
18956 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
18957 # library is relocated.
18958 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
18960 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18961 # into the resulting binary.
18962 hardcode_minus_L=$hardcode_minus_L_CXX
18964 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18965 # into the resulting binary.
18966 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
18968 # Set to "yes" if building a shared library automatically hardcodes DIR
18969 # into the library and all subsequent libraries and executables linked
18971 hardcode_automatic=$hardcode_automatic_CXX
18973 # Set to yes if linker adds runtime paths of dependent libraries
18974 # to runtime path list.
18975 inherit_rpath=$inherit_rpath_CXX
18977 # Whether libtool must link a program against all its dependency libraries.
18978 link_all_deplibs=$link_all_deplibs_CXX
18980 # Set to "yes" if exported symbols are required.
18981 always_export_symbols=$always_export_symbols_CXX
18983 # The commands to list exported symbols.
18984 export_symbols_cmds=$lt_export_symbols_cmds_CXX
18986 # Symbols that should not be listed in the preloaded symbols.
18987 exclude_expsyms=$lt_exclude_expsyms_CXX
18989 # Symbols that must always be exported.
18990 include_expsyms=$lt_include_expsyms_CXX
18992 # Commands necessary for linking programs (against libraries) with templates.
18993 prelink_cmds=$lt_prelink_cmds_CXX
18995 # Commands necessary for finishing linking programs.
18996 postlink_cmds=$lt_postlink_cmds_CXX
18998 # Specify filename containing input files.
18999 file_list_spec=$lt_file_list_spec_CXX
19001 # How to hardcode a shared library path into an executable.
19002 hardcode_action=$hardcode_action_CXX
19004 # The directories searched by this compiler when creating a shared library.
19005 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
19007 # Dependencies to place before and after the objects being linked to
19008 # create a shared library.
19009 predep_objects=$lt_predep_objects_CXX
19010 postdep_objects=$lt_postdep_objects_CXX
19011 predeps=$lt_predeps_CXX
19012 postdeps=$lt_postdeps_CXX
19014 # The library search path used internally by the compiler when linking
19015 # a shared library.
19016 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19018 # ### END LIBTOOL TAG CONFIG: CXX
19029 ac_clean_files=$ac_clean_files_save
19031 test $ac_write_fail = 0 ||
19032 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19035 # configure is writing to config.log, and then calls config.status.
19036 # config.status does its own redirection, appending to config.log.
19037 # Unfortunately, on DOS this fails, as config.log is still kept open
19038 # by configure, so config.status won't be able to write to it; its
19039 # output is simply discarded. So we exec the FD to /dev/null,
19040 # effectively closing config.log, so it can be properly (re)opened and
19041 # appended to by config.status. When coming back to configure, we
19042 # need to make the FD available again.
19043 if test "$no_create" != yes; then
19045 ac_config_status_args=
19046 test "$silent" = yes &&
19047 ac_config_status_args="$ac_config_status_args --quiet"
19049 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19051 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19052 # would make configure fail if this is the last instruction.
19053 $ac_cs_success || as_fn_exit 1
19055 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19057 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}