2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for asdcplib 2.5.11.
5 # Report bugs to <asdcplib@cinecert.com>.
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
202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 PATH=/empty FPATH=/empty; export PATH FPATH
207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210 if (eval "$as_required") 2>/dev/null; then :
215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir=.
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
278 $0: asdcplib@cinecert.com about your system, including any
279 $0: error possibly output before this message. Then install
280 $0: a modern shell, or manually run the script under such a
281 $0: shell if you do have one."
287 SHELL=${CONFIG_SHELL-/bin/sh}
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE= GREP_OPTIONS=
291 unset CLICOLOR_FORCE GREP_OPTIONS
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
298 # Portably unset VAR.
301 { eval $1=; unset $1;}
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? 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='asdcplib'
592 PACKAGE_TARNAME='asdcplib'
593 PACKAGE_VERSION='2.5.11'
594 PACKAGE_STRING='asdcplib 2.5.11'
595 PACKAGE_BUGREPORT='asdcplib@cinecert.com'
598 ac_unique_file="src/KM_error.h"
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
643 ENABLE_RANDOM_UUID_FALSE
644 ENABLE_RANDOM_UUID_TRUE
741 INSTALL_STRIP_PROGRAM
783 program_transform_name
796 enable_option_checking
798 enable_dependency_tracking
817 enable_random_case_UUID
821 ac_precious_vars='build_alias
837 # Initialize some variables set by options.
839 ac_init_version=false
840 ac_unrecognized_opts=
842 # The variables have the same names as the options, with
843 # dashes changed to underlines.
851 program_transform_name=s,x,x,
859 # Installation directory options.
860 # These are left unexpanded so users can "make install exec_prefix=/foo"
861 # and all the variables that are supposed to be based on exec_prefix
862 # by default will actually change.
863 # Use braces instead of parens because sh, perl, etc. also accept them.
864 # (The list follows the same order as the GNU Coding Standards.)
865 bindir='${exec_prefix}/bin'
866 sbindir='${exec_prefix}/sbin'
867 libexecdir='${exec_prefix}/libexec'
868 datarootdir='${prefix}/share'
869 datadir='${datarootdir}'
870 sysconfdir='${prefix}/etc'
871 sharedstatedir='${prefix}/com'
872 localstatedir='${prefix}/var'
873 includedir='${prefix}/include'
874 oldincludedir='/usr/include'
875 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
876 infodir='${datarootdir}/info'
881 libdir='${exec_prefix}/lib'
882 localedir='${datarootdir}/locale'
883 mandir='${datarootdir}/man'
889 # If the previous option needs an argument, assign it.
890 if test -n "$ac_prev"; then
891 eval $ac_prev=\$ac_option
897 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
902 # Accept the important Cygnus configure options, so we can diagnose typos.
904 case $ac_dashdash$ac_option in
908 -bindir | --bindir | --bindi | --bind | --bin | --bi)
910 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
913 -build | --build | --buil | --bui | --bu)
914 ac_prev=build_alias ;;
915 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
916 build_alias=$ac_optarg ;;
918 -cache-file | --cache-file | --cache-fil | --cache-fi \
919 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
920 ac_prev=cache_file ;;
921 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
922 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
923 cache_file=$ac_optarg ;;
926 cache_file=config.cache ;;
928 -datadir | --datadir | --datadi | --datad)
930 -datadir=* | --datadir=* | --datadi=* | --datad=*)
931 datadir=$ac_optarg ;;
933 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
934 | --dataroo | --dataro | --datar)
935 ac_prev=datarootdir ;;
936 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
937 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
938 datarootdir=$ac_optarg ;;
940 -disable-* | --disable-*)
941 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
942 # Reject names that are not valid shell variable names.
943 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
944 as_fn_error $? "invalid feature name: $ac_useropt"
945 ac_useropt_orig=$ac_useropt
946 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
947 case $ac_user_opts in
951 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
952 ac_unrecognized_sep=', ';;
954 eval enable_$ac_useropt=no ;;
956 -docdir | --docdir | --docdi | --doc | --do)
958 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
961 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
963 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
966 -enable-* | --enable-*)
967 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
968 # Reject names that are not valid shell variable names.
969 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
970 as_fn_error $? "invalid feature name: $ac_useropt"
971 ac_useropt_orig=$ac_useropt
972 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
973 case $ac_user_opts in
977 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
978 ac_unrecognized_sep=', ';;
980 eval enable_$ac_useropt=\$ac_optarg ;;
982 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
983 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
984 | --exec | --exe | --ex)
985 ac_prev=exec_prefix ;;
986 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
987 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
988 | --exec=* | --exe=* | --ex=*)
989 exec_prefix=$ac_optarg ;;
991 -gas | --gas | --ga | --g)
992 # Obsolete; use --with-gas.
995 -help | --help | --hel | --he | -h)
997 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
998 ac_init_help=recursive ;;
999 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1000 ac_init_help=short ;;
1002 -host | --host | --hos | --ho)
1003 ac_prev=host_alias ;;
1004 -host=* | --host=* | --hos=* | --ho=*)
1005 host_alias=$ac_optarg ;;
1007 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1009 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1011 htmldir=$ac_optarg ;;
1013 -includedir | --includedir | --includedi | --included | --include \
1014 | --includ | --inclu | --incl | --inc)
1015 ac_prev=includedir ;;
1016 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1017 | --includ=* | --inclu=* | --incl=* | --inc=*)
1018 includedir=$ac_optarg ;;
1020 -infodir | --infodir | --infodi | --infod | --info | --inf)
1022 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1023 infodir=$ac_optarg ;;
1025 -libdir | --libdir | --libdi | --libd)
1027 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1028 libdir=$ac_optarg ;;
1030 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1031 | --libexe | --libex | --libe)
1032 ac_prev=libexecdir ;;
1033 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1034 | --libexe=* | --libex=* | --libe=*)
1035 libexecdir=$ac_optarg ;;
1037 -localedir | --localedir | --localedi | --localed | --locale)
1038 ac_prev=localedir ;;
1039 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1040 localedir=$ac_optarg ;;
1042 -localstatedir | --localstatedir | --localstatedi | --localstated \
1043 | --localstate | --localstat | --localsta | --localst | --locals)
1044 ac_prev=localstatedir ;;
1045 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1046 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1047 localstatedir=$ac_optarg ;;
1049 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1051 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1052 mandir=$ac_optarg ;;
1054 -nfp | --nfp | --nf)
1055 # Obsolete; use --without-fp.
1058 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1059 | --no-cr | --no-c | -n)
1062 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1063 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1066 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1067 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1068 | --oldin | --oldi | --old | --ol | --o)
1069 ac_prev=oldincludedir ;;
1070 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1071 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1072 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1073 oldincludedir=$ac_optarg ;;
1075 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1077 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1078 prefix=$ac_optarg ;;
1080 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1081 | --program-pre | --program-pr | --program-p)
1082 ac_prev=program_prefix ;;
1083 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1084 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1085 program_prefix=$ac_optarg ;;
1087 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1088 | --program-suf | --program-su | --program-s)
1089 ac_prev=program_suffix ;;
1090 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1091 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1092 program_suffix=$ac_optarg ;;
1094 -program-transform-name | --program-transform-name \
1095 | --program-transform-nam | --program-transform-na \
1096 | --program-transform-n | --program-transform- \
1097 | --program-transform | --program-transfor \
1098 | --program-transfo | --program-transf \
1099 | --program-trans | --program-tran \
1100 | --progr-tra | --program-tr | --program-t)
1101 ac_prev=program_transform_name ;;
1102 -program-transform-name=* | --program-transform-name=* \
1103 | --program-transform-nam=* | --program-transform-na=* \
1104 | --program-transform-n=* | --program-transform-=* \
1105 | --program-transform=* | --program-transfor=* \
1106 | --program-transfo=* | --program-transf=* \
1107 | --program-trans=* | --program-tran=* \
1108 | --progr-tra=* | --program-tr=* | --program-t=*)
1109 program_transform_name=$ac_optarg ;;
1111 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1113 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1114 pdfdir=$ac_optarg ;;
1116 -psdir | --psdir | --psdi | --psd | --ps)
1118 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1121 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1122 | -silent | --silent | --silen | --sile | --sil)
1125 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1127 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1129 sbindir=$ac_optarg ;;
1131 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1132 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1133 | --sharedst | --shareds | --shared | --share | --shar \
1135 ac_prev=sharedstatedir ;;
1136 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1137 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1138 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1140 sharedstatedir=$ac_optarg ;;
1142 -site | --site | --sit)
1144 -site=* | --site=* | --sit=*)
1147 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1149 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1150 srcdir=$ac_optarg ;;
1152 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1153 | --syscon | --sysco | --sysc | --sys | --sy)
1154 ac_prev=sysconfdir ;;
1155 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1156 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1157 sysconfdir=$ac_optarg ;;
1159 -target | --target | --targe | --targ | --tar | --ta | --t)
1160 ac_prev=target_alias ;;
1161 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1162 target_alias=$ac_optarg ;;
1164 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1167 -version | --version | --versio | --versi | --vers | -V)
1168 ac_init_version=: ;;
1171 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1172 # Reject names that are not valid shell variable names.
1173 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1174 as_fn_error $? "invalid package name: $ac_useropt"
1175 ac_useropt_orig=$ac_useropt
1176 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1177 case $ac_user_opts in
1181 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1182 ac_unrecognized_sep=', ';;
1184 eval with_$ac_useropt=\$ac_optarg ;;
1186 -without-* | --without-*)
1187 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1188 # Reject names that are not valid shell variable names.
1189 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1190 as_fn_error $? "invalid package name: $ac_useropt"
1191 ac_useropt_orig=$ac_useropt
1192 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1193 case $ac_user_opts in
1197 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1198 ac_unrecognized_sep=', ';;
1200 eval with_$ac_useropt=no ;;
1203 # Obsolete; use --with-x.
1206 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1207 | --x-incl | --x-inc | --x-in | --x-i)
1208 ac_prev=x_includes ;;
1209 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1210 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1211 x_includes=$ac_optarg ;;
1213 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1214 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1215 ac_prev=x_libraries ;;
1216 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1217 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1218 x_libraries=$ac_optarg ;;
1220 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1221 Try \`$0 --help' for more information"
1225 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1226 # Reject names that are not valid shell variable names.
1227 case $ac_envvar in #(
1228 '' | [0-9]* | *[!_$as_cr_alnum]* )
1229 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1231 eval $ac_envvar=\$ac_optarg
1232 export $ac_envvar ;;
1235 # FIXME: should be removed in autoconf 3.0.
1236 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1237 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1238 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1239 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1245 if test -n "$ac_prev"; then
1246 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1247 as_fn_error $? "missing argument to $ac_option"
1250 if test -n "$ac_unrecognized_opts"; then
1251 case $enable_option_checking in
1253 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1254 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1258 # Check all directory arguments for consistency.
1259 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1260 datadir sysconfdir sharedstatedir localstatedir includedir \
1261 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1262 libdir localedir mandir
1264 eval ac_val=\$$ac_var
1265 # Remove trailing slashes.
1268 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1269 eval $ac_var=\$ac_val;;
1271 # Be sure to have absolute directory names.
1273 [\\/$]* | ?:[\\/]* ) continue;;
1274 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1276 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1279 # There might be people who depend on the old broken behavior: `$host'
1280 # used to hold the argument of --host etc.
1281 # FIXME: To remove some day.
1284 target=$target_alias
1286 # FIXME: To remove some day.
1287 if test "x$host_alias" != x; then
1288 if test "x$build_alias" = x; then
1289 cross_compiling=maybe
1290 elif test "x$build_alias" != "x$host_alias"; then
1296 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1298 test "$silent" = yes && exec 6>/dev/null
1301 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1302 ac_ls_di=`ls -di .` &&
1303 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1304 as_fn_error $? "working directory cannot be determined"
1305 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1306 as_fn_error $? "pwd does not report name of working directory"
1309 # Find the source files, if location was not specified.
1310 if test -z "$srcdir"; then
1311 ac_srcdir_defaulted=yes
1312 # Try the directory containing this script, then the parent directory.
1313 ac_confdir=`$as_dirname -- "$as_myself" ||
1314 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1315 X"$as_myself" : 'X\(//\)[^/]' \| \
1316 X"$as_myself" : 'X\(//\)$' \| \
1317 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1318 $as_echo X"$as_myself" |
1319 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1337 if test ! -r "$srcdir/$ac_unique_file"; then
1341 ac_srcdir_defaulted=no
1343 if test ! -r "$srcdir/$ac_unique_file"; then
1344 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1345 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1347 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1349 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1351 # When building in place, set srcdir=.
1352 if test "$ac_abs_confdir" = "$ac_pwd"; then
1355 # Remove unnecessary trailing slashes from srcdir.
1356 # Double slashes in file names in object file debugging info
1357 # mess up M-x gdb in Emacs.
1359 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1361 for ac_var in $ac_precious_vars; do
1362 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1363 eval ac_env_${ac_var}_value=\$${ac_var}
1364 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1365 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1369 # Report the --help message.
1371 if test "$ac_init_help" = "long"; then
1372 # Omit some internal or obsolete options to make the list less imposing.
1373 # This message is too long to be a string in the A/UX 3.1 sh.
1375 \`configure' configures asdcplib 2.5.11 to adapt to many kinds of systems.
1377 Usage: $0 [OPTION]... [VAR=VALUE]...
1379 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1380 VAR=VALUE. See below for descriptions of some of the useful variables.
1382 Defaults for the options are specified in brackets.
1385 -h, --help display this help and exit
1386 --help=short display options specific to this package
1387 --help=recursive display the short help of all the included packages
1388 -V, --version display version information and exit
1389 -q, --quiet, --silent do not print \`checking ...' messages
1390 --cache-file=FILE cache test results in FILE [disabled]
1391 -C, --config-cache alias for \`--cache-file=config.cache'
1392 -n, --no-create do not create output files
1393 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1395 Installation directories:
1396 --prefix=PREFIX install architecture-independent files in PREFIX
1397 [$ac_default_prefix]
1398 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1401 By default, \`make install' will install all the files in
1402 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1403 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1404 for instance \`--prefix=\$HOME'.
1406 For better control, use the options below.
1408 Fine tuning of the installation directories:
1409 --bindir=DIR user executables [EPREFIX/bin]
1410 --sbindir=DIR system admin executables [EPREFIX/sbin]
1411 --libexecdir=DIR program executables [EPREFIX/libexec]
1412 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1413 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1414 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1415 --libdir=DIR object code libraries [EPREFIX/lib]
1416 --includedir=DIR C header files [PREFIX/include]
1417 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1418 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1419 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1420 --infodir=DIR info documentation [DATAROOTDIR/info]
1421 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1422 --mandir=DIR man documentation [DATAROOTDIR/man]
1423 --docdir=DIR documentation root [DATAROOTDIR/doc/asdcplib]
1424 --htmldir=DIR html documentation [DOCDIR]
1425 --dvidir=DIR dvi documentation [DOCDIR]
1426 --pdfdir=DIR pdf documentation [DOCDIR]
1427 --psdir=DIR ps documentation [DOCDIR]
1433 --program-prefix=PREFIX prepend PREFIX to installed program names
1434 --program-suffix=SUFFIX append SUFFIX to installed program names
1435 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1438 --build=BUILD configure for building on BUILD [guessed]
1439 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1443 if test -n "$ac_init_help"; then
1444 case $ac_init_help in
1445 short | recursive ) echo "Configuration of asdcplib 2.5.11:";;
1450 --disable-option-checking ignore unrecognized --enable/--with options
1451 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1452 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1453 --enable-silent-rules less verbose build output (undo: "make V=1")
1454 --disable-silent-rules verbose build output (undo: "make V=0")
1455 --enable-dependency-tracking
1456 do not reject slow dependency extractors
1457 --disable-dependency-tracking
1458 speeds up one-time build
1459 --enable-shared[=PKGS] build shared libraries [default=yes]
1460 --enable-static[=PKGS] build static libraries [default=yes]
1461 --enable-fast-install[=PKGS]
1462 optimize for fast installation [default=yes]
1463 --disable-libtool-lock avoid locking (might break parallel builds)
1464 --disable-largefile omit support for large files
1465 --enable-freedist ensure source distribution is of BSD-licensed code
1466 --enable-dev-headers install development headers
1467 --enable-random-case-UUID encode randomly-cased UUID values when the environment variable KM_USE_RANDOM_UUID is set
1468 --enable-as-02 enable support for SMPTE ST 2067-5 MXF files, A.K.A. AS-02
1469 --enable-phdr enable support for Prototype for High Dyamic Range in AS-02
1472 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1473 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1474 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1476 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1477 --with-sysroot=DIR Search for dependent libraries within DIR
1478 (or the compiler's sysroot if not specified).
1479 --with-openssl=[ARG] use OpenSSL from given prefix (ARG=path); check
1480 standard prefixes (ARG=yes); disable (ARG=no)
1481 --with-expat=[ARG] use Expat XML Parser from given prefix (ARG=path);
1482 check standard prefixes (ARG=yes); disable (ARG=no)
1483 --with-expat-inc=[DIR] path to Expat XML Parser headers
1484 --with-expat-lib=[ARG] link options for Expat XML Parser libraries
1485 --with-xerces=[ARG] use Xerces C++ Parser from given prefix (ARG=path);
1486 check standard prefixes (ARG=yes); disable (ARG=no)
1487 --with-xerces-inc=[DIR] path to Xerces C++ Parser headers
1488 --with-xerces-lib=[ARG] link options for Xerces C++ Parser libraries
1489 --with-python[=PYTHON] absolute path name of Python executable
1491 Some influential environment variables:
1492 CC C compiler command
1493 CFLAGS C compiler flags
1494 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1495 nonstandard directory <lib dir>
1496 LIBS libraries to pass to the linker, e.g. -l<library>
1497 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1498 you have headers in a nonstandard directory <include dir>
1499 CXX C++ compiler command
1500 CXXFLAGS C++ compiler flags
1502 CXXCPP C++ preprocessor
1503 PYTHON Python Executable Path
1505 Use these variables to override the choices made by `configure' or to help
1506 it to find libraries and programs with nonstandard names/locations.
1508 Report bugs to <asdcplib@cinecert.com>.
1513 if test "$ac_init_help" = "recursive"; then
1514 # If there are subdirs, report their specific --help.
1515 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1516 test -d "$ac_dir" ||
1517 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1522 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1524 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1525 # A ".." for each directory in $ac_dir_suffix.
1526 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1527 case $ac_top_builddir_sub in
1528 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1529 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1532 ac_abs_top_builddir=$ac_pwd
1533 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1534 # for backward compatibility:
1535 ac_top_builddir=$ac_top_build_prefix
1538 .) # We are building in place.
1540 ac_top_srcdir=$ac_top_builddir_sub
1541 ac_abs_top_srcdir=$ac_pwd ;;
1542 [\\/]* | ?:[\\/]* ) # Absolute name.
1543 ac_srcdir=$srcdir$ac_dir_suffix;
1544 ac_top_srcdir=$srcdir
1545 ac_abs_top_srcdir=$srcdir ;;
1547 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1548 ac_top_srcdir=$ac_top_build_prefix$srcdir
1549 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1551 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1553 cd "$ac_dir" || { ac_status=$?; continue; }
1554 # Check for guested configure.
1555 if test -f "$ac_srcdir/configure.gnu"; then
1557 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1558 elif test -f "$ac_srcdir/configure"; then
1560 $SHELL "$ac_srcdir/configure" --help=recursive
1562 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1564 cd "$ac_pwd" || { ac_status=$?; break; }
1568 test -n "$ac_init_help" && exit $ac_status
1569 if $ac_init_version; then
1571 asdcplib configure 2.5.11
1572 generated by GNU Autoconf 2.69
1574 Copyright (C) 2012 Free Software Foundation, Inc.
1575 This configure script is free software; the Free Software Foundation
1576 gives unlimited permission to copy, distribute and modify it.
1581 ## ------------------------ ##
1582 ## Autoconf initialization. ##
1583 ## ------------------------ ##
1585 # ac_fn_c_try_compile LINENO
1586 # --------------------------
1587 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1588 ac_fn_c_try_compile ()
1590 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1591 rm -f conftest.$ac_objext
1592 if { { ac_try="$ac_compile"
1594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1595 *) ac_try_echo=$ac_try;;
1597 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1598 $as_echo "$ac_try_echo"; } >&5
1599 (eval "$ac_compile") 2>conftest.err
1601 if test -s conftest.err; then
1602 grep -v '^ *+' conftest.err >conftest.er1
1603 cat conftest.er1 >&5
1604 mv -f conftest.er1 conftest.err
1606 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1607 test $ac_status = 0; } && {
1608 test -z "$ac_c_werror_flag" ||
1609 test ! -s conftest.err
1610 } && test -s conftest.$ac_objext; then :
1613 $as_echo "$as_me: failed program was:" >&5
1614 sed 's/^/| /' conftest.$ac_ext >&5
1618 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1619 as_fn_set_status $ac_retval
1621 } # ac_fn_c_try_compile
1623 # ac_fn_cxx_try_compile LINENO
1624 # ----------------------------
1625 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1626 ac_fn_cxx_try_compile ()
1628 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1629 rm -f conftest.$ac_objext
1630 if { { ac_try="$ac_compile"
1632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1633 *) ac_try_echo=$ac_try;;
1635 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1636 $as_echo "$ac_try_echo"; } >&5
1637 (eval "$ac_compile") 2>conftest.err
1639 if test -s conftest.err; then
1640 grep -v '^ *+' conftest.err >conftest.er1
1641 cat conftest.er1 >&5
1642 mv -f conftest.er1 conftest.err
1644 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1645 test $ac_status = 0; } && {
1646 test -z "$ac_cxx_werror_flag" ||
1647 test ! -s conftest.err
1648 } && test -s conftest.$ac_objext; then :
1651 $as_echo "$as_me: failed program was:" >&5
1652 sed 's/^/| /' conftest.$ac_ext >&5
1656 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1657 as_fn_set_status $ac_retval
1659 } # ac_fn_cxx_try_compile
1661 # ac_fn_c_try_link LINENO
1662 # -----------------------
1663 # Try to link conftest.$ac_ext, and return whether this succeeded.
1666 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1667 rm -f conftest.$ac_objext conftest$ac_exeext
1668 if { { ac_try="$ac_link"
1670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1671 *) ac_try_echo=$ac_try;;
1673 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1674 $as_echo "$ac_try_echo"; } >&5
1675 (eval "$ac_link") 2>conftest.err
1677 if test -s conftest.err; then
1678 grep -v '^ *+' conftest.err >conftest.er1
1679 cat conftest.er1 >&5
1680 mv -f conftest.er1 conftest.err
1682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1683 test $ac_status = 0; } && {
1684 test -z "$ac_c_werror_flag" ||
1685 test ! -s conftest.err
1686 } && test -s conftest$ac_exeext && {
1687 test "$cross_compiling" = yes ||
1688 test -x conftest$ac_exeext
1692 $as_echo "$as_me: failed program was:" >&5
1693 sed 's/^/| /' conftest.$ac_ext >&5
1697 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1698 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1699 # interfere with the next link command; also delete a directory that is
1700 # left behind by Apple's compiler. We do this before executing the actions.
1701 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1702 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1703 as_fn_set_status $ac_retval
1705 } # ac_fn_c_try_link
1707 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1708 # -------------------------------------------------------
1709 # Tests whether HEADER exists and can be compiled using the include files in
1710 # INCLUDES, setting the cache variable VAR accordingly.
1711 ac_fn_c_check_header_compile ()
1713 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1715 $as_echo_n "checking for $2... " >&6; }
1716 if eval \${$3+:} false; then :
1717 $as_echo_n "(cached) " >&6
1719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1720 /* end confdefs.h. */
1724 if ac_fn_c_try_compile "$LINENO"; then :
1729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1733 $as_echo "$ac_res" >&6; }
1734 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1736 } # ac_fn_c_check_header_compile
1738 # ac_fn_c_try_cpp LINENO
1739 # ----------------------
1740 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1743 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1744 if { { ac_try="$ac_cpp conftest.$ac_ext"
1746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1747 *) ac_try_echo=$ac_try;;
1749 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1750 $as_echo "$ac_try_echo"; } >&5
1751 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1753 if test -s conftest.err; then
1754 grep -v '^ *+' conftest.err >conftest.er1
1755 cat conftest.er1 >&5
1756 mv -f conftest.er1 conftest.err
1758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1759 test $ac_status = 0; } > conftest.i && {
1760 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1761 test ! -s conftest.err
1765 $as_echo "$as_me: failed program was:" >&5
1766 sed 's/^/| /' conftest.$ac_ext >&5
1770 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1771 as_fn_set_status $ac_retval
1775 # ac_fn_c_try_run LINENO
1776 # ----------------------
1777 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1778 # that executables *can* be run.
1781 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1782 if { { ac_try="$ac_link"
1784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1785 *) ac_try_echo=$ac_try;;
1787 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1788 $as_echo "$ac_try_echo"; } >&5
1789 (eval "$ac_link") 2>&5
1791 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1792 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1793 { { case "(($ac_try" in
1794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1795 *) ac_try_echo=$ac_try;;
1797 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1798 $as_echo "$ac_try_echo"; } >&5
1799 (eval "$ac_try") 2>&5
1801 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1802 test $ac_status = 0; }; }; then :
1805 $as_echo "$as_me: program exited with status $ac_status" >&5
1806 $as_echo "$as_me: failed program was:" >&5
1807 sed 's/^/| /' conftest.$ac_ext >&5
1809 ac_retval=$ac_status
1811 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1812 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1813 as_fn_set_status $ac_retval
1817 # ac_fn_c_check_func LINENO FUNC VAR
1818 # ----------------------------------
1819 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1820 ac_fn_c_check_func ()
1822 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1824 $as_echo_n "checking for $2... " >&6; }
1825 if eval \${$3+:} false; then :
1826 $as_echo_n "(cached) " >&6
1828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1829 /* end confdefs.h. */
1830 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1832 #define $2 innocuous_$2
1834 /* System header to define __stub macros and hopefully few prototypes,
1835 which can conflict with char $2 (); below.
1836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1837 <limits.h> exists even on freestanding compilers. */
1840 # include <limits.h>
1842 # include <assert.h>
1847 /* Override any GCC internal prototype to avoid an error.
1848 Use char because int might match the return type of a GCC
1849 builtin and then its argument prototype would still apply. */
1854 /* The GNU C library defines this for functions which it implements
1855 to always fail with ENOSYS. Some functions are actually named
1856 something starting with __ and the normal name is an alias. */
1857 #if defined __stub_$2 || defined __stub___$2
1869 if ac_fn_c_try_link "$LINENO"; then :
1874 rm -f core conftest.err conftest.$ac_objext \
1875 conftest$ac_exeext conftest.$ac_ext
1878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1879 $as_echo "$ac_res" >&6; }
1880 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1882 } # ac_fn_c_check_func
1884 # ac_fn_cxx_try_cpp LINENO
1885 # ------------------------
1886 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1887 ac_fn_cxx_try_cpp ()
1889 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1890 if { { ac_try="$ac_cpp conftest.$ac_ext"
1892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1893 *) ac_try_echo=$ac_try;;
1895 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1896 $as_echo "$ac_try_echo"; } >&5
1897 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1899 if test -s conftest.err; then
1900 grep -v '^ *+' conftest.err >conftest.er1
1901 cat conftest.er1 >&5
1902 mv -f conftest.er1 conftest.err
1904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1905 test $ac_status = 0; } > conftest.i && {
1906 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1907 test ! -s conftest.err
1911 $as_echo "$as_me: failed program was:" >&5
1912 sed 's/^/| /' conftest.$ac_ext >&5
1916 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1917 as_fn_set_status $ac_retval
1919 } # ac_fn_cxx_try_cpp
1921 # ac_fn_cxx_try_link LINENO
1922 # -------------------------
1923 # Try to link conftest.$ac_ext, and return whether this succeeded.
1924 ac_fn_cxx_try_link ()
1926 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1927 rm -f conftest.$ac_objext conftest$ac_exeext
1928 if { { ac_try="$ac_link"
1930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1931 *) ac_try_echo=$ac_try;;
1933 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1934 $as_echo "$ac_try_echo"; } >&5
1935 (eval "$ac_link") 2>conftest.err
1937 if test -s conftest.err; then
1938 grep -v '^ *+' conftest.err >conftest.er1
1939 cat conftest.er1 >&5
1940 mv -f conftest.er1 conftest.err
1942 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1943 test $ac_status = 0; } && {
1944 test -z "$ac_cxx_werror_flag" ||
1945 test ! -s conftest.err
1946 } && test -s conftest$ac_exeext && {
1947 test "$cross_compiling" = yes ||
1948 test -x conftest$ac_exeext
1952 $as_echo "$as_me: failed program was:" >&5
1953 sed 's/^/| /' conftest.$ac_ext >&5
1957 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1958 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1959 # interfere with the next link command; also delete a directory that is
1960 # left behind by Apple's compiler. We do this before executing the actions.
1961 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1962 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1963 as_fn_set_status $ac_retval
1965 } # ac_fn_cxx_try_link
1966 cat >config.log <<_ACEOF
1967 This file contains any messages produced by compilers while
1968 running configure, to aid debugging if configure makes a mistake.
1970 It was created by asdcplib $as_me 2.5.11, which was
1971 generated by GNU Autoconf 2.69. Invocation command line was
1983 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1984 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1985 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1986 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1987 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1989 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1990 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1992 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1993 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1994 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1995 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1996 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1997 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1998 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2006 test -z "$as_dir" && as_dir=.
2007 $as_echo "PATH: $as_dir"
2023 # Keep a trace of the command line.
2024 # Strip out --no-create and --no-recursion so they do not pile up.
2025 # Strip out --silent because we don't want to record it for future runs.
2026 # Also quote any args containing shell meta-characters.
2027 # Make two passes to allow for proper duplicate-argument suppression.
2031 ac_must_keep_next=false
2037 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2038 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2039 | -silent | --silent | --silen | --sile | --sil)
2042 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2045 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2047 as_fn_append ac_configure_args1 " '$ac_arg'"
2048 if test $ac_must_keep_next = true; then
2049 ac_must_keep_next=false # Got value, back to normal.
2052 *=* | --config-cache | -C | -disable-* | --disable-* \
2053 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2054 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2055 | -with-* | --with-* | -without-* | --without-* | --x)
2056 case "$ac_configure_args0 " in
2057 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2060 -* ) ac_must_keep_next=true ;;
2063 as_fn_append ac_configure_args " '$ac_arg'"
2068 { ac_configure_args0=; unset ac_configure_args0;}
2069 { ac_configure_args1=; unset ac_configure_args1;}
2071 # When interrupted or exit'd, cleanup temporary files, and complete
2072 # config.log. We remove comments because anyway the quotes in there
2073 # would cause problems or look ugly.
2074 # WARNING: Use '\'' to represent an apostrophe within the trap.
2075 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2076 trap 'exit_status=$?
2077 # Save into config.log some information that might help in debugging.
2081 $as_echo "## ---------------- ##
2082 ## Cache variables. ##
2083 ## ---------------- ##"
2085 # The following way of writing the cache mishandles newlines in values,
2087 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2088 eval ac_val=\$$ac_var
2092 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2093 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2096 _ | IFS | as_nl) ;; #(
2097 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2098 *) { eval $ac_var=; unset $ac_var;} ;;
2103 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2104 *${as_nl}ac_space=\ *)
2106 "s/'\''/'\''\\\\'\'''\''/g;
2107 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2110 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2117 $as_echo "## ----------------- ##
2118 ## Output variables. ##
2119 ## ----------------- ##"
2121 for ac_var in $ac_subst_vars
2123 eval ac_val=\$$ac_var
2125 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2127 $as_echo "$ac_var='\''$ac_val'\''"
2131 if test -n "$ac_subst_files"; then
2132 $as_echo "## ------------------- ##
2133 ## File substitutions. ##
2134 ## ------------------- ##"
2136 for ac_var in $ac_subst_files
2138 eval ac_val=\$$ac_var
2140 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2142 $as_echo "$ac_var='\''$ac_val'\''"
2147 if test -s confdefs.h; then
2148 $as_echo "## ----------- ##
2155 test "$ac_signal" != 0 &&
2156 $as_echo "$as_me: caught signal $ac_signal"
2157 $as_echo "$as_me: exit $exit_status"
2159 rm -f core *.core core.conftest.* &&
2160 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2163 for ac_signal in 1 2 13 15; do
2164 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2168 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2169 rm -f -r conftest* confdefs.h
2171 $as_echo "/* confdefs.h */" > confdefs.h
2173 # Predefined preprocessor variables.
2175 cat >>confdefs.h <<_ACEOF
2176 #define PACKAGE_NAME "$PACKAGE_NAME"
2179 cat >>confdefs.h <<_ACEOF
2180 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2183 cat >>confdefs.h <<_ACEOF
2184 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2187 cat >>confdefs.h <<_ACEOF
2188 #define PACKAGE_STRING "$PACKAGE_STRING"
2191 cat >>confdefs.h <<_ACEOF
2192 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2195 cat >>confdefs.h <<_ACEOF
2196 #define PACKAGE_URL "$PACKAGE_URL"
2200 # Let the site file select an alternate cache file if it wants to.
2201 # Prefer an explicitly selected file to automatically selected ones.
2204 if test -n "$CONFIG_SITE"; then
2205 # We do not want a PATH search for config.site.
2206 case $CONFIG_SITE in #((
2207 -*) ac_site_file1=./$CONFIG_SITE;;
2208 */*) ac_site_file1=$CONFIG_SITE;;
2209 *) ac_site_file1=./$CONFIG_SITE;;
2211 elif test "x$prefix" != xNONE; then
2212 ac_site_file1=$prefix/share/config.site
2213 ac_site_file2=$prefix/etc/config.site
2215 ac_site_file1=$ac_default_prefix/share/config.site
2216 ac_site_file2=$ac_default_prefix/etc/config.site
2218 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2220 test "x$ac_site_file" = xNONE && continue
2221 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2223 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2224 sed 's/^/| /' "$ac_site_file" >&5
2226 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2227 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2228 as_fn_error $? "failed to load site script $ac_site_file
2229 See \`config.log' for more details" "$LINENO" 5; }
2233 if test -r "$cache_file"; then
2234 # Some versions of bash will fail to source /dev/null (special files
2235 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2236 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2237 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2238 $as_echo "$as_me: loading cache $cache_file" >&6;}
2240 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2241 *) . "./$cache_file";;
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2246 $as_echo "$as_me: creating cache $cache_file" >&6;}
2250 # Check that the precious variables saved in the cache have kept the same
2252 ac_cache_corrupted=false
2253 for ac_var in $ac_precious_vars; do
2254 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2255 eval ac_new_set=\$ac_env_${ac_var}_set
2256 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2257 eval ac_new_val=\$ac_env_${ac_var}_value
2258 case $ac_old_set,$ac_new_set in
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2261 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2262 ac_cache_corrupted=: ;;
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2265 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2266 ac_cache_corrupted=: ;;
2269 if test "x$ac_old_val" != "x$ac_new_val"; then
2270 # differences in whitespace do not lead to failure.
2271 ac_old_val_w=`echo x $ac_old_val`
2272 ac_new_val_w=`echo x $ac_new_val`
2273 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2274 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2275 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2276 ac_cache_corrupted=:
2278 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2279 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2280 eval $ac_var=\$ac_old_val
2282 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2283 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2284 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2285 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2288 # Pass precious variables to config.status.
2289 if test "$ac_new_set" = set; then
2291 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2292 *) ac_arg=$ac_var=$ac_new_val ;;
2294 case " $ac_configure_args " in
2295 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2296 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2300 if $ac_cache_corrupted; then
2301 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2302 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2303 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2304 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2305 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2307 ## -------------------- ##
2308 ## Main body of script. ##
2309 ## -------------------- ##
2312 ac_cpp='$CPP $CPPFLAGS'
2313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2320 for ac_dir in build-aux "$srcdir"/build-aux; do
2321 if test -f "$ac_dir/install-sh"; then
2323 ac_install_sh="$ac_aux_dir/install-sh -c"
2325 elif test -f "$ac_dir/install.sh"; then
2327 ac_install_sh="$ac_aux_dir/install.sh -c"
2329 elif test -f "$ac_dir/shtool"; then
2331 ac_install_sh="$ac_aux_dir/shtool install -c"
2335 if test -z "$ac_aux_dir"; then
2336 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2339 # These three variables are undocumented and unsupported,
2340 # and are intended to be withdrawn in a future Autoconf release.
2341 # They can cause serious problems if a builder's source tree is in a directory
2342 # whose full name contains unusual characters.
2343 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2344 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2345 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2349 #AC_CONFIG_HEADER([src/config.h])
2350 am__api_version='1.14'
2352 # Find a good install program. We prefer a C program (faster),
2353 # so one script is as good as another. But avoid the broken or
2354 # incompatible versions:
2355 # SysV /etc/install, /usr/sbin/install
2356 # SunOS /usr/etc/install
2357 # IRIX /sbin/install
2359 # AmigaOS /C/install, which installs bootblocks on floppy discs
2360 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2361 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2362 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2363 # OS/2's system install, which has a completely different semantic
2364 # ./install, which can be erroneously created by make from ./install.sh.
2365 # Reject install programs that cannot install multiple files.
2366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2367 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2368 if test -z "$INSTALL"; then
2369 if ${ac_cv_path_install+:} false; then :
2370 $as_echo_n "(cached) " >&6
2372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2376 test -z "$as_dir" && as_dir=.
2377 # Account for people who put trailing slashes in PATH elements.
2378 case $as_dir/ in #((
2379 ./ | .// | /[cC]/* | \
2380 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2381 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2384 # OSF1 and SCO ODT 3.0 have their own names for install.
2385 # Don't use installbsd from OSF since it installs stuff as root
2387 for ac_prog in ginstall scoinst install; do
2388 for ac_exec_ext in '' $ac_executable_extensions; do
2389 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2390 if test $ac_prog = install &&
2391 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2392 # AIX install. It has an incompatible calling convention.
2394 elif test $ac_prog = install &&
2395 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2396 # program-specific install script used by HP pwplus--don't use.
2399 rm -rf conftest.one conftest.two conftest.dir
2400 echo one > conftest.one
2401 echo two > conftest.two
2403 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2404 test -s conftest.one && test -s conftest.two &&
2405 test -s conftest.dir/conftest.one &&
2406 test -s conftest.dir/conftest.two
2408 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2421 rm -rf conftest.one conftest.two conftest.dir
2424 if test "${ac_cv_path_install+set}" = set; then
2425 INSTALL=$ac_cv_path_install
2427 # As a last resort, use the slow shell script. Don't cache a
2428 # value for INSTALL within a source directory, because that will
2429 # break other packages using the cache if that directory is
2430 # removed, or if the value is a relative name.
2431 INSTALL=$ac_install_sh
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2435 $as_echo "$INSTALL" >&6; }
2437 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2438 # It thinks the first close brace ends the variable substitution.
2439 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2441 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2443 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2446 $as_echo_n "checking whether build environment is sane... " >&6; }
2447 # Reject unsafe characters in $srcdir or the absolute working directory
2448 # name. Accept space and tab only in the latter.
2452 *[\\\"\#\$\&\'\`$am_lf]*)
2453 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2456 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2457 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2460 # Do 'set' in a subshell so we don't clobber the current shell's
2461 # arguments. Must try -L first in case configure is actually a
2462 # symlink; some systems play weird games with the mod time of symlinks
2463 # (eg FreeBSD returns the mod time of the symlink's containing
2467 for am_try in 1 2; do
2468 echo "timestamp, slept: $am_has_slept" > conftest.file
2469 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2470 if test "$*" = "X"; then
2472 set X `ls -t "$srcdir/configure" conftest.file`
2474 if test "$*" != "X $srcdir/configure conftest.file" \
2475 && test "$*" != "X conftest.file $srcdir/configure"; then
2477 # If neither matched, then we have a broken ls. This can happen
2478 # if, for instance, CONFIG_SHELL is bash and it inherits a
2479 # broken ls alias from the environment. This has actually
2480 # happened. Such a system could not be considered "sane".
2481 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2482 alias in your environment" "$LINENO" 5
2484 if test "$2" = conftest.file || test $am_try -eq 2; then
2491 test "$2" = conftest.file
2497 as_fn_error $? "newly created file is older than distributed files!
2498 Check your system clock" "$LINENO" 5
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2501 $as_echo "yes" >&6; }
2502 # If we didn't sleep, we still need to ensure time stamps of config.status and
2503 # generated files are strictly newer.
2505 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2512 test "$program_prefix" != NONE &&
2513 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2514 # Use a double $ so make ignores it.
2515 test "$program_suffix" != NONE &&
2516 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2517 # Double any \ or $.
2518 # By default was `s,x,x', remove it if useless.
2519 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2520 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2522 # expand $ac_aux_dir to an absolute path
2523 am_aux_dir=`cd $ac_aux_dir && pwd`
2525 if test x"${MISSING+set}" != xset; then
2528 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2530 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2533 # Use eval to expand $SHELL
2534 if eval "$MISSING --is-lightweight"; then
2535 am_missing_run="$MISSING "
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2539 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2542 if test x"${install_sh}" != xset; then
2545 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2547 install_sh="\${SHELL} $am_aux_dir/install-sh"
2551 # Installed binaries are usually stripped using 'strip' when the user
2552 # run "make install-strip". However 'strip' might not be the right
2553 # tool to use in cross-compilation environments, therefore Automake
2554 # will honor the 'STRIP' environment variable to overrule this program.
2555 if test "$cross_compiling" != no; then
2556 if test -n "$ac_tool_prefix"; then
2557 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2558 set dummy ${ac_tool_prefix}strip; ac_word=$2
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2560 $as_echo_n "checking for $ac_word... " >&6; }
2561 if ${ac_cv_prog_STRIP+:} false; then :
2562 $as_echo_n "(cached) " >&6
2564 if test -n "$STRIP"; then
2565 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2571 test -z "$as_dir" && as_dir=.
2572 for ac_exec_ext in '' $ac_executable_extensions; do
2573 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2574 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2584 STRIP=$ac_cv_prog_STRIP
2585 if test -n "$STRIP"; then
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2587 $as_echo "$STRIP" >&6; }
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2590 $as_echo "no" >&6; }
2595 if test -z "$ac_cv_prog_STRIP"; then
2597 # Extract the first word of "strip", so it can be a program name with args.
2598 set dummy strip; ac_word=$2
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2600 $as_echo_n "checking for $ac_word... " >&6; }
2601 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2602 $as_echo_n "(cached) " >&6
2604 if test -n "$ac_ct_STRIP"; then
2605 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2611 test -z "$as_dir" && as_dir=.
2612 for ac_exec_ext in '' $ac_executable_extensions; do
2613 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2614 ac_cv_prog_ac_ct_STRIP="strip"
2615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2624 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2625 if test -n "$ac_ct_STRIP"; then
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2627 $as_echo "$ac_ct_STRIP" >&6; }
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2630 $as_echo "no" >&6; }
2633 if test "x$ac_ct_STRIP" = x; then
2636 case $cross_compiling:$ac_tool_warned in
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2639 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2640 ac_tool_warned=yes ;;
2645 STRIP="$ac_cv_prog_STRIP"
2649 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2652 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2653 if test -z "$MKDIR_P"; then
2654 if ${ac_cv_path_mkdir+:} false; then :
2655 $as_echo_n "(cached) " >&6
2657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2658 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2661 test -z "$as_dir" && as_dir=.
2662 for ac_prog in mkdir gmkdir; do
2663 for ac_exec_ext in '' $ac_executable_extensions; do
2664 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2665 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2666 'mkdir (GNU coreutils) '* | \
2667 'mkdir (coreutils) '* | \
2668 'mkdir (fileutils) '4.1*)
2669 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2679 test -d ./--version && rmdir ./--version
2680 if test "${ac_cv_path_mkdir+set}" = set; then
2681 MKDIR_P="$ac_cv_path_mkdir -p"
2683 # As a last resort, use the slow shell script. Don't cache a
2684 # value for MKDIR_P within a source directory, because that will
2685 # break other packages using the cache if that directory is
2686 # removed, or if the value is a relative name.
2687 MKDIR_P="$ac_install_sh -d"
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2691 $as_echo "$MKDIR_P" >&6; }
2693 for ac_prog in gawk mawk nawk awk
2695 # Extract the first word of "$ac_prog", so it can be a program name with args.
2696 set dummy $ac_prog; ac_word=$2
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2698 $as_echo_n "checking for $ac_word... " >&6; }
2699 if ${ac_cv_prog_AWK+:} false; then :
2700 $as_echo_n "(cached) " >&6
2702 if test -n "$AWK"; then
2703 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2709 test -z "$as_dir" && as_dir=.
2710 for ac_exec_ext in '' $ac_executable_extensions; do
2711 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2712 ac_cv_prog_AWK="$ac_prog"
2713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2723 if test -n "$AWK"; then
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2725 $as_echo "$AWK" >&6; }
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2728 $as_echo "no" >&6; }
2732 test -n "$AWK" && break
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2736 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2738 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2739 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2740 $as_echo_n "(cached) " >&6
2742 cat >conftest.make <<\_ACEOF
2745 @echo '@@@%%%=$(MAKE)=@@@%%%'
2747 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2748 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2750 eval ac_cv_prog_make_${ac_make}_set=yes;;
2752 eval ac_cv_prog_make_${ac_make}_set=no;;
2756 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2758 $as_echo "yes" >&6; }
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2762 $as_echo "no" >&6; }
2763 SET_MAKE="MAKE=${MAKE-make}"
2766 rm -rf .tst 2>/dev/null
2767 mkdir .tst 2>/dev/null
2768 if test -d .tst; then
2773 rmdir .tst 2>/dev/null
2775 # Check whether --enable-silent-rules was given.
2776 if test "${enable_silent_rules+set}" = set; then :
2777 enableval=$enable_silent_rules;
2780 case $enable_silent_rules in # (((
2781 yes) AM_DEFAULT_VERBOSITY=0;;
2782 no) AM_DEFAULT_VERBOSITY=1;;
2783 *) AM_DEFAULT_VERBOSITY=1;;
2785 am_make=${MAKE-make}
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2787 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2788 if ${am_cv_make_support_nested_variables+:} false; then :
2789 $as_echo_n "(cached) " >&6
2791 if $as_echo 'TRUE=$(BAR$(V))
2797 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2798 am_cv_make_support_nested_variables=yes
2800 am_cv_make_support_nested_variables=no
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2804 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2805 if test $am_cv_make_support_nested_variables = yes; then
2807 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2809 AM_V=$AM_DEFAULT_VERBOSITY
2810 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2814 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2815 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2816 # is not polluted with repeated "-I."
2817 am__isrc=' -I$(srcdir)'
2818 # test to see if srcdir already configured
2819 if test -f $srcdir/config.status; then
2820 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2824 # test whether we have cygpath
2825 if test -z "$CYGPATH_W"; then
2826 if (cygpath --version) >/dev/null 2>/dev/null; then
2827 CYGPATH_W='cygpath -w'
2834 # Define the identity of the package.
2839 cat >>confdefs.h <<_ACEOF
2840 #define PACKAGE "$PACKAGE"
2844 cat >>confdefs.h <<_ACEOF
2845 #define VERSION "$VERSION"
2848 # Some tools Automake needs.
2850 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2853 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2856 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2859 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2862 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2864 # For better backward compatibility. To be removed once Automake 1.9.x
2865 # dies out for good. For more background, see:
2866 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2867 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2868 mkdir_p='$(MKDIR_P)'
2870 # We need awk for the "check" target. The system "awk" is bad on
2872 # Always define AMTAR for backward compatibility. Yes, it's still used
2873 # in the wild :-( We should find a proper way to deprecate it ...
2877 # We'll loop over all known methods to create a tar archive until one works.
2878 _am_tools='gnutar pax cpio none'
2880 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2887 # POSIX will say in a future version that running "rm -f" with no argument
2888 # is OK; and we want to be able to make that assumption in our Makefile
2889 # recipes. So use an aggressive probe to check that the usage we want is
2890 # actually supported "in the wild" to an acceptable degree.
2891 # See automake bug#10828.
2892 # To make any issue more visible, cause the running configure to be aborted
2893 # by default if the 'rm' program in use doesn't match our expectations; the
2894 # user can still override this though.
2895 if rm -f && rm -fr && rm -rf; then : OK; else
2899 Your 'rm' program seems unable to run without file operands specified
2900 on the command line, even when the '-f' option is present. This is contrary
2901 to the behaviour of most rm programs out there, and not conforming with
2902 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2904 Please tell bug-automake@gnu.org about your system, including the value
2905 of your $PATH and any error possibly output before this message. This
2906 can help us improve future automake versions.
2909 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2910 echo 'Configuration will proceed anyway, since you have set the' >&2
2911 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2915 Aborting the configuration process, to ensure you take notice of the issue.
2917 You can download and install GNU coreutils to get an 'rm' implementation
2918 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2920 If you want to complete the configuration process using your problematic
2921 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2922 to "yes", and re-run configure.
2925 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2931 # Checks for programs.
2932 # Make sure we can run config.sub.
2933 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2934 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2937 $as_echo_n "checking build system type... " >&6; }
2938 if ${ac_cv_build+:} false; then :
2939 $as_echo_n "(cached) " >&6
2941 ac_build_alias=$build_alias
2942 test "x$ac_build_alias" = x &&
2943 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2944 test "x$ac_build_alias" = x &&
2945 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2946 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2947 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2951 $as_echo "$ac_cv_build" >&6; }
2952 case $ac_cv_build in
2954 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2957 ac_save_IFS=$IFS; IFS='-'
2963 # Remember, the first character of IFS is used to create $*,
2964 # except with old shells:
2967 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2971 $as_echo_n "checking host system type... " >&6; }
2972 if ${ac_cv_host+:} false; then :
2973 $as_echo_n "(cached) " >&6
2975 if test "x$host_alias" = x; then
2976 ac_cv_host=$ac_cv_build
2978 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2979 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2984 $as_echo "$ac_cv_host" >&6; }
2987 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2990 ac_save_IFS=$IFS; IFS='-'
2996 # Remember, the first character of IFS is used to create $*,
2997 # except with old shells:
3000 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3004 openbsd*) openbsd_host=true ;;
3005 *) openbsd_host=false ;;
3007 if test x$openbsd_host = xtrue; then
3009 OPENBSD_HOST_FALSE='#'
3011 OPENBSD_HOST_TRUE='#'
3016 ac_cpp='$CPP $CPPFLAGS'
3017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3020 if test -n "$ac_tool_prefix"; then
3021 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3022 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3024 $as_echo_n "checking for $ac_word... " >&6; }
3025 if ${ac_cv_prog_CC+:} false; then :
3026 $as_echo_n "(cached) " >&6
3028 if test -n "$CC"; then
3029 ac_cv_prog_CC="$CC" # Let the user override the test.
3031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3035 test -z "$as_dir" && as_dir=.
3036 for ac_exec_ext in '' $ac_executable_extensions; do
3037 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3038 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3049 if test -n "$CC"; then
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3051 $as_echo "$CC" >&6; }
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3054 $as_echo "no" >&6; }
3059 if test -z "$ac_cv_prog_CC"; then
3061 # Extract the first word of "gcc", so it can be a program name with args.
3062 set dummy gcc; ac_word=$2
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3064 $as_echo_n "checking for $ac_word... " >&6; }
3065 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3066 $as_echo_n "(cached) " >&6
3068 if test -n "$ac_ct_CC"; then
3069 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3075 test -z "$as_dir" && as_dir=.
3076 for ac_exec_ext in '' $ac_executable_extensions; do
3077 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3078 ac_cv_prog_ac_ct_CC="gcc"
3079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3088 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3089 if test -n "$ac_ct_CC"; then
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3091 $as_echo "$ac_ct_CC" >&6; }
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3094 $as_echo "no" >&6; }
3097 if test "x$ac_ct_CC" = x; then
3100 case $cross_compiling:$ac_tool_warned in
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3103 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3104 ac_tool_warned=yes ;;
3112 if test -z "$CC"; then
3113 if test -n "$ac_tool_prefix"; then
3114 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3115 set dummy ${ac_tool_prefix}cc; ac_word=$2
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3117 $as_echo_n "checking for $ac_word... " >&6; }
3118 if ${ac_cv_prog_CC+:} false; then :
3119 $as_echo_n "(cached) " >&6
3121 if test -n "$CC"; then
3122 ac_cv_prog_CC="$CC" # Let the user override the test.
3124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3128 test -z "$as_dir" && as_dir=.
3129 for ac_exec_ext in '' $ac_executable_extensions; do
3130 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3131 ac_cv_prog_CC="${ac_tool_prefix}cc"
3132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3142 if test -n "$CC"; then
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3144 $as_echo "$CC" >&6; }
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3147 $as_echo "no" >&6; }
3153 if test -z "$CC"; then
3154 # Extract the first word of "cc", so it can be a program name with args.
3155 set dummy cc; ac_word=$2
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3157 $as_echo_n "checking for $ac_word... " >&6; }
3158 if ${ac_cv_prog_CC+:} false; then :
3159 $as_echo_n "(cached) " >&6
3161 if test -n "$CC"; then
3162 ac_cv_prog_CC="$CC" # Let the user override the test.
3165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3169 test -z "$as_dir" && as_dir=.
3170 for ac_exec_ext in '' $ac_executable_extensions; do
3171 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3172 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3173 ac_prog_rejected=yes
3177 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3184 if test $ac_prog_rejected = yes; then
3185 # We found a bogon in the path, so make sure we never use it.
3186 set dummy $ac_cv_prog_CC
3188 if test $# != 0; then
3189 # We chose a different compiler from the bogus one.
3190 # However, it has the same basename, so the bogon will be chosen
3191 # first if we set CC to just the basename; use the full file name.
3193 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3199 if test -n "$CC"; then
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3201 $as_echo "$CC" >&6; }
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3204 $as_echo "no" >&6; }
3209 if test -z "$CC"; then
3210 if test -n "$ac_tool_prefix"; then
3211 for ac_prog in cl.exe
3213 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3214 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3216 $as_echo_n "checking for $ac_word... " >&6; }
3217 if ${ac_cv_prog_CC+:} false; then :
3218 $as_echo_n "(cached) " >&6
3220 if test -n "$CC"; then
3221 ac_cv_prog_CC="$CC" # Let the user override the test.
3223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3227 test -z "$as_dir" && as_dir=.
3228 for ac_exec_ext in '' $ac_executable_extensions; do
3229 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3230 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3241 if test -n "$CC"; then
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3243 $as_echo "$CC" >&6; }
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3246 $as_echo "no" >&6; }
3250 test -n "$CC" && break
3253 if test -z "$CC"; then
3255 for ac_prog in cl.exe
3257 # Extract the first word of "$ac_prog", so it can be a program name with args.
3258 set dummy $ac_prog; ac_word=$2
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3260 $as_echo_n "checking for $ac_word... " >&6; }
3261 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3262 $as_echo_n "(cached) " >&6
3264 if test -n "$ac_ct_CC"; then
3265 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3271 test -z "$as_dir" && as_dir=.
3272 for ac_exec_ext in '' $ac_executable_extensions; do
3273 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3274 ac_cv_prog_ac_ct_CC="$ac_prog"
3275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3284 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3285 if test -n "$ac_ct_CC"; then
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3287 $as_echo "$ac_ct_CC" >&6; }
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3290 $as_echo "no" >&6; }
3294 test -n "$ac_ct_CC" && break
3297 if test "x$ac_ct_CC" = x; then
3300 case $cross_compiling:$ac_tool_warned in
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3303 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3304 ac_tool_warned=yes ;;
3313 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3314 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3315 as_fn_error $? "no acceptable C compiler found in \$PATH
3316 See \`config.log' for more details" "$LINENO" 5; }
3318 # Provide some information about the compiler.
3319 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3322 for ac_option in --version -v -V -qversion; do
3323 { { ac_try="$ac_compiler $ac_option >&5"
3325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3326 *) ac_try_echo=$ac_try;;
3328 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3329 $as_echo "$ac_try_echo"; } >&5
3330 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3332 if test -s conftest.err; then
3334 ... rest of stderr output deleted ...
3335 10q' conftest.err >conftest.er1
3336 cat conftest.er1 >&5
3338 rm -f conftest.er1 conftest.err
3339 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3340 test $ac_status = 0; }
3343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3344 /* end confdefs.h. */
3354 ac_clean_files_save=$ac_clean_files
3355 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3356 # Try to create an executable without -o first, disregard a.out.
3357 # It will help us diagnose broken compilers, and finding out an intuition
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3360 $as_echo_n "checking whether the C compiler works... " >&6; }
3361 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3363 # The possible output files:
3364 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3367 for ac_file in $ac_files
3370 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3371 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3376 if { { ac_try="$ac_link_default"
3378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3379 *) ac_try_echo=$ac_try;;
3381 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3382 $as_echo "$ac_try_echo"; } >&5
3383 (eval "$ac_link_default") 2>&5
3385 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3386 test $ac_status = 0; }; then :
3387 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3388 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3389 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3390 # so that the user can short-circuit this test for compilers unknown to
3392 for ac_file in $ac_files ''
3394 test -f "$ac_file" || continue
3396 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3399 # We found the default executable, but exeext='' is most
3403 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3405 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3407 # We set ac_cv_exeext here because the later test for it is not
3408 # safe: cross compilers may not add the suffix if given an `-o'
3409 # argument, so we may need to know it at that point already.
3410 # Even if this section looks crufty: it has the advantage of
3417 test "$ac_cv_exeext" = no && ac_cv_exeext=
3422 if test -z "$ac_file"; then :
3423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3424 $as_echo "no" >&6; }
3425 $as_echo "$as_me: failed program was:" >&5
3426 sed 's/^/| /' conftest.$ac_ext >&5
3428 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3429 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3430 as_fn_error 77 "C compiler cannot create executables
3431 See \`config.log' for more details" "$LINENO" 5; }
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3434 $as_echo "yes" >&6; }
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3437 $as_echo_n "checking for C compiler default output file name... " >&6; }
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3439 $as_echo "$ac_file" >&6; }
3440 ac_exeext=$ac_cv_exeext
3442 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3443 ac_clean_files=$ac_clean_files_save
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3445 $as_echo_n "checking for suffix of executables... " >&6; }
3446 if { { ac_try="$ac_link"
3448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3449 *) ac_try_echo=$ac_try;;
3451 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3452 $as_echo "$ac_try_echo"; } >&5
3453 (eval "$ac_link") 2>&5
3455 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3456 test $ac_status = 0; }; then :
3457 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3458 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3459 # work properly (i.e., refer to `conftest.exe'), while it won't with
3461 for ac_file in conftest.exe conftest conftest.*; do
3462 test -f "$ac_file" || continue
3464 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3465 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3471 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3472 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3473 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3474 See \`config.log' for more details" "$LINENO" 5; }
3476 rm -f conftest conftest$ac_cv_exeext
3477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3478 $as_echo "$ac_cv_exeext" >&6; }
3480 rm -f conftest.$ac_ext
3481 EXEEXT=$ac_cv_exeext
3483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3484 /* end confdefs.h. */
3489 FILE *f = fopen ("conftest.out", "w");
3490 return ferror (f) || fclose (f) != 0;
3496 ac_clean_files="$ac_clean_files conftest.out"
3497 # Check that the compiler produces executables we can run. If not, either
3498 # the compiler is broken, or we cross compile.
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3500 $as_echo_n "checking whether we are cross compiling... " >&6; }
3501 if test "$cross_compiling" != yes; then
3502 { { ac_try="$ac_link"
3504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3505 *) ac_try_echo=$ac_try;;
3507 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3508 $as_echo "$ac_try_echo"; } >&5
3509 (eval "$ac_link") 2>&5
3511 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3512 test $ac_status = 0; }
3513 if { ac_try='./conftest$ac_cv_exeext'
3514 { { case "(($ac_try" in
3515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3516 *) ac_try_echo=$ac_try;;
3518 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3519 $as_echo "$ac_try_echo"; } >&5
3520 (eval "$ac_try") 2>&5
3522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3523 test $ac_status = 0; }; }; then
3526 if test "$cross_compiling" = maybe; then
3529 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3530 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3531 as_fn_error $? "cannot run C compiled programs.
3532 If you meant to cross compile, use \`--host'.
3533 See \`config.log' for more details" "$LINENO" 5; }
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3538 $as_echo "$cross_compiling" >&6; }
3540 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3541 ac_clean_files=$ac_clean_files_save
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3543 $as_echo_n "checking for suffix of object files... " >&6; }
3544 if ${ac_cv_objext+:} false; then :
3545 $as_echo_n "(cached) " >&6
3547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3548 /* end confdefs.h. */
3558 rm -f conftest.o conftest.obj
3559 if { { ac_try="$ac_compile"
3561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3562 *) ac_try_echo=$ac_try;;
3564 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3565 $as_echo "$ac_try_echo"; } >&5
3566 (eval "$ac_compile") 2>&5
3568 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3569 test $ac_status = 0; }; then :
3570 for ac_file in conftest.o conftest.obj conftest.*; do
3571 test -f "$ac_file" || continue;
3573 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3574 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3579 $as_echo "$as_me: failed program was:" >&5
3580 sed 's/^/| /' conftest.$ac_ext >&5
3582 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3583 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3584 as_fn_error $? "cannot compute suffix of object files: cannot compile
3585 See \`config.log' for more details" "$LINENO" 5; }
3587 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3590 $as_echo "$ac_cv_objext" >&6; }
3591 OBJEXT=$ac_cv_objext
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3594 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3595 if ${ac_cv_c_compiler_gnu+:} false; then :
3596 $as_echo_n "(cached) " >&6
3598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3599 /* end confdefs.h. */
3612 if ac_fn_c_try_compile "$LINENO"; then :
3617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3618 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3622 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3623 if test $ac_compiler_gnu = yes; then
3628 ac_test_CFLAGS=${CFLAGS+set}
3629 ac_save_CFLAGS=$CFLAGS
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3631 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3632 if ${ac_cv_prog_cc_g+:} false; then :
3633 $as_echo_n "(cached) " >&6
3635 ac_save_c_werror_flag=$ac_c_werror_flag
3636 ac_c_werror_flag=yes
3639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3640 /* end confdefs.h. */
3650 if ac_fn_c_try_compile "$LINENO"; then :
3654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3655 /* end confdefs.h. */
3665 if ac_fn_c_try_compile "$LINENO"; then :
3668 ac_c_werror_flag=$ac_save_c_werror_flag
3670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3671 /* end confdefs.h. */
3681 if ac_fn_c_try_compile "$LINENO"; then :
3684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3689 ac_c_werror_flag=$ac_save_c_werror_flag
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3692 $as_echo "$ac_cv_prog_cc_g" >&6; }
3693 if test "$ac_test_CFLAGS" = set; then
3694 CFLAGS=$ac_save_CFLAGS
3695 elif test $ac_cv_prog_cc_g = yes; then
3696 if test "$GCC" = yes; then
3702 if test "$GCC" = yes; then
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3709 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3710 if ${ac_cv_prog_cc_c89+:} false; then :
3711 $as_echo_n "(cached) " >&6
3713 ac_cv_prog_cc_c89=no
3715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3716 /* end confdefs.h. */
3720 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3721 struct buf { int x; };
3722 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3723 static char *e (p, i)
3729 static char *f (char * (*g) (char **, int), char **p, ...)
3734 s = g (p, va_arg (v,int));
3739 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3740 function prototypes and stuff, but not '\xHH' hex character constants.
3741 These don't provoke an error unfortunately, instead are silently treated
3742 as 'x'. The following induces an error, until -std is added to get
3743 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3744 array size at least. It's necessary to write '\x00'==0 to get something
3745 that's true only with -std. */
3746 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3748 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3749 inside strings and character constants. */
3751 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3753 int test (int i, double x);
3754 struct s1 {int (*f) (int a);};
3755 struct s2 {int (*f) (double a);};
3756 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3762 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3767 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3768 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3770 CC="$ac_save_CC $ac_arg"
3771 if ac_fn_c_try_compile "$LINENO"; then :
3772 ac_cv_prog_cc_c89=$ac_arg
3774 rm -f core conftest.err conftest.$ac_objext
3775 test "x$ac_cv_prog_cc_c89" != "xno" && break
3777 rm -f conftest.$ac_ext
3782 case "x$ac_cv_prog_cc_c89" in
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3785 $as_echo "none needed" >&6; } ;;
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3788 $as_echo "unsupported" >&6; } ;;
3790 CC="$CC $ac_cv_prog_cc_c89"
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3792 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3794 if test "x$ac_cv_prog_cc_c89" != xno; then :
3799 ac_cpp='$CPP $CPPFLAGS'
3800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3805 ac_cpp='$CPP $CPPFLAGS'
3806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3810 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3811 if ${am_cv_prog_cc_c_o+:} false; then :
3812 $as_echo_n "(cached) " >&6
3814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3815 /* end confdefs.h. */
3825 # Make sure it works both with $CC and with simple cc.
3826 # Following AC_PROG_CC_C_O, we do the test twice because some
3827 # compilers refuse to overwrite an existing .o file with -o,
3828 # though they will create one.
3829 am_cv_prog_cc_c_o=yes
3831 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3832 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3835 (exit $ac_status); } \
3836 && test -f conftest2.$ac_objext; then
3839 am_cv_prog_cc_c_o=no
3843 rm -f core conftest*
3846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3847 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3848 if test "$am_cv_prog_cc_c_o" != yes; then
3849 # Losing compiler, so override with the script.
3850 # FIXME: It is wrong to rewrite CC.
3851 # But if we don't then we get into trouble of one sort or another.
3852 # A longer-term fix would be to have automake use am__CC in this case,
3853 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3854 CC="$am_aux_dir/compile $CC"
3857 ac_cpp='$CPP $CPPFLAGS'
3858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3862 DEPDIR="${am__leading_dot}deps"
3864 ac_config_commands="$ac_config_commands depfiles"
3867 am_make=${MAKE-make}
3868 cat > confinc << 'END'
3870 @echo this is the am__doit target
3873 # If we don't find an include directive, just comment out the code.
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3875 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3879 # First try GNU make style include.
3880 echo "include confinc" > confmf
3881 # Ignore all kinds of additional output from 'make'.
3882 case `$am_make -s -f confmf 2> /dev/null` in #(
3883 *the\ am__doit\ target*)
3889 # Now try BSD make style include.
3890 if test "$am__include" = "#"; then
3891 echo '.include "confinc"' > confmf
3892 case `$am_make -s -f confmf 2> /dev/null` in #(
3893 *the\ am__doit\ target*)
3894 am__include=.include
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3903 $as_echo "$_am_result" >&6; }
3904 rm -f confinc confmf
3906 # Check whether --enable-dependency-tracking was given.
3907 if test "${enable_dependency_tracking+set}" = set; then :
3908 enableval=$enable_dependency_tracking;
3911 if test "x$enable_dependency_tracking" != xno; then
3912 am_depcomp="$ac_aux_dir/depcomp"
3916 if test "x$enable_dependency_tracking" != xno; then
3926 depcc="$CC" am_compiler_list=
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3929 $as_echo_n "checking dependency style of $depcc... " >&6; }
3930 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3931 $as_echo_n "(cached) " >&6
3933 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3934 # We make a subdir and do the tests there. Otherwise we can end up
3935 # making bogus files that we don't know about and never remove. For
3936 # instance it was reported that on HP-UX the gcc test will end up
3937 # making a dummy file named 'D' -- because '-MD' means "put the output
3941 # Copy depcomp to subdir because otherwise we won't find it if we're
3942 # using a relative directory.
3943 cp "$am_depcomp" conftest.dir
3945 # We will build objects and dependencies in a subdirectory because
3946 # it helps to detect inapplicable dependency modes. For instance
3947 # both Tru64's cc and ICC support -MD to output dependencies as a
3948 # side effect of compilation, but ICC will put the dependencies in
3949 # the current directory while Tru64 will put them in the object
3953 am_cv_CC_dependencies_compiler_type=none
3954 if test "$am_compiler_list" = ""; then
3955 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3958 case " $depcc " in #(
3959 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3962 for depmode in $am_compiler_list; do
3963 # Setup a source with many dependencies, because some compilers
3964 # like to wrap large dependency lists on column 80 (with \), and
3965 # we should not choose a depcomp mode which is confused by this.
3967 # We need to recreate these files for each test, as the compiler may
3968 # overwrite some of them when testing with obscure command lines.
3969 # This happens at least with the AIX C compiler.
3971 for i in 1 2 3 4 5 6; do
3972 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3973 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3974 # Solaris 10 /bin/sh.
3975 echo '/* dummy */' > sub/conftst$i.h
3977 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3979 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3980 # mode. It turns out that the SunPro C++ compiler does not properly
3981 # handle '-M -o', and we need to detect this. Also, some Intel
3982 # versions had trouble with output in subdirs.
3983 am__obj=sub/conftest.${OBJEXT-o}
3984 am__minus_obj="-o $am__obj"
3987 # This depmode causes a compiler race in universal mode.
3988 test "$am__universal" = false || continue
3991 # After this tag, mechanisms are not by side-effect, so they'll
3992 # only be used when explicitly requested.
3993 if test "x$enable_dependency_tracking" = xyes; then
3999 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4000 # This compiler won't grok '-c -o', but also, the minuso test has
4001 # not run yet. These depmodes are late enough in the game, and
4002 # so weak that their functioning should not be impacted.
4003 am__obj=conftest.${OBJEXT-o}
4008 if depmode=$depmode \
4009 source=sub/conftest.c object=$am__obj \
4010 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4011 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4012 >/dev/null 2>conftest.err &&
4013 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4014 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4015 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4016 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4017 # icc doesn't choke on unknown options, it will just issue warnings
4018 # or remarks (even with -Werror). So we grep stderr for any message
4019 # that says an option was ignored or not supported.
4020 # When given -MP, icc 7.0 and 7.1 complain thusly:
4021 # icc: Command line warning: ignoring option '-M'; no argument required
4022 # The diagnosis changed in icc 8.0:
4023 # icc: Command line remark: option '-MP' not supported
4024 if (grep 'ignoring option' conftest.err ||
4025 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4026 am_cv_CC_dependencies_compiler_type=$depmode
4035 am_cv_CC_dependencies_compiler_type=none
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4040 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4041 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4044 test "x$enable_dependency_tracking" != xno \
4045 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4047 am__fastdepCC_FALSE='#'
4049 am__fastdepCC_TRUE='#'
4050 am__fastdepCC_FALSE=
4055 ac_cpp='$CXXCPP $CPPFLAGS'
4056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4059 if test -z "$CXX"; then
4060 if test -n "$CCC"; then
4063 if test -n "$ac_tool_prefix"; then
4064 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4066 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4067 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4069 $as_echo_n "checking for $ac_word... " >&6; }
4070 if ${ac_cv_prog_CXX+:} false; then :
4071 $as_echo_n "(cached) " >&6
4073 if test -n "$CXX"; then
4074 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4080 test -z "$as_dir" && as_dir=.
4081 for ac_exec_ext in '' $ac_executable_extensions; do
4082 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4083 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4094 if test -n "$CXX"; then
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4096 $as_echo "$CXX" >&6; }
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4099 $as_echo "no" >&6; }
4103 test -n "$CXX" && break
4106 if test -z "$CXX"; then
4108 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4110 # Extract the first word of "$ac_prog", so it can be a program name with args.
4111 set dummy $ac_prog; ac_word=$2
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4113 $as_echo_n "checking for $ac_word... " >&6; }
4114 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4115 $as_echo_n "(cached) " >&6
4117 if test -n "$ac_ct_CXX"; then
4118 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4124 test -z "$as_dir" && as_dir=.
4125 for ac_exec_ext in '' $ac_executable_extensions; do
4126 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4127 ac_cv_prog_ac_ct_CXX="$ac_prog"
4128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4137 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4138 if test -n "$ac_ct_CXX"; then
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4140 $as_echo "$ac_ct_CXX" >&6; }
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4143 $as_echo "no" >&6; }
4147 test -n "$ac_ct_CXX" && break
4150 if test "x$ac_ct_CXX" = x; then
4153 case $cross_compiling:$ac_tool_warned in
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4156 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4157 ac_tool_warned=yes ;;
4165 # Provide some information about the compiler.
4166 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4169 for ac_option in --version -v -V -qversion; do
4170 { { ac_try="$ac_compiler $ac_option >&5"
4172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4173 *) ac_try_echo=$ac_try;;
4175 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4176 $as_echo "$ac_try_echo"; } >&5
4177 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4179 if test -s conftest.err; then
4181 ... rest of stderr output deleted ...
4182 10q' conftest.err >conftest.er1
4183 cat conftest.er1 >&5
4185 rm -f conftest.er1 conftest.err
4186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4187 test $ac_status = 0; }
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4191 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4192 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4193 $as_echo_n "(cached) " >&6
4195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4196 /* end confdefs.h. */
4209 if ac_fn_cxx_try_compile "$LINENO"; then :
4214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4215 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4219 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4220 if test $ac_compiler_gnu = yes; then
4225 ac_test_CXXFLAGS=${CXXFLAGS+set}
4226 ac_save_CXXFLAGS=$CXXFLAGS
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4228 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4229 if ${ac_cv_prog_cxx_g+:} false; then :
4230 $as_echo_n "(cached) " >&6
4232 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4233 ac_cxx_werror_flag=yes
4236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4237 /* end confdefs.h. */
4247 if ac_fn_cxx_try_compile "$LINENO"; then :
4248 ac_cv_prog_cxx_g=yes
4251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4252 /* end confdefs.h. */
4262 if ac_fn_cxx_try_compile "$LINENO"; then :
4265 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4268 /* end confdefs.h. */
4278 if ac_fn_cxx_try_compile "$LINENO"; then :
4279 ac_cv_prog_cxx_g=yes
4281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4286 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4289 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4290 if test "$ac_test_CXXFLAGS" = set; then
4291 CXXFLAGS=$ac_save_CXXFLAGS
4292 elif test $ac_cv_prog_cxx_g = yes; then
4293 if test "$GXX" = yes; then
4299 if test "$GXX" = yes; then
4306 ac_cpp='$CPP $CPPFLAGS'
4307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4311 depcc="$CXX" am_compiler_list=
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4314 $as_echo_n "checking dependency style of $depcc... " >&6; }
4315 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
4316 $as_echo_n "(cached) " >&6
4318 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4319 # We make a subdir and do the tests there. Otherwise we can end up
4320 # making bogus files that we don't know about and never remove. For
4321 # instance it was reported that on HP-UX the gcc test will end up
4322 # making a dummy file named 'D' -- because '-MD' means "put the output
4326 # Copy depcomp to subdir because otherwise we won't find it if we're
4327 # using a relative directory.
4328 cp "$am_depcomp" conftest.dir
4330 # We will build objects and dependencies in a subdirectory because
4331 # it helps to detect inapplicable dependency modes. For instance
4332 # both Tru64's cc and ICC support -MD to output dependencies as a
4333 # side effect of compilation, but ICC will put the dependencies in
4334 # the current directory while Tru64 will put them in the object
4338 am_cv_CXX_dependencies_compiler_type=none
4339 if test "$am_compiler_list" = ""; then
4340 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4343 case " $depcc " in #(
4344 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4347 for depmode in $am_compiler_list; do
4348 # Setup a source with many dependencies, because some compilers
4349 # like to wrap large dependency lists on column 80 (with \), and
4350 # we should not choose a depcomp mode which is confused by this.
4352 # We need to recreate these files for each test, as the compiler may
4353 # overwrite some of them when testing with obscure command lines.
4354 # This happens at least with the AIX C compiler.
4356 for i in 1 2 3 4 5 6; do
4357 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4358 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4359 # Solaris 10 /bin/sh.
4360 echo '/* dummy */' > sub/conftst$i.h
4362 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4364 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4365 # mode. It turns out that the SunPro C++ compiler does not properly
4366 # handle '-M -o', and we need to detect this. Also, some Intel
4367 # versions had trouble with output in subdirs.
4368 am__obj=sub/conftest.${OBJEXT-o}
4369 am__minus_obj="-o $am__obj"
4372 # This depmode causes a compiler race in universal mode.
4373 test "$am__universal" = false || continue
4376 # After this tag, mechanisms are not by side-effect, so they'll
4377 # only be used when explicitly requested.
4378 if test "x$enable_dependency_tracking" = xyes; then
4384 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4385 # This compiler won't grok '-c -o', but also, the minuso test has
4386 # not run yet. These depmodes are late enough in the game, and
4387 # so weak that their functioning should not be impacted.
4388 am__obj=conftest.${OBJEXT-o}
4393 if depmode=$depmode \
4394 source=sub/conftest.c object=$am__obj \
4395 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4396 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4397 >/dev/null 2>conftest.err &&
4398 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4399 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4400 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4401 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4402 # icc doesn't choke on unknown options, it will just issue warnings
4403 # or remarks (even with -Werror). So we grep stderr for any message
4404 # that says an option was ignored or not supported.
4405 # When given -MP, icc 7.0 and 7.1 complain thusly:
4406 # icc: Command line warning: ignoring option '-M'; no argument required
4407 # The diagnosis changed in icc 8.0:
4408 # icc: Command line remark: option '-MP' not supported
4409 if (grep 'ignoring option' conftest.err ||
4410 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4411 am_cv_CXX_dependencies_compiler_type=$depmode
4420 am_cv_CXX_dependencies_compiler_type=none
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4425 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4426 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4429 test "x$enable_dependency_tracking" != xno \
4430 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4431 am__fastdepCXX_TRUE=
4432 am__fastdepCXX_FALSE='#'
4434 am__fastdepCXX_TRUE='#'
4435 am__fastdepCXX_FALSE=
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4442 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4447 macro_version='2.4.2'
4448 macro_revision='1.3337'
4462 ltmain="$ac_aux_dir/ltmain.sh"
4464 # Backslashify metacharacters that are still active within
4465 # double-quoted strings.
4466 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4468 # Same as above, but do not quote variable references.
4469 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4471 # Sed substitution to delay expansion of an escaped shell variable in a
4472 # double_quote_subst'ed string.
4473 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4475 # Sed substitution to delay expansion of an escaped single quote.
4476 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4478 # Sed substitution to avoid accidental globbing in evaled expressions
4479 no_glob_subst='s/\*/\\\*/g'
4481 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4482 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4483 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4486 $as_echo_n "checking how to print strings... " >&6; }
4487 # Test print first, because it will be a builtin if present.
4488 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4489 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4491 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4494 # Use this function as a fallback that always works.
4495 func_fallback_echo ()
4497 eval 'cat <<_LTECHO_EOF
4501 ECHO='func_fallback_echo'
4504 # func_echo_all arg...
4505 # Invoke $ECHO with all args, space-separated.
4512 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4513 $as_echo "printf" >&6; } ;;
4514 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4515 $as_echo "print -r" >&6; } ;;
4516 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4517 $as_echo "cat" >&6; } ;;
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4534 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4535 if ${ac_cv_path_SED+:} false; then :
4536 $as_echo_n "(cached) " >&6
4538 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4539 for ac_i in 1 2 3 4 5 6 7; do
4540 ac_script="$ac_script$as_nl$ac_script"
4542 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4543 { ac_script=; unset ac_script;}
4544 if test -z "$SED"; then
4545 ac_path_SED_found=false
4546 # Loop through the user's path and test for each of PROGNAME-LIST
4547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4551 test -z "$as_dir" && as_dir=.
4552 for ac_prog in sed gsed; do
4553 for ac_exec_ext in '' $ac_executable_extensions; do
4554 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4555 as_fn_executable_p "$ac_path_SED" || continue
4556 # Check for GNU ac_path_SED and select it if it is found.
4557 # Check for GNU $ac_path_SED
4558 case `"$ac_path_SED" --version 2>&1` in
4560 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4563 $as_echo_n 0123456789 >"conftest.in"
4566 cat "conftest.in" "conftest.in" >"conftest.tmp"
4567 mv "conftest.tmp" "conftest.in"
4568 cp "conftest.in" "conftest.nl"
4569 $as_echo '' >> "conftest.nl"
4570 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4571 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4572 as_fn_arith $ac_count + 1 && ac_count=$as_val
4573 if test $ac_count -gt ${ac_path_SED_max-0}; then
4574 # Best one so far, save it but keep looking for a better one
4575 ac_cv_path_SED="$ac_path_SED"
4576 ac_path_SED_max=$ac_count
4578 # 10*(2^10) chars as input seems more than enough
4579 test $ac_count -gt 10 && break
4581 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4584 $ac_path_SED_found && break 3
4589 if test -z "$ac_cv_path_SED"; then
4590 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4598 $as_echo "$ac_cv_path_SED" >&6; }
4599 SED="$ac_cv_path_SED"
4602 test -z "$SED" && SED=sed
4603 Xsed="$SED -e 1s/^X//"
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4616 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4617 if ${ac_cv_path_GREP+:} false; then :
4618 $as_echo_n "(cached) " >&6
4620 if test -z "$GREP"; then
4621 ac_path_GREP_found=false
4622 # Loop through the user's path and test for each of PROGNAME-LIST
4623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4624 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4627 test -z "$as_dir" && as_dir=.
4628 for ac_prog in grep ggrep; do
4629 for ac_exec_ext in '' $ac_executable_extensions; do
4630 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4631 as_fn_executable_p "$ac_path_GREP" || continue
4632 # Check for GNU ac_path_GREP and select it if it is found.
4633 # Check for GNU $ac_path_GREP
4634 case `"$ac_path_GREP" --version 2>&1` in
4636 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4639 $as_echo_n 0123456789 >"conftest.in"
4642 cat "conftest.in" "conftest.in" >"conftest.tmp"
4643 mv "conftest.tmp" "conftest.in"
4644 cp "conftest.in" "conftest.nl"
4645 $as_echo 'GREP' >> "conftest.nl"
4646 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4647 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4648 as_fn_arith $ac_count + 1 && ac_count=$as_val
4649 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4650 # Best one so far, save it but keep looking for a better one
4651 ac_cv_path_GREP="$ac_path_GREP"
4652 ac_path_GREP_max=$ac_count
4654 # 10*(2^10) chars as input seems more than enough
4655 test $ac_count -gt 10 && break
4657 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4660 $ac_path_GREP_found && break 3
4665 if test -z "$ac_cv_path_GREP"; then
4666 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4669 ac_cv_path_GREP=$GREP
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4674 $as_echo "$ac_cv_path_GREP" >&6; }
4675 GREP="$ac_cv_path_GREP"
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4679 $as_echo_n "checking for egrep... " >&6; }
4680 if ${ac_cv_path_EGREP+:} false; then :
4681 $as_echo_n "(cached) " >&6
4683 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4684 then ac_cv_path_EGREP="$GREP -E"
4686 if test -z "$EGREP"; then
4687 ac_path_EGREP_found=false
4688 # Loop through the user's path and test for each of PROGNAME-LIST
4689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4690 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4693 test -z "$as_dir" && as_dir=.
4694 for ac_prog in egrep; do
4695 for ac_exec_ext in '' $ac_executable_extensions; do
4696 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4697 as_fn_executable_p "$ac_path_EGREP" || continue
4698 # Check for GNU ac_path_EGREP and select it if it is found.
4699 # Check for GNU $ac_path_EGREP
4700 case `"$ac_path_EGREP" --version 2>&1` in
4702 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4705 $as_echo_n 0123456789 >"conftest.in"
4708 cat "conftest.in" "conftest.in" >"conftest.tmp"
4709 mv "conftest.tmp" "conftest.in"
4710 cp "conftest.in" "conftest.nl"
4711 $as_echo 'EGREP' >> "conftest.nl"
4712 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4713 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4714 as_fn_arith $ac_count + 1 && ac_count=$as_val
4715 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4716 # Best one so far, save it but keep looking for a better one
4717 ac_cv_path_EGREP="$ac_path_EGREP"
4718 ac_path_EGREP_max=$ac_count
4720 # 10*(2^10) chars as input seems more than enough
4721 test $ac_count -gt 10 && break
4723 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4726 $ac_path_EGREP_found && break 3
4731 if test -z "$ac_cv_path_EGREP"; then
4732 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4735 ac_cv_path_EGREP=$EGREP
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4741 $as_echo "$ac_cv_path_EGREP" >&6; }
4742 EGREP="$ac_cv_path_EGREP"
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4746 $as_echo_n "checking for fgrep... " >&6; }
4747 if ${ac_cv_path_FGREP+:} false; then :
4748 $as_echo_n "(cached) " >&6
4750 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4751 then ac_cv_path_FGREP="$GREP -F"
4753 if test -z "$FGREP"; then
4754 ac_path_FGREP_found=false
4755 # Loop through the user's path and test for each of PROGNAME-LIST
4756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4757 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4760 test -z "$as_dir" && as_dir=.
4761 for ac_prog in fgrep; do
4762 for ac_exec_ext in '' $ac_executable_extensions; do
4763 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4764 as_fn_executable_p "$ac_path_FGREP" || continue
4765 # Check for GNU ac_path_FGREP and select it if it is found.
4766 # Check for GNU $ac_path_FGREP
4767 case `"$ac_path_FGREP" --version 2>&1` in
4769 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4772 $as_echo_n 0123456789 >"conftest.in"
4775 cat "conftest.in" "conftest.in" >"conftest.tmp"
4776 mv "conftest.tmp" "conftest.in"
4777 cp "conftest.in" "conftest.nl"
4778 $as_echo 'FGREP' >> "conftest.nl"
4779 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4780 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4781 as_fn_arith $ac_count + 1 && ac_count=$as_val
4782 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4783 # Best one so far, save it but keep looking for a better one
4784 ac_cv_path_FGREP="$ac_path_FGREP"
4785 ac_path_FGREP_max=$ac_count
4787 # 10*(2^10) chars as input seems more than enough
4788 test $ac_count -gt 10 && break
4790 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4793 $ac_path_FGREP_found && break 3
4798 if test -z "$ac_cv_path_FGREP"; then
4799 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4802 ac_cv_path_FGREP=$FGREP
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4808 $as_echo "$ac_cv_path_FGREP" >&6; }
4809 FGREP="$ac_cv_path_FGREP"
4812 test -z "$GREP" && GREP=grep
4832 # Check whether --with-gnu-ld was given.
4833 if test "${with_gnu_ld+set}" = set; then :
4834 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4840 if test "$GCC" = yes; then
4841 # Check if gcc -print-prog-name=ld gives a path.
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4843 $as_echo_n "checking for ld used by $CC... " >&6; }
4846 # gcc leaves a trailing carriage return which upsets mingw
4847 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4849 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4852 # Accept absolute paths.
4854 re_direlt='/[^/][^/]*/\.\./'
4855 # Canonicalize the pathname of ld
4856 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4857 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4858 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4860 test -z "$LD" && LD="$ac_prog"
4863 # If it fails, then pretend we aren't using GCC.
4867 # If it is relative, then search for the first ld in PATH.
4871 elif test "$with_gnu_ld" = yes; then
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4873 $as_echo_n "checking for GNU ld... " >&6; }
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4876 $as_echo_n "checking for non-GNU ld... " >&6; }
4878 if ${lt_cv_path_LD+:} false; then :
4879 $as_echo_n "(cached) " >&6
4881 if test -z "$LD"; then
4882 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4883 for ac_dir in $PATH; do
4885 test -z "$ac_dir" && ac_dir=.
4886 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4887 lt_cv_path_LD="$ac_dir/$ac_prog"
4888 # Check to see if the program is GNU ld. I'd rather use --version,
4889 # but apparently some variants of GNU ld only accept -v.
4890 # Break only if it was the GNU/non-GNU ld that we prefer.
4891 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4892 *GNU* | *'with BFD'*)
4893 test "$with_gnu_ld" != no && break
4896 test "$with_gnu_ld" != yes && break
4903 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4908 if test -n "$LD"; then
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4910 $as_echo "$LD" >&6; }
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4913 $as_echo "no" >&6; }
4915 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4917 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4918 if ${lt_cv_prog_gnu_ld+:} false; then :
4919 $as_echo_n "(cached) " >&6
4921 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4922 case `$LD -v 2>&1 </dev/null` in
4923 *GNU* | *'with BFD'*)
4924 lt_cv_prog_gnu_ld=yes
4927 lt_cv_prog_gnu_ld=no
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4932 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4933 with_gnu_ld=$lt_cv_prog_gnu_ld
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4944 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4945 if ${lt_cv_path_NM+:} false; then :
4946 $as_echo_n "(cached) " >&6
4948 if test -n "$NM"; then
4949 # Let the user override the test.
4952 lt_nm_to_check="${ac_tool_prefix}nm"
4953 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4954 lt_nm_to_check="$lt_nm_to_check nm"
4956 for lt_tmp_nm in $lt_nm_to_check; do
4957 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4958 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4960 test -z "$ac_dir" && ac_dir=.
4961 tmp_nm="$ac_dir/$lt_tmp_nm"
4962 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4963 # Check to see if the nm accepts a BSD-compat flag.
4964 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4965 # nm: unknown option "B" ignored
4966 # Tru64's nm complains that /dev/null is an invalid object file
4967 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4968 */dev/null* | *'Invalid file or object type'*)
4969 lt_cv_path_NM="$tmp_nm -B"
4973 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4975 lt_cv_path_NM="$tmp_nm -p"
4979 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4980 continue # so that we can try to find one that supports BSD flags
4989 : ${lt_cv_path_NM=no}
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4993 $as_echo "$lt_cv_path_NM" >&6; }
4994 if test "$lt_cv_path_NM" != "no"; then
4997 # Didn't find any BSD compatible name lister, look for dumpbin.
4998 if test -n "$DUMPBIN"; then :
4999 # Let the user override the test.
5001 if test -n "$ac_tool_prefix"; then
5002 for ac_prog in dumpbin "link -dump"
5004 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5005 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5007 $as_echo_n "checking for $ac_word... " >&6; }
5008 if ${ac_cv_prog_DUMPBIN+:} false; then :
5009 $as_echo_n "(cached) " >&6
5011 if test -n "$DUMPBIN"; then
5012 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5018 test -z "$as_dir" && as_dir=.
5019 for ac_exec_ext in '' $ac_executable_extensions; do
5020 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5021 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5031 DUMPBIN=$ac_cv_prog_DUMPBIN
5032 if test -n "$DUMPBIN"; then
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5034 $as_echo "$DUMPBIN" >&6; }
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5037 $as_echo "no" >&6; }
5041 test -n "$DUMPBIN" && break
5044 if test -z "$DUMPBIN"; then
5045 ac_ct_DUMPBIN=$DUMPBIN
5046 for ac_prog in dumpbin "link -dump"
5048 # Extract the first word of "$ac_prog", so it can be a program name with args.
5049 set dummy $ac_prog; ac_word=$2
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5051 $as_echo_n "checking for $ac_word... " >&6; }
5052 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5053 $as_echo_n "(cached) " >&6
5055 if test -n "$ac_ct_DUMPBIN"; then
5056 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5062 test -z "$as_dir" && as_dir=.
5063 for ac_exec_ext in '' $ac_executable_extensions; do
5064 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5065 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5075 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5076 if test -n "$ac_ct_DUMPBIN"; then
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5078 $as_echo "$ac_ct_DUMPBIN" >&6; }
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5081 $as_echo "no" >&6; }
5085 test -n "$ac_ct_DUMPBIN" && break
5088 if test "x$ac_ct_DUMPBIN" = x; then
5091 case $cross_compiling:$ac_tool_warned in
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5094 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5095 ac_tool_warned=yes ;;
5097 DUMPBIN=$ac_ct_DUMPBIN
5101 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5103 DUMPBIN="$DUMPBIN -symbols"
5111 if test "$DUMPBIN" != ":"; then
5115 test -z "$NM" && NM=nm
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5123 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5124 if ${lt_cv_nm_interface+:} false; then :
5125 $as_echo_n "(cached) " >&6
5127 lt_cv_nm_interface="BSD nm"
5128 echo "int some_variable = 0;" > conftest.$ac_ext
5129 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5130 (eval "$ac_compile" 2>conftest.err)
5131 cat conftest.err >&5
5132 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5133 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5134 cat conftest.err >&5
5135 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5136 cat conftest.out >&5
5137 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5138 lt_cv_nm_interface="MS dumpbin"
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5143 $as_echo "$lt_cv_nm_interface" >&6; }
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5146 $as_echo_n "checking whether ln -s works... " >&6; }
5148 if test "$LN_S" = "ln -s"; then
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5150 $as_echo "yes" >&6; }
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5153 $as_echo "no, using $LN_S" >&6; }
5156 # find the maximum length of command line arguments
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5158 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5159 if ${lt_cv_sys_max_cmd_len+:} false; then :
5160 $as_echo_n "(cached) " >&6
5167 # On DJGPP, this test can blow up pretty badly due to problems in libc
5168 # (any single argument exceeding 2000 bytes causes a buffer overrun
5169 # during glob expansion). Even if it were fixed, the result of this
5170 # check would be larger than it should be.
5171 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5175 # Under GNU Hurd, this test is not required because there is
5176 # no limit to the length of command line arguments.
5177 # Libtool will interpret -1 as no limit whatsoever
5178 lt_cv_sys_max_cmd_len=-1;
5181 cygwin* | mingw* | cegcc*)
5182 # On Win9x/ME, this test blows up -- it succeeds, but takes
5183 # about 5 minutes as the teststring grows exponentially.
5184 # Worse, since 9x/ME are not pre-emptively multitasking,
5185 # you end up with a "frozen" computer, even though with patience
5186 # the test eventually succeeds (with a max line length of 256k).
5187 # Instead, let's just punt: use the minimum linelength reported by
5188 # all of the supported platforms: 8192 (on NT/2K/XP).
5189 lt_cv_sys_max_cmd_len=8192;
5193 # On MiNT this can take a long time and run out of memory.
5194 lt_cv_sys_max_cmd_len=8192;
5198 # On AmigaOS with pdksh, this test takes hours, literally.
5199 # So we just punt and use a minimum line length of 8192.
5200 lt_cv_sys_max_cmd_len=8192;
5203 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5204 # This has been around since 386BSD, at least. Likely further.
5205 if test -x /sbin/sysctl; then
5206 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5207 elif test -x /usr/sbin/sysctl; then
5208 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5210 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5212 # And add a safety zone
5213 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5214 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5218 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5219 lt_cv_sys_max_cmd_len=196608
5223 # The test takes a long time on OS/2.
5224 lt_cv_sys_max_cmd_len=8192
5228 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5229 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5230 # nice to cause kernel panics so lets avoid the loop below.
5231 # First set a reasonable default.
5232 lt_cv_sys_max_cmd_len=16384
5234 if test -x /sbin/sysconfig; then
5235 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5236 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5241 lt_cv_sys_max_cmd_len=102400
5243 sysv5* | sco5v6* | sysv4.2uw2*)
5244 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5245 if test -n "$kargmax"; then
5246 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5248 lt_cv_sys_max_cmd_len=32768
5252 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5253 if test -n "$lt_cv_sys_max_cmd_len"; then
5254 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5255 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5257 # Make teststring a little bigger before we do anything with it.
5258 # a 1K string should be a reasonable start.
5259 for i in 1 2 3 4 5 6 7 8 ; do
5260 teststring=$teststring$teststring
5262 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5263 # If test is not a shell built-in, we'll probably end up computing a
5264 # maximum length that is only half of the actual maximum length, but
5266 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5267 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5268 test $i != 17 # 1/2 MB should be enough
5271 teststring=$teststring$teststring
5273 # Only check the string length outside the loop.
5274 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5276 # Add a significant safety factor because C++ compilers can tack on
5277 # massive amounts of additional arguments before passing them to the
5278 # linker. It appears as though 1/2 is a usable value.
5279 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5286 if test -n $lt_cv_sys_max_cmd_len ; then
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5288 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5291 $as_echo "none" >&6; }
5293 max_cmd_len=$lt_cv_sys_max_cmd_len
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5305 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5306 # Try some XSI features
5309 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5311 && eval 'test $(( 1 + 1 )) -eq 2 \
5312 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5315 $as_echo "$xsi_shell" >&6; }
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5319 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5321 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5323 && lt_shell_append=yes
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5325 $as_echo "$lt_shell_append" >&6; }
5328 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5338 # test EBCDIC or ASCII
5339 case `echo X|tr X '\101'` in
5340 A) # ASCII based system
5341 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5342 lt_SP2NL='tr \040 \012'
5343 lt_NL2SP='tr \015\012 \040\040'
5345 *) # EBCDIC based system
5346 lt_SP2NL='tr \100 \n'
5347 lt_NL2SP='tr \r\n \100\100'
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5360 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5361 if ${lt_cv_to_host_file_cmd+:} false; then :
5362 $as_echo_n "(cached) " >&6
5367 *-*-mingw* ) # actually msys
5368 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5371 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5373 * ) # otherwise, assume *nix
5374 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5380 *-*-mingw* ) # actually msys
5381 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5384 lt_cv_to_host_file_cmd=func_convert_file_noop
5386 * ) # otherwise, assume *nix
5387 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5391 * ) # unhandled hosts (and "normal" native builds)
5392 lt_cv_to_host_file_cmd=func_convert_file_noop
5398 to_host_file_cmd=$lt_cv_to_host_file_cmd
5399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5400 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5407 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5408 if ${lt_cv_to_tool_file_cmd+:} false; then :
5409 $as_echo_n "(cached) " >&6
5411 #assume ordinary cross tools, or native build.
5412 lt_cv_to_tool_file_cmd=func_convert_file_noop
5416 *-*-mingw* ) # actually msys
5417 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5425 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5427 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5434 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5435 if ${lt_cv_ld_reload_flag+:} false; then :
5436 $as_echo_n "(cached) " >&6
5438 lt_cv_ld_reload_flag='-r'
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5441 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5442 reload_flag=$lt_cv_ld_reload_flag
5443 case $reload_flag in
5445 *) reload_flag=" $reload_flag" ;;
5447 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5449 cygwin* | mingw* | pw32* | cegcc*)
5450 if test "$GCC" != yes; then
5455 if test "$GCC" = yes; then
5456 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5458 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5471 if test -n "$ac_tool_prefix"; then
5472 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5473 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5475 $as_echo_n "checking for $ac_word... " >&6; }
5476 if ${ac_cv_prog_OBJDUMP+:} false; then :
5477 $as_echo_n "(cached) " >&6
5479 if test -n "$OBJDUMP"; then
5480 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5486 test -z "$as_dir" && as_dir=.
5487 for ac_exec_ext in '' $ac_executable_extensions; do
5488 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5489 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5499 OBJDUMP=$ac_cv_prog_OBJDUMP
5500 if test -n "$OBJDUMP"; then
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5502 $as_echo "$OBJDUMP" >&6; }
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5505 $as_echo "no" >&6; }
5510 if test -z "$ac_cv_prog_OBJDUMP"; then
5511 ac_ct_OBJDUMP=$OBJDUMP
5512 # Extract the first word of "objdump", so it can be a program name with args.
5513 set dummy objdump; ac_word=$2
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5515 $as_echo_n "checking for $ac_word... " >&6; }
5516 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5517 $as_echo_n "(cached) " >&6
5519 if test -n "$ac_ct_OBJDUMP"; then
5520 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5526 test -z "$as_dir" && as_dir=.
5527 for ac_exec_ext in '' $ac_executable_extensions; do
5528 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5529 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5539 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5540 if test -n "$ac_ct_OBJDUMP"; then
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5542 $as_echo "$ac_ct_OBJDUMP" >&6; }
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5545 $as_echo "no" >&6; }
5548 if test "x$ac_ct_OBJDUMP" = x; then
5551 case $cross_compiling:$ac_tool_warned in
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5554 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5555 ac_tool_warned=yes ;;
5557 OBJDUMP=$ac_ct_OBJDUMP
5560 OBJDUMP="$ac_cv_prog_OBJDUMP"
5563 test -z "$OBJDUMP" && OBJDUMP=objdump
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5574 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5575 if ${lt_cv_deplibs_check_method+:} false; then :
5576 $as_echo_n "(cached) " >&6
5578 lt_cv_file_magic_cmd='$MAGIC_CMD'
5579 lt_cv_file_magic_test_file=
5580 lt_cv_deplibs_check_method='unknown'
5581 # Need to set the preceding variable on all platforms that support
5582 # interlibrary dependencies.
5583 # 'none' -- dependencies not supported.
5584 # `unknown' -- same as none, but documents that we really don't know.
5585 # 'pass_all' -- all dependencies passed with no checks.
5586 # 'test_compile' -- check by making test program.
5587 # 'file_magic [[regex]]' -- check by looking for files in library path
5588 # which responds to the $file_magic_cmd with a given extended regex.
5589 # If you have `file' or equivalent on your system and you're not sure
5590 # whether `pass_all' will *always* work, you probably want this one.
5594 lt_cv_deplibs_check_method=pass_all
5598 lt_cv_deplibs_check_method=pass_all
5602 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5603 lt_cv_file_magic_cmd='/usr/bin/file -L'
5604 lt_cv_file_magic_test_file=/shlib/libc.so
5608 # func_win32_libid is a shell function defined in ltmain.sh
5609 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5610 lt_cv_file_magic_cmd='func_win32_libid'
5614 # Base MSYS/MinGW do not provide the 'file' command needed by
5615 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5616 # unless we find 'file', for example because we are cross-compiling.
5617 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5618 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5619 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5620 lt_cv_file_magic_cmd='func_win32_libid'
5622 # Keep this pattern in sync with the one in func_win32_libid.
5623 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5624 lt_cv_file_magic_cmd='$OBJDUMP -f'
5629 # use the weaker test based on 'objdump'. See mingw*.
5630 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5631 lt_cv_file_magic_cmd='$OBJDUMP -f'
5634 darwin* | rhapsody*)
5635 lt_cv_deplibs_check_method=pass_all
5638 freebsd* | dragonfly*)
5639 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5642 # Not sure whether the presence of OpenBSD here was a mistake.
5643 # Let's accept both of them until this is cleared up.
5644 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5645 lt_cv_file_magic_cmd=/usr/bin/file
5646 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5650 lt_cv_deplibs_check_method=pass_all
5655 lt_cv_deplibs_check_method=pass_all
5659 lt_cv_deplibs_check_method=pass_all
5662 hpux10.20* | hpux11*)
5663 lt_cv_file_magic_cmd=/usr/bin/file
5666 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5667 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5670 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]'
5671 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5674 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5675 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5681 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5682 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5685 irix5* | irix6* | nonstopux*)
5687 *-32|*"-32 ") libmagic=32-bit;;
5688 *-n32|*"-n32 ") libmagic=N32;;
5689 *-64|*"-64 ") libmagic=64-bit;;
5690 *) libmagic=never-match;;
5692 lt_cv_deplibs_check_method=pass_all
5695 # This must be glibc/ELF.
5696 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5697 lt_cv_deplibs_check_method=pass_all
5701 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5702 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5704 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5709 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5710 lt_cv_file_magic_cmd=/usr/bin/file
5711 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5715 lt_cv_deplibs_check_method=pass_all
5719 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5720 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5722 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5726 osf3* | osf4* | osf5*)
5727 lt_cv_deplibs_check_method=pass_all
5731 lt_cv_deplibs_check_method=pass_all
5735 lt_cv_deplibs_check_method=pass_all
5738 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5739 lt_cv_deplibs_check_method=pass_all
5743 case $host_vendor in
5745 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]'
5746 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5749 lt_cv_deplibs_check_method=pass_all
5752 lt_cv_file_magic_cmd='/bin/file'
5753 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5756 lt_cv_file_magic_cmd='/bin/file'
5757 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5758 lt_cv_file_magic_test_file=/lib/libc.so
5761 lt_cv_deplibs_check_method=pass_all
5764 lt_cv_deplibs_check_method=pass_all
5770 lt_cv_deplibs_check_method=pass_all
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5776 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5780 if test "$build" = "$host"; then
5783 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5786 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5792 file_magic_cmd=$lt_cv_file_magic_cmd
5793 deplibs_check_method=$lt_cv_deplibs_check_method
5794 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5817 if test -n "$ac_tool_prefix"; then
5818 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5819 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5821 $as_echo_n "checking for $ac_word... " >&6; }
5822 if ${ac_cv_prog_DLLTOOL+:} false; then :
5823 $as_echo_n "(cached) " >&6
5825 if test -n "$DLLTOOL"; then
5826 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5832 test -z "$as_dir" && as_dir=.
5833 for ac_exec_ext in '' $ac_executable_extensions; do
5834 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5835 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5845 DLLTOOL=$ac_cv_prog_DLLTOOL
5846 if test -n "$DLLTOOL"; then
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5848 $as_echo "$DLLTOOL" >&6; }
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5851 $as_echo "no" >&6; }
5856 if test -z "$ac_cv_prog_DLLTOOL"; then
5857 ac_ct_DLLTOOL=$DLLTOOL
5858 # Extract the first word of "dlltool", so it can be a program name with args.
5859 set dummy dlltool; ac_word=$2
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5861 $as_echo_n "checking for $ac_word... " >&6; }
5862 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5863 $as_echo_n "(cached) " >&6
5865 if test -n "$ac_ct_DLLTOOL"; then
5866 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5872 test -z "$as_dir" && as_dir=.
5873 for ac_exec_ext in '' $ac_executable_extensions; do
5874 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5875 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5876 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5885 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5886 if test -n "$ac_ct_DLLTOOL"; then
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5888 $as_echo "$ac_ct_DLLTOOL" >&6; }
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5891 $as_echo "no" >&6; }
5894 if test "x$ac_ct_DLLTOOL" = x; then
5897 case $cross_compiling:$ac_tool_warned in
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5900 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5901 ac_tool_warned=yes ;;
5903 DLLTOOL=$ac_ct_DLLTOOL
5906 DLLTOOL="$ac_cv_prog_DLLTOOL"
5909 test -z "$DLLTOOL" && DLLTOOL=dlltool
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5921 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5922 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5923 $as_echo_n "(cached) " >&6
5925 lt_cv_sharedlib_from_linklib_cmd='unknown'
5928 cygwin* | mingw* | pw32* | cegcc*)
5929 # two different shell functions defined in ltmain.sh
5930 # decide which to use based on capabilities of $DLLTOOL
5931 case `$DLLTOOL --help 2>&1` in
5932 *--identify-strict*)
5933 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5936 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5941 # fallback: assume linklib IS sharedlib
5942 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5948 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5949 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5950 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5959 if test -n "$ac_tool_prefix"; then
5962 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5963 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5965 $as_echo_n "checking for $ac_word... " >&6; }
5966 if ${ac_cv_prog_AR+:} false; then :
5967 $as_echo_n "(cached) " >&6
5969 if test -n "$AR"; then
5970 ac_cv_prog_AR="$AR" # Let the user override the test.
5972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5976 test -z "$as_dir" && as_dir=.
5977 for ac_exec_ext in '' $ac_executable_extensions; do
5978 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5979 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5990 if test -n "$AR"; then
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5992 $as_echo "$AR" >&6; }
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5995 $as_echo "no" >&6; }
5999 test -n "$AR" && break
6002 if test -z "$AR"; then
6006 # Extract the first word of "$ac_prog", so it can be a program name with args.
6007 set dummy $ac_prog; ac_word=$2
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6009 $as_echo_n "checking for $ac_word... " >&6; }
6010 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6011 $as_echo_n "(cached) " >&6
6013 if test -n "$ac_ct_AR"; then
6014 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6020 test -z "$as_dir" && as_dir=.
6021 for ac_exec_ext in '' $ac_executable_extensions; do
6022 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6023 ac_cv_prog_ac_ct_AR="$ac_prog"
6024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6033 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6034 if test -n "$ac_ct_AR"; then
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6036 $as_echo "$ac_ct_AR" >&6; }
6038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6039 $as_echo "no" >&6; }
6043 test -n "$ac_ct_AR" && break
6046 if test "x$ac_ct_AR" = x; then
6049 case $cross_compiling:$ac_tool_warned in
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6052 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6053 ac_tool_warned=yes ;;
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6073 $as_echo_n "checking for archiver @FILE support... " >&6; }
6074 if ${lt_cv_ar_at_file+:} false; then :
6075 $as_echo_n "(cached) " >&6
6078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6079 /* end confdefs.h. */
6089 if ac_fn_c_try_compile "$LINENO"; then :
6090 echo conftest.$ac_objext > conftest.lst
6091 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6092 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6093 (eval $lt_ar_try) 2>&5
6095 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6096 test $ac_status = 0; }
6097 if test "$ac_status" -eq 0; then
6098 # Ensure the archiver fails upon bogus file names.
6099 rm -f conftest.$ac_objext libconftest.a
6100 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6101 (eval $lt_ar_try) 2>&5
6103 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6104 test $ac_status = 0; }
6105 if test "$ac_status" -ne 0; then
6109 rm -f conftest.* libconftest.a
6112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6116 $as_echo "$lt_cv_ar_at_file" >&6; }
6118 if test "x$lt_cv_ar_at_file" = xno; then
6121 archiver_list_spec=$lt_cv_ar_at_file
6130 if test -n "$ac_tool_prefix"; then
6131 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6132 set dummy ${ac_tool_prefix}strip; ac_word=$2
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6134 $as_echo_n "checking for $ac_word... " >&6; }
6135 if ${ac_cv_prog_STRIP+:} false; then :
6136 $as_echo_n "(cached) " >&6
6138 if test -n "$STRIP"; then
6139 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6145 test -z "$as_dir" && as_dir=.
6146 for ac_exec_ext in '' $ac_executable_extensions; do
6147 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6148 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6158 STRIP=$ac_cv_prog_STRIP
6159 if test -n "$STRIP"; then
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6161 $as_echo "$STRIP" >&6; }
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6164 $as_echo "no" >&6; }
6169 if test -z "$ac_cv_prog_STRIP"; then
6171 # Extract the first word of "strip", so it can be a program name with args.
6172 set dummy strip; ac_word=$2
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6174 $as_echo_n "checking for $ac_word... " >&6; }
6175 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6176 $as_echo_n "(cached) " >&6
6178 if test -n "$ac_ct_STRIP"; then
6179 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6185 test -z "$as_dir" && as_dir=.
6186 for ac_exec_ext in '' $ac_executable_extensions; do
6187 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6188 ac_cv_prog_ac_ct_STRIP="strip"
6189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6198 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6199 if test -n "$ac_ct_STRIP"; then
6200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6201 $as_echo "$ac_ct_STRIP" >&6; }
6203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6204 $as_echo "no" >&6; }
6207 if test "x$ac_ct_STRIP" = x; then
6210 case $cross_compiling:$ac_tool_warned in
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6213 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6214 ac_tool_warned=yes ;;
6219 STRIP="$ac_cv_prog_STRIP"
6222 test -z "$STRIP" && STRIP=:
6229 if test -n "$ac_tool_prefix"; then
6230 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6231 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6233 $as_echo_n "checking for $ac_word... " >&6; }
6234 if ${ac_cv_prog_RANLIB+:} false; then :
6235 $as_echo_n "(cached) " >&6
6237 if test -n "$RANLIB"; then
6238 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6244 test -z "$as_dir" && as_dir=.
6245 for ac_exec_ext in '' $ac_executable_extensions; do
6246 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6247 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6257 RANLIB=$ac_cv_prog_RANLIB
6258 if test -n "$RANLIB"; then
6259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6260 $as_echo "$RANLIB" >&6; }
6262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6263 $as_echo "no" >&6; }
6268 if test -z "$ac_cv_prog_RANLIB"; then
6269 ac_ct_RANLIB=$RANLIB
6270 # Extract the first word of "ranlib", so it can be a program name with args.
6271 set dummy ranlib; ac_word=$2
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6273 $as_echo_n "checking for $ac_word... " >&6; }
6274 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6275 $as_echo_n "(cached) " >&6
6277 if test -n "$ac_ct_RANLIB"; then
6278 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6284 test -z "$as_dir" && as_dir=.
6285 for ac_exec_ext in '' $ac_executable_extensions; do
6286 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6287 ac_cv_prog_ac_ct_RANLIB="ranlib"
6288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6297 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6298 if test -n "$ac_ct_RANLIB"; then
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6300 $as_echo "$ac_ct_RANLIB" >&6; }
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6303 $as_echo "no" >&6; }
6306 if test "x$ac_ct_RANLIB" = x; then
6309 case $cross_compiling:$ac_tool_warned in
6311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6312 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6313 ac_tool_warned=yes ;;
6315 RANLIB=$ac_ct_RANLIB
6318 RANLIB="$ac_cv_prog_RANLIB"
6321 test -z "$RANLIB" && RANLIB=:
6328 # Determine commands to create old-style static archives.
6329 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6330 old_postinstall_cmds='chmod 644 $oldlib'
6331 old_postuninstall_cmds=
6333 if test -n "$RANLIB"; then
6336 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6339 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6342 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6347 lock_old_archive_extraction=yes ;;
6349 lock_old_archive_extraction=no ;;
6390 # If no C compiler was specified, use CC.
6393 # If no C compiler flags were specified, use CFLAGS.
6394 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6396 # Allow CC to be a program name with arguments.
6400 # Check for command to grab the raw symbol name followed by C symbol from nm.
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6402 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6403 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6404 $as_echo_n "(cached) " >&6
6407 # These are sane defaults that work on at least a few old systems.
6408 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6410 # Character class describing NM global symbol codes.
6411 symcode='[BCDEGRST]'
6413 # Regexp to match symbols that can be accessed directly from C.
6414 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6416 # Define system-specific variables.
6421 cygwin* | mingw* | pw32* | cegcc*)
6422 symcode='[ABCDGISTW]'
6425 if test "$host_cpu" = ia64; then
6426 symcode='[ABCDEGRST]'
6430 symcode='[BCDEGRST]'
6433 symcode='[BCDEGQRST]'
6444 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6452 # If we're using GNU nm, then use its standard symbol codes.
6453 case `$NM -V 2>&1` in
6454 *GNU* | *'with BFD'*)
6455 symcode='[ABCDGIRSTW]' ;;
6458 # Transform an extracted symbol line into a proper C declaration.
6459 # Some systems (esp. on ia64) link data and code symbols differently,
6460 # so use this general approach.
6461 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6463 # Transform an extracted symbol line into symbol name and symbol address
6464 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6465 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6467 # Handle CRLF in mingw tool chain
6471 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6475 # Try without a prefix underscore, then with it.
6476 for ac_symprfx in "" "_"; do
6478 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6479 symxfrm="\\1 $ac_symprfx\\2 \\2"
6481 # Write the raw and C identifiers.
6482 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6483 # Fake it for dumpbin and say T for any non-static function
6484 # and D for any global variable.
6485 # Also find C++ and __fastcall symbols from MSVC++,
6486 # which start with @ or ?.
6487 lt_cv_sys_global_symbol_pipe="$AWK '"\
6488 " {last_section=section; section=\$ 3};"\
6489 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6490 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6491 " \$ 0!~/External *\|/{next};"\
6492 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6493 " {if(hide[section]) next};"\
6494 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6495 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6496 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6497 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6498 " ' prfx=^$ac_symprfx"
6500 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6502 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6504 # Check to see that the pipe works correctly.
6508 cat > conftest.$ac_ext <<_LT_EOF
6513 void nm_test_func(void);
6514 void nm_test_func(void){}
6518 int main(){nm_test_var='a';nm_test_func();return(0);}
6521 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6522 (eval $ac_compile) 2>&5
6524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6525 test $ac_status = 0; }; then
6526 # Now try to grab the symbols.
6528 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6529 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6532 test $ac_status = 0; } && test -s "$nlist"; then
6533 # Try sorting and uniquifying the output.
6534 if sort "$nlist" | uniq > "$nlist"T; then
6535 mv -f "$nlist"T "$nlist"
6540 # Make sure that we snagged all the symbols we need.
6541 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6542 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6543 cat <<_LT_EOF > conftest.$ac_ext
6544 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6545 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6546 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6547 relocations are performed -- see ld's documentation on pseudo-relocs. */
6548 # define LT_DLSYM_CONST
6549 #elif defined(__osf__)
6550 /* This system does not cope well with relocations in const data. */
6551 # define LT_DLSYM_CONST
6553 # define LT_DLSYM_CONST const
6561 # Now generate the symbol file.
6562 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6564 cat <<_LT_EOF >> conftest.$ac_ext
6566 /* The mapping between symbol names and symbols. */
6567 LT_DLSYM_CONST struct {
6571 lt__PROGRAM__LTX_preloaded_symbols[] =
6573 { "@PROGRAM@", (void *) 0 },
6575 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6576 cat <<\_LT_EOF >> conftest.$ac_ext
6580 /* This works around a problem in FreeBSD linker */
6581 #ifdef FREEBSD_WORKAROUND
6582 static const void *lt_preloaded_setup() {
6583 return lt__PROGRAM__LTX_preloaded_symbols;
6591 # Now try linking the two files.
6592 mv conftest.$ac_objext conftstm.$ac_objext
6593 lt_globsym_save_LIBS=$LIBS
6594 lt_globsym_save_CFLAGS=$CFLAGS
6595 LIBS="conftstm.$ac_objext"
6596 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6597 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6598 (eval $ac_link) 2>&5
6600 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6601 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6604 LIBS=$lt_globsym_save_LIBS
6605 CFLAGS=$lt_globsym_save_CFLAGS
6607 echo "cannot find nm_test_func in $nlist" >&5
6610 echo "cannot find nm_test_var in $nlist" >&5
6613 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6616 echo "$progname: failed program was:" >&5
6617 cat conftest.$ac_ext >&5
6619 rm -rf conftest* conftst*
6621 # Do not use the global_symbol_pipe unless it works.
6622 if test "$pipe_works" = yes; then
6625 lt_cv_sys_global_symbol_pipe=
6631 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6632 lt_cv_sys_global_symbol_to_cdecl=
6634 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6636 $as_echo "failed" >&6; }
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6639 $as_echo "ok" >&6; }
6642 # Response file support.
6643 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6644 nm_file_list_spec='@'
6645 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6646 nm_file_list_spec='@'
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6676 $as_echo_n "checking for sysroot... " >&6; }
6678 # Check whether --with-sysroot was given.
6679 if test "${with_sysroot+set}" = set; then :
6680 withval=$with_sysroot;
6687 case ${with_sysroot} in #(
6689 if test "$GCC" = yes; then
6690 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6694 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6700 $as_echo "${with_sysroot}" >&6; }
6701 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6706 $as_echo "${lt_sysroot:-no}" >&6; }
6712 # Check whether --enable-libtool-lock was given.
6713 if test "${enable_libtool_lock+set}" = set; then :
6714 enableval=$enable_libtool_lock;
6717 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6719 # Some flags need to be propagated to the compiler or linker for good
6723 # Find out which ABI we are using.
6724 echo 'int i;' > conftest.$ac_ext
6725 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6726 (eval $ac_compile) 2>&5
6728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6729 test $ac_status = 0; }; then
6730 case `/usr/bin/file conftest.$ac_objext` in
6742 # Find out which ABI we are using.
6743 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6744 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6745 (eval $ac_compile) 2>&5
6747 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6748 test $ac_status = 0; }; then
6749 if test "$lt_cv_prog_gnu_ld" = yes; then
6750 case `/usr/bin/file conftest.$ac_objext` in
6752 LD="${LD-ld} -melf32bsmip"
6755 LD="${LD-ld} -melf32bmipn32"
6758 LD="${LD-ld} -melf64bmip"
6762 case `/usr/bin/file conftest.$ac_objext` in
6778 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6779 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6780 # Find out which ABI we are using.
6781 echo 'int i;' > conftest.$ac_ext
6782 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6783 (eval $ac_compile) 2>&5
6785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6786 test $ac_status = 0; }; then
6787 case `/usr/bin/file conftest.o` in
6790 x86_64-*kfreebsd*-gnu)
6791 LD="${LD-ld} -m elf_i386_fbsd"
6794 LD="${LD-ld} -m elf_i386"
6796 ppc64-*linux*|powerpc64-*linux*)
6797 LD="${LD-ld} -m elf32ppclinux"
6800 LD="${LD-ld} -m elf_s390"
6803 LD="${LD-ld} -m elf32_sparc"
6809 x86_64-*kfreebsd*-gnu)
6810 LD="${LD-ld} -m elf_x86_64_fbsd"
6813 LD="${LD-ld} -m elf_x86_64"
6815 ppc*-*linux*|powerpc*-*linux*)
6816 LD="${LD-ld} -m elf64ppc"
6818 s390*-*linux*|s390*-*tpf*)
6819 LD="${LD-ld} -m elf64_s390"
6822 LD="${LD-ld} -m elf64_sparc"
6832 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6833 SAVE_CFLAGS="$CFLAGS"
6834 CFLAGS="$CFLAGS -belf"
6835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6836 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6837 if ${lt_cv_cc_needs_belf+:} false; then :
6838 $as_echo_n "(cached) " >&6
6841 ac_cpp='$CPP $CPPFLAGS'
6842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6847 /* end confdefs.h. */
6857 if ac_fn_c_try_link "$LINENO"; then :
6858 lt_cv_cc_needs_belf=yes
6860 lt_cv_cc_needs_belf=no
6862 rm -f core conftest.err conftest.$ac_objext \
6863 conftest$ac_exeext conftest.$ac_ext
6865 ac_cpp='$CPP $CPPFLAGS'
6866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6872 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6873 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6874 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6875 CFLAGS="$SAVE_CFLAGS"
6879 # Find out which ABI we are using.
6880 echo 'int i;' > conftest.$ac_ext
6881 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6882 (eval $ac_compile) 2>&5
6884 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6885 test $ac_status = 0; }; then
6886 case `/usr/bin/file conftest.o` in
6888 case $lt_cv_prog_gnu_ld in
6892 LD="${LD-ld} -m elf_x86_64"
6895 LD="${LD-ld} -m elf64_sparc"
6898 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6899 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6904 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6916 need_locks="$enable_libtool_lock"
6918 if test -n "$ac_tool_prefix"; then
6919 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6920 set dummy ${ac_tool_prefix}mt; ac_word=$2
6921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6922 $as_echo_n "checking for $ac_word... " >&6; }
6923 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6924 $as_echo_n "(cached) " >&6
6926 if test -n "$MANIFEST_TOOL"; then
6927 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6933 test -z "$as_dir" && as_dir=.
6934 for ac_exec_ext in '' $ac_executable_extensions; do
6935 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6936 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6946 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6947 if test -n "$MANIFEST_TOOL"; then
6948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6949 $as_echo "$MANIFEST_TOOL" >&6; }
6951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6952 $as_echo "no" >&6; }
6957 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6958 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6959 # Extract the first word of "mt", so it can be a program name with args.
6960 set dummy mt; ac_word=$2
6961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6962 $as_echo_n "checking for $ac_word... " >&6; }
6963 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6964 $as_echo_n "(cached) " >&6
6966 if test -n "$ac_ct_MANIFEST_TOOL"; then
6967 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6973 test -z "$as_dir" && as_dir=.
6974 for ac_exec_ext in '' $ac_executable_extensions; do
6975 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6976 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6986 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6987 if test -n "$ac_ct_MANIFEST_TOOL"; then
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6989 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6992 $as_echo "no" >&6; }
6995 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6998 case $cross_compiling:$ac_tool_warned in
7000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7001 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7002 ac_tool_warned=yes ;;
7004 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7007 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7010 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7012 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7013 if ${lt_cv_path_mainfest_tool+:} false; then :
7014 $as_echo_n "(cached) " >&6
7016 lt_cv_path_mainfest_tool=no
7017 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7018 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7019 cat conftest.err >&5
7020 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7021 lt_cv_path_mainfest_tool=yes
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7026 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7027 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7037 rhapsody* | darwin*)
7038 if test -n "$ac_tool_prefix"; then
7039 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7040 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7042 $as_echo_n "checking for $ac_word... " >&6; }
7043 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7044 $as_echo_n "(cached) " >&6
7046 if test -n "$DSYMUTIL"; then
7047 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7053 test -z "$as_dir" && as_dir=.
7054 for ac_exec_ext in '' $ac_executable_extensions; do
7055 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7056 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7066 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7067 if test -n "$DSYMUTIL"; then
7068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7069 $as_echo "$DSYMUTIL" >&6; }
7071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7072 $as_echo "no" >&6; }
7077 if test -z "$ac_cv_prog_DSYMUTIL"; then
7078 ac_ct_DSYMUTIL=$DSYMUTIL
7079 # Extract the first word of "dsymutil", so it can be a program name with args.
7080 set dummy dsymutil; ac_word=$2
7081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7082 $as_echo_n "checking for $ac_word... " >&6; }
7083 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7084 $as_echo_n "(cached) " >&6
7086 if test -n "$ac_ct_DSYMUTIL"; then
7087 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7093 test -z "$as_dir" && as_dir=.
7094 for ac_exec_ext in '' $ac_executable_extensions; do
7095 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7096 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7106 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7107 if test -n "$ac_ct_DSYMUTIL"; then
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7109 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7112 $as_echo "no" >&6; }
7115 if test "x$ac_ct_DSYMUTIL" = x; then
7118 case $cross_compiling:$ac_tool_warned in
7120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7121 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7122 ac_tool_warned=yes ;;
7124 DSYMUTIL=$ac_ct_DSYMUTIL
7127 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7130 if test -n "$ac_tool_prefix"; then
7131 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7132 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7134 $as_echo_n "checking for $ac_word... " >&6; }
7135 if ${ac_cv_prog_NMEDIT+:} false; then :
7136 $as_echo_n "(cached) " >&6
7138 if test -n "$NMEDIT"; then
7139 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7145 test -z "$as_dir" && as_dir=.
7146 for ac_exec_ext in '' $ac_executable_extensions; do
7147 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7148 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7158 NMEDIT=$ac_cv_prog_NMEDIT
7159 if test -n "$NMEDIT"; then
7160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7161 $as_echo "$NMEDIT" >&6; }
7163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7164 $as_echo "no" >&6; }
7169 if test -z "$ac_cv_prog_NMEDIT"; then
7170 ac_ct_NMEDIT=$NMEDIT
7171 # Extract the first word of "nmedit", so it can be a program name with args.
7172 set dummy nmedit; ac_word=$2
7173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7174 $as_echo_n "checking for $ac_word... " >&6; }
7175 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7176 $as_echo_n "(cached) " >&6
7178 if test -n "$ac_ct_NMEDIT"; then
7179 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7185 test -z "$as_dir" && as_dir=.
7186 for ac_exec_ext in '' $ac_executable_extensions; do
7187 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7188 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7198 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7199 if test -n "$ac_ct_NMEDIT"; then
7200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7201 $as_echo "$ac_ct_NMEDIT" >&6; }
7203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7204 $as_echo "no" >&6; }
7207 if test "x$ac_ct_NMEDIT" = x; then
7210 case $cross_compiling:$ac_tool_warned in
7212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7213 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7214 ac_tool_warned=yes ;;
7216 NMEDIT=$ac_ct_NMEDIT
7219 NMEDIT="$ac_cv_prog_NMEDIT"
7222 if test -n "$ac_tool_prefix"; then
7223 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7224 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7226 $as_echo_n "checking for $ac_word... " >&6; }
7227 if ${ac_cv_prog_LIPO+:} false; then :
7228 $as_echo_n "(cached) " >&6
7230 if test -n "$LIPO"; then
7231 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7237 test -z "$as_dir" && as_dir=.
7238 for ac_exec_ext in '' $ac_executable_extensions; do
7239 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7240 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7250 LIPO=$ac_cv_prog_LIPO
7251 if test -n "$LIPO"; then
7252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7253 $as_echo "$LIPO" >&6; }
7255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7256 $as_echo "no" >&6; }
7261 if test -z "$ac_cv_prog_LIPO"; then
7263 # Extract the first word of "lipo", so it can be a program name with args.
7264 set dummy lipo; ac_word=$2
7265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7266 $as_echo_n "checking for $ac_word... " >&6; }
7267 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7268 $as_echo_n "(cached) " >&6
7270 if test -n "$ac_ct_LIPO"; then
7271 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7277 test -z "$as_dir" && as_dir=.
7278 for ac_exec_ext in '' $ac_executable_extensions; do
7279 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7280 ac_cv_prog_ac_ct_LIPO="lipo"
7281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7290 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7291 if test -n "$ac_ct_LIPO"; then
7292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7293 $as_echo "$ac_ct_LIPO" >&6; }
7295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7296 $as_echo "no" >&6; }
7299 if test "x$ac_ct_LIPO" = x; then
7302 case $cross_compiling:$ac_tool_warned in
7304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7305 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7306 ac_tool_warned=yes ;;
7311 LIPO="$ac_cv_prog_LIPO"
7314 if test -n "$ac_tool_prefix"; then
7315 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7316 set dummy ${ac_tool_prefix}otool; ac_word=$2
7317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7318 $as_echo_n "checking for $ac_word... " >&6; }
7319 if ${ac_cv_prog_OTOOL+:} false; then :
7320 $as_echo_n "(cached) " >&6
7322 if test -n "$OTOOL"; then
7323 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7329 test -z "$as_dir" && as_dir=.
7330 for ac_exec_ext in '' $ac_executable_extensions; do
7331 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7332 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7333 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7342 OTOOL=$ac_cv_prog_OTOOL
7343 if test -n "$OTOOL"; then
7344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7345 $as_echo "$OTOOL" >&6; }
7347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7348 $as_echo "no" >&6; }
7353 if test -z "$ac_cv_prog_OTOOL"; then
7355 # Extract the first word of "otool", so it can be a program name with args.
7356 set dummy otool; ac_word=$2
7357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7358 $as_echo_n "checking for $ac_word... " >&6; }
7359 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7360 $as_echo_n "(cached) " >&6
7362 if test -n "$ac_ct_OTOOL"; then
7363 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7369 test -z "$as_dir" && as_dir=.
7370 for ac_exec_ext in '' $ac_executable_extensions; do
7371 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7372 ac_cv_prog_ac_ct_OTOOL="otool"
7373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7382 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7383 if test -n "$ac_ct_OTOOL"; then
7384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7385 $as_echo "$ac_ct_OTOOL" >&6; }
7387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7388 $as_echo "no" >&6; }
7391 if test "x$ac_ct_OTOOL" = x; then
7394 case $cross_compiling:$ac_tool_warned in
7396 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7397 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7398 ac_tool_warned=yes ;;
7403 OTOOL="$ac_cv_prog_OTOOL"
7406 if test -n "$ac_tool_prefix"; then
7407 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7408 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7410 $as_echo_n "checking for $ac_word... " >&6; }
7411 if ${ac_cv_prog_OTOOL64+:} false; then :
7412 $as_echo_n "(cached) " >&6
7414 if test -n "$OTOOL64"; then
7415 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7421 test -z "$as_dir" && as_dir=.
7422 for ac_exec_ext in '' $ac_executable_extensions; do
7423 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7424 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7425 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7434 OTOOL64=$ac_cv_prog_OTOOL64
7435 if test -n "$OTOOL64"; then
7436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7437 $as_echo "$OTOOL64" >&6; }
7439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7440 $as_echo "no" >&6; }
7445 if test -z "$ac_cv_prog_OTOOL64"; then
7446 ac_ct_OTOOL64=$OTOOL64
7447 # Extract the first word of "otool64", so it can be a program name with args.
7448 set dummy otool64; ac_word=$2
7449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7450 $as_echo_n "checking for $ac_word... " >&6; }
7451 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7452 $as_echo_n "(cached) " >&6
7454 if test -n "$ac_ct_OTOOL64"; then
7455 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7461 test -z "$as_dir" && as_dir=.
7462 for ac_exec_ext in '' $ac_executable_extensions; do
7463 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7464 ac_cv_prog_ac_ct_OTOOL64="otool64"
7465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7474 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7475 if test -n "$ac_ct_OTOOL64"; then
7476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7477 $as_echo "$ac_ct_OTOOL64" >&6; }
7479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7480 $as_echo "no" >&6; }
7483 if test "x$ac_ct_OTOOL64" = x; then
7486 case $cross_compiling:$ac_tool_warned in
7488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7489 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7490 ac_tool_warned=yes ;;
7492 OTOOL64=$ac_ct_OTOOL64
7495 OTOOL64="$ac_cv_prog_OTOOL64"
7524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7525 $as_echo_n "checking for -single_module linker flag... " >&6; }
7526 if ${lt_cv_apple_cc_single_mod+:} false; then :
7527 $as_echo_n "(cached) " >&6
7529 lt_cv_apple_cc_single_mod=no
7530 if test -z "${LT_MULTI_MODULE}"; then
7531 # By default we will add the -single_module flag. You can override
7532 # by either setting the environment variable LT_MULTI_MODULE
7533 # non-empty at configure time, or by adding -multi_module to the
7535 rm -rf libconftest.dylib*
7536 echo "int foo(void){return 1;}" > conftest.c
7537 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7538 -dynamiclib -Wl,-single_module conftest.c" >&5
7539 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7540 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7542 # If there is a non-empty error log, and "single_module"
7543 # appears in it, assume the flag caused a linker warning
7544 if test -s conftest.err && $GREP single_module conftest.err; then
7545 cat conftest.err >&5
7546 # Otherwise, if the output was created with a 0 exit code from
7547 # the compiler, it worked.
7548 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7549 lt_cv_apple_cc_single_mod=yes
7551 cat conftest.err >&5
7553 rm -rf libconftest.dylib*
7557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7558 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7561 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7562 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7563 $as_echo_n "(cached) " >&6
7565 lt_cv_ld_exported_symbols_list=no
7566 save_LDFLAGS=$LDFLAGS
7567 echo "_main" > conftest.sym
7568 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7570 /* end confdefs.h. */
7580 if ac_fn_c_try_link "$LINENO"; then :
7581 lt_cv_ld_exported_symbols_list=yes
7583 lt_cv_ld_exported_symbols_list=no
7585 rm -f core conftest.err conftest.$ac_objext \
7586 conftest$ac_exeext conftest.$ac_ext
7587 LDFLAGS="$save_LDFLAGS"
7590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7591 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7594 $as_echo_n "checking for -force_load linker flag... " >&6; }
7595 if ${lt_cv_ld_force_load+:} false; then :
7596 $as_echo_n "(cached) " >&6
7598 lt_cv_ld_force_load=no
7599 cat > conftest.c << _LT_EOF
7600 int forced_loaded() { return 2;}
7602 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7603 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7604 echo "$AR cru libconftest.a conftest.o" >&5
7605 $AR cru libconftest.a conftest.o 2>&5
7606 echo "$RANLIB libconftest.a" >&5
7607 $RANLIB libconftest.a 2>&5
7608 cat > conftest.c << _LT_EOF
7609 int main() { return 0;}
7611 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7612 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7614 if test -s conftest.err && $GREP force_load conftest.err; then
7615 cat conftest.err >&5
7616 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7617 lt_cv_ld_force_load=yes
7619 cat conftest.err >&5
7621 rm -f conftest.err libconftest.a conftest conftest.c
7622 rm -rf conftest.dSYM
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7626 $as_echo "$lt_cv_ld_force_load" >&6; }
7628 rhapsody* | darwin1.[012])
7629 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7631 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7632 darwin*) # darwin 5.x on
7633 # if running on 10.5 or later, the deployment target defaults
7634 # to the OS version, if on x86, and 10.4, the deployment
7635 # target defaults to 10.4. Don't you love it?
7636 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7637 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7638 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7640 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7642 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7646 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7647 _lt_dar_single_mod='$single_module'
7649 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7650 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7652 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7654 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7655 _lt_dsymutil='~$DSYMUTIL $lib || :'
7663 ac_cpp='$CPP $CPPFLAGS'
7664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7668 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7669 # On Suns, sometimes $CPP names a directory.
7670 if test -n "$CPP" && test -d "$CPP"; then
7673 if test -z "$CPP"; then
7674 if ${ac_cv_prog_CPP+:} false; then :
7675 $as_echo_n "(cached) " >&6
7677 # Double quotes because CPP needs to be expanded
7678 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7681 for ac_c_preproc_warn_flag in '' yes
7683 # Use a header file that comes with gcc, so configuring glibc
7684 # with a fresh cross-compiler works.
7685 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7686 # <limits.h> exists even on freestanding compilers.
7687 # On the NeXT, cc -E runs the code through the compiler's parser,
7688 # not just through cpp. "Syntax error" is here to catch this case.
7689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7690 /* end confdefs.h. */
7692 # include <limits.h>
7694 # include <assert.h>
7698 if ac_fn_c_try_cpp "$LINENO"; then :
7701 # Broken: fails on valid input.
7704 rm -f conftest.err conftest.i conftest.$ac_ext
7706 # OK, works on sane cases. Now check whether nonexistent headers
7707 # can be detected and how.
7708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7709 /* end confdefs.h. */
7710 #include <ac_nonexistent.h>
7712 if ac_fn_c_try_cpp "$LINENO"; then :
7713 # Broken: success on invalid input.
7716 # Passes both tests.
7720 rm -f conftest.err conftest.i conftest.$ac_ext
7723 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7724 rm -f conftest.i conftest.err conftest.$ac_ext
7725 if $ac_preproc_ok; then :
7737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7738 $as_echo "$CPP" >&6; }
7740 for ac_c_preproc_warn_flag in '' yes
7742 # Use a header file that comes with gcc, so configuring glibc
7743 # with a fresh cross-compiler works.
7744 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7745 # <limits.h> exists even on freestanding compilers.
7746 # On the NeXT, cc -E runs the code through the compiler's parser,
7747 # not just through cpp. "Syntax error" is here to catch this case.
7748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7749 /* end confdefs.h. */
7751 # include <limits.h>
7753 # include <assert.h>
7757 if ac_fn_c_try_cpp "$LINENO"; then :
7760 # Broken: fails on valid input.
7763 rm -f conftest.err conftest.i conftest.$ac_ext
7765 # OK, works on sane cases. Now check whether nonexistent headers
7766 # can be detected and how.
7767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7768 /* end confdefs.h. */
7769 #include <ac_nonexistent.h>
7771 if ac_fn_c_try_cpp "$LINENO"; then :
7772 # Broken: success on invalid input.
7775 # Passes both tests.
7779 rm -f conftest.err conftest.i conftest.$ac_ext
7782 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7783 rm -f conftest.i conftest.err conftest.$ac_ext
7784 if $ac_preproc_ok; then :
7787 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7788 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7789 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7790 See \`config.log' for more details" "$LINENO" 5; }
7794 ac_cpp='$CPP $CPPFLAGS'
7795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7801 $as_echo_n "checking for ANSI C header files... " >&6; }
7802 if ${ac_cv_header_stdc+:} false; then :
7803 $as_echo_n "(cached) " >&6
7805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7806 /* end confdefs.h. */
7820 if ac_fn_c_try_compile "$LINENO"; then :
7821 ac_cv_header_stdc=yes
7823 ac_cv_header_stdc=no
7825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7827 if test $ac_cv_header_stdc = yes; then
7828 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7830 /* end confdefs.h. */
7834 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7835 $EGREP "memchr" >/dev/null 2>&1; then :
7838 ac_cv_header_stdc=no
7844 if test $ac_cv_header_stdc = yes; then
7845 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7847 /* end confdefs.h. */
7851 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7852 $EGREP "free" >/dev/null 2>&1; then :
7855 ac_cv_header_stdc=no
7861 if test $ac_cv_header_stdc = yes; then
7862 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7863 if test "$cross_compiling" = yes; then :
7866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7867 /* end confdefs.h. */
7870 #if ((' ' & 0x0FF) == 0x020)
7871 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7872 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7874 # define ISLOWER(c) \
7875 (('a' <= (c) && (c) <= 'i') \
7876 || ('j' <= (c) && (c) <= 'r') \
7877 || ('s' <= (c) && (c) <= 'z'))
7878 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7881 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7886 for (i = 0; i < 256; i++)
7887 if (XOR (islower (i), ISLOWER (i))
7888 || toupper (i) != TOUPPER (i))
7893 if ac_fn_c_try_run "$LINENO"; then :
7896 ac_cv_header_stdc=no
7898 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7899 conftest.$ac_objext conftest.beam conftest.$ac_ext
7904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7905 $as_echo "$ac_cv_header_stdc" >&6; }
7906 if test $ac_cv_header_stdc = yes; then
7908 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7912 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7913 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7914 inttypes.h stdint.h unistd.h
7916 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7917 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7919 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7920 cat >>confdefs.h <<_ACEOF
7921 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7929 for ac_header in dlfcn.h
7931 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7933 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7934 cat >>confdefs.h <<_ACEOF
7935 #define HAVE_DLFCN_H 1
7945 func_stripname_cnf ()
7948 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
7949 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
7951 } # func_stripname_cnf
7967 # Check whether --enable-shared was given.
7968 if test "${enable_shared+set}" = set; then :
7969 enableval=$enable_shared; p=${PACKAGE-default}
7971 yes) enable_shared=yes ;;
7972 no) enable_shared=no ;;
7975 # Look at the argument we got. We use all the common list separators.
7976 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7977 for pkg in $enableval; do
7979 if test "X$pkg" = "X$p"; then
7998 # Check whether --enable-static was given.
7999 if test "${enable_static+set}" = set; then :
8000 enableval=$enable_static; p=${PACKAGE-default}
8002 yes) enable_static=yes ;;
8003 no) enable_static=no ;;
8006 # Look at the argument we got. We use all the common list separators.
8007 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8008 for pkg in $enableval; do
8010 if test "X$pkg" = "X$p"; then
8030 # Check whether --with-pic was given.
8031 if test "${with_pic+set}" = set; then :
8032 withval=$with_pic; lt_p=${PACKAGE-default}
8034 yes|no) pic_mode=$withval ;;
8037 # Look at the argument we got. We use all the common list separators.
8038 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8039 for lt_pkg in $withval; do
8041 if test "X$lt_pkg" = "X$lt_p"; then
8053 test -z "$pic_mode" && pic_mode=default
8061 # Check whether --enable-fast-install was given.
8062 if test "${enable_fast_install+set}" = set; then :
8063 enableval=$enable_fast_install; p=${PACKAGE-default}
8065 yes) enable_fast_install=yes ;;
8066 no) enable_fast_install=no ;;
8068 enable_fast_install=no
8069 # Look at the argument we got. We use all the common list separators.
8070 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8071 for pkg in $enableval; do
8073 if test "X$pkg" = "X$p"; then
8074 enable_fast_install=yes
8081 enable_fast_install=yes
8094 # This can be used to rebuild libtool when needed
8095 LIBTOOL_DEPS="$ltmain"
8097 # Always use our own libtool.
8098 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8129 test -z "$LN_S" && LN_S="ln -s"
8144 if test -n "${ZSH_VERSION+set}" ; then
8145 setopt NO_GLOB_SUBST
8148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8149 $as_echo_n "checking for objdir... " >&6; }
8150 if ${lt_cv_objdir+:} false; then :
8151 $as_echo_n "(cached) " >&6
8153 rm -f .libs 2>/dev/null
8154 mkdir .libs 2>/dev/null
8155 if test -d .libs; then
8158 # MS-DOS does not allow filenames that begin with a dot.
8161 rmdir .libs 2>/dev/null
8163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8164 $as_echo "$lt_cv_objdir" >&6; }
8165 objdir=$lt_cv_objdir
8171 cat >>confdefs.h <<_ACEOF
8172 #define LT_OBJDIR "$lt_cv_objdir/"
8180 # AIX sometimes has problems with the GCC collect2 program. For some
8181 # reason, if we set the COLLECT_NAMES environment variable, the problems
8182 # vanish in a puff of smoke.
8183 if test "X${COLLECT_NAMES+set}" != Xset; then
8185 export COLLECT_NAMES
8192 can_build_shared=yes
8194 # All known linkers require a `.a' archive for static linking (except MSVC,
8195 # which needs '.lib').
8198 with_gnu_ld="$lt_cv_prog_gnu_ld"
8201 old_CFLAGS="$CFLAGS"
8203 # Set sane defaults for various variables
8204 test -z "$CC" && CC=cc
8205 test -z "$LTCC" && LTCC=$CC
8206 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8207 test -z "$LD" && LD=ld
8208 test -z "$ac_objext" && ac_objext=o
8210 for cc_temp in $compiler""; do
8212 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8213 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8218 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8221 # Only perform the check for file, if the check method requires it
8222 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8223 case $deplibs_check_method in
8225 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8227 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8228 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8229 $as_echo_n "(cached) " >&6
8233 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8236 lt_save_MAGIC_CMD="$MAGIC_CMD"
8237 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8238 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8239 for ac_dir in $ac_dummy; do
8241 test -z "$ac_dir" && ac_dir=.
8242 if test -f $ac_dir/${ac_tool_prefix}file; then
8243 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8244 if test -n "$file_magic_test_file"; then
8245 case $deplibs_check_method in
8247 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8248 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8249 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8250 $EGREP "$file_magic_regex" > /dev/null; then
8255 *** Warning: the command libtool uses to detect shared libraries,
8256 *** $file_magic_cmd, produces output that libtool cannot recognize.
8257 *** The result is that libtool may fail to recognize shared libraries
8258 *** as such. This will affect the creation of libtool libraries that
8259 *** depend on shared libraries, but programs linked with such libtool
8260 *** libraries will work regardless of this problem. Nevertheless, you
8261 *** may want to report the problem to your system manager and/or to
8262 *** bug-libtool@gnu.org
8272 MAGIC_CMD="$lt_save_MAGIC_CMD"
8277 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8278 if test -n "$MAGIC_CMD"; then
8279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8280 $as_echo "$MAGIC_CMD" >&6; }
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8283 $as_echo "no" >&6; }
8290 if test -z "$lt_cv_path_MAGIC_CMD"; then
8291 if test -n "$ac_tool_prefix"; then
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8293 $as_echo_n "checking for file... " >&6; }
8294 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8295 $as_echo_n "(cached) " >&6
8299 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8302 lt_save_MAGIC_CMD="$MAGIC_CMD"
8303 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8304 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8305 for ac_dir in $ac_dummy; do
8307 test -z "$ac_dir" && ac_dir=.
8308 if test -f $ac_dir/file; then
8309 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8310 if test -n "$file_magic_test_file"; then
8311 case $deplibs_check_method in
8313 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8314 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8315 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8316 $EGREP "$file_magic_regex" > /dev/null; then
8321 *** Warning: the command libtool uses to detect shared libraries,
8322 *** $file_magic_cmd, produces output that libtool cannot recognize.
8323 *** The result is that libtool may fail to recognize shared libraries
8324 *** as such. This will affect the creation of libtool libraries that
8325 *** depend on shared libraries, but programs linked with such libtool
8326 *** libraries will work regardless of this problem. Nevertheless, you
8327 *** may want to report the problem to your system manager and/or to
8328 *** bug-libtool@gnu.org
8338 MAGIC_CMD="$lt_save_MAGIC_CMD"
8343 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8344 if test -n "$MAGIC_CMD"; then
8345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8346 $as_echo "$MAGIC_CMD" >&6; }
8348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8349 $as_echo "no" >&6; }
8362 # Use C for the default configuration in the libtool script
8366 ac_cpp='$CPP $CPPFLAGS'
8367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8372 # Source file extension for C test sources.
8375 # Object file extension for compiled C test sources.
8379 # Code to be used in simple compile tests
8380 lt_simple_compile_test_code="int some_variable = 0;"
8382 # Code to be used in simple link tests
8383 lt_simple_link_test_code='int main(){return(0);}'
8391 # If no C compiler was specified, use CC.
8394 # If no C compiler flags were specified, use CFLAGS.
8395 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8397 # Allow CC to be a program name with arguments.
8400 # Save the default compiler, since it gets overwritten when the other
8401 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8402 compiler_DEFAULT=$CC
8404 # save warnings/boilerplate of simple test code
8405 ac_outfile=conftest.$ac_objext
8406 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8407 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8408 _lt_compiler_boilerplate=`cat conftest.err`
8411 ac_outfile=conftest.$ac_objext
8412 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8413 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8414 _lt_linker_boilerplate=`cat conftest.err`
8419 ## There is no encapsulation within the following macros, do not change
8420 ## the running order or otherwise move them around unless you know exactly
8421 ## what you are doing...
8422 if test -n "$compiler"; then
8424 lt_prog_compiler_no_builtin_flag=
8426 if test "$GCC" = yes; then
8427 case $cc_basename in
8429 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8431 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8435 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8436 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8437 $as_echo_n "(cached) " >&6
8439 lt_cv_prog_compiler_rtti_exceptions=no
8440 ac_outfile=conftest.$ac_objext
8441 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8442 lt_compiler_flag="-fno-rtti -fno-exceptions"
8443 # Insert the option either (1) after the last *FLAGS variable, or
8444 # (2) before a word containing "conftest.", or (3) at the end.
8445 # Note that $ac_compile itself does not contain backslashes and begins
8446 # with a dollar sign (not a hyphen), so the echo should work correctly.
8447 # The option is referenced via a variable to avoid confusing sed.
8448 lt_compile=`echo "$ac_compile" | $SED \
8449 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8450 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8451 -e 's:$: $lt_compiler_flag:'`
8452 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8453 (eval "$lt_compile" 2>conftest.err)
8455 cat conftest.err >&5
8456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8457 if (exit $ac_status) && test -s "$ac_outfile"; then
8458 # The compiler can only warn and ignore the option if not recognized
8459 # So say no if there are warnings other than the usual output.
8460 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8461 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8462 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8463 lt_cv_prog_compiler_rtti_exceptions=yes
8469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8470 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8472 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8473 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8485 lt_prog_compiler_wl=
8486 lt_prog_compiler_pic=
8487 lt_prog_compiler_static=
8490 if test "$GCC" = yes; then
8491 lt_prog_compiler_wl='-Wl,'
8492 lt_prog_compiler_static='-static'
8496 # All AIX code is PIC.
8497 if test "$host_cpu" = ia64; then
8498 # AIX 5 now supports IA64 processor
8499 lt_prog_compiler_static='-Bstatic'
8506 # see comment about AmigaOS4 .so support
8507 lt_prog_compiler_pic='-fPIC'
8510 # FIXME: we need at least 68020 code to build shared libraries, but
8511 # adding the `-m68020' flag to GCC prevents building anything better,
8513 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8518 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8519 # PIC is the default for these OSes.
8522 mingw* | cygwin* | pw32* | os2* | cegcc*)
8523 # This hack is so that the source file can tell whether it is being
8524 # built for inclusion in a dll (and should export symbols for example).
8525 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8526 # (--disable-auto-import) libraries
8527 lt_prog_compiler_pic='-DDLL_EXPORT'
8530 darwin* | rhapsody*)
8531 # PIC is the default on this platform
8532 # Common symbols not allowed in MH_DYLIB files
8533 lt_prog_compiler_pic='-fno-common'
8537 # PIC is the default for Haiku.
8538 # The "-static" flag exists, but is broken.
8539 lt_prog_compiler_static=
8543 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8544 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8545 # sets the default TLS model and affects inlining.
8551 lt_prog_compiler_pic='-fPIC'
8557 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8558 # Instead, we relocate shared libraries at runtime.
8562 # Just because we use GCC doesn't mean we suddenly get shared libraries
8563 # on systems that don't support them.
8564 lt_prog_compiler_can_build_shared=no
8569 # QNX uses GNU C++, but need to define -shared option too, otherwise
8571 lt_prog_compiler_pic='-fPIC -shared'
8575 if test -d /usr/nec; then
8576 lt_prog_compiler_pic=-Kconform_pic
8581 lt_prog_compiler_pic='-fPIC'
8585 case $cc_basename in
8586 nvcc*) # Cuda Compiler Driver 2.2
8587 lt_prog_compiler_wl='-Xlinker '
8588 if test -n "$lt_prog_compiler_pic"; then
8589 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8594 # PORTME Check for flag to pass linker flags through the system compiler.
8597 lt_prog_compiler_wl='-Wl,'
8598 if test "$host_cpu" = ia64; then
8599 # AIX 5 now supports IA64 processor
8600 lt_prog_compiler_static='-Bstatic'
8602 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8606 mingw* | cygwin* | pw32* | os2* | cegcc*)
8607 # This hack is so that the source file can tell whether it is being
8608 # built for inclusion in a dll (and should export symbols for example).
8609 lt_prog_compiler_pic='-DDLL_EXPORT'
8612 hpux9* | hpux10* | hpux11*)
8613 lt_prog_compiler_wl='-Wl,'
8614 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8621 lt_prog_compiler_pic='+Z'
8624 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8625 lt_prog_compiler_static='${wl}-a ${wl}archive'
8628 irix5* | irix6* | nonstopux*)
8629 lt_prog_compiler_wl='-Wl,'
8630 # PIC (with -KPIC) is the default.
8631 lt_prog_compiler_static='-non_shared'
8634 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8635 case $cc_basename in
8636 # old Intel for x86_64 which still supported -KPIC.
8638 lt_prog_compiler_wl='-Wl,'
8639 lt_prog_compiler_pic='-KPIC'
8640 lt_prog_compiler_static='-static'
8642 # icc used to be incompatible with GCC.
8643 # ICC 10 doesn't accept -KPIC any more.
8645 lt_prog_compiler_wl='-Wl,'
8646 lt_prog_compiler_pic='-fPIC'
8647 lt_prog_compiler_static='-static'
8649 # Lahey Fortran 8.1.
8651 lt_prog_compiler_wl='-Wl,'
8652 lt_prog_compiler_pic='--shared'
8653 lt_prog_compiler_static='--static'
8656 # NAG Fortran compiler
8657 lt_prog_compiler_wl='-Wl,-Wl,,'
8658 lt_prog_compiler_pic='-PIC'
8659 lt_prog_compiler_static='-Bstatic'
8661 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8662 # Portland Group compilers (*not* the Pentium gcc compiler,
8663 # which looks to be a dead project)
8664 lt_prog_compiler_wl='-Wl,'
8665 lt_prog_compiler_pic='-fpic'
8666 lt_prog_compiler_static='-Bstatic'
8669 lt_prog_compiler_wl='-Wl,'
8670 # All Alpha code is PIC.
8671 lt_prog_compiler_static='-non_shared'
8673 xl* | bgxl* | bgf* | mpixl*)
8674 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8675 lt_prog_compiler_wl='-Wl,'
8676 lt_prog_compiler_pic='-qpic'
8677 lt_prog_compiler_static='-qstaticlink'
8680 case `$CC -V 2>&1 | sed 5q` in
8681 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8682 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8683 lt_prog_compiler_pic='-KPIC'
8684 lt_prog_compiler_static='-Bstatic'
8685 lt_prog_compiler_wl=''
8687 *Sun\ F* | *Sun*Fortran*)
8688 lt_prog_compiler_pic='-KPIC'
8689 lt_prog_compiler_static='-Bstatic'
8690 lt_prog_compiler_wl='-Qoption ld '
8694 lt_prog_compiler_pic='-KPIC'
8695 lt_prog_compiler_static='-Bstatic'
8696 lt_prog_compiler_wl='-Wl,'
8698 *Intel*\ [CF]*Compiler*)
8699 lt_prog_compiler_wl='-Wl,'
8700 lt_prog_compiler_pic='-fPIC'
8701 lt_prog_compiler_static='-static'
8704 lt_prog_compiler_wl='-Wl,'
8705 lt_prog_compiler_pic='-fpic'
8706 lt_prog_compiler_static='-Bstatic'
8714 lt_prog_compiler_pic='-KPIC'
8715 lt_prog_compiler_static='-Bstatic'
8719 # QNX uses GNU C++, but need to define -shared option too, otherwise
8721 lt_prog_compiler_pic='-fPIC -shared'
8724 osf3* | osf4* | osf5*)
8725 lt_prog_compiler_wl='-Wl,'
8726 # All OSF/1 code is PIC.
8727 lt_prog_compiler_static='-non_shared'
8731 lt_prog_compiler_static='-non_shared'
8735 lt_prog_compiler_pic='-KPIC'
8736 lt_prog_compiler_static='-Bstatic'
8737 case $cc_basename in
8738 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8739 lt_prog_compiler_wl='-Qoption ld ';;
8741 lt_prog_compiler_wl='-Wl,';;
8746 lt_prog_compiler_wl='-Qoption ld '
8747 lt_prog_compiler_pic='-PIC'
8748 lt_prog_compiler_static='-Bstatic'
8751 sysv4 | sysv4.2uw2* | sysv4.3*)
8752 lt_prog_compiler_wl='-Wl,'
8753 lt_prog_compiler_pic='-KPIC'
8754 lt_prog_compiler_static='-Bstatic'
8758 if test -d /usr/nec ;then
8759 lt_prog_compiler_pic='-Kconform_pic'
8760 lt_prog_compiler_static='-Bstatic'
8764 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8765 lt_prog_compiler_wl='-Wl,'
8766 lt_prog_compiler_pic='-KPIC'
8767 lt_prog_compiler_static='-Bstatic'
8771 lt_prog_compiler_wl='-Wl,'
8772 lt_prog_compiler_can_build_shared=no
8776 lt_prog_compiler_pic='-pic'
8777 lt_prog_compiler_static='-Bstatic'
8781 lt_prog_compiler_can_build_shared=no
8787 # For platforms which do not support PIC, -DPIC is meaningless:
8789 lt_prog_compiler_pic=
8792 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8797 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8798 if ${lt_cv_prog_compiler_pic+:} false; then :
8799 $as_echo_n "(cached) " >&6
8801 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8804 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8805 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8808 # Check to make sure the PIC flag actually works.
8810 if test -n "$lt_prog_compiler_pic"; then
8811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8812 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8813 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8814 $as_echo_n "(cached) " >&6
8816 lt_cv_prog_compiler_pic_works=no
8817 ac_outfile=conftest.$ac_objext
8818 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8819 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8820 # Insert the option either (1) after the last *FLAGS variable, or
8821 # (2) before a word containing "conftest.", or (3) at the end.
8822 # Note that $ac_compile itself does not contain backslashes and begins
8823 # with a dollar sign (not a hyphen), so the echo should work correctly.
8824 # The option is referenced via a variable to avoid confusing sed.
8825 lt_compile=`echo "$ac_compile" | $SED \
8826 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8827 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8828 -e 's:$: $lt_compiler_flag:'`
8829 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8830 (eval "$lt_compile" 2>conftest.err)
8832 cat conftest.err >&5
8833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8834 if (exit $ac_status) && test -s "$ac_outfile"; then
8835 # The compiler can only warn and ignore the option if not recognized
8836 # So say no if there are warnings other than the usual output.
8837 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8838 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8839 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8840 lt_cv_prog_compiler_pic_works=yes
8846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8847 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8849 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8850 case $lt_prog_compiler_pic in
8852 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8855 lt_prog_compiler_pic=
8856 lt_prog_compiler_can_build_shared=no
8872 # Check to make sure the static flag actually works.
8874 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8876 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8877 if ${lt_cv_prog_compiler_static_works+:} false; then :
8878 $as_echo_n "(cached) " >&6
8880 lt_cv_prog_compiler_static_works=no
8881 save_LDFLAGS="$LDFLAGS"
8882 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8883 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8884 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8885 # The linker can only warn and ignore the option if not recognized
8886 # So say no if there are warnings
8887 if test -s conftest.err; then
8888 # Append any errors to the config.log.
8889 cat conftest.err 1>&5
8890 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8891 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8892 if diff conftest.exp conftest.er2 >/dev/null; then
8893 lt_cv_prog_compiler_static_works=yes
8896 lt_cv_prog_compiler_static_works=yes
8900 LDFLAGS="$save_LDFLAGS"
8903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8904 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8906 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8909 lt_prog_compiler_static=
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8919 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8920 if ${lt_cv_prog_compiler_c_o+:} false; then :
8921 $as_echo_n "(cached) " >&6
8923 lt_cv_prog_compiler_c_o=no
8924 $RM -r conftest 2>/dev/null
8928 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8930 lt_compiler_flag="-o out/conftest2.$ac_objext"
8931 # Insert the option either (1) after the last *FLAGS variable, or
8932 # (2) before a word containing "conftest.", or (3) at the end.
8933 # Note that $ac_compile itself does not contain backslashes and begins
8934 # with a dollar sign (not a hyphen), so the echo should work correctly.
8935 lt_compile=`echo "$ac_compile" | $SED \
8936 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8937 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8938 -e 's:$: $lt_compiler_flag:'`
8939 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8940 (eval "$lt_compile" 2>out/conftest.err)
8942 cat out/conftest.err >&5
8943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8944 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8946 # The compiler can only warn and ignore the option if not recognized
8947 # So say no if there are warnings
8948 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8949 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8950 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8951 lt_cv_prog_compiler_c_o=yes
8956 # SGI C++ compiler will create directory out/ii_files/ for
8957 # template instantiation
8958 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8959 $RM out/* && rmdir out
8965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8966 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8974 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8975 if ${lt_cv_prog_compiler_c_o+:} false; then :
8976 $as_echo_n "(cached) " >&6
8978 lt_cv_prog_compiler_c_o=no
8979 $RM -r conftest 2>/dev/null
8983 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8985 lt_compiler_flag="-o out/conftest2.$ac_objext"
8986 # Insert the option either (1) after the last *FLAGS variable, or
8987 # (2) before a word containing "conftest.", or (3) at the end.
8988 # Note that $ac_compile itself does not contain backslashes and begins
8989 # with a dollar sign (not a hyphen), so the echo should work correctly.
8990 lt_compile=`echo "$ac_compile" | $SED \
8991 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8992 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8993 -e 's:$: $lt_compiler_flag:'`
8994 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8995 (eval "$lt_compile" 2>out/conftest.err)
8997 cat out/conftest.err >&5
8998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8999 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9001 # The compiler can only warn and ignore the option if not recognized
9002 # So say no if there are warnings
9003 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9004 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9005 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9006 lt_cv_prog_compiler_c_o=yes
9011 # SGI C++ compiler will create directory out/ii_files/ for
9012 # template instantiation
9013 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9014 $RM out/* && rmdir out
9020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9021 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9026 hard_links="nottested"
9027 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9028 # do not overwrite the value of need_locks provided by the user
9029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9030 $as_echo_n "checking if we can lock with hard links... " >&6; }
9033 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9035 ln conftest.a conftest.b 2>&5 || hard_links=no
9036 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9038 $as_echo "$hard_links" >&6; }
9039 if test "$hard_links" = no; then
9040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9041 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9054 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9057 allow_undefined_flag=
9058 always_export_symbols=no
9060 archive_expsym_cmds=
9061 compiler_needs_object=no
9062 enable_shared_with_static_runtimes=no
9063 export_dynamic_flag_spec=
9064 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9065 hardcode_automatic=no
9067 hardcode_direct_absolute=no
9068 hardcode_libdir_flag_spec=
9069 hardcode_libdir_separator=
9071 hardcode_shlibpath_var=unsupported
9073 link_all_deplibs=unknown
9076 old_archive_from_new_cmds=
9077 old_archive_from_expsyms_cmds=
9078 thread_safe_flag_spec=
9079 whole_archive_flag_spec=
9080 # include_expsyms should be a list of space-separated symbols to be *always*
9081 # included in the symbol list
9083 # exclude_expsyms can be an extended regexp of symbols to exclude
9084 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9085 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9086 # as well as any symbol that contains `d'.
9087 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9088 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9089 # platforms (ab)use it in PIC code, but their linkers get confused if
9090 # the symbol is explicitly referenced. Since portable code cannot
9091 # rely on this symbol name, it's probably fine to never include it in
9092 # preloaded symbol tables.
9093 # Exclude shared library initialization/finalization symbols.
9094 extract_expsyms_cmds=
9097 cygwin* | mingw* | pw32* | cegcc*)
9098 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9099 # When not using gcc, we currently assume that we are using
9100 # Microsoft Visual C++.
9101 if test "$GCC" != yes; then
9106 # we just hope/assume this is gcc and not c89 (= MSVC++)
9116 # On some targets, GNU ld is compatible enough with the native linker
9117 # that we're better off using the native interface for both.
9118 lt_use_gnu_ld_interface=no
9119 if test "$with_gnu_ld" = yes; then
9122 # The AIX port of GNU ld has always aspired to compatibility
9123 # with the native linker. However, as the warning in the GNU ld
9124 # block says, versions before 2.19.5* couldn't really create working
9125 # shared libraries, regardless of the interface used.
9126 case `$LD -v 2>&1` in
9127 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9128 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9129 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9131 lt_use_gnu_ld_interface=yes
9136 lt_use_gnu_ld_interface=yes
9141 if test "$lt_use_gnu_ld_interface" = yes; then
9142 # If archive_cmds runs LD, not CC, wlarc should be empty
9145 # Set some defaults for GNU ld with shared library support. These
9146 # are reset later if shared libraries are not supported. Putting them
9147 # here allows them to be overridden if necessary.
9148 runpath_var=LD_RUN_PATH
9149 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9150 export_dynamic_flag_spec='${wl}--export-dynamic'
9151 # ancient GNU ld didn't support --whole-archive et. al.
9152 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9153 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9155 whole_archive_flag_spec=
9157 supports_anon_versioning=no
9158 case `$LD -v 2>&1` in
9159 *GNU\ gold*) supports_anon_versioning=yes ;;
9160 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9161 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9162 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9163 *\ 2.11.*) ;; # other 2.11 versions
9164 *) supports_anon_versioning=yes ;;
9167 # See if GNU ld supports shared libraries.
9170 # On AIX/PPC, the GNU linker is very broken
9171 if test "$host_cpu" != ia64; then
9175 *** Warning: the GNU linker, at least up to release 2.19, is reported
9176 *** to be unable to reliably create shared libraries on AIX.
9177 *** Therefore, libtool is disabling shared libraries support. If you
9178 *** really care for shared libraries, you may want to install binutils
9179 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9180 *** You will then need to restart the configuration process.
9189 # see comment about AmigaOS4 .so support
9190 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9191 archive_expsym_cmds=''
9194 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)'
9195 hardcode_libdir_flag_spec='-L$libdir'
9196 hardcode_minus_L=yes
9202 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9203 allow_undefined_flag=unsupported
9204 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9205 # support --undefined. This deserves some investigation. FIXME
9206 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9212 cygwin* | mingw* | pw32* | cegcc*)
9213 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9214 # as there is no search path for DLLs.
9215 hardcode_libdir_flag_spec='-L$libdir'
9216 export_dynamic_flag_spec='${wl}--export-all-symbols'
9217 allow_undefined_flag=unsupported
9218 always_export_symbols=no
9219 enable_shared_with_static_runtimes=yes
9220 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'
9221 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9223 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9224 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9225 # If the export-symbols file already is a .def file (1st line
9226 # is EXPORTS), use it as is; otherwise, prepend...
9227 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9228 cp $export_symbols $output_objdir/$soname.def;
9230 echo EXPORTS > $output_objdir/$soname.def;
9231 cat $export_symbols >> $output_objdir/$soname.def;
9233 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9240 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9241 link_all_deplibs=yes
9246 hardcode_shlibpath_var=no
9247 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9248 export_dynamic_flag_spec='${wl}-E'
9249 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9250 # Instead, shared libraries are loaded at an image base (0x10000000 by
9251 # default) and relocated if they conflict, which is a slow very memory
9252 # consuming and fragmenting process. To avoid this, we pick a random,
9253 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9254 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9255 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9256 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'
9259 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9261 if test "$host_os" = linux-dietlibc; then
9262 case $cc_basename in
9263 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9266 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9267 && test "$tmp_diet" = no
9269 tmp_addflag=' $pic_flag'
9270 tmp_sharedflag='-shared'
9271 case $cc_basename,$host_cpu in
9272 pgcc*) # Portland Group C compiler
9273 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'
9274 tmp_addflag=' $pic_flag'
9276 pgf77* | pgf90* | pgf95* | pgfortran*)
9277 # Portland Group f77 and f90 compilers
9278 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'
9279 tmp_addflag=' $pic_flag -Mnomain' ;;
9280 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9281 tmp_addflag=' -i_dynamic' ;;
9282 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9283 tmp_addflag=' -i_dynamic -nofor_main' ;;
9284 ifc* | ifort*) # Intel Fortran compiler
9285 tmp_addflag=' -nofor_main' ;;
9286 lf95*) # Lahey Fortran 8.1
9287 whole_archive_flag_spec=
9288 tmp_sharedflag='--shared' ;;
9289 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9290 tmp_sharedflag='-qmkshrobj'
9292 nvcc*) # Cuda Compiler Driver 2.2
9293 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'
9294 compiler_needs_object=yes
9297 case `$CC -V 2>&1 | sed 5q` in
9298 *Sun\ C*) # Sun C 5.9
9299 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'
9300 compiler_needs_object=yes
9301 tmp_sharedflag='-G' ;;
9302 *Sun\ F*) # Sun Fortran 8.3
9303 tmp_sharedflag='-G' ;;
9305 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9307 if test "x$supports_anon_versioning" = xyes; then
9308 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9309 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9310 echo "local: *; };" >> $output_objdir/$libname.ver~
9311 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9314 case $cc_basename in
9315 xlf* | bgf* | bgxlf* | mpixlf*)
9316 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9317 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9318 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9319 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9320 if test "x$supports_anon_versioning" = xyes; then
9321 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9322 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9323 echo "local: *; };" >> $output_objdir/$libname.ver~
9324 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9334 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9335 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9338 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9339 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9344 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9348 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9349 *** create shared libraries on Solaris systems. Therefore, libtool
9350 *** is disabling shared libraries support. We urge you to upgrade GNU
9351 *** binutils to release 2.9.1 or newer. Another option is to modify
9352 *** your PATH or compiler configuration so that the native linker is
9353 *** used, and then restart.
9356 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9357 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9358 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9364 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9365 case `$LD -v 2>&1` in
9366 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9370 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9371 *** reliably create shared libraries on SCO systems. Therefore, libtool
9372 *** is disabling shared libraries support. We urge you to upgrade GNU
9373 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9374 *** your PATH or compiler configuration so that the native linker is
9375 *** used, and then restart.
9380 # For security reasons, it is highly recommended that you always
9381 # use absolute paths for naming shared libraries, and exclude the
9382 # DT_RUNPATH tag from executables and libraries. But doing so
9383 # requires that you compile everything twice, which is a pain.
9384 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9385 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9386 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9387 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9396 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9399 hardcode_shlibpath_var=no
9403 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9404 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9405 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9412 if test "$ld_shlibs" = no; then
9414 hardcode_libdir_flag_spec=
9415 export_dynamic_flag_spec=
9416 whole_archive_flag_spec=
9419 # PORTME fill in a description of your system's linker (not GNU ld)
9422 allow_undefined_flag=unsupported
9423 always_export_symbols=yes
9424 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'
9425 # Note: this linker hardcodes the directories in LIBPATH if there
9426 # are no directories specified by -L.
9427 hardcode_minus_L=yes
9428 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9429 # Neither direct hardcoding nor static linking is supported with a
9431 hardcode_direct=unsupported
9436 if test "$host_cpu" = ia64; then
9437 # On IA64, the linker does run time linking by default, so we don't
9438 # have to do anything special.
9439 aix_use_runtimelinking=no
9440 exp_sym_flag='-Bexport'
9443 # If we're using GNU nm, then we don't want the "-C" option.
9444 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9445 # Also, AIX nm treats weak defined symbols like other global
9446 # defined symbols, whereas GNU nm marks them as "W".
9447 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9448 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9450 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9452 aix_use_runtimelinking=no
9454 # Test if we are trying to use run time linking or normal
9455 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9456 # need to do runtime linking.
9457 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9458 for ld_flag in $LDFLAGS; do
9459 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9460 aix_use_runtimelinking=yes
9467 exp_sym_flag='-bexport'
9468 no_entry_flag='-bnoentry'
9471 # When large executables or shared objects are built, AIX ld can
9472 # have problems creating the table of contents. If linking a library
9473 # or program results in "error TOC overflow" add -mminimal-toc to
9474 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9475 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9479 hardcode_direct_absolute=yes
9480 hardcode_libdir_separator=':'
9481 link_all_deplibs=yes
9482 file_list_spec='${wl}-f,'
9484 if test "$GCC" = yes; then
9485 case $host_os in aix4.[012]|aix4.[012].*)
9486 # We only want to do this on AIX 4.2 and lower, the check
9487 # below for broken collect2 doesn't work under 4.3+
9488 collect2name=`${CC} -print-prog-name=collect2`
9489 if test -f "$collect2name" &&
9490 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9492 # We have reworked collect2
9495 # We have old collect2
9496 hardcode_direct=unsupported
9497 # It fails to find uninstalled libraries when the uninstalled
9498 # path is not listed in the libpath. Setting hardcode_minus_L
9499 # to unsupported forces relinking
9500 hardcode_minus_L=yes
9501 hardcode_libdir_flag_spec='-L$libdir'
9502 hardcode_libdir_separator=
9506 shared_flag='-shared'
9507 if test "$aix_use_runtimelinking" = yes; then
9508 shared_flag="$shared_flag "'${wl}-G'
9512 if test "$host_cpu" = ia64; then
9513 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9514 # chokes on -Wl,-G. The following line is correct:
9517 if test "$aix_use_runtimelinking" = yes; then
9518 shared_flag='${wl}-G'
9520 shared_flag='${wl}-bM:SRE'
9525 export_dynamic_flag_spec='${wl}-bexpall'
9526 # It seems that -bexpall does not export symbols beginning with
9527 # underscore (_), so it is better to generate a list of symbols to export.
9528 always_export_symbols=yes
9529 if test "$aix_use_runtimelinking" = yes; then
9530 # Warning - without using the other runtime loading flags (-brtl),
9531 # -berok will link without error, but may produce a broken library.
9532 allow_undefined_flag='-berok'
9533 # Determine the default libpath from the value encoded in an
9535 if test "${lt_cv_aix_libpath+set}" = set; then
9536 aix_libpath=$lt_cv_aix_libpath
9538 if ${lt_cv_aix_libpath_+:} false; then :
9539 $as_echo_n "(cached) " >&6
9541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9542 /* end confdefs.h. */
9552 if ac_fn_c_try_link "$LINENO"; then :
9554 lt_aix_libpath_sed='
9555 /Import File Strings/,/^$/ {
9557 s/^0 *\([^ ]*\) *$/\1/
9561 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9562 # Check for a 64-bit object if we didn't find anything.
9563 if test -z "$lt_cv_aix_libpath_"; then
9564 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9567 rm -f core conftest.err conftest.$ac_objext \
9568 conftest$ac_exeext conftest.$ac_ext
9569 if test -z "$lt_cv_aix_libpath_"; then
9570 lt_cv_aix_libpath_="/usr/lib:/lib"
9575 aix_libpath=$lt_cv_aix_libpath_
9578 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9579 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9581 if test "$host_cpu" = ia64; then
9582 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9583 allow_undefined_flag="-z nodefs"
9584 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"
9586 # Determine the default libpath from the value encoded in an
9588 if test "${lt_cv_aix_libpath+set}" = set; then
9589 aix_libpath=$lt_cv_aix_libpath
9591 if ${lt_cv_aix_libpath_+:} false; then :
9592 $as_echo_n "(cached) " >&6
9594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9595 /* end confdefs.h. */
9605 if ac_fn_c_try_link "$LINENO"; then :
9607 lt_aix_libpath_sed='
9608 /Import File Strings/,/^$/ {
9610 s/^0 *\([^ ]*\) *$/\1/
9614 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9615 # Check for a 64-bit object if we didn't find anything.
9616 if test -z "$lt_cv_aix_libpath_"; then
9617 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9620 rm -f core conftest.err conftest.$ac_objext \
9621 conftest$ac_exeext conftest.$ac_ext
9622 if test -z "$lt_cv_aix_libpath_"; then
9623 lt_cv_aix_libpath_="/usr/lib:/lib"
9628 aix_libpath=$lt_cv_aix_libpath_
9631 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9632 # Warning - without using the other run time loading flags,
9633 # -berok will link without error, but may produce a broken library.
9634 no_undefined_flag=' ${wl}-bernotok'
9635 allow_undefined_flag=' ${wl}-berok'
9636 if test "$with_gnu_ld" = yes; then
9637 # We only use this code for GNU lds that support --whole-archive.
9638 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9640 # Exported symbols can be pulled into shared objects from archives
9641 whole_archive_flag_spec='$convenience'
9643 archive_cmds_need_lc=yes
9644 # This is similar to how AIX traditionally builds its shared libraries.
9645 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9653 # see comment about AmigaOS4 .so support
9654 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9655 archive_expsym_cmds=''
9658 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)'
9659 hardcode_libdir_flag_spec='-L$libdir'
9660 hardcode_minus_L=yes
9666 export_dynamic_flag_spec=-rdynamic
9669 cygwin* | mingw* | pw32* | cegcc*)
9670 # When not using gcc, we currently assume that we are using
9671 # Microsoft Visual C++.
9672 # hardcode_libdir_flag_spec is actually meaningless, as there is
9673 # no search path for DLLs.
9674 case $cc_basename in
9677 hardcode_libdir_flag_spec=' '
9678 allow_undefined_flag=unsupported
9679 always_export_symbols=yes
9681 # Tell ltmain to make .lib files, not .a files.
9683 # Tell ltmain to make .dll files, not .so files.
9685 # FIXME: Setting linknames here is a bad hack.
9686 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9687 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9688 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9690 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9692 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9694 # The linker will not automatically build a static lib if we build a DLL.
9695 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9696 enable_shared_with_static_runtimes=yes
9697 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9698 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9700 old_postinstall_cmds='chmod 644 $oldlib'
9701 postlink_cmds='lt_outputfile="@OUTPUT@"~
9702 lt_tool_outputfile="@TOOL_OUTPUT@"~
9703 case $lt_outputfile in
9706 lt_outputfile="$lt_outputfile.exe"
9707 lt_tool_outputfile="$lt_tool_outputfile.exe"
9710 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9711 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9712 $RM "$lt_outputfile.manifest";
9716 # Assume MSVC wrapper
9717 hardcode_libdir_flag_spec=' '
9718 allow_undefined_flag=unsupported
9719 # Tell ltmain to make .lib files, not .a files.
9721 # Tell ltmain to make .dll files, not .so files.
9723 # FIXME: Setting linknames here is a bad hack.
9724 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9725 # The linker will automatically build a .lib file if we build a DLL.
9726 old_archive_from_new_cmds='true'
9727 # FIXME: Should let the user specify the lib program.
9728 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9729 enable_shared_with_static_runtimes=yes
9734 darwin* | rhapsody*)
9737 archive_cmds_need_lc=no
9739 hardcode_automatic=yes
9740 hardcode_shlibpath_var=unsupported
9741 if test "$lt_cv_ld_force_load" = "yes"; then
9742 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\"`'
9745 whole_archive_flag_spec=''
9747 link_all_deplibs=yes
9748 allow_undefined_flag="$_lt_dar_allow_undefined"
9749 case $cc_basename in
9750 ifort*) _lt_dar_can_shared=yes ;;
9751 *) _lt_dar_can_shared=$GCC ;;
9753 if test "$_lt_dar_can_shared" = "yes"; then
9754 output_verbose_link_cmd=func_echo_all
9755 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9756 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9757 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}"
9758 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}"
9767 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9768 hardcode_libdir_flag_spec='-L$libdir'
9769 hardcode_shlibpath_var=no
9772 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9773 # support. Future versions do this automatically, but an explicit c++rt0.o
9774 # does not break anything, and helps significantly (at the cost of a little
9777 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9778 hardcode_libdir_flag_spec='-R$libdir'
9780 hardcode_shlibpath_var=no
9783 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9785 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9787 hardcode_minus_L=yes
9788 hardcode_shlibpath_var=no
9791 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9792 freebsd* | dragonfly*)
9793 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9794 hardcode_libdir_flag_spec='-R$libdir'
9796 hardcode_shlibpath_var=no
9800 if test "$GCC" = yes; then
9801 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9803 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9805 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9806 hardcode_libdir_separator=:
9809 # hardcode_minus_L: Not really in the search PATH,
9810 # but as the default location of the library.
9811 hardcode_minus_L=yes
9812 export_dynamic_flag_spec='${wl}-E'
9816 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9817 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9819 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9821 if test "$with_gnu_ld" = no; then
9822 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9823 hardcode_libdir_separator=:
9825 hardcode_direct_absolute=yes
9826 export_dynamic_flag_spec='${wl}-E'
9827 # hardcode_minus_L: Not really in the search PATH,
9828 # but as the default location of the library.
9829 hardcode_minus_L=yes
9834 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9837 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9840 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9843 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9849 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9852 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9856 # Older versions of the 11.00 compiler do not understand -b yet
9857 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9859 $as_echo_n "checking if $CC understands -b... " >&6; }
9860 if ${lt_cv_prog_compiler__b+:} false; then :
9861 $as_echo_n "(cached) " >&6
9863 lt_cv_prog_compiler__b=no
9864 save_LDFLAGS="$LDFLAGS"
9865 LDFLAGS="$LDFLAGS -b"
9866 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9867 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9868 # The linker can only warn and ignore the option if not recognized
9869 # So say no if there are warnings
9870 if test -s conftest.err; then
9871 # Append any errors to the config.log.
9872 cat conftest.err 1>&5
9873 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9874 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9875 if diff conftest.exp conftest.er2 >/dev/null; then
9876 lt_cv_prog_compiler__b=yes
9879 lt_cv_prog_compiler__b=yes
9883 LDFLAGS="$save_LDFLAGS"
9886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9887 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9889 if test x"$lt_cv_prog_compiler__b" = xyes; then
9890 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9892 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9898 if test "$with_gnu_ld" = no; then
9899 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9900 hardcode_libdir_separator=:
9905 hardcode_shlibpath_var=no
9909 hardcode_direct_absolute=yes
9910 export_dynamic_flag_spec='${wl}-E'
9912 # hardcode_minus_L: Not really in the search PATH,
9913 # but as the default location of the library.
9914 hardcode_minus_L=yes
9920 irix5* | irix6* | nonstopux*)
9921 if test "$GCC" = yes; then
9922 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'
9923 # Try to use the -exported_symbol ld option, if it does not
9924 # work, assume that -exports_file does not work either and
9925 # implicitly export all symbols.
9926 # This should be the same for all languages, so no per-tag cache variable.
9927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9928 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9929 if ${lt_cv_irix_exported_symbol+:} false; then :
9930 $as_echo_n "(cached) " >&6
9932 save_LDFLAGS="$LDFLAGS"
9933 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9935 /* end confdefs.h. */
9936 int foo (void) { return 0; }
9938 if ac_fn_c_try_link "$LINENO"; then :
9939 lt_cv_irix_exported_symbol=yes
9941 lt_cv_irix_exported_symbol=no
9943 rm -f core conftest.err conftest.$ac_objext \
9944 conftest$ac_exeext conftest.$ac_ext
9945 LDFLAGS="$save_LDFLAGS"
9947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9948 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9949 if test "$lt_cv_irix_exported_symbol" = yes; then
9950 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'
9953 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'
9954 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'
9956 archive_cmds_need_lc='no'
9957 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9958 hardcode_libdir_separator=:
9960 link_all_deplibs=yes
9964 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9965 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9967 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9969 hardcode_libdir_flag_spec='-R$libdir'
9971 hardcode_shlibpath_var=no
9975 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9977 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9978 hardcode_libdir_separator=:
9979 hardcode_shlibpath_var=no
9986 if test -f /usr/libexec/ld.so; then
9988 hardcode_shlibpath_var=no
9989 hardcode_direct_absolute=yes
9990 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9991 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9992 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9993 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9994 export_dynamic_flag_spec='${wl}-E'
9997 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9998 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9999 hardcode_libdir_flag_spec='-R$libdir'
10002 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10003 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10013 hardcode_libdir_flag_spec='-L$libdir'
10014 hardcode_minus_L=yes
10015 allow_undefined_flag=unsupported
10016 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
10017 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10021 if test "$GCC" = yes; then
10022 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10023 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'
10025 allow_undefined_flag=' -expect_unresolved \*'
10026 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'
10028 archive_cmds_need_lc='no'
10029 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10030 hardcode_libdir_separator=:
10033 osf4* | osf5*) # as osf3* with the addition of -msym flag
10034 if test "$GCC" = yes; then
10035 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10036 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'
10037 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10039 allow_undefined_flag=' -expect_unresolved \*'
10040 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'
10041 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~
10042 $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'
10044 # Both c and cxx compiler support -rpath directly
10045 hardcode_libdir_flag_spec='-rpath $libdir'
10047 archive_cmds_need_lc='no'
10048 hardcode_libdir_separator=:
10052 no_undefined_flag=' -z defs'
10053 if test "$GCC" = yes; then
10055 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10056 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10057 $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'
10059 case `$CC -V 2>&1` in
10062 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10063 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10064 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10068 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10069 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10070 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10074 hardcode_libdir_flag_spec='-R$libdir'
10075 hardcode_shlibpath_var=no
10077 solaris2.[0-5] | solaris2.[0-5].*) ;;
10079 # The compiler driver will combine and reorder linker options,
10080 # but understands `-z linker_flag'. GCC discards it without `$wl',
10081 # but is careful enough not to reorder.
10082 # Supported since Solaris 2.6 (maybe 2.5.1?)
10083 if test "$GCC" = yes; then
10084 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10086 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10090 link_all_deplibs=yes
10094 if test "x$host_vendor" = xsequent; then
10095 # Use $CC to link under sequent, because it throws in some extra .o
10096 # files that make .init and .fini sections work.
10097 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10099 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10101 hardcode_libdir_flag_spec='-L$libdir'
10102 hardcode_direct=yes
10103 hardcode_minus_L=yes
10104 hardcode_shlibpath_var=no
10108 case $host_vendor in
10110 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10111 hardcode_direct=yes # is this really true???
10114 ## LD is ld it makes a PLAMLIB
10115 ## CC just makes a GrossModule.
10116 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10117 reload_cmds='$CC -r -o $output$reload_objs'
10121 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10122 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10125 runpath_var='LD_RUN_PATH'
10126 hardcode_shlibpath_var=no
10130 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10131 hardcode_shlibpath_var=no
10132 export_dynamic_flag_spec='-Bexport'
10136 if test -d /usr/nec; then
10137 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10138 hardcode_shlibpath_var=no
10139 runpath_var=LD_RUN_PATH
10140 hardcode_runpath_var=yes
10145 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10146 no_undefined_flag='${wl}-z,text'
10147 archive_cmds_need_lc=no
10148 hardcode_shlibpath_var=no
10149 runpath_var='LD_RUN_PATH'
10151 if test "$GCC" = yes; then
10152 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10153 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10155 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10156 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10160 sysv5* | sco3.2v5* | sco5v6*)
10161 # Note: We can NOT use -z defs as we might desire, because we do not
10162 # link with -lc, and that would cause any symbols used from libc to
10163 # always be unresolved, which means just about no library would
10164 # ever link correctly. If we're not using GNU ld we use -z text
10165 # though, which does catch some bad symbols but isn't as heavy-handed
10167 no_undefined_flag='${wl}-z,text'
10168 allow_undefined_flag='${wl}-z,nodefs'
10169 archive_cmds_need_lc=no
10170 hardcode_shlibpath_var=no
10171 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10172 hardcode_libdir_separator=':'
10173 link_all_deplibs=yes
10174 export_dynamic_flag_spec='${wl}-Bexport'
10175 runpath_var='LD_RUN_PATH'
10177 if test "$GCC" = yes; then
10178 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10179 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10181 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10182 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10187 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10188 hardcode_libdir_flag_spec='-L$libdir'
10189 hardcode_shlibpath_var=no
10197 if test x$host_vendor = xsni; then
10199 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10200 export_dynamic_flag_spec='${wl}-Blargedynsym'
10206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10207 $as_echo "$ld_shlibs" >&6; }
10208 test "$ld_shlibs" = no && can_build_shared=no
10210 with_gnu_ld=$with_gnu_ld
10227 # Do we need to explicitly link libc?
10229 case "x$archive_cmds_need_lc" in
10231 # Assume -lc should be added
10232 archive_cmds_need_lc=yes
10234 if test "$enable_shared" = yes && test "$GCC" = yes; then
10235 case $archive_cmds in
10237 # FIXME: we may have to deal with multi-command sequences.
10240 # Test whether the compiler implicitly links with -lc since on some
10241 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10242 # to ld, don't add -lc before -lgcc.
10243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10244 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10245 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10246 $as_echo_n "(cached) " >&6
10249 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10251 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10252 (eval $ac_compile) 2>&5
10254 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10255 test $ac_status = 0; } 2>conftest.err; then
10258 libobjs=conftest.$ac_objext
10260 wl=$lt_prog_compiler_wl
10261 pic_flag=$lt_prog_compiler_pic
10267 lt_save_allow_undefined_flag=$allow_undefined_flag
10268 allow_undefined_flag=
10269 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10270 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10272 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10273 test $ac_status = 0; }
10275 lt_cv_archive_cmds_need_lc=no
10277 lt_cv_archive_cmds_need_lc=yes
10279 allow_undefined_flag=$lt_save_allow_undefined_flag
10281 cat conftest.err 1>&5
10286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10287 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10288 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10447 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10449 if test "$GCC" = yes; then
10451 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10452 *) lt_awk_arg="/^libraries:/" ;;
10455 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10456 *) lt_sed_strip_eq="s,=/,/,g" ;;
10458 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10459 case $lt_search_path_spec in
10461 # if the path contains ";" then we assume it to be the separator
10462 # otherwise default to the standard path separator (i.e. ":") - it is
10463 # assumed that no part of a normal pathname contains ";" but that should
10464 # okay in the real world where ";" in dirpaths is itself problematic.
10465 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10468 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10471 # Ok, now we have the path, separated by spaces, we can step through it
10472 # and add multilib dir if necessary.
10473 lt_tmp_lt_search_path_spec=
10474 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10475 for lt_sys_path in $lt_search_path_spec; do
10476 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10477 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10479 test -d "$lt_sys_path" && \
10480 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10483 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10484 BEGIN {RS=" "; FS="/|\n";} {
10487 for (lt_i = NF; lt_i > 0; lt_i--) {
10488 if ($lt_i != "" && $lt_i != ".") {
10489 if ($lt_i == "..") {
10492 if (lt_count == 0) {
10493 lt_foo="/" $lt_i lt_foo;
10500 if (lt_foo != "") { lt_freq[lt_foo]++; }
10501 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10503 # AWK program above erroneously prepends '/' to C:/dos/paths
10506 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10507 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10509 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10511 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10513 library_names_spec=
10514 libname_spec='lib$name'
10518 postuninstall_cmds=
10522 shlibpath_overrides_runpath=unknown
10524 dynamic_linker="$host_os ld.so"
10525 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10526 need_lib_prefix=unknown
10527 hardcode_into_libs=no
10529 # when you set need_version to no, make sure it does not cause -set_version
10530 # flags to be left without arguments
10531 need_version=unknown
10535 version_type=linux # correct to gnu/linux during the next big refactor
10536 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10537 shlibpath_var=LIBPATH
10539 # AIX 3 has no versioning support, so we append a major version to the name.
10540 soname_spec='${libname}${release}${shared_ext}$major'
10544 version_type=linux # correct to gnu/linux during the next big refactor
10547 hardcode_into_libs=yes
10548 if test "$host_cpu" = ia64; then
10549 # AIX 5 supports IA64
10550 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10551 shlibpath_var=LD_LIBRARY_PATH
10553 # With GCC up to 2.95.x, collect2 would create an import file
10554 # for dependence libraries. The import file would start with
10555 # the line `#! .'. This would cause the generated library to
10556 # depend on `.', always an invalid library. This was fixed in
10557 # development snapshots of GCC prior to 3.0.
10559 aix4 | aix4.[01] | aix4.[01].*)
10560 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10562 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10565 can_build_shared=no
10569 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10570 # soname into executable. Probably we can add versioning support to
10571 # collect2, so additional links can be useful in future.
10572 if test "$aix_use_runtimelinking" = yes; then
10573 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10574 # instead of lib<name>.a to let people know that these are not
10575 # typical AIX shared libraries.
10576 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10578 # We preserve .a as extension for shared libraries through AIX4.2
10579 # and later when we are not doing run time linking.
10580 library_names_spec='${libname}${release}.a $libname.a'
10581 soname_spec='${libname}${release}${shared_ext}$major'
10583 shlibpath_var=LIBPATH
10590 # Since July 2007 AmigaOS4 officially supports .so libraries.
10591 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10592 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10595 library_names_spec='$libname.ixlibrary $libname.a'
10596 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10597 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10603 library_names_spec='${libname}${shared_ext}'
10604 dynamic_linker="$host_os ld.so"
10605 shlibpath_var=LIBRARY_PATH
10609 version_type=linux # correct to gnu/linux during the next big refactor
10611 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10612 soname_spec='${libname}${release}${shared_ext}$major'
10613 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10614 shlibpath_var=LD_LIBRARY_PATH
10615 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10616 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10617 # the default ld.so.conf also contains /usr/contrib/lib and
10618 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10619 # libtool to hard-code these into programs
10622 cygwin* | mingw* | pw32* | cegcc*)
10623 version_type=windows
10628 case $GCC,$cc_basename in
10631 library_names_spec='$libname.dll.a'
10632 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10633 postinstall_cmds='base_file=`basename \${file}`~
10634 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10635 dldir=$destdir/`dirname \$dlpath`~
10636 test -d \$dldir || mkdir -p \$dldir~
10637 $install_prog $dir/$dlname \$dldir/$dlname~
10638 chmod a+x \$dldir/$dlname~
10639 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10640 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10642 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10643 dlpath=$dir/\$dldll~
10645 shlibpath_overrides_runpath=yes
10649 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10650 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10652 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10655 # MinGW DLLs use traditional 'lib' prefix
10656 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10659 # pw32 DLLs use 'pw' prefix rather than 'lib'
10660 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10663 dynamic_linker='Win32 ld.exe'
10668 libname_spec='$name'
10669 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10670 library_names_spec='${libname}.dll.lib'
10674 sys_lib_search_path_spec=
10677 for lt_path in $LIB
10680 # Let DOS variable expansion print the short 8.3 style file name.
10681 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10682 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10685 # Convert to MSYS style.
10686 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10689 # Convert to unix form, then to dos form, then back to unix form
10690 # but this time dos style (no spaces!) so that the unix form looks
10691 # like /cygdrive/c/PROGRA~1:/cygdr...
10692 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10693 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10694 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10697 sys_lib_search_path_spec="$LIB"
10698 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10699 # It is most probably a Windows format PATH.
10700 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10702 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10704 # FIXME: find the short name or the path components, as spaces are
10705 # common. (e.g. "Program Files" -> "PROGRA~1")
10709 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10710 postinstall_cmds='base_file=`basename \${file}`~
10711 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10712 dldir=$destdir/`dirname \$dlpath`~
10713 test -d \$dldir || mkdir -p \$dldir~
10714 $install_prog $dir/$dlname \$dldir/$dlname'
10715 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10716 dlpath=$dir/\$dldll~
10718 shlibpath_overrides_runpath=yes
10719 dynamic_linker='Win32 link.exe'
10723 # Assume MSVC wrapper
10724 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10725 dynamic_linker='Win32 ld.exe'
10728 # FIXME: first we should search . and the directory the executable is in
10732 darwin* | rhapsody*)
10733 dynamic_linker="$host_os dyld"
10734 version_type=darwin
10737 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10738 soname_spec='${libname}${release}${major}$shared_ext'
10739 shlibpath_overrides_runpath=yes
10740 shlibpath_var=DYLD_LIBRARY_PATH
10741 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10743 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10744 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10748 version_type=linux # correct to gnu/linux during the next big refactor
10751 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10752 soname_spec='${libname}${release}${shared_ext}$major'
10753 shlibpath_var=LD_LIBRARY_PATH
10756 freebsd* | dragonfly*)
10757 # DragonFly does not have aout. When/if they implement a new
10758 # versioning mechanism, adjust this.
10759 if test -x /usr/bin/objformat; then
10760 objformat=`/usr/bin/objformat`
10763 freebsd[23].*) objformat=aout ;;
10764 *) objformat=elf ;;
10767 version_type=freebsd-$objformat
10768 case $version_type in
10770 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10775 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10779 shlibpath_var=LD_LIBRARY_PATH
10782 shlibpath_overrides_runpath=yes
10784 freebsd3.[01]* | freebsdelf3.[01]*)
10785 shlibpath_overrides_runpath=yes
10786 hardcode_into_libs=yes
10788 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10789 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10790 shlibpath_overrides_runpath=no
10791 hardcode_into_libs=yes
10793 *) # from 4.6 on, and DragonFly
10794 shlibpath_overrides_runpath=yes
10795 hardcode_into_libs=yes
10801 version_type=linux # correct to gnu/linux during the next big refactor
10804 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10805 soname_spec='${libname}${release}${shared_ext}$major'
10806 shlibpath_var=LD_LIBRARY_PATH
10807 shlibpath_overrides_runpath=no
10808 hardcode_into_libs=yes
10812 version_type=linux # correct to gnu/linux during the next big refactor
10815 dynamic_linker="$host_os runtime_loader"
10816 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10817 soname_spec='${libname}${release}${shared_ext}$major'
10818 shlibpath_var=LIBRARY_PATH
10819 shlibpath_overrides_runpath=yes
10820 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10821 hardcode_into_libs=yes
10824 hpux9* | hpux10* | hpux11*)
10825 # Give a soname corresponding to the major version so that dld.sl refuses to
10826 # link against other versions.
10833 hardcode_into_libs=yes
10834 dynamic_linker="$host_os dld.so"
10835 shlibpath_var=LD_LIBRARY_PATH
10836 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10837 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10838 soname_spec='${libname}${release}${shared_ext}$major'
10839 if test "X$HPUX_IA64_MODE" = X32; then
10840 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10842 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10844 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10848 hardcode_into_libs=yes
10849 dynamic_linker="$host_os dld.sl"
10850 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10851 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10852 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10853 soname_spec='${libname}${release}${shared_ext}$major'
10854 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10855 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10859 dynamic_linker="$host_os dld.sl"
10860 shlibpath_var=SHLIB_PATH
10861 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10862 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10863 soname_spec='${libname}${release}${shared_ext}$major'
10866 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10867 postinstall_cmds='chmod 555 $lib'
10868 # or fails outright, so override atomically:
10869 install_override_mode=555
10873 version_type=linux # correct to gnu/linux during the next big refactor
10876 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10877 soname_spec='${libname}${release}${shared_ext}$major'
10878 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10879 shlibpath_var=LD_LIBRARY_PATH
10880 shlibpath_overrides_runpath=no
10881 hardcode_into_libs=yes
10884 irix5* | irix6* | nonstopux*)
10886 nonstopux*) version_type=nonstopux ;;
10888 if test "$lt_cv_prog_gnu_ld" = yes; then
10889 version_type=linux # correct to gnu/linux during the next big refactor
10896 soname_spec='${libname}${release}${shared_ext}$major'
10897 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10899 irix5* | nonstopux*)
10900 libsuff= shlibsuff=
10903 case $LD in # libtool.m4 will add one of these switches to LD
10904 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10905 libsuff= shlibsuff= libmagic=32-bit;;
10906 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10907 libsuff=32 shlibsuff=N32 libmagic=N32;;
10908 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10909 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10910 *) libsuff= shlibsuff= libmagic=never-match;;
10914 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10915 shlibpath_overrides_runpath=no
10916 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10917 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10918 hardcode_into_libs=yes
10921 # No shared lib support for Linux oldld, aout, or coff.
10922 linux*oldld* | linux*aout* | linux*coff*)
10926 # This must be glibc/ELF.
10927 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10928 version_type=linux # correct to gnu/linux during the next big refactor
10931 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10932 soname_spec='${libname}${release}${shared_ext}$major'
10933 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10934 shlibpath_var=LD_LIBRARY_PATH
10935 shlibpath_overrides_runpath=no
10937 # Some binutils ld are patched to set DT_RUNPATH
10938 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10939 $as_echo_n "(cached) " >&6
10941 lt_cv_shlibpath_overrides_runpath=no
10942 save_LDFLAGS=$LDFLAGS
10943 save_libdir=$libdir
10944 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10945 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10947 /* end confdefs.h. */
10957 if ac_fn_c_try_link "$LINENO"; then :
10958 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10959 lt_cv_shlibpath_overrides_runpath=yes
10962 rm -f core conftest.err conftest.$ac_objext \
10963 conftest$ac_exeext conftest.$ac_ext
10964 LDFLAGS=$save_LDFLAGS
10965 libdir=$save_libdir
10969 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10971 # This implies no fast_install, which is unacceptable.
10972 # Some rework will be needed to allow for fast_install
10973 # before this can be enabled.
10974 hardcode_into_libs=yes
10976 # Append ld.so.conf contents to the search path
10977 if test -f /etc/ld.so.conf; then
10978 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' ' '`
10979 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10982 # We used to test for /lib/ld.so.1 and disable shared libraries on
10983 # powerpc, because MkLinux only supported shared libraries with the
10984 # GNU dynamic linker. Since this was broken with cross compilers,
10985 # most powerpc-linux boxes support dynamic linking these days and
10986 # people can always --disable-shared, the test was removed, and we
10987 # assume the GNU/Linux dynamic linker is in use.
10988 dynamic_linker='GNU/Linux ld.so'
10995 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10996 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10997 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10998 dynamic_linker='NetBSD (a.out) ld.so'
11000 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11001 soname_spec='${libname}${release}${shared_ext}$major'
11002 dynamic_linker='NetBSD ld.elf_so'
11004 shlibpath_var=LD_LIBRARY_PATH
11005 shlibpath_overrides_runpath=yes
11006 hardcode_into_libs=yes
11010 version_type=linux # correct to gnu/linux during the next big refactor
11011 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11012 shlibpath_var=LD_LIBRARY_PATH
11013 shlibpath_overrides_runpath=yes
11020 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11021 soname_spec='${libname}${release}${shared_ext}$major'
11022 shlibpath_var=LD_LIBRARY_PATH
11023 shlibpath_overrides_runpath=no
11024 hardcode_into_libs=yes
11025 dynamic_linker='ldqnx.so'
11030 sys_lib_dlsearch_path_spec="/usr/lib"
11032 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11034 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11035 *) need_version=no ;;
11037 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11038 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11039 shlibpath_var=LD_LIBRARY_PATH
11040 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11042 openbsd2.[89] | openbsd2.[89].*)
11043 shlibpath_overrides_runpath=no
11046 shlibpath_overrides_runpath=yes
11050 shlibpath_overrides_runpath=yes
11055 libname_spec='$name'
11058 library_names_spec='$libname${shared_ext} $libname.a'
11059 dynamic_linker='OS/2 ld.exe'
11060 shlibpath_var=LIBPATH
11063 osf3* | osf4* | osf5*)
11067 soname_spec='${libname}${release}${shared_ext}$major'
11068 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11069 shlibpath_var=LD_LIBRARY_PATH
11070 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11071 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11079 version_type=linux # correct to gnu/linux during the next big refactor
11082 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11083 soname_spec='${libname}${release}${shared_ext}$major'
11084 shlibpath_var=LD_LIBRARY_PATH
11085 shlibpath_overrides_runpath=yes
11086 hardcode_into_libs=yes
11087 # ldd complains unless libraries are executable
11088 postinstall_cmds='chmod +x $lib'
11093 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11094 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11095 shlibpath_var=LD_LIBRARY_PATH
11096 shlibpath_overrides_runpath=yes
11097 if test "$with_gnu_ld" = yes; then
11104 version_type=linux # correct to gnu/linux during the next big refactor
11105 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11106 soname_spec='${libname}${release}${shared_ext}$major'
11107 shlibpath_var=LD_LIBRARY_PATH
11108 case $host_vendor in
11110 shlibpath_overrides_runpath=no
11112 runpath_var=LD_RUN_PATH
11120 shlibpath_overrides_runpath=no
11121 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11127 if test -d /usr/nec ;then
11128 version_type=linux # correct to gnu/linux during the next big refactor
11129 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11130 soname_spec='$libname${shared_ext}.$major'
11131 shlibpath_var=LD_LIBRARY_PATH
11135 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11136 version_type=freebsd-elf
11139 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11140 soname_spec='${libname}${release}${shared_ext}$major'
11141 shlibpath_var=LD_LIBRARY_PATH
11142 shlibpath_overrides_runpath=yes
11143 hardcode_into_libs=yes
11144 if test "$with_gnu_ld" = yes; then
11145 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11147 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11150 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11154 sys_lib_dlsearch_path_spec='/usr/lib'
11158 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11159 version_type=linux # correct to gnu/linux during the next big refactor
11162 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11163 shlibpath_var=LD_LIBRARY_PATH
11164 shlibpath_overrides_runpath=no
11165 hardcode_into_libs=yes
11169 version_type=linux # correct to gnu/linux during the next big refactor
11170 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11171 soname_spec='${libname}${release}${shared_ext}$major'
11172 shlibpath_var=LD_LIBRARY_PATH
11179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11180 $as_echo "$dynamic_linker" >&6; }
11181 test "$dynamic_linker" = no && can_build_shared=no
11183 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11184 if test "$GCC" = yes; then
11185 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11188 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11189 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11191 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11192 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11287 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11289 if test -n "$hardcode_libdir_flag_spec" ||
11290 test -n "$runpath_var" ||
11291 test "X$hardcode_automatic" = "Xyes" ; then
11293 # We can hardcode non-existent directories.
11294 if test "$hardcode_direct" != no &&
11295 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11296 # have to relink, otherwise we might link with an installed library
11297 # when we should be linking with a yet-to-be-installed one
11298 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11299 test "$hardcode_minus_L" != no; then
11300 # Linking always hardcodes the temporary library directory.
11301 hardcode_action=relink
11303 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11304 hardcode_action=immediate
11307 # We cannot hardcode anything, or else we can only hardcode existing
11309 hardcode_action=unsupported
11311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11312 $as_echo "$hardcode_action" >&6; }
11314 if test "$hardcode_action" = relink ||
11315 test "$inherit_rpath" = yes; then
11316 # Fast installation is not supported
11317 enable_fast_install=no
11318 elif test "$shlibpath_overrides_runpath" = yes ||
11319 test "$enable_shared" = no; then
11320 # Fast installation is not necessary
11321 enable_fast_install=needless
11329 if test "x$enable_dlopen" != xyes; then
11330 enable_dlopen=unknown
11331 enable_dlopen_self=unknown
11332 enable_dlopen_self_static=unknown
11339 lt_cv_dlopen="load_add_on"
11341 lt_cv_dlopen_self=yes
11344 mingw* | pw32* | cegcc*)
11345 lt_cv_dlopen="LoadLibrary"
11350 lt_cv_dlopen="dlopen"
11355 # if libdl is installed we need to link against it
11356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11357 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11358 if ${ac_cv_lib_dl_dlopen+:} false; then :
11359 $as_echo_n "(cached) " >&6
11361 ac_check_lib_save_LIBS=$LIBS
11363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11364 /* end confdefs.h. */
11366 /* Override any GCC internal prototype to avoid an error.
11367 Use char because int might match the return type of a GCC
11368 builtin and then its argument prototype would still apply. */
11381 if ac_fn_c_try_link "$LINENO"; then :
11382 ac_cv_lib_dl_dlopen=yes
11384 ac_cv_lib_dl_dlopen=no
11386 rm -f core conftest.err conftest.$ac_objext \
11387 conftest$ac_exeext conftest.$ac_ext
11388 LIBS=$ac_check_lib_save_LIBS
11390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11391 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11392 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11393 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11396 lt_cv_dlopen="dyld"
11398 lt_cv_dlopen_self=yes
11405 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11406 if test "x$ac_cv_func_shl_load" = xyes; then :
11407 lt_cv_dlopen="shl_load"
11409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11410 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11411 if ${ac_cv_lib_dld_shl_load+:} false; then :
11412 $as_echo_n "(cached) " >&6
11414 ac_check_lib_save_LIBS=$LIBS
11416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11417 /* end confdefs.h. */
11419 /* Override any GCC internal prototype to avoid an error.
11420 Use char because int might match the return type of a GCC
11421 builtin and then its argument prototype would still apply. */
11429 return shl_load ();
11434 if ac_fn_c_try_link "$LINENO"; then :
11435 ac_cv_lib_dld_shl_load=yes
11437 ac_cv_lib_dld_shl_load=no
11439 rm -f core conftest.err conftest.$ac_objext \
11440 conftest$ac_exeext conftest.$ac_ext
11441 LIBS=$ac_check_lib_save_LIBS
11443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11444 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11445 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11446 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11448 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11449 if test "x$ac_cv_func_dlopen" = xyes; then :
11450 lt_cv_dlopen="dlopen"
11452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11453 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11454 if ${ac_cv_lib_dl_dlopen+:} false; then :
11455 $as_echo_n "(cached) " >&6
11457 ac_check_lib_save_LIBS=$LIBS
11459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11460 /* end confdefs.h. */
11462 /* Override any GCC internal prototype to avoid an error.
11463 Use char because int might match the return type of a GCC
11464 builtin and then its argument prototype would still apply. */
11477 if ac_fn_c_try_link "$LINENO"; then :
11478 ac_cv_lib_dl_dlopen=yes
11480 ac_cv_lib_dl_dlopen=no
11482 rm -f core conftest.err conftest.$ac_objext \
11483 conftest$ac_exeext conftest.$ac_ext
11484 LIBS=$ac_check_lib_save_LIBS
11486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11487 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11488 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11489 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11492 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11493 if ${ac_cv_lib_svld_dlopen+:} false; then :
11494 $as_echo_n "(cached) " >&6
11496 ac_check_lib_save_LIBS=$LIBS
11497 LIBS="-lsvld $LIBS"
11498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11499 /* end confdefs.h. */
11501 /* Override any GCC internal prototype to avoid an error.
11502 Use char because int might match the return type of a GCC
11503 builtin and then its argument prototype would still apply. */
11516 if ac_fn_c_try_link "$LINENO"; then :
11517 ac_cv_lib_svld_dlopen=yes
11519 ac_cv_lib_svld_dlopen=no
11521 rm -f core conftest.err conftest.$ac_objext \
11522 conftest$ac_exeext conftest.$ac_ext
11523 LIBS=$ac_check_lib_save_LIBS
11525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11526 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11527 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11528 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11531 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11532 if ${ac_cv_lib_dld_dld_link+:} false; then :
11533 $as_echo_n "(cached) " >&6
11535 ac_check_lib_save_LIBS=$LIBS
11537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11538 /* end confdefs.h. */
11540 /* Override any GCC internal prototype to avoid an error.
11541 Use char because int might match the return type of a GCC
11542 builtin and then its argument prototype would still apply. */
11550 return dld_link ();
11555 if ac_fn_c_try_link "$LINENO"; then :
11556 ac_cv_lib_dld_dld_link=yes
11558 ac_cv_lib_dld_dld_link=no
11560 rm -f core conftest.err conftest.$ac_objext \
11561 conftest$ac_exeext conftest.$ac_ext
11562 LIBS=$ac_check_lib_save_LIBS
11564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11565 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11566 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11567 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11588 if test "x$lt_cv_dlopen" != xno; then
11594 case $lt_cv_dlopen in
11596 save_CPPFLAGS="$CPPFLAGS"
11597 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11599 save_LDFLAGS="$LDFLAGS"
11600 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11603 LIBS="$lt_cv_dlopen_libs $LIBS"
11605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11606 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11607 if ${lt_cv_dlopen_self+:} false; then :
11608 $as_echo_n "(cached) " >&6
11610 if test "$cross_compiling" = yes; then :
11611 lt_cv_dlopen_self=cross
11613 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11614 lt_status=$lt_dlunknown
11615 cat > conftest.$ac_ext <<_LT_EOF
11616 #line $LINENO "configure"
11617 #include "confdefs.h"
11626 # define LT_DLGLOBAL RTLD_GLOBAL
11629 # define LT_DLGLOBAL DL_GLOBAL
11631 # define LT_DLGLOBAL 0
11635 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11636 find out it does not work in some platform. */
11637 #ifndef LT_DLLAZY_OR_NOW
11639 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11642 # define LT_DLLAZY_OR_NOW DL_LAZY
11645 # define LT_DLLAZY_OR_NOW RTLD_NOW
11648 # define LT_DLLAZY_OR_NOW DL_NOW
11650 # define LT_DLLAZY_OR_NOW 0
11657 /* When -fvisbility=hidden is used, assume the code has been annotated
11658 correspondingly for the symbols needed. */
11659 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11660 int fnord () __attribute__((visibility("default")));
11663 int fnord () { return 42; }
11666 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11667 int status = $lt_dlunknown;
11671 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11674 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11675 else puts (dlerror ());
11677 /* dlclose (self); */
11685 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11686 (eval $ac_link) 2>&5
11688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11689 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11690 (./conftest; exit; ) >&5 2>/dev/null
11692 case x$lt_status in
11693 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11694 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11695 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11698 # compilation failed
11699 lt_cv_dlopen_self=no
11706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11707 $as_echo "$lt_cv_dlopen_self" >&6; }
11709 if test "x$lt_cv_dlopen_self" = xyes; then
11710 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11712 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11713 if ${lt_cv_dlopen_self_static+:} false; then :
11714 $as_echo_n "(cached) " >&6
11716 if test "$cross_compiling" = yes; then :
11717 lt_cv_dlopen_self_static=cross
11719 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11720 lt_status=$lt_dlunknown
11721 cat > conftest.$ac_ext <<_LT_EOF
11722 #line $LINENO "configure"
11723 #include "confdefs.h"
11732 # define LT_DLGLOBAL RTLD_GLOBAL
11735 # define LT_DLGLOBAL DL_GLOBAL
11737 # define LT_DLGLOBAL 0
11741 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11742 find out it does not work in some platform. */
11743 #ifndef LT_DLLAZY_OR_NOW
11745 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11748 # define LT_DLLAZY_OR_NOW DL_LAZY
11751 # define LT_DLLAZY_OR_NOW RTLD_NOW
11754 # define LT_DLLAZY_OR_NOW DL_NOW
11756 # define LT_DLLAZY_OR_NOW 0
11763 /* When -fvisbility=hidden is used, assume the code has been annotated
11764 correspondingly for the symbols needed. */
11765 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11766 int fnord () __attribute__((visibility("default")));
11769 int fnord () { return 42; }
11772 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11773 int status = $lt_dlunknown;
11777 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11780 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11781 else puts (dlerror ());
11783 /* dlclose (self); */
11791 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11792 (eval $ac_link) 2>&5
11794 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11795 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11796 (./conftest; exit; ) >&5 2>/dev/null
11798 case x$lt_status in
11799 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11800 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11801 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11804 # compilation failed
11805 lt_cv_dlopen_self_static=no
11812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11813 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11816 CPPFLAGS="$save_CPPFLAGS"
11817 LDFLAGS="$save_LDFLAGS"
11822 case $lt_cv_dlopen_self in
11823 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11824 *) enable_dlopen_self=unknown ;;
11827 case $lt_cv_dlopen_self_static in
11828 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11829 *) enable_dlopen_self_static=unknown ;;
11851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11852 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11853 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11854 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11855 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11857 $as_echo "yes" >&6; }
11859 # FIXME - insert some real tests, host_os isn't really good enough
11862 if test -n "$STRIP" ; then
11863 striplib="$STRIP -x"
11864 old_striplib="$STRIP -S"
11865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11866 $as_echo "yes" >&6; }
11868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11869 $as_echo "no" >&6; }
11873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11874 $as_echo "no" >&6; }
11890 # Report which library types will actually be built
11891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11892 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11894 $as_echo "$can_build_shared" >&6; }
11896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11897 $as_echo_n "checking whether to build shared libraries... " >&6; }
11898 test "$can_build_shared" = "no" && enable_shared=no
11900 # On AIX, shared libraries and static libraries use the same namespace, and
11901 # are all built from PIC.
11904 test "$enable_shared" = yes && enable_static=no
11905 if test -n "$RANLIB"; then
11906 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11907 postinstall_cmds='$RANLIB $lib'
11912 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11913 test "$enable_shared" = yes && enable_static=no
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11918 $as_echo "$enable_shared" >&6; }
11920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11921 $as_echo_n "checking whether to build static libraries... " >&6; }
11922 # Make sure either enable_shared or enable_static is yes.
11923 test "$enable_shared" = yes || enable_static=yes
11924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11925 $as_echo "$enable_static" >&6; }
11932 ac_cpp='$CPP $CPPFLAGS'
11933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11939 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11940 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11941 (test "X$CXX" != "Xg++"))) ; then
11943 ac_cpp='$CXXCPP $CPPFLAGS'
11944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11948 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11949 if test -z "$CXXCPP"; then
11950 if ${ac_cv_prog_CXXCPP+:} false; then :
11951 $as_echo_n "(cached) " >&6
11953 # Double quotes because CXXCPP needs to be expanded
11954 for CXXCPP in "$CXX -E" "/lib/cpp"
11956 ac_preproc_ok=false
11957 for ac_cxx_preproc_warn_flag in '' yes
11959 # Use a header file that comes with gcc, so configuring glibc
11960 # with a fresh cross-compiler works.
11961 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11962 # <limits.h> exists even on freestanding compilers.
11963 # On the NeXT, cc -E runs the code through the compiler's parser,
11964 # not just through cpp. "Syntax error" is here to catch this case.
11965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11966 /* end confdefs.h. */
11968 # include <limits.h>
11970 # include <assert.h>
11974 if ac_fn_cxx_try_cpp "$LINENO"; then :
11977 # Broken: fails on valid input.
11980 rm -f conftest.err conftest.i conftest.$ac_ext
11982 # OK, works on sane cases. Now check whether nonexistent headers
11983 # can be detected and how.
11984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11985 /* end confdefs.h. */
11986 #include <ac_nonexistent.h>
11988 if ac_fn_cxx_try_cpp "$LINENO"; then :
11989 # Broken: success on invalid input.
11992 # Passes both tests.
11996 rm -f conftest.err conftest.i conftest.$ac_ext
11999 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12000 rm -f conftest.i conftest.err conftest.$ac_ext
12001 if $ac_preproc_ok; then :
12006 ac_cv_prog_CXXCPP=$CXXCPP
12009 CXXCPP=$ac_cv_prog_CXXCPP
12011 ac_cv_prog_CXXCPP=$CXXCPP
12013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12014 $as_echo "$CXXCPP" >&6; }
12015 ac_preproc_ok=false
12016 for ac_cxx_preproc_warn_flag in '' yes
12018 # Use a header file that comes with gcc, so configuring glibc
12019 # with a fresh cross-compiler works.
12020 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12021 # <limits.h> exists even on freestanding compilers.
12022 # On the NeXT, cc -E runs the code through the compiler's parser,
12023 # not just through cpp. "Syntax error" is here to catch this case.
12024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12025 /* end confdefs.h. */
12027 # include <limits.h>
12029 # include <assert.h>
12033 if ac_fn_cxx_try_cpp "$LINENO"; then :
12036 # Broken: fails on valid input.
12039 rm -f conftest.err conftest.i conftest.$ac_ext
12041 # OK, works on sane cases. Now check whether nonexistent headers
12042 # can be detected and how.
12043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12044 /* end confdefs.h. */
12045 #include <ac_nonexistent.h>
12047 if ac_fn_cxx_try_cpp "$LINENO"; then :
12048 # Broken: success on invalid input.
12051 # Passes both tests.
12055 rm -f conftest.err conftest.i conftest.$ac_ext
12058 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12059 rm -f conftest.i conftest.err conftest.$ac_ext
12060 if $ac_preproc_ok; then :
12063 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12064 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12065 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12066 See \`config.log' for more details" "$LINENO" 5; }
12070 ac_cpp='$CPP $CPPFLAGS'
12071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12076 _lt_caught_CXX_error=yes
12080 ac_cpp='$CXXCPP $CPPFLAGS'
12081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12085 archive_cmds_need_lc_CXX=no
12086 allow_undefined_flag_CXX=
12087 always_export_symbols_CXX=no
12088 archive_expsym_cmds_CXX=
12089 compiler_needs_object_CXX=no
12090 export_dynamic_flag_spec_CXX=
12091 hardcode_direct_CXX=no
12092 hardcode_direct_absolute_CXX=no
12093 hardcode_libdir_flag_spec_CXX=
12094 hardcode_libdir_separator_CXX=
12095 hardcode_minus_L_CXX=no
12096 hardcode_shlibpath_var_CXX=unsupported
12097 hardcode_automatic_CXX=no
12098 inherit_rpath_CXX=no
12100 module_expsym_cmds_CXX=
12101 link_all_deplibs_CXX=unknown
12102 old_archive_cmds_CXX=$old_archive_cmds
12103 reload_flag_CXX=$reload_flag
12104 reload_cmds_CXX=$reload_cmds
12105 no_undefined_flag_CXX=
12106 whole_archive_flag_spec_CXX=
12107 enable_shared_with_static_runtimes_CXX=no
12109 # Source file extension for C++ test sources.
12112 # Object file extension for compiled C++ test sources.
12116 # No sense in running all these tests if we already determined that
12117 # the CXX compiler isn't working. Some variables (like enable_shared)
12118 # are currently assumed to apply to all compilers on this platform,
12119 # and will be corrupted by setting them based on a non-working compiler.
12120 if test "$_lt_caught_CXX_error" != yes; then
12121 # Code to be used in simple compile tests
12122 lt_simple_compile_test_code="int some_variable = 0;"
12124 # Code to be used in simple link tests
12125 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12127 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12134 # If no C compiler was specified, use CC.
12137 # If no C compiler flags were specified, use CFLAGS.
12138 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12140 # Allow CC to be a program name with arguments.
12144 # save warnings/boilerplate of simple test code
12145 ac_outfile=conftest.$ac_objext
12146 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12147 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12148 _lt_compiler_boilerplate=`cat conftest.err`
12151 ac_outfile=conftest.$ac_objext
12152 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12153 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12154 _lt_linker_boilerplate=`cat conftest.err`
12158 # Allow CC to be a program name with arguments.
12160 lt_save_CFLAGS=$CFLAGS
12164 lt_save_with_gnu_ld=$with_gnu_ld
12165 lt_save_path_LD=$lt_cv_path_LD
12166 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12167 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12169 $as_unset lt_cv_prog_gnu_ld
12171 if test -n "${lt_cv_path_LDCXX+set}"; then
12172 lt_cv_path_LD=$lt_cv_path_LDCXX
12174 $as_unset lt_cv_path_LD
12176 test -z "${LDCXX+set}" || LD=$LDCXX
12181 for cc_temp in $compiler""; do
12183 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12184 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12189 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12192 if test -n "$compiler"; then
12193 # We don't want -fno-exception when compiling C++ code, so set the
12194 # no_builtin_flag separately
12195 if test "$GXX" = yes; then
12196 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12198 lt_prog_compiler_no_builtin_flag_CXX=
12201 if test "$GXX" = yes; then
12202 # Set up default GNU C++ configuration
12206 # Check whether --with-gnu-ld was given.
12207 if test "${with_gnu_ld+set}" = set; then :
12208 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12214 if test "$GCC" = yes; then
12215 # Check if gcc -print-prog-name=ld gives a path.
12216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12217 $as_echo_n "checking for ld used by $CC... " >&6; }
12220 # gcc leaves a trailing carriage return which upsets mingw
12221 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12223 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12226 # Accept absolute paths.
12228 re_direlt='/[^/][^/]*/\.\./'
12229 # Canonicalize the pathname of ld
12230 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12231 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12232 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12234 test -z "$LD" && LD="$ac_prog"
12237 # If it fails, then pretend we aren't using GCC.
12241 # If it is relative, then search for the first ld in PATH.
12242 with_gnu_ld=unknown
12245 elif test "$with_gnu_ld" = yes; then
12246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12247 $as_echo_n "checking for GNU ld... " >&6; }
12249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12250 $as_echo_n "checking for non-GNU ld... " >&6; }
12252 if ${lt_cv_path_LD+:} false; then :
12253 $as_echo_n "(cached) " >&6
12255 if test -z "$LD"; then
12256 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12257 for ac_dir in $PATH; do
12259 test -z "$ac_dir" && ac_dir=.
12260 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12261 lt_cv_path_LD="$ac_dir/$ac_prog"
12262 # Check to see if the program is GNU ld. I'd rather use --version,
12263 # but apparently some variants of GNU ld only accept -v.
12264 # Break only if it was the GNU/non-GNU ld that we prefer.
12265 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12266 *GNU* | *'with BFD'*)
12267 test "$with_gnu_ld" != no && break
12270 test "$with_gnu_ld" != yes && break
12277 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12281 LD="$lt_cv_path_LD"
12282 if test -n "$LD"; then
12283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12284 $as_echo "$LD" >&6; }
12286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12287 $as_echo "no" >&6; }
12289 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12291 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12292 if ${lt_cv_prog_gnu_ld+:} false; then :
12293 $as_echo_n "(cached) " >&6
12295 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12296 case `$LD -v 2>&1 </dev/null` in
12297 *GNU* | *'with BFD'*)
12298 lt_cv_prog_gnu_ld=yes
12301 lt_cv_prog_gnu_ld=no
12305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12306 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12307 with_gnu_ld=$lt_cv_prog_gnu_ld
12315 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12316 # archiving commands below assume that GNU ld is being used.
12317 if test "$with_gnu_ld" = yes; then
12318 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12319 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'
12321 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12322 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12324 # If archive_cmds runs LD, not CC, wlarc should be empty
12325 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12326 # investigate it a little bit more. (MM)
12329 # ancient GNU ld didn't support --whole-archive et. al.
12330 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12331 $GREP 'no-whole-archive' > /dev/null; then
12332 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12334 whole_archive_flag_spec_CXX=
12340 # A generic and very simple default shared library creation
12341 # command for GNU C++ for the case where it uses the native
12342 # linker, instead of GNU ld. If possible, this setting should
12343 # overridden to take advantage of the native linker features on
12344 # the platform it is being used on.
12345 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12348 # Commands to make compiler produce verbose output that lists
12349 # what "hidden" libraries, object files and flags are used when
12350 # linking a shared library.
12351 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12359 # PORTME: fill in a description of your system's C++ link characteristics
12360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12361 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12365 # FIXME: insert proper C++ library support
12369 if test "$host_cpu" = ia64; then
12370 # On IA64, the linker does run time linking by default, so we don't
12371 # have to do anything special.
12372 aix_use_runtimelinking=no
12373 exp_sym_flag='-Bexport'
12376 aix_use_runtimelinking=no
12378 # Test if we are trying to use run time linking or normal
12379 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12380 # need to do runtime linking.
12381 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12382 for ld_flag in $LDFLAGS; do
12385 aix_use_runtimelinking=yes
12393 exp_sym_flag='-bexport'
12394 no_entry_flag='-bnoentry'
12397 # When large executables or shared objects are built, AIX ld can
12398 # have problems creating the table of contents. If linking a library
12399 # or program results in "error TOC overflow" add -mminimal-toc to
12400 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12401 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12403 archive_cmds_CXX=''
12404 hardcode_direct_CXX=yes
12405 hardcode_direct_absolute_CXX=yes
12406 hardcode_libdir_separator_CXX=':'
12407 link_all_deplibs_CXX=yes
12408 file_list_spec_CXX='${wl}-f,'
12410 if test "$GXX" = yes; then
12411 case $host_os in aix4.[012]|aix4.[012].*)
12412 # We only want to do this on AIX 4.2 and lower, the check
12413 # below for broken collect2 doesn't work under 4.3+
12414 collect2name=`${CC} -print-prog-name=collect2`
12415 if test -f "$collect2name" &&
12416 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12418 # We have reworked collect2
12421 # We have old collect2
12422 hardcode_direct_CXX=unsupported
12423 # It fails to find uninstalled libraries when the uninstalled
12424 # path is not listed in the libpath. Setting hardcode_minus_L
12425 # to unsupported forces relinking
12426 hardcode_minus_L_CXX=yes
12427 hardcode_libdir_flag_spec_CXX='-L$libdir'
12428 hardcode_libdir_separator_CXX=
12431 shared_flag='-shared'
12432 if test "$aix_use_runtimelinking" = yes; then
12433 shared_flag="$shared_flag "'${wl}-G'
12437 if test "$host_cpu" = ia64; then
12438 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12439 # chokes on -Wl,-G. The following line is correct:
12442 if test "$aix_use_runtimelinking" = yes; then
12443 shared_flag='${wl}-G'
12445 shared_flag='${wl}-bM:SRE'
12450 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12451 # It seems that -bexpall does not export symbols beginning with
12452 # underscore (_), so it is better to generate a list of symbols to
12454 always_export_symbols_CXX=yes
12455 if test "$aix_use_runtimelinking" = yes; then
12456 # Warning - without using the other runtime loading flags (-brtl),
12457 # -berok will link without error, but may produce a broken library.
12458 allow_undefined_flag_CXX='-berok'
12459 # Determine the default libpath from the value encoded in an empty
12461 if test "${lt_cv_aix_libpath+set}" = set; then
12462 aix_libpath=$lt_cv_aix_libpath
12464 if ${lt_cv_aix_libpath__CXX+:} false; then :
12465 $as_echo_n "(cached) " >&6
12467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12468 /* end confdefs.h. */
12478 if ac_fn_cxx_try_link "$LINENO"; then :
12480 lt_aix_libpath_sed='
12481 /Import File Strings/,/^$/ {
12483 s/^0 *\([^ ]*\) *$/\1/
12487 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12488 # Check for a 64-bit object if we didn't find anything.
12489 if test -z "$lt_cv_aix_libpath__CXX"; then
12490 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12493 rm -f core conftest.err conftest.$ac_objext \
12494 conftest$ac_exeext conftest.$ac_ext
12495 if test -z "$lt_cv_aix_libpath__CXX"; then
12496 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
12501 aix_libpath=$lt_cv_aix_libpath__CXX
12504 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12506 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12508 if test "$host_cpu" = ia64; then
12509 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12510 allow_undefined_flag_CXX="-z nodefs"
12511 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"
12513 # Determine the default libpath from the value encoded in an
12514 # empty executable.
12515 if test "${lt_cv_aix_libpath+set}" = set; then
12516 aix_libpath=$lt_cv_aix_libpath
12518 if ${lt_cv_aix_libpath__CXX+:} false; then :
12519 $as_echo_n "(cached) " >&6
12521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12522 /* end confdefs.h. */
12532 if ac_fn_cxx_try_link "$LINENO"; then :
12534 lt_aix_libpath_sed='
12535 /Import File Strings/,/^$/ {
12537 s/^0 *\([^ ]*\) *$/\1/
12541 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12542 # Check for a 64-bit object if we didn't find anything.
12543 if test -z "$lt_cv_aix_libpath__CXX"; then
12544 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12547 rm -f core conftest.err conftest.$ac_objext \
12548 conftest$ac_exeext conftest.$ac_ext
12549 if test -z "$lt_cv_aix_libpath__CXX"; then
12550 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
12555 aix_libpath=$lt_cv_aix_libpath__CXX
12558 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12559 # Warning - without using the other run time loading flags,
12560 # -berok will link without error, but may produce a broken library.
12561 no_undefined_flag_CXX=' ${wl}-bernotok'
12562 allow_undefined_flag_CXX=' ${wl}-berok'
12563 if test "$with_gnu_ld" = yes; then
12564 # We only use this code for GNU lds that support --whole-archive.
12565 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12567 # Exported symbols can be pulled into shared objects from archives
12568 whole_archive_flag_spec_CXX='$convenience'
12570 archive_cmds_need_lc_CXX=yes
12571 # This is similar to how AIX traditionally builds its shared
12573 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
12579 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12580 allow_undefined_flag_CXX=unsupported
12581 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12582 # support --undefined. This deserves some investigation. FIXME
12583 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12590 case $cc_basename in
12592 # FIXME: insert proper C++ library support
12598 cygwin* | mingw* | pw32* | cegcc*)
12599 case $GXX,$cc_basename in
12602 # hardcode_libdir_flag_spec is actually meaningless, as there is
12603 # no search path for DLLs.
12604 hardcode_libdir_flag_spec_CXX=' '
12605 allow_undefined_flag_CXX=unsupported
12606 always_export_symbols_CXX=yes
12607 file_list_spec_CXX='@'
12608 # Tell ltmain to make .lib files, not .a files.
12610 # Tell ltmain to make .dll files, not .so files.
12612 # FIXME: Setting linknames here is a bad hack.
12613 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
12614 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12615 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
12617 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
12619 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12621 # The linker will not automatically build a static lib if we build a DLL.
12622 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
12623 enable_shared_with_static_runtimes_CXX=yes
12625 old_postinstall_cmds_CXX='chmod 644 $oldlib'
12626 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
12627 lt_tool_outputfile="@TOOL_OUTPUT@"~
12628 case $lt_outputfile in
12631 lt_outputfile="$lt_outputfile.exe"
12632 lt_tool_outputfile="$lt_tool_outputfile.exe"
12635 func_to_tool_file "$lt_outputfile"~
12636 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
12637 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12638 $RM "$lt_outputfile.manifest";
12643 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12644 # as there is no search path for DLLs.
12645 hardcode_libdir_flag_spec_CXX='-L$libdir'
12646 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12647 allow_undefined_flag_CXX=unsupported
12648 always_export_symbols_CXX=no
12649 enable_shared_with_static_runtimes_CXX=yes
12651 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12652 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'
12653 # If the export-symbols file already is a .def file (1st line
12654 # is EXPORTS), use it as is; otherwise, prepend...
12655 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12656 cp $export_symbols $output_objdir/$soname.def;
12658 echo EXPORTS > $output_objdir/$soname.def;
12659 cat $export_symbols >> $output_objdir/$soname.def;
12661 $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'
12668 darwin* | rhapsody*)
12671 archive_cmds_need_lc_CXX=no
12672 hardcode_direct_CXX=no
12673 hardcode_automatic_CXX=yes
12674 hardcode_shlibpath_var_CXX=unsupported
12675 if test "$lt_cv_ld_force_load" = "yes"; then
12676 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\"`'
12679 whole_archive_flag_spec_CXX=''
12681 link_all_deplibs_CXX=yes
12682 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12683 case $cc_basename in
12684 ifort*) _lt_dar_can_shared=yes ;;
12685 *) _lt_dar_can_shared=$GCC ;;
12687 if test "$_lt_dar_can_shared" = "yes"; then
12688 output_verbose_link_cmd=func_echo_all
12689 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}"
12690 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12691 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}"
12692 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}"
12693 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12694 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}"
12695 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}"
12705 case $cc_basename in
12707 # FIXME: insert proper C++ library support
12711 # Green Hills C++ Compiler
12712 # FIXME: insert proper C++ library support
12716 # FIXME: insert proper C++ library support
12723 # C++ shared libraries reported to be fairly broken before
12729 archive_cmds_need_lc_CXX=no
12732 freebsd* | dragonfly*)
12733 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12742 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12743 link_all_deplibs_CXX=yes
12747 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12748 hardcode_libdir_separator_CXX=:
12749 export_dynamic_flag_spec_CXX='${wl}-E'
12750 hardcode_direct_CXX=yes
12751 hardcode_minus_L_CXX=yes # Not in the search PATH,
12752 # but as the default
12753 # location of the library.
12755 case $cc_basename in
12757 # FIXME: insert proper C++ library support
12761 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12762 # Commands to make compiler produce verbose output that lists
12763 # what "hidden" libraries, object files and flags are used when
12764 # linking a shared library.
12766 # There doesn't appear to be a way to prevent this compiler from
12767 # explicitly linking system object files so we need to strip them
12768 # from the output so that they don't get included in the library
12770 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"'
12773 if test "$GXX" = yes; then
12774 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12776 # FIXME: insert proper C++ library support
12784 if test $with_gnu_ld = no; then
12785 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12786 hardcode_libdir_separator_CXX=:
12792 export_dynamic_flag_spec_CXX='${wl}-E'
12798 hardcode_direct_CXX=no
12799 hardcode_shlibpath_var_CXX=no
12802 hardcode_direct_CXX=yes
12803 hardcode_direct_absolute_CXX=yes
12804 hardcode_minus_L_CXX=yes # Not in the search PATH,
12805 # but as the default
12806 # location of the library.
12810 case $cc_basename in
12812 # FIXME: insert proper C++ library support
12818 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12821 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12824 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12827 # Commands to make compiler produce verbose output that lists
12828 # what "hidden" libraries, object files and flags are used when
12829 # linking a shared library.
12831 # There doesn't appear to be a way to prevent this compiler from
12832 # explicitly linking system object files so we need to strip them
12833 # from the output so that they don't get included in the library
12835 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"'
12838 if test "$GXX" = yes; then
12839 if test $with_gnu_ld = no; then
12842 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12845 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12848 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'
12853 # FIXME: insert proper C++ library support
12861 hardcode_direct_CXX=no
12862 hardcode_shlibpath_var_CXX=no
12863 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12864 export_dynamic_flag_spec_CXX='${wl}-E'
12865 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12866 # Instead, shared libraries are loaded at an image base (0x10000000 by
12867 # default) and relocated if they conflict, which is a slow very memory
12868 # consuming and fragmenting process. To avoid this, we pick a random,
12869 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12870 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12871 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'
12872 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'
12875 case $cc_basename in
12878 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'
12880 # Archives containing C++ object files must be created using
12881 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12882 # necessary to make sure instantiated templates are included
12884 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12887 if test "$GXX" = yes; then
12888 if test "$with_gnu_ld" = no; then
12889 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'
12891 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'
12894 link_all_deplibs_CXX=yes
12897 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12898 hardcode_libdir_separator_CXX=:
12899 inherit_rpath_CXX=yes
12902 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12903 case $cc_basename in
12905 # Kuck and Associates, Inc. (KAI) C++ Compiler
12907 # KCC will only create a shared library if the output file
12908 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12909 # to its proper name (with version) after linking.
12910 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'
12911 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'
12912 # Commands to make compiler produce verbose output that lists
12913 # what "hidden" libraries, object files and flags are used when
12914 # linking a shared library.
12916 # There doesn't appear to be a way to prevent this compiler from
12917 # explicitly linking system object files so we need to strip them
12918 # from the output so that they don't get included in the library
12920 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"'
12922 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12923 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12925 # Archives containing C++ object files must be created using
12926 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12927 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12932 # version 8.0 and above of icpc choke on multiply defined symbols
12933 # if we add $predep_objects and $postdep_objects, however 7.1 and
12934 # earlier do not add the objects themselves.
12935 case `$CC -V 2>&1` in
12937 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12938 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'
12940 *) # Version 8.0 or newer
12943 ia64*) tmp_idyn=' -i_dynamic';;
12945 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12946 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'
12949 archive_cmds_need_lc_CXX=no
12950 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12951 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12952 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12955 # Portland Group C++ compiler
12957 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12958 prelink_cmds_CXX='tpldir=Template.dir~
12960 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12961 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
12962 old_archive_cmds_CXX='tpldir=Template.dir~
12964 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12965 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
12967 archive_cmds_CXX='tpldir=Template.dir~
12969 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12970 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12971 archive_expsym_cmds_CXX='tpldir=Template.dir~
12973 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12974 $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'
12976 *) # Version 6 and above use weak symbols
12977 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12978 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'
12982 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12983 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12984 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'
12988 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12989 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'
12991 runpath_var=LD_RUN_PATH
12992 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12993 hardcode_libdir_separator_CXX=:
12995 # Commands to make compiler produce verbose output that lists
12996 # what "hidden" libraries, object files and flags are used when
12997 # linking a shared library.
12999 # There doesn't appear to be a way to prevent this compiler from
13000 # explicitly linking system object files so we need to strip them
13001 # from the output so that they don't get included in the library
13003 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'
13005 xl* | mpixl* | bgxl*)
13006 # IBM XL 8.0 on PPC, with GNU ld
13007 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13008 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13009 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13010 if test "x$supports_anon_versioning" = xyes; then
13011 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13012 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13013 echo "local: *; };" >> $output_objdir/$libname.ver~
13014 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13018 case `$CC -V 2>&1 | sed 5q` in
13021 no_undefined_flag_CXX=' -zdefs'
13022 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13023 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'
13024 hardcode_libdir_flag_spec_CXX='-R$libdir'
13025 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'
13026 compiler_needs_object_CXX=yes
13028 # Not sure whether something based on
13029 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13031 output_verbose_link_cmd='func_echo_all'
13033 # Archives containing C++ object files must be created using
13034 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13035 # necessary to make sure instantiated templates are included
13037 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13045 # FIXME: insert proper C++ library support
13050 # FIXME: insert proper C++ library support
13055 case $cc_basename in
13057 # FIXME: insert proper C++ library support
13061 # FIXME: insert proper C++ library support
13068 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13069 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13071 hardcode_libdir_flag_spec_CXX='-R$libdir'
13072 hardcode_direct_CXX=yes
13073 hardcode_shlibpath_var_CXX=no
13075 # Workaround some broken pre-1.5 toolchains
13076 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13084 # C++ shared libraries are fairly broken
13089 if test -f /usr/libexec/ld.so; then
13090 hardcode_direct_CXX=yes
13091 hardcode_shlibpath_var_CXX=no
13092 hardcode_direct_absolute_CXX=yes
13093 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13094 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13095 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13096 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13097 export_dynamic_flag_spec_CXX='${wl}-E'
13098 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13100 output_verbose_link_cmd=func_echo_all
13106 osf3* | osf4* | osf5*)
13107 case $cc_basename in
13109 # Kuck and Associates, Inc. (KAI) C++ Compiler
13111 # KCC will only create a shared library if the output file
13112 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13113 # to its proper name (with version) after linking.
13114 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'
13116 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13117 hardcode_libdir_separator_CXX=:
13119 # Archives containing C++ object files must be created using
13120 # the KAI C++ compiler.
13122 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13123 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13127 # Rational C++ 2.4.1
13128 # FIXME: insert proper C++ library support
13134 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13135 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'
13136 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13139 allow_undefined_flag_CXX=' -expect_unresolved \*'
13140 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'
13141 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13142 echo "-hidden">> $lib.exp~
13143 $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~
13145 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13149 hardcode_libdir_separator_CXX=:
13151 # Commands to make compiler produce verbose output that lists
13152 # what "hidden" libraries, object files and flags are used when
13153 # linking a shared library.
13155 # There doesn't appear to be a way to prevent this compiler from
13156 # explicitly linking system object files so we need to strip them
13157 # from the output so that they don't get included in the library
13159 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"'
13162 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13163 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13166 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'
13169 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'
13173 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13174 hardcode_libdir_separator_CXX=:
13176 # Commands to make compiler produce verbose output that lists
13177 # what "hidden" libraries, object files and flags are used when
13178 # linking a shared library.
13179 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13182 # FIXME: insert proper C++ library support
13190 # FIXME: insert proper C++ library support
13195 case $cc_basename in
13198 # FIXME: insert proper C++ library support
13203 # FIXME: insert proper C++ library support
13207 # FIXME: insert proper C++ library support
13214 case $cc_basename in
13216 # Sun C++ 4.2, 5.x and Centerline C++
13217 archive_cmds_need_lc_CXX=yes
13218 no_undefined_flag_CXX=' -zdefs'
13219 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13220 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13221 $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'
13223 hardcode_libdir_flag_spec_CXX='-R$libdir'
13224 hardcode_shlibpath_var_CXX=no
13226 solaris2.[0-5] | solaris2.[0-5].*) ;;
13228 # The compiler driver will combine and reorder linker options,
13229 # but understands `-z linker_flag'.
13230 # Supported since Solaris 2.6 (maybe 2.5.1?)
13231 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13234 link_all_deplibs_CXX=yes
13236 output_verbose_link_cmd='func_echo_all'
13238 # Archives containing C++ object files must be created using
13239 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13240 # necessary to make sure instantiated templates are included
13242 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13245 # Green Hills C++ Compiler
13246 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13248 # The C++ compiler must be used to create the archive.
13249 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13252 # GNU C++ compiler with Solaris linker
13253 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13254 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13255 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13256 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13257 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13258 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13260 # Commands to make compiler produce verbose output that lists
13261 # what "hidden" libraries, object files and flags are used when
13262 # linking a shared library.
13263 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13265 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13267 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13268 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13269 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13271 # Commands to make compiler produce verbose output that lists
13272 # what "hidden" libraries, object files and flags are used when
13273 # linking a shared library.
13274 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13277 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13279 solaris2.[0-5] | solaris2.[0-5].*) ;;
13281 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13289 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13290 no_undefined_flag_CXX='${wl}-z,text'
13291 archive_cmds_need_lc_CXX=no
13292 hardcode_shlibpath_var_CXX=no
13293 runpath_var='LD_RUN_PATH'
13295 case $cc_basename in
13297 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13298 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13301 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13302 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13307 sysv5* | sco3.2v5* | sco5v6*)
13308 # Note: We can NOT use -z defs as we might desire, because we do not
13309 # link with -lc, and that would cause any symbols used from libc to
13310 # always be unresolved, which means just about no library would
13311 # ever link correctly. If we're not using GNU ld we use -z text
13312 # though, which does catch some bad symbols but isn't as heavy-handed
13314 no_undefined_flag_CXX='${wl}-z,text'
13315 allow_undefined_flag_CXX='${wl}-z,nodefs'
13316 archive_cmds_need_lc_CXX=no
13317 hardcode_shlibpath_var_CXX=no
13318 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13319 hardcode_libdir_separator_CXX=':'
13320 link_all_deplibs_CXX=yes
13321 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13322 runpath_var='LD_RUN_PATH'
13324 case $cc_basename in
13326 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13327 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13328 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13329 '"$old_archive_cmds_CXX"
13330 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13331 '"$reload_cmds_CXX"
13334 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13335 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13341 case $cc_basename in
13343 # NonStop-UX NCC 3.20
13344 # FIXME: insert proper C++ library support
13348 # FIXME: insert proper C++ library support
13355 # FIXME: insert proper C++ library support
13360 # FIXME: insert proper C++ library support
13365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13366 $as_echo "$ld_shlibs_CXX" >&6; }
13367 test "$ld_shlibs_CXX" = no && can_build_shared=no
13373 ## There is no encapsulation within the following macros, do not change
13374 ## the running order or otherwise move them around unless you know exactly
13375 ## what you are doing...
13376 # Dependencies to place before and after the object being linked:
13377 predep_objects_CXX=
13378 postdep_objects_CXX=
13381 compiler_lib_search_path_CXX=
13383 cat > conftest.$ac_ext <<_LT_EOF
13387 Foo (void) { a = 0; }
13394 _lt_libdeps_save_CFLAGS=$CFLAGS
13395 case "$CC $CFLAGS " in #(
13396 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
13397 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
13398 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
13401 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13402 (eval $ac_compile) 2>&5
13404 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13405 test $ac_status = 0; }; then
13406 # Parse the compiler output and extract the necessary
13407 # objects, libraries and library flags.
13409 # Sentinel used to keep track of whether or not we are before
13410 # the conftest object file.
13411 pre_test_object_deps_done=no
13413 for p in `eval "$output_verbose_link_cmd"`; do
13414 case ${prev}${p} in
13417 # Some compilers place space between "-{L,R}" and the path.
13418 # Remove the space.
13419 if test $p = "-L" ||
13420 test $p = "-R"; then
13425 # Expand the sysroot to ease extracting the directories later.
13426 if test -z "$prev"; then
13428 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
13429 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
13430 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
13434 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
13436 if test "$pre_test_object_deps_done" = no; then
13439 # Internal compiler library paths should come after those
13440 # provided the user. The postdeps already come after the
13441 # user supplied libs so there is no need to process them.
13442 if test -z "$compiler_lib_search_path_CXX"; then
13443 compiler_lib_search_path_CXX="${prev}${p}"
13445 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13448 # The "-l" case would never come before the object being
13449 # linked, so don't bother handling this case.
13452 if test -z "$postdeps_CXX"; then
13453 postdeps_CXX="${prev}${p}"
13455 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13461 *.lto.$objext) ;; # Ignore GCC LTO objects
13463 # This assumes that the test object file only shows up
13464 # once in the compiler output.
13465 if test "$p" = "conftest.$objext"; then
13466 pre_test_object_deps_done=yes
13470 if test "$pre_test_object_deps_done" = no; then
13471 if test -z "$predep_objects_CXX"; then
13472 predep_objects_CXX="$p"
13474 predep_objects_CXX="$predep_objects_CXX $p"
13477 if test -z "$postdep_objects_CXX"; then
13478 postdep_objects_CXX="$p"
13480 postdep_objects_CXX="$postdep_objects_CXX $p"
13485 *) ;; # Ignore the rest.
13493 echo "libtool.m4: error: problem compiling CXX test program"
13496 $RM -f confest.$objext
13497 CFLAGS=$_lt_libdeps_save_CFLAGS
13499 # PORTME: override above test on systems where it is broken
13502 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13503 # hack all around it, let's just trust "g++" to DTRT.
13504 predep_objects_CXX=
13505 postdep_objects_CXX=
13510 case `$CC -V 2>&1 | sed 5q` in
13514 # The more standards-conforming stlport4 library is
13515 # incompatible with the Cstd library. Avoid specifying
13516 # it if it's in CXXFLAGS. Ignore libCrun as
13517 # -library=stlport4 depends on it.
13518 case " $CXX $CXXFLAGS " in
13519 *" -library=stlport4 "*)
13520 solaris_use_stlport4=yes
13524 if test "$solaris_use_stlport4" != yes; then
13525 postdeps_CXX='-library=Cstd -library=Crun'
13532 case $cc_basename in
13534 # The more standards-conforming stlport4 library is
13535 # incompatible with the Cstd library. Avoid specifying
13536 # it if it's in CXXFLAGS. Ignore libCrun as
13537 # -library=stlport4 depends on it.
13538 case " $CXX $CXXFLAGS " in
13539 *" -library=stlport4 "*)
13540 solaris_use_stlport4=yes
13544 # Adding this requires a known-good setup of shared libraries for
13545 # Sun compiler versions before 5.6, else PIC objects from an old
13546 # archive will be linked into the output, leading to subtle bugs.
13547 if test "$solaris_use_stlport4" != yes; then
13548 postdeps_CXX='-library=Cstd -library=Crun'
13556 case " $postdeps_CXX " in
13557 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13559 compiler_lib_search_dirs_CXX=
13560 if test -n "${compiler_lib_search_path_CXX}"; then
13561 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13594 lt_prog_compiler_wl_CXX=
13595 lt_prog_compiler_pic_CXX=
13596 lt_prog_compiler_static_CXX=
13599 # C++ specific cases for pic, static, wl, etc.
13600 if test "$GXX" = yes; then
13601 lt_prog_compiler_wl_CXX='-Wl,'
13602 lt_prog_compiler_static_CXX='-static'
13606 # All AIX code is PIC.
13607 if test "$host_cpu" = ia64; then
13608 # AIX 5 now supports IA64 processor
13609 lt_prog_compiler_static_CXX='-Bstatic'
13616 # see comment about AmigaOS4 .so support
13617 lt_prog_compiler_pic_CXX='-fPIC'
13620 # FIXME: we need at least 68020 code to build shared libraries, but
13621 # adding the `-m68020' flag to GCC prevents building anything better,
13623 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13628 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13629 # PIC is the default for these OSes.
13631 mingw* | cygwin* | os2* | pw32* | cegcc*)
13632 # This hack is so that the source file can tell whether it is being
13633 # built for inclusion in a dll (and should export symbols for example).
13634 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13635 # (--disable-auto-import) libraries
13636 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13638 darwin* | rhapsody*)
13639 # PIC is the default on this platform
13640 # Common symbols not allowed in MH_DYLIB files
13641 lt_prog_compiler_pic_CXX='-fno-common'
13644 # DJGPP does not support shared libraries at all
13645 lt_prog_compiler_pic_CXX=
13648 # PIC is the default for Haiku.
13649 # The "-static" flag exists, but is broken.
13650 lt_prog_compiler_static_CXX=
13653 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13654 # Instead, we relocate shared libraries at runtime.
13657 if test -d /usr/nec; then
13658 lt_prog_compiler_pic_CXX=-Kconform_pic
13662 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13663 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13664 # sets the default TLS model and affects inlining.
13669 lt_prog_compiler_pic_CXX='-fPIC'
13674 # QNX uses GNU C++, but need to define -shared option too, otherwise
13675 # it will coredump.
13676 lt_prog_compiler_pic_CXX='-fPIC -shared'
13679 lt_prog_compiler_pic_CXX='-fPIC'
13685 # All AIX code is PIC.
13686 if test "$host_cpu" = ia64; then
13687 # AIX 5 now supports IA64 processor
13688 lt_prog_compiler_static_CXX='-Bstatic'
13690 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13694 case $cc_basename in
13696 # Green Hills C++ Compiler
13697 # _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"
13701 mingw* | cygwin* | os2* | pw32* | cegcc*)
13702 # This hack is so that the source file can tell whether it is being
13703 # built for inclusion in a dll (and should export symbols for example).
13704 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13707 case $cc_basename in
13709 lt_prog_compiler_pic_CXX='-KPIC'
13712 # Green Hills C++ Compiler
13713 lt_prog_compiler_pic_CXX='-pic'
13719 freebsd* | dragonfly*)
13720 # FreeBSD uses GNU C++
13722 hpux9* | hpux10* | hpux11*)
13723 case $cc_basename in
13725 lt_prog_compiler_wl_CXX='-Wl,'
13726 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13727 if test "$host_cpu" != ia64; then
13728 lt_prog_compiler_pic_CXX='+Z'
13732 lt_prog_compiler_wl_CXX='-Wl,'
13733 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13739 lt_prog_compiler_pic_CXX='+Z'
13748 # This is c89, which is MS Visual C++ (no shared libs)
13749 # Anyone wants to do a port?
13751 irix5* | irix6* | nonstopux*)
13752 case $cc_basename in
13754 lt_prog_compiler_wl_CXX='-Wl,'
13755 lt_prog_compiler_static_CXX='-non_shared'
13756 # CC pic flag -KPIC is the default.
13762 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13763 case $cc_basename in
13766 lt_prog_compiler_wl_CXX='--backend -Wl,'
13767 lt_prog_compiler_pic_CXX='-fPIC'
13770 # old Intel C++ for x86_64 which still supported -KPIC.
13771 lt_prog_compiler_wl_CXX='-Wl,'
13772 lt_prog_compiler_pic_CXX='-KPIC'
13773 lt_prog_compiler_static_CXX='-static'
13776 # Intel C++, used to be incompatible with GCC.
13777 # ICC 10 doesn't accept -KPIC any more.
13778 lt_prog_compiler_wl_CXX='-Wl,'
13779 lt_prog_compiler_pic_CXX='-fPIC'
13780 lt_prog_compiler_static_CXX='-static'
13783 # Portland Group C++ compiler
13784 lt_prog_compiler_wl_CXX='-Wl,'
13785 lt_prog_compiler_pic_CXX='-fpic'
13786 lt_prog_compiler_static_CXX='-Bstatic'
13790 # Make sure the PIC flag is empty. It appears that all Alpha
13791 # Linux and Compaq Tru64 Unix objects are PIC.
13792 lt_prog_compiler_pic_CXX=
13793 lt_prog_compiler_static_CXX='-non_shared'
13795 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13796 # IBM XL 8.0, 9.0 on PPC and BlueGene
13797 lt_prog_compiler_wl_CXX='-Wl,'
13798 lt_prog_compiler_pic_CXX='-qpic'
13799 lt_prog_compiler_static_CXX='-qstaticlink'
13802 case `$CC -V 2>&1 | sed 5q` in
13805 lt_prog_compiler_pic_CXX='-KPIC'
13806 lt_prog_compiler_static_CXX='-Bstatic'
13807 lt_prog_compiler_wl_CXX='-Qoption ld '
13818 case $cc_basename in
13820 lt_prog_compiler_pic_CXX='-W c,exportall'
13829 # QNX uses GNU C++, but need to define -shared option too, otherwise
13830 # it will coredump.
13831 lt_prog_compiler_pic_CXX='-fPIC -shared'
13833 osf3* | osf4* | osf5*)
13834 case $cc_basename in
13836 lt_prog_compiler_wl_CXX='--backend -Wl,'
13839 # Rational C++ 2.4.1
13840 lt_prog_compiler_pic_CXX='-pic'
13843 # Digital/Compaq C++
13844 lt_prog_compiler_wl_CXX='-Wl,'
13845 # Make sure the PIC flag is empty. It appears that all Alpha
13846 # Linux and Compaq Tru64 Unix objects are PIC.
13847 lt_prog_compiler_pic_CXX=
13848 lt_prog_compiler_static_CXX='-non_shared'
13857 case $cc_basename in
13859 # Sun C++ 4.2, 5.x and Centerline C++
13860 lt_prog_compiler_pic_CXX='-KPIC'
13861 lt_prog_compiler_static_CXX='-Bstatic'
13862 lt_prog_compiler_wl_CXX='-Qoption ld '
13865 # Green Hills C++ Compiler
13866 lt_prog_compiler_pic_CXX='-PIC'
13873 case $cc_basename in
13876 lt_prog_compiler_pic_CXX='-pic'
13877 lt_prog_compiler_static_CXX='-Bstatic'
13881 lt_prog_compiler_pic_CXX='-pic'
13887 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13888 case $cc_basename in
13890 lt_prog_compiler_wl_CXX='-Wl,'
13891 lt_prog_compiler_pic_CXX='-KPIC'
13892 lt_prog_compiler_static_CXX='-Bstatic'
13897 case $cc_basename in
13899 # NonStop-UX NCC 3.20
13900 lt_prog_compiler_pic_CXX='-KPIC'
13909 lt_prog_compiler_can_build_shared_CXX=no
13915 # For platforms which do not support PIC, -DPIC is meaningless:
13917 lt_prog_compiler_pic_CXX=
13920 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13925 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13926 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
13927 $as_echo_n "(cached) " >&6
13929 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
13931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
13932 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
13933 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
13936 # Check to make sure the PIC flag actually works.
13938 if test -n "$lt_prog_compiler_pic_CXX"; then
13939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13940 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13941 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
13942 $as_echo_n "(cached) " >&6
13944 lt_cv_prog_compiler_pic_works_CXX=no
13945 ac_outfile=conftest.$ac_objext
13946 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13947 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13948 # Insert the option either (1) after the last *FLAGS variable, or
13949 # (2) before a word containing "conftest.", or (3) at the end.
13950 # Note that $ac_compile itself does not contain backslashes and begins
13951 # with a dollar sign (not a hyphen), so the echo should work correctly.
13952 # The option is referenced via a variable to avoid confusing sed.
13953 lt_compile=`echo "$ac_compile" | $SED \
13954 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13955 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13956 -e 's:$: $lt_compiler_flag:'`
13957 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13958 (eval "$lt_compile" 2>conftest.err)
13960 cat conftest.err >&5
13961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13962 if (exit $ac_status) && test -s "$ac_outfile"; then
13963 # The compiler can only warn and ignore the option if not recognized
13964 # So say no if there are warnings other than the usual output.
13965 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13966 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13967 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13968 lt_cv_prog_compiler_pic_works_CXX=yes
13974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13975 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13977 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13978 case $lt_prog_compiler_pic_CXX in
13980 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13983 lt_prog_compiler_pic_CXX=
13984 lt_prog_compiler_can_build_shared_CXX=no
13994 # Check to make sure the static flag actually works.
13996 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13998 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13999 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14000 $as_echo_n "(cached) " >&6
14002 lt_cv_prog_compiler_static_works_CXX=no
14003 save_LDFLAGS="$LDFLAGS"
14004 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14005 echo "$lt_simple_link_test_code" > conftest.$ac_ext
14006 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14007 # The linker can only warn and ignore the option if not recognized
14008 # So say no if there are warnings
14009 if test -s conftest.err; then
14010 # Append any errors to the config.log.
14011 cat conftest.err 1>&5
14012 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14013 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14014 if diff conftest.exp conftest.er2 >/dev/null; then
14015 lt_cv_prog_compiler_static_works_CXX=yes
14018 lt_cv_prog_compiler_static_works_CXX=yes
14022 LDFLAGS="$save_LDFLAGS"
14025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14026 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14028 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14031 lt_prog_compiler_static_CXX=
14037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14038 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14039 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14040 $as_echo_n "(cached) " >&6
14042 lt_cv_prog_compiler_c_o_CXX=no
14043 $RM -r conftest 2>/dev/null
14047 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14049 lt_compiler_flag="-o out/conftest2.$ac_objext"
14050 # Insert the option either (1) after the last *FLAGS variable, or
14051 # (2) before a word containing "conftest.", or (3) at the end.
14052 # Note that $ac_compile itself does not contain backslashes and begins
14053 # with a dollar sign (not a hyphen), so the echo should work correctly.
14054 lt_compile=`echo "$ac_compile" | $SED \
14055 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14056 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14057 -e 's:$: $lt_compiler_flag:'`
14058 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14059 (eval "$lt_compile" 2>out/conftest.err)
14061 cat out/conftest.err >&5
14062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14063 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14065 # The compiler can only warn and ignore the option if not recognized
14066 # So say no if there are warnings
14067 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14068 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14069 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14070 lt_cv_prog_compiler_c_o_CXX=yes
14075 # SGI C++ compiler will create directory out/ii_files/ for
14076 # template instantiation
14077 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14078 $RM out/* && rmdir out
14084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14085 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14090 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14091 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14092 $as_echo_n "(cached) " >&6
14094 lt_cv_prog_compiler_c_o_CXX=no
14095 $RM -r conftest 2>/dev/null
14099 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14101 lt_compiler_flag="-o out/conftest2.$ac_objext"
14102 # Insert the option either (1) after the last *FLAGS variable, or
14103 # (2) before a word containing "conftest.", or (3) at the end.
14104 # Note that $ac_compile itself does not contain backslashes and begins
14105 # with a dollar sign (not a hyphen), so the echo should work correctly.
14106 lt_compile=`echo "$ac_compile" | $SED \
14107 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14108 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14109 -e 's:$: $lt_compiler_flag:'`
14110 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14111 (eval "$lt_compile" 2>out/conftest.err)
14113 cat out/conftest.err >&5
14114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14115 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14117 # The compiler can only warn and ignore the option if not recognized
14118 # So say no if there are warnings
14119 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14120 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14121 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14122 lt_cv_prog_compiler_c_o_CXX=yes
14127 # SGI C++ compiler will create directory out/ii_files/ for
14128 # template instantiation
14129 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14130 $RM out/* && rmdir out
14136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14137 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14142 hard_links="nottested"
14143 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14144 # do not overwrite the value of need_locks provided by the user
14145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14146 $as_echo_n "checking if we can lock with hard links... " >&6; }
14149 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14151 ln conftest.a conftest.b 2>&5 || hard_links=no
14152 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14154 $as_echo "$hard_links" >&6; }
14155 if test "$hard_links" = no; then
14156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14157 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14167 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14169 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14170 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14173 # If we're using GNU nm, then we don't want the "-C" option.
14174 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14175 # Also, AIX nm treats weak defined symbols like other global defined
14176 # symbols, whereas GNU nm marks them as "W".
14177 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14178 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14180 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14184 export_symbols_cmds_CXX="$ltdll_cmds"
14186 cygwin* | mingw* | cegcc*)
14187 case $cc_basename in
14189 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
14192 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'
14193 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14198 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14203 $as_echo "$ld_shlibs_CXX" >&6; }
14204 test "$ld_shlibs_CXX" = no && can_build_shared=no
14206 with_gnu_ld_CXX=$with_gnu_ld
14214 # Do we need to explicitly link libc?
14216 case "x$archive_cmds_need_lc_CXX" in
14218 # Assume -lc should be added
14219 archive_cmds_need_lc_CXX=yes
14221 if test "$enable_shared" = yes && test "$GCC" = yes; then
14222 case $archive_cmds_CXX in
14224 # FIXME: we may have to deal with multi-command sequences.
14227 # Test whether the compiler implicitly links with -lc since on some
14228 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14229 # to ld, don't add -lc before -lgcc.
14230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14231 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14232 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14233 $as_echo_n "(cached) " >&6
14236 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14238 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14239 (eval $ac_compile) 2>&5
14241 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14242 test $ac_status = 0; } 2>conftest.err; then
14245 libobjs=conftest.$ac_objext
14247 wl=$lt_prog_compiler_wl_CXX
14248 pic_flag=$lt_prog_compiler_pic_CXX
14254 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14255 allow_undefined_flag_CXX=
14256 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14257 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14259 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14260 test $ac_status = 0; }
14262 lt_cv_archive_cmds_need_lc_CXX=no
14264 lt_cv_archive_cmds_need_lc_CXX=yes
14266 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14268 cat conftest.err 1>&5
14273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14274 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14275 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14344 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14346 library_names_spec=
14347 libname_spec='lib$name'
14351 postuninstall_cmds=
14355 shlibpath_overrides_runpath=unknown
14357 dynamic_linker="$host_os ld.so"
14358 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14359 need_lib_prefix=unknown
14360 hardcode_into_libs=no
14362 # when you set need_version to no, make sure it does not cause -set_version
14363 # flags to be left without arguments
14364 need_version=unknown
14368 version_type=linux # correct to gnu/linux during the next big refactor
14369 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14370 shlibpath_var=LIBPATH
14372 # AIX 3 has no versioning support, so we append a major version to the name.
14373 soname_spec='${libname}${release}${shared_ext}$major'
14377 version_type=linux # correct to gnu/linux during the next big refactor
14380 hardcode_into_libs=yes
14381 if test "$host_cpu" = ia64; then
14382 # AIX 5 supports IA64
14383 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14384 shlibpath_var=LD_LIBRARY_PATH
14386 # With GCC up to 2.95.x, collect2 would create an import file
14387 # for dependence libraries. The import file would start with
14388 # the line `#! .'. This would cause the generated library to
14389 # depend on `.', always an invalid library. This was fixed in
14390 # development snapshots of GCC prior to 3.0.
14392 aix4 | aix4.[01] | aix4.[01].*)
14393 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14395 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14398 can_build_shared=no
14402 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14403 # soname into executable. Probably we can add versioning support to
14404 # collect2, so additional links can be useful in future.
14405 if test "$aix_use_runtimelinking" = yes; then
14406 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14407 # instead of lib<name>.a to let people know that these are not
14408 # typical AIX shared libraries.
14409 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14411 # We preserve .a as extension for shared libraries through AIX4.2
14412 # and later when we are not doing run time linking.
14413 library_names_spec='${libname}${release}.a $libname.a'
14414 soname_spec='${libname}${release}${shared_ext}$major'
14416 shlibpath_var=LIBPATH
14423 # Since July 2007 AmigaOS4 officially supports .so libraries.
14424 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14425 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14428 library_names_spec='$libname.ixlibrary $libname.a'
14429 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14430 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
14436 library_names_spec='${libname}${shared_ext}'
14437 dynamic_linker="$host_os ld.so"
14438 shlibpath_var=LIBRARY_PATH
14442 version_type=linux # correct to gnu/linux during the next big refactor
14444 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14445 soname_spec='${libname}${release}${shared_ext}$major'
14446 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14447 shlibpath_var=LD_LIBRARY_PATH
14448 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14449 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14450 # the default ld.so.conf also contains /usr/contrib/lib and
14451 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14452 # libtool to hard-code these into programs
14455 cygwin* | mingw* | pw32* | cegcc*)
14456 version_type=windows
14461 case $GCC,$cc_basename in
14464 library_names_spec='$libname.dll.a'
14465 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14466 postinstall_cmds='base_file=`basename \${file}`~
14467 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14468 dldir=$destdir/`dirname \$dlpath`~
14469 test -d \$dldir || mkdir -p \$dldir~
14470 $install_prog $dir/$dlname \$dldir/$dlname~
14471 chmod a+x \$dldir/$dlname~
14472 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14473 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14475 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14476 dlpath=$dir/\$dldll~
14478 shlibpath_overrides_runpath=yes
14482 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14483 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14487 # MinGW DLLs use traditional 'lib' prefix
14488 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14491 # pw32 DLLs use 'pw' prefix rather than 'lib'
14492 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14495 dynamic_linker='Win32 ld.exe'
14500 libname_spec='$name'
14501 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14502 library_names_spec='${libname}.dll.lib'
14506 sys_lib_search_path_spec=
14509 for lt_path in $LIB
14512 # Let DOS variable expansion print the short 8.3 style file name.
14513 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
14514 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
14517 # Convert to MSYS style.
14518 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
14521 # Convert to unix form, then to dos form, then back to unix form
14522 # but this time dos style (no spaces!) so that the unix form looks
14523 # like /cygdrive/c/PROGRA~1:/cygdr...
14524 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
14525 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
14526 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14529 sys_lib_search_path_spec="$LIB"
14530 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14531 # It is most probably a Windows format PATH.
14532 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14534 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14536 # FIXME: find the short name or the path components, as spaces are
14537 # common. (e.g. "Program Files" -> "PROGRA~1")
14541 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14542 postinstall_cmds='base_file=`basename \${file}`~
14543 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14544 dldir=$destdir/`dirname \$dlpath`~
14545 test -d \$dldir || mkdir -p \$dldir~
14546 $install_prog $dir/$dlname \$dldir/$dlname'
14547 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14548 dlpath=$dir/\$dldll~
14550 shlibpath_overrides_runpath=yes
14551 dynamic_linker='Win32 link.exe'
14555 # Assume MSVC wrapper
14556 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14557 dynamic_linker='Win32 ld.exe'
14560 # FIXME: first we should search . and the directory the executable is in
14564 darwin* | rhapsody*)
14565 dynamic_linker="$host_os dyld"
14566 version_type=darwin
14569 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14570 soname_spec='${libname}${release}${major}$shared_ext'
14571 shlibpath_overrides_runpath=yes
14572 shlibpath_var=DYLD_LIBRARY_PATH
14573 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14575 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14579 version_type=linux # correct to gnu/linux during the next big refactor
14582 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14583 soname_spec='${libname}${release}${shared_ext}$major'
14584 shlibpath_var=LD_LIBRARY_PATH
14587 freebsd* | dragonfly*)
14588 # DragonFly does not have aout. When/if they implement a new
14589 # versioning mechanism, adjust this.
14590 if test -x /usr/bin/objformat; then
14591 objformat=`/usr/bin/objformat`
14594 freebsd[23].*) objformat=aout ;;
14595 *) objformat=elf ;;
14598 version_type=freebsd-$objformat
14599 case $version_type in
14601 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14606 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14610 shlibpath_var=LD_LIBRARY_PATH
14613 shlibpath_overrides_runpath=yes
14615 freebsd3.[01]* | freebsdelf3.[01]*)
14616 shlibpath_overrides_runpath=yes
14617 hardcode_into_libs=yes
14619 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14620 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14621 shlibpath_overrides_runpath=no
14622 hardcode_into_libs=yes
14624 *) # from 4.6 on, and DragonFly
14625 shlibpath_overrides_runpath=yes
14626 hardcode_into_libs=yes
14632 version_type=linux # correct to gnu/linux during the next big refactor
14635 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14636 soname_spec='${libname}${release}${shared_ext}$major'
14637 shlibpath_var=LD_LIBRARY_PATH
14638 shlibpath_overrides_runpath=no
14639 hardcode_into_libs=yes
14643 version_type=linux # correct to gnu/linux during the next big refactor
14646 dynamic_linker="$host_os runtime_loader"
14647 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14648 soname_spec='${libname}${release}${shared_ext}$major'
14649 shlibpath_var=LIBRARY_PATH
14650 shlibpath_overrides_runpath=yes
14651 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
14652 hardcode_into_libs=yes
14655 hpux9* | hpux10* | hpux11*)
14656 # Give a soname corresponding to the major version so that dld.sl refuses to
14657 # link against other versions.
14664 hardcode_into_libs=yes
14665 dynamic_linker="$host_os dld.so"
14666 shlibpath_var=LD_LIBRARY_PATH
14667 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14668 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14669 soname_spec='${libname}${release}${shared_ext}$major'
14670 if test "X$HPUX_IA64_MODE" = X32; then
14671 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14673 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14675 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14679 hardcode_into_libs=yes
14680 dynamic_linker="$host_os dld.sl"
14681 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14682 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14683 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14684 soname_spec='${libname}${release}${shared_ext}$major'
14685 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14686 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14690 dynamic_linker="$host_os dld.sl"
14691 shlibpath_var=SHLIB_PATH
14692 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14693 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14694 soname_spec='${libname}${release}${shared_ext}$major'
14697 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14698 postinstall_cmds='chmod 555 $lib'
14699 # or fails outright, so override atomically:
14700 install_override_mode=555
14704 version_type=linux # correct to gnu/linux during the next big refactor
14707 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14708 soname_spec='${libname}${release}${shared_ext}$major'
14709 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14710 shlibpath_var=LD_LIBRARY_PATH
14711 shlibpath_overrides_runpath=no
14712 hardcode_into_libs=yes
14715 irix5* | irix6* | nonstopux*)
14717 nonstopux*) version_type=nonstopux ;;
14719 if test "$lt_cv_prog_gnu_ld" = yes; then
14720 version_type=linux # correct to gnu/linux during the next big refactor
14727 soname_spec='${libname}${release}${shared_ext}$major'
14728 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14730 irix5* | nonstopux*)
14731 libsuff= shlibsuff=
14734 case $LD in # libtool.m4 will add one of these switches to LD
14735 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14736 libsuff= shlibsuff= libmagic=32-bit;;
14737 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14738 libsuff=32 shlibsuff=N32 libmagic=N32;;
14739 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14740 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14741 *) libsuff= shlibsuff= libmagic=never-match;;
14745 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14746 shlibpath_overrides_runpath=no
14747 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14748 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14749 hardcode_into_libs=yes
14752 # No shared lib support for Linux oldld, aout, or coff.
14753 linux*oldld* | linux*aout* | linux*coff*)
14757 # This must be glibc/ELF.
14758 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14759 version_type=linux # correct to gnu/linux during the next big refactor
14762 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14763 soname_spec='${libname}${release}${shared_ext}$major'
14764 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14765 shlibpath_var=LD_LIBRARY_PATH
14766 shlibpath_overrides_runpath=no
14768 # Some binutils ld are patched to set DT_RUNPATH
14769 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
14770 $as_echo_n "(cached) " >&6
14772 lt_cv_shlibpath_overrides_runpath=no
14773 save_LDFLAGS=$LDFLAGS
14774 save_libdir=$libdir
14775 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14776 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14778 /* end confdefs.h. */
14788 if ac_fn_cxx_try_link "$LINENO"; then :
14789 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14790 lt_cv_shlibpath_overrides_runpath=yes
14793 rm -f core conftest.err conftest.$ac_objext \
14794 conftest$ac_exeext conftest.$ac_ext
14795 LDFLAGS=$save_LDFLAGS
14796 libdir=$save_libdir
14800 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14802 # This implies no fast_install, which is unacceptable.
14803 # Some rework will be needed to allow for fast_install
14804 # before this can be enabled.
14805 hardcode_into_libs=yes
14807 # Append ld.so.conf contents to the search path
14808 if test -f /etc/ld.so.conf; then
14809 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' ' '`
14810 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14813 # We used to test for /lib/ld.so.1 and disable shared libraries on
14814 # powerpc, because MkLinux only supported shared libraries with the
14815 # GNU dynamic linker. Since this was broken with cross compilers,
14816 # most powerpc-linux boxes support dynamic linking these days and
14817 # people can always --disable-shared, the test was removed, and we
14818 # assume the GNU/Linux dynamic linker is in use.
14819 dynamic_linker='GNU/Linux ld.so'
14826 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14827 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14828 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14829 dynamic_linker='NetBSD (a.out) ld.so'
14831 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14832 soname_spec='${libname}${release}${shared_ext}$major'
14833 dynamic_linker='NetBSD ld.elf_so'
14835 shlibpath_var=LD_LIBRARY_PATH
14836 shlibpath_overrides_runpath=yes
14837 hardcode_into_libs=yes
14841 version_type=linux # correct to gnu/linux during the next big refactor
14842 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14843 shlibpath_var=LD_LIBRARY_PATH
14844 shlibpath_overrides_runpath=yes
14851 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14852 soname_spec='${libname}${release}${shared_ext}$major'
14853 shlibpath_var=LD_LIBRARY_PATH
14854 shlibpath_overrides_runpath=no
14855 hardcode_into_libs=yes
14856 dynamic_linker='ldqnx.so'
14861 sys_lib_dlsearch_path_spec="/usr/lib"
14863 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14865 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14866 *) need_version=no ;;
14868 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14869 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14870 shlibpath_var=LD_LIBRARY_PATH
14871 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14873 openbsd2.[89] | openbsd2.[89].*)
14874 shlibpath_overrides_runpath=no
14877 shlibpath_overrides_runpath=yes
14881 shlibpath_overrides_runpath=yes
14886 libname_spec='$name'
14889 library_names_spec='$libname${shared_ext} $libname.a'
14890 dynamic_linker='OS/2 ld.exe'
14891 shlibpath_var=LIBPATH
14894 osf3* | osf4* | osf5*)
14898 soname_spec='${libname}${release}${shared_ext}$major'
14899 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14900 shlibpath_var=LD_LIBRARY_PATH
14901 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14902 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14910 version_type=linux # correct to gnu/linux during the next big refactor
14913 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14914 soname_spec='${libname}${release}${shared_ext}$major'
14915 shlibpath_var=LD_LIBRARY_PATH
14916 shlibpath_overrides_runpath=yes
14917 hardcode_into_libs=yes
14918 # ldd complains unless libraries are executable
14919 postinstall_cmds='chmod +x $lib'
14924 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14925 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14926 shlibpath_var=LD_LIBRARY_PATH
14927 shlibpath_overrides_runpath=yes
14928 if test "$with_gnu_ld" = yes; then
14935 version_type=linux # correct to gnu/linux during the next big refactor
14936 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14937 soname_spec='${libname}${release}${shared_ext}$major'
14938 shlibpath_var=LD_LIBRARY_PATH
14939 case $host_vendor in
14941 shlibpath_overrides_runpath=no
14943 runpath_var=LD_RUN_PATH
14951 shlibpath_overrides_runpath=no
14952 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14958 if test -d /usr/nec ;then
14959 version_type=linux # correct to gnu/linux during the next big refactor
14960 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14961 soname_spec='$libname${shared_ext}.$major'
14962 shlibpath_var=LD_LIBRARY_PATH
14966 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14967 version_type=freebsd-elf
14970 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14971 soname_spec='${libname}${release}${shared_ext}$major'
14972 shlibpath_var=LD_LIBRARY_PATH
14973 shlibpath_overrides_runpath=yes
14974 hardcode_into_libs=yes
14975 if test "$with_gnu_ld" = yes; then
14976 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14978 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14981 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14985 sys_lib_dlsearch_path_spec='/usr/lib'
14989 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14990 version_type=linux # correct to gnu/linux during the next big refactor
14993 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14994 shlibpath_var=LD_LIBRARY_PATH
14995 shlibpath_overrides_runpath=no
14996 hardcode_into_libs=yes
15000 version_type=linux # correct to gnu/linux during the next big refactor
15001 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15002 soname_spec='${libname}${release}${shared_ext}$major'
15003 shlibpath_var=LD_LIBRARY_PATH
15010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15011 $as_echo "$dynamic_linker" >&6; }
15012 test "$dynamic_linker" = no && can_build_shared=no
15014 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15015 if test "$GCC" = yes; then
15016 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15019 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15020 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15022 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15023 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15064 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15065 hardcode_action_CXX=
15066 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15067 test -n "$runpath_var_CXX" ||
15068 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15070 # We can hardcode non-existent directories.
15071 if test "$hardcode_direct_CXX" != no &&
15072 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15073 # have to relink, otherwise we might link with an installed library
15074 # when we should be linking with a yet-to-be-installed one
15075 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15076 test "$hardcode_minus_L_CXX" != no; then
15077 # Linking always hardcodes the temporary library directory.
15078 hardcode_action_CXX=relink
15080 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15081 hardcode_action_CXX=immediate
15084 # We cannot hardcode anything, or else we can only hardcode existing
15086 hardcode_action_CXX=unsupported
15088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15089 $as_echo "$hardcode_action_CXX" >&6; }
15091 if test "$hardcode_action_CXX" = relink ||
15092 test "$inherit_rpath_CXX" = yes; then
15093 # Fast installation is not supported
15094 enable_fast_install=no
15095 elif test "$shlibpath_overrides_runpath" = yes ||
15096 test "$enable_shared" = no; then
15097 # Fast installation is not necessary
15098 enable_fast_install=needless
15107 fi # test -n "$compiler"
15110 CFLAGS=$lt_save_CFLAGS
15114 with_gnu_ld=$lt_save_with_gnu_ld
15115 lt_cv_path_LDCXX=$lt_cv_path_LD
15116 lt_cv_path_LD=$lt_save_path_LD
15117 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15118 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15119 fi # test "$_lt_caught_CXX_error" != yes
15122 ac_cpp='$CPP $CPPFLAGS'
15123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15141 ac_config_commands="$ac_config_commands libtool"
15146 # Only expand once:
15150 if test -n "$ac_tool_prefix"; then
15151 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
15152 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
15153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15154 $as_echo_n "checking for $ac_word... " >&6; }
15155 if ${ac_cv_prog_RANLIB+:} false; then :
15156 $as_echo_n "(cached) " >&6
15158 if test -n "$RANLIB"; then
15159 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
15161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15162 for as_dir in $PATH
15165 test -z "$as_dir" && as_dir=.
15166 for ac_exec_ext in '' $ac_executable_extensions; do
15167 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15168 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
15169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15178 RANLIB=$ac_cv_prog_RANLIB
15179 if test -n "$RANLIB"; then
15180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
15181 $as_echo "$RANLIB" >&6; }
15183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15184 $as_echo "no" >&6; }
15189 if test -z "$ac_cv_prog_RANLIB"; then
15190 ac_ct_RANLIB=$RANLIB
15191 # Extract the first word of "ranlib", so it can be a program name with args.
15192 set dummy ranlib; ac_word=$2
15193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15194 $as_echo_n "checking for $ac_word... " >&6; }
15195 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
15196 $as_echo_n "(cached) " >&6
15198 if test -n "$ac_ct_RANLIB"; then
15199 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
15201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15202 for as_dir in $PATH
15205 test -z "$as_dir" && as_dir=.
15206 for ac_exec_ext in '' $ac_executable_extensions; do
15207 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15208 ac_cv_prog_ac_ct_RANLIB="ranlib"
15209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15218 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
15219 if test -n "$ac_ct_RANLIB"; then
15220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
15221 $as_echo "$ac_ct_RANLIB" >&6; }
15223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15224 $as_echo "no" >&6; }
15227 if test "x$ac_ct_RANLIB" = x; then
15230 case $cross_compiling:$ac_tool_warned in
15232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15233 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15234 ac_tool_warned=yes ;;
15236 RANLIB=$ac_ct_RANLIB
15239 RANLIB="$ac_cv_prog_RANLIB"
15243 # Check whether --enable-largefile was given.
15244 if test "${enable_largefile+set}" = set; then :
15245 enableval=$enable_largefile;
15248 if test "$enable_largefile" != no; then
15250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
15251 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
15252 if ${ac_cv_sys_largefile_CC+:} false; then :
15253 $as_echo_n "(cached) " >&6
15255 ac_cv_sys_largefile_CC=no
15256 if test "$GCC" != yes; then
15259 # IRIX 6.2 and later do not support large files by default,
15260 # so use the C compiler's -n32 option if that helps.
15261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15262 /* end confdefs.h. */
15263 #include <sys/types.h>
15264 /* Check that off_t can represent 2**63 - 1 correctly.
15265 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15266 since some C++ compilers masquerading as C compilers
15267 incorrectly reject 9223372036854775807. */
15268 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15269 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15270 && LARGE_OFF_T % 2147483647 == 1)
15280 if ac_fn_c_try_compile "$LINENO"; then :
15283 rm -f core conftest.err conftest.$ac_objext
15285 if ac_fn_c_try_compile "$LINENO"; then :
15286 ac_cv_sys_largefile_CC=' -n32'; break
15288 rm -f core conftest.err conftest.$ac_objext
15292 rm -f conftest.$ac_ext
15295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
15296 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
15297 if test "$ac_cv_sys_largefile_CC" != no; then
15298 CC=$CC$ac_cv_sys_largefile_CC
15301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
15302 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
15303 if ${ac_cv_sys_file_offset_bits+:} false; then :
15304 $as_echo_n "(cached) " >&6
15307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15308 /* end confdefs.h. */
15309 #include <sys/types.h>
15310 /* Check that off_t can represent 2**63 - 1 correctly.
15311 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15312 since some C++ compilers masquerading as C compilers
15313 incorrectly reject 9223372036854775807. */
15314 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15315 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15316 && LARGE_OFF_T % 2147483647 == 1)
15326 if ac_fn_c_try_compile "$LINENO"; then :
15327 ac_cv_sys_file_offset_bits=no; break
15329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15331 /* end confdefs.h. */
15332 #define _FILE_OFFSET_BITS 64
15333 #include <sys/types.h>
15334 /* Check that off_t can represent 2**63 - 1 correctly.
15335 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15336 since some C++ compilers masquerading as C compilers
15337 incorrectly reject 9223372036854775807. */
15338 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15339 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15340 && LARGE_OFF_T % 2147483647 == 1)
15350 if ac_fn_c_try_compile "$LINENO"; then :
15351 ac_cv_sys_file_offset_bits=64; break
15353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15354 ac_cv_sys_file_offset_bits=unknown
15358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
15359 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
15360 case $ac_cv_sys_file_offset_bits in #(
15363 cat >>confdefs.h <<_ACEOF
15364 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
15369 if test $ac_cv_sys_file_offset_bits = unknown; then
15370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
15371 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
15372 if ${ac_cv_sys_large_files+:} false; then :
15373 $as_echo_n "(cached) " >&6
15376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15377 /* end confdefs.h. */
15378 #include <sys/types.h>
15379 /* Check that off_t can represent 2**63 - 1 correctly.
15380 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15381 since some C++ compilers masquerading as C compilers
15382 incorrectly reject 9223372036854775807. */
15383 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15384 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15385 && LARGE_OFF_T % 2147483647 == 1)
15395 if ac_fn_c_try_compile "$LINENO"; then :
15396 ac_cv_sys_large_files=no; break
15398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15400 /* end confdefs.h. */
15401 #define _LARGE_FILES 1
15402 #include <sys/types.h>
15403 /* Check that off_t can represent 2**63 - 1 correctly.
15404 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15405 since some C++ compilers masquerading as C compilers
15406 incorrectly reject 9223372036854775807. */
15407 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15408 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15409 && LARGE_OFF_T % 2147483647 == 1)
15419 if ac_fn_c_try_compile "$LINENO"; then :
15420 ac_cv_sys_large_files=1; break
15422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15423 ac_cv_sys_large_files=unknown
15427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
15428 $as_echo "$ac_cv_sys_large_files" >&6; }
15429 case $ac_cv_sys_large_files in #(
15432 cat >>confdefs.h <<_ACEOF
15433 #define _LARGE_FILES $ac_cv_sys_large_files
15443 if test "$ac_cv_sys_largefile_CC" != no; then
15444 CXX=$CXX$ac_cv_sys_largefile_CC
15449 # Check whether --with-openssl was given.
15450 if test "${with_openssl+set}" = set; then :
15451 withval=$with_openssl;
15452 if test "$withval" = "yes"; then
15453 if test -d /var/local/ssl/include ; then
15454 openssl_prefix=/var/local/ssl
15455 elif test -d /var/local/include/openssl ; then
15456 openssl_prefix=/var/local
15457 elif test -d /usr/local/ssl/include ; then
15458 openssl_prefix=/usr/local/ssl
15459 elif test -d /usr/lib/ssl/include ; then
15460 openssl_prefix=/usr/lib/ssl
15461 elif test -d /usr/include/openssl ; then
15462 openssl_prefix=/usr
15466 openssl_requested="yes"
15467 elif test -d "$withval"; then
15468 openssl_prefix="$withval"
15469 openssl_requested="yes"
15472 openssl_requested="no"
15477 if test -d /var/local/ssl/include ; then
15478 openssl_prefix=/var/local/ssl
15479 elif test -d /var/local/include/openssl ; then
15480 openssl_prefix=/var/local
15481 elif test -d /usr/local/ssl/include ; then
15482 openssl_prefix=/usr/local/ssl
15483 elif test -d /usr/lib/ssl/include ; then
15484 openssl_prefix=/usr/lib/ssl
15485 elif test -d /usr/include/openssl ; then
15486 openssl_prefix=/usr
15495 OPENSSL_CPPFLAGS=""
15499 run_openssl_test="no"
15501 if test -n "$openssl_prefix"; then
15502 openssl_include_dir="$openssl_prefix/include"
15503 openssl_ldflags="-L$openssl_prefix/lib64 -L$openssl_prefix/lib"
15504 run_openssl_test="yes"
15505 elif test "$openssl_requested" = "yes"; then
15506 if test -n "$openssl_include_dir" -a -n "$openssl_lib_flags"; then
15507 run_openssl_test="yes"
15510 run_openssl_test="no"
15513 openssl_libs="-lssl -lcrypto"
15515 if test "$run_openssl_test" = "yes"; then
15517 saved_CPPFLAGS="$CPPFLAGS"
15518 CPPFLAGS="$CPPFLAGS -I$openssl_include_dir"
15520 saved_LDFLAGS="$LDFLAGS"
15521 LDFLAGS="$LDFLAGS $openssl_ldflags"
15524 LIBS="$openssl_libs $LIBS"
15526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL headers in $openssl_include_dir" >&5
15527 $as_echo_n "checking for OpenSSL headers in $openssl_include_dir... " >&6; }
15530 ac_cpp='$CPP $CPPFLAGS'
15531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15536 /* end confdefs.h. */
15539 #include <openssl/opensslv.h>
15540 #include <openssl/ssl.h>
15541 #include <openssl/crypto.h>
15552 if ac_fn_c_try_compile "$LINENO"; then :
15554 OPENSSL_CPPFLAGS="-I$openssl_include_dir"
15555 openssl_header_found="yes"
15556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
15557 $as_echo "found" >&6; }
15561 openssl_header_found="no"
15562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15563 $as_echo "not found" >&6; }
15567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15569 ac_cpp='$CPP $CPPFLAGS'
15570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15575 if test "$openssl_header_found" = "yes"; then
15577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL libraries" >&5
15578 $as_echo_n "checking for OpenSSL libraries... " >&6; }
15581 ac_cpp='$CPP $CPPFLAGS'
15582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15587 /* end confdefs.h. */
15590 #include <openssl/opensslv.h>
15591 #include <openssl/ssl.h>
15592 #include <openssl/crypto.h>
15593 #if (OPENSSL_VERSION_NUMBER < 0x0090700f)
15600 SSL_library_init();
15608 if ac_fn_c_try_link "$LINENO"; then :
15610 OPENSSL_LDFLAGS="$openssl_ldflags"
15611 OPENSSL_LIBS="$openssl_libs"
15612 openssl_lib_found="yes"
15613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
15614 $as_echo "found" >&6; }
15618 openssl_lib_found="no"
15619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15620 $as_echo "not found" >&6; }
15624 rm -f core conftest.err conftest.$ac_objext \
15625 conftest$ac_exeext conftest.$ac_ext
15627 ac_cpp='$CPP $CPPFLAGS'
15628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15634 CPPFLAGS="$saved_CPPFLAGS"
15635 LDFLAGS="$saved_LDFLAGS"
15639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL" >&5
15640 $as_echo_n "checking for OpenSSL... " >&6; }
15642 if test "$run_openssl_test" = "yes"; then
15643 if test "$openssl_header_found" = "yes" -a "$openssl_lib_found" = "yes"; then
15654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_OPENSSL" >&5
15655 $as_echo "$HAVE_OPENSSL" >&6; }
15657 if test "$HAVE_OPENSSL" = "yes"; then
15659 openssl_version_req=0.9.7
15661 if test -n "$openssl_version_req"; then
15663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if OpenSSL version is >= $openssl_version_req" >&5
15664 $as_echo_n "checking if OpenSSL version is >= $openssl_version_req... " >&6; }
15666 if test -f "$openssl_include_dir/openssl/opensslv.h"; then
15668 OPENSSL_VERSION=`grep OPENSSL_VERSION_TEXT $openssl_include_dir/openssl/opensslv.h \
15669 | grep -v fips | grep -v PTEXT | cut -f 2 | tr -d \"`
15672 openssl_version_req_major=`expr $openssl_version_req : '\([0-9]*\)'`
15673 openssl_version_req_minor=`expr $openssl_version_req : '[0-9]*\.\([0-9]*\)'`
15674 openssl_version_req_revision=`expr $openssl_version_req : '[0-9]*\.[0-9]*\.\([0-9]*\)'`
15675 openssl_version_req_patch=`expr $openssl_version_req : '[0-9]*\.[0-9]*\.[0-9]*\([a-z]*\)'`
15676 if test "x$openssl_version_req_revision" = "x"; then
15677 openssl_version_req_revision="0"
15679 if test "x$openssl_version_req_patch" = "x"; then
15680 openssl_version_req_patch="\`"
15683 openssl_version_req_number=`expr $openssl_version_req_major \* $((0x10000000)) \
15684 \+ $openssl_version_req_minor \* $((0x100000)) \
15685 \+ $openssl_version_req_revision \* $((0x1000)) \
15686 \+ $((1 + $(printf "%d" \'$openssl_version_req_patch) - $(printf "%d" \'a))) \* $((0x10)) \
15689 openssl_version_number=`expr $(($(grep OPENSSL_VERSION_NUMBER $openssl_include_dir/openssl/opensslv.h | cut -f 2 | tr -d L)))`
15691 openssl_version_check=`expr $openssl_version_number \>\= $openssl_version_req_number`
15692 if test "$openssl_version_check" = "1"; then
15693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15694 $as_echo "yes" >&6; }
15696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15697 $as_echo "no" >&6; }
15698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Found $OPENSSL_VERSION, which is older than required. Possible compilation failure." >&5
15699 $as_echo "$as_me: WARNING: Found $OPENSSL_VERSION, which is older than required. Possible compilation failure." >&2;}
15702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15703 $as_echo "no" >&6; }
15704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing header openssl/opensslv.h. Unable to determine OpenSSL version." >&5
15705 $as_echo "$as_me: WARNING: Missing header openssl/opensslv.h. Unable to determine OpenSSL version." >&2;}
15712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_OPENSSL" >&5
15713 $as_echo "$HAVE_OPENSSL" >&6; }
15715 if test "$openssl_requested" = "yes"; then
15716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OpenSSL support requested but headers or library not found. Specify valid prefix of OpenSSL using --with-openssl=[DIR]" >&5
15717 $as_echo "$as_me: WARNING: OpenSSL support requested but headers or library not found. Specify valid prefix of OpenSSL using --with-openssl=[DIR]" >&2;}
15720 if test "$HAVE_OPENSSL" = "yes"; then
15721 CPPFLAGS="$CPPFLAGS $OPENSSL_CPPFLAGS -DHAVE_SSL=1"
15722 LDFLAGS="$LDFLAGS $OPENSSL_LDFLAGS $OPENSSL_LIBS"
15727 # Check whether --with-expat was given.
15728 if test "${with_expat+set}" = set; then :
15729 withval=$with_expat;
15730 if test "$withval" = "yes"; then
15731 if test -f /usr/local/include/expat.h ; then
15732 expat_prefix=/usr/local
15733 elif test -f /usr/include/expat.h ; then
15738 expat_requested="yes"
15739 elif test -d "$withval"; then
15740 expat_prefix="$withval"
15741 expat_requested="yes"
15744 expat_requested="no"
15749 # dnl Default behavior is implicit yes
15750 # if test -f /usr/local/include/expat.h ; then
15751 # expat_prefix=/usr/local
15752 # elif test -f /usr/include/expat.h ; then
15753 # expat_prefix=/usr
15758 expat_requested="no"
15765 # Check whether --with-expat-inc was given.
15766 if test "${with_expat_inc+set}" = set; then :
15767 withval=$with_expat_inc; expat_include_dir="$withval"
15769 expat_include_dir=""
15774 # Check whether --with-expat-lib was given.
15775 if test "${with_expat_lib+set}" = set; then :
15776 withval=$with_expat_lib; expat_lib_flags="$withval"
15787 run_expat_test="no"
15789 if test -n "$expat_prefix"; then
15790 expat_include_dir="$expat_prefix/include"
15791 expat_lib_flags="-L$expat_prefix/lib64 -L$expat_prefix/lib -lexpat"
15792 run_expat_test="yes"
15793 elif test "$expat_requested" = "yes"; then
15794 if test -n "$expat_include_dir" -a -n "$expat_lib_flags"; then
15795 run_expat_test="yes"
15798 run_expat_test="no"
15801 if test "$run_expat_test" = "yes"; then
15803 saved_CPPFLAGS="$CPPFLAGS"
15804 CPPFLAGS="$CPPFLAGS -I$expat_include_dir"
15806 saved_LDFLAGS="$LDFLAGS"
15807 LDFLAGS="$LDFLAGS $expat_lib_flags"
15809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Expat XML Parser headers in $expat_include_dir" >&5
15810 $as_echo_n "checking for Expat XML Parser headers in $expat_include_dir... " >&6; }
15813 ac_cpp='$CXXCPP $CPPFLAGS'
15814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15819 /* end confdefs.h. */
15833 if ac_fn_cxx_try_compile "$LINENO"; then :
15835 EXPAT_CFLAGS="-I$expat_include_dir"
15836 expat_header_found="yes"
15837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
15838 $as_echo "found" >&6; }
15842 expat_header_found="no"
15843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15844 $as_echo "not found" >&6; }
15848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15850 ac_cpp='$CPP $CPPFLAGS'
15851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15856 if test "$expat_header_found" = "yes"; then
15858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Expat XML Parser libraries" >&5
15859 $as_echo_n "checking for Expat XML Parser libraries... " >&6; }
15862 ac_cpp='$CXXCPP $CPPFLAGS'
15863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15868 /* end confdefs.h. */
15877 XML_Parser p = XML_ParserCreate(NULL);
15886 if ac_fn_cxx_try_link "$LINENO"; then :
15888 EXPAT_LDFLAGS="$expat_lib_flags"
15889 expat_lib_found="yes"
15890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
15891 $as_echo "found" >&6; }
15895 expat_lib_found="no"
15896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15897 $as_echo "not found" >&6; }
15901 rm -f core conftest.err conftest.$ac_objext \
15902 conftest$ac_exeext conftest.$ac_ext
15904 ac_cpp='$CPP $CPPFLAGS'
15905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15911 CPPFLAGS="$saved_CPPFLAGS"
15912 LDFLAGS="$saved_LDFLAGS"
15915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Expat XML Parser" >&5
15916 $as_echo_n "checking for Expat XML Parser... " >&6; }
15918 if test "$run_expat_test" = "yes"; then
15919 if test "$expat_header_found" = "yes" -a "$expat_lib_found" = "yes"; then
15929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_EXPAT" >&5
15930 $as_echo "$HAVE_EXPAT" >&6; }
15932 if test "$HAVE_EXPAT" = "yes"; then
15936 if test -n "$expat_version_req"; then
15938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Expat XML Parser version is >= $expat_version_req" >&5
15939 $as_echo_n "checking if Expat XML Parser version is >= $expat_version_req... " >&6; }
15941 if test -f "$expat_include_dir/expat.h"; then
15943 expat_major=`cat $expat_include_dir/expat.h | \
15944 grep '^#define.*XML_MAJOR_VERSION.*[0-9]$' | \
15945 sed -e 's/#define XML_MAJOR_VERSION.//'`
15947 expat_minor=`cat $expat_include_dir/expat.h | \
15948 grep '^#define.*XML_MINOR_VERSION.*[0-9]$' | \
15949 sed -e 's/#define XML_MINOR_VERSION.//'`
15951 expat_revision=`cat $expat_include_dir/expat.h | \
15952 grep '^#define.*XML_MICRO_VERSION.*[0-9]$' | \
15953 sed -e 's/#define XML_MICRO_VERSION.//'`
15955 EXPAT_VERSION="$expat_major.$expat_minor.$expat_revision"
15958 expat_version_req_major=`expr $expat_version_req : '\([0-9]*\)'`
15959 expat_version_req_minor=`expr $expat_version_req : '[0-9]*\.\([0-9]*\)'`
15960 expat_version_req_revision=`expr $expat_version_req : '[0-9]*\.[0-9]*\.\([0-9]*\)'`
15961 if test "x$expat_version_req_revision" = "x"; then
15962 expat_version_req_revision="0"
15965 expat_version_req_number=`expr $expat_version_req_major \* 10000 \
15966 \+ $expat_version_req_minor \* 100 \
15967 \+ $expat_version_req_revision`
15969 expat_version_number=`expr $expat_major \* 10000 \
15970 \+ $expat_minor \* 100 \
15971 \+ $expat_revision`
15973 expat_version_check=`expr $expat_version_number \>\= $expat_version_req_number`
15974 if test "$expat_version_check" = "1"; then
15975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15976 $as_echo "yes" >&6; }
15978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15979 $as_echo "no" >&6; }
15980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Found Expat XML Parser $EXPAT_VERSION, which is older than required. Possible compilation failure." >&5
15981 $as_echo "$as_me: WARNING: Found Expat XML Parser $EXPAT_VERSION, which is older than required. Possible compilation failure." >&2;}
15984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15985 $as_echo "no" >&6; }
15986 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing expat.h header. Unable to determine Expat version." >&5
15987 $as_echo "$as_me: WARNING: Missing expat.h header. Unable to determine Expat version." >&2;}
15994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_EXPAT" >&5
15995 $as_echo "$HAVE_EXPAT" >&6; }
15997 if test "$expat_requested" = "yes"; then
15998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Expat XML Parser support requested but headers or library not found. Specify valid prefix of Expat using --with-expat=[DIR] or provide include directory and linker flags using --with-expat-inc and --with-expat-lib" >&5
15999 $as_echo "$as_me: WARNING: Expat XML Parser support requested but headers or library not found. Specify valid prefix of Expat using --with-expat=[DIR] or provide include directory and linker flags using --with-expat-inc and --with-expat-lib" >&2;}
16002 if test "$HAVE_EXPAT" = "yes"; then
16003 CPPFLAGS="$CPPFLAGS $EXPAT_CFLAGS -DHAVE_EXPAT=1"
16004 LDFLAGS="$LDFLAGS $EXPAT_LDFLAGS"
16008 # AC_REQUIRE([ACX_PTHREAD])
16011 # Check whether --with-xerces was given.
16012 if test "${with_xerces+set}" = set; then :
16013 withval=$with_xerces;
16014 if test "$withval" = "yes"; then
16015 if test -d /usr/local/include/xercesc ; then
16016 xerces_prefix=/usr/local
16017 elif test -d /usr/include/xercesc ; then
16022 xerces_requested="yes"
16023 elif test -d "$withval"; then
16024 xerces_prefix="$withval"
16025 xerces_requested="yes"
16028 xerces_requested="no"
16033 # dnl Default behavior is implicit yes
16034 # if test -d /usr/local/include/xercesc ; then
16035 # xerces_prefix=/usr/local
16036 # elif test -d /usr/include/xercesc ; then
16037 # xerces_prefix=/usr
16042 xerces_requested="no"
16049 # Check whether --with-xerces-inc was given.
16050 if test "${with_xerces_inc+set}" = set; then :
16051 withval=$with_xerces_inc; xerces_include_dir="$withval"
16053 xerces_include_dir=""
16058 # Check whether --with-xerces-lib was given.
16059 if test "${with_xerces_lib+set}" = set; then :
16060 withval=$with_xerces_lib; xerces_ldflags="$withval"
16071 run_xerces_test="no"
16073 if test -n "$xerces_prefix"; then
16074 xerces_include_dir="$xerces_prefix/include"
16075 xerces_include_dir2="$xerces_prefix/include/xercesc"
16076 xerces_ldflags="-L$xerces_prefix/lib"
16077 run_xerces_test="yes"
16078 elif test "$xerces_requested" = "yes"; then
16079 if test -n "$xerces_include_dir" -a -n "$xerces_lib_flags"; then
16080 xerces_include_dir2="$xerces_include_dir/xercesc"
16081 run_xerces_test="yes"
16084 run_xerces_test="no"
16087 xerces_libs="-lxerces-c"
16089 if test "$run_xerces_test" = "yes"; then
16091 saved_CPPFLAGS="$CPPFLAGS"
16092 CPPFLAGS="$CPPFLAGS -I$xerces_include_dir -I$xerces_include_dir2"
16094 saved_LDFLAGS="$LDFLAGS"
16095 LDFLAGS="$xerces_ldflags $PTHREAD_LDFLAGS $LDFLAGS"
16098 LIBS="$xerces_libs $PTHREAD_LIBS $LIBS"
16100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xerces C++ Parser headers in $xerces_include_dir and $xerces_include_dir2" >&5
16101 $as_echo_n "checking for Xerces C++ Parser headers in $xerces_include_dir and $xerces_include_dir2... " >&6; }
16104 ac_cpp='$CXXCPP $CPPFLAGS'
16105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16110 /* end confdefs.h. */
16113 #include <xercesc/util/XercesDefs.hpp>
16114 #include <xercesc/util/PlatformUtils.hpp>
16125 if ac_fn_cxx_try_compile "$LINENO"; then :
16127 XERCES_CPPFLAGS="-I$xerces_include_dir -I$xerces_include_dir2"
16128 xerces_header_found="yes"
16129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
16130 $as_echo "found" >&6; }
16134 xerces_header_found="no"
16135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16136 $as_echo "not found" >&6; }
16140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16142 ac_cpp='$CPP $CPPFLAGS'
16143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16148 if test "$xerces_header_found" = "yes"; then
16150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xerces C++ Parser libraries" >&5
16151 $as_echo_n "checking for Xerces C++ Parser libraries... " >&6; }
16154 ac_cpp='$CXXCPP $CPPFLAGS'
16155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16160 /* end confdefs.h. */
16163 #include <xercesc/util/XercesDefs.hpp>
16164 #include <xercesc/util/PlatformUtils.hpp>
16165 #if (_XERCES_VERSION >= 20200)
16166 XERCES_CPP_NAMESPACE_USE
16173 XMLPlatformUtils::Initialize();
16180 if ac_fn_cxx_try_link "$LINENO"; then :
16182 XERCES_LDFLAGS="$xerces_ldflags $PTHREAD_LDFLAGS"
16183 XERCES_LIBS="$xerces_libs $PTHREAD_LIBS"
16184 xerces_lib_found="yes"
16185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
16186 $as_echo "found" >&6; }
16190 xerces_lib_found="no"
16191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16192 $as_echo "not found" >&6; }
16196 rm -f core conftest.err conftest.$ac_objext \
16197 conftest$ac_exeext conftest.$ac_ext
16199 ac_cpp='$CPP $CPPFLAGS'
16200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16206 CPPFLAGS="$saved_CPPFLAGS"
16207 LDFLAGS="$saved_LDFLAGS"
16211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xerces C++ Parser" >&5
16212 $as_echo_n "checking for Xerces C++ Parser... " >&6; }
16214 if test "$run_xerces_test" = "yes"; then
16215 if test "$xerces_header_found" = "yes" -a "$xerces_lib_found" = "yes"; then
16226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_XERCES" >&5
16227 $as_echo "$HAVE_XERCES" >&6; }
16229 if test "$HAVE_XERCES" = "yes"; then
16231 xerces_version_req=
16233 if test -n "$xerces_version_req"; then
16235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xerces C++ Parser version is >= $xerces_version_req" >&5
16236 $as_echo_n "checking if Xerces C++ Parser version is >= $xerces_version_req... " >&6; }
16238 if test -f "$xerces_include_dir2/util/XercesVersion.hpp"; then
16240 xerces_major=`cat $xerces_include_dir2/util/XercesVersion.hpp | \
16241 grep '^#define.*XERCES_VERSION_MAJOR.*[0-9]$' | \
16242 sed -e 's/#define XERCES_VERSION_MAJOR.//'`
16244 xerces_minor=`cat $xerces_include_dir2/util/XercesVersion.hpp | \
16245 grep '^#define.*XERCES_VERSION_MINOR.*[0-9]$' | \
16246 sed -e 's/#define XERCES_VERSION_MINOR.//'`
16248 xerces_revision=`cat $xerces_include_dir2/util/XercesVersion.hpp | \
16249 grep '^#define.*XERCES_VERSION_REVISION.*[0-9]$' | \
16250 sed -e 's/#define XERCES_VERSION_REVISION.//'`
16252 XERCES_VERSION="$xerces_major.$xerces_minor.$xerces_revision"
16255 xerces_version_req_major=`expr $xerces_version_req : '\([0-9]*\)'`
16256 xerces_version_req_minor=`expr $xerces_version_req : '[0-9]*\.\([0-9]*\)'`
16257 xerces_version_req_revision=`expr $xerces_version_req : '[0-9]*\.[0-9]*\.\([0-9]*\)'`
16258 if test "x$xerces_version_req_revision" = "x"; then
16259 xerces_version_req_revision="0"
16262 xerces_version_req_number=`expr $xerces_version_req_major \* 10000 \
16263 \+ $xerces_version_req_minor \* 100 \
16264 \+ $xerces_version_req_revision`
16266 xerces_version_number=`expr $xerces_major \* 10000 \
16267 \+ $xerces_minor \* 100 \
16268 \+ $xerces_revision`
16270 xerces_version_check=`expr $xerces_version_number \>\= $xerces_version_req_number`
16271 if test "$xerces_version_check" = "1"; then
16272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16273 $as_echo "yes" >&6; }
16275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16276 $as_echo "no" >&6; }
16277 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Found Xerces C++ Parser $XERCES_VERSION, which is older than required. Possible compilation failure." >&5
16278 $as_echo "$as_me: WARNING: Found Xerces C++ Parser $XERCES_VERSION, which is older than required. Possible compilation failure." >&2;}
16281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16282 $as_echo "no" >&6; }
16283 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing header XercesVersion.hpp. Unable to determine Xerces version." >&5
16284 $as_echo "$as_me: WARNING: Missing header XercesVersion.hpp. Unable to determine Xerces version." >&2;}
16291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_XERCES" >&5
16292 $as_echo "$HAVE_XERCES" >&6; }
16294 if test "$xerces_requested" = "yes"; then
16295 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Xerces C++ Parser support requested but headers or library not found. Specify valid prefix of Xerces C++ using --with-xerces=[DIR] or provide include directory and linker flags using --with-xerces-inc and --with-xerces-lib" >&5
16296 $as_echo "$as_me: WARNING: Xerces C++ Parser support requested but headers or library not found. Specify valid prefix of Xerces C++ using --with-xerces=[DIR] or provide include directory and linker flags using --with-xerces-inc and --with-xerces-lib" >&2;}
16299 if test "$HAVE_XERCES" = "yes"; then
16300 CPPFLAGS="$CPPFLAGS $XERCES_CPPFLAGS -DHAVE_XERCES_C=1"
16301 LDFLAGS="$LDFLAGS $XERCES_LDFLAGS $XERCES_LIBS"
16304 #AM_PATH_PYTHON([2.3], , [:])
16306 az_python_use=false
16307 if test x"$az_python_use" = x"true"; then
16309 PYTHON_USE_FALSE='#'
16311 PYTHON_USE_TRUE='#'
16319 # unless PYTHON was supplied to us (as a precious variable),
16320 # see if --with-python[=PythonExecutablePath], --with-python,
16321 # --without-python or --with-python=no was given.
16322 if test -z "$PYTHON"
16324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-python" >&5
16325 $as_echo_n "checking for --with-python... " >&6; }
16327 # Check whether --with-python was given.
16328 if test "${with_python+set}" = set; then :
16329 withval=$with_python;
16330 if test "$withval" = "yes"
16332 # "yes" was specified, but we don't have a path
16333 # for the executable.
16334 # So, let's searth the PATH Environment Variable.
16335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16336 $as_echo "yes" >&6; }
16337 # Extract the first word of "python", so it can be a program name with args.
16338 set dummy python; ac_word=$2
16339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16340 $as_echo_n "checking for $ac_word... " >&6; }
16341 if ${ac_cv_path_PYTHON+:} false; then :
16342 $as_echo_n "(cached) " >&6
16346 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
16349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16350 for as_dir in $PATH
16353 test -z "$as_dir" && as_dir=.
16354 for ac_exec_ext in '' $ac_executable_extensions; do
16355 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16356 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
16357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16367 PYTHON=$ac_cv_path_PYTHON
16368 if test -n "$PYTHON"; then
16369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
16370 $as_echo "$PYTHON" >&6; }
16372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16373 $as_echo "no" >&6; }
16377 if test -z "$PYTHON"
16379 as_fn_error $? "no path to python found" "$LINENO" 5
16382 if test x"$az_python_use" = x"true"; then
16384 PYTHON_USE_FALSE='#'
16386 PYTHON_USE_TRUE='#'
16392 if test -n "$PYTHON"
16394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python include directory" >&5
16395 $as_echo_n "checking for python include directory... " >&6; }
16396 az_python_prefix=`${PYTHON} -c "import sys; print sys.prefix"`
16397 if test -z "$az_python_prefix"
16399 as_fn_error $? "Python Prefix is not known" "$LINENO" 5
16402 az_python_execprefix=`${PYTHON} -c "import sys; print sys.exec_prefix"`
16403 az_python_version=`$PYTHON -c "import sys; print sys.version[:3]"`
16404 az_python_includespec="-I`$PYTHON -c 'import distutils.sysconfig; print distutils.sysconfig.get_python_inc();'`"
16405 if test x"$python_prefix" != x"$python_execprefix"; then
16406 az_python_execspec="-I${az_python_execprefix}/include/python${az_python_version}"
16407 az_python_includespec="${az_python_includespec} $az_python_execspec"
16409 az_python_ccshared=`${PYTHON} -c "import distutils.sysconfig; print distutils.sysconfig.get_config_var('CFLAGSFORSHARED')"`
16410 az_python_cspec="${az_python_ccshared} ${az_python_includespec}"
16411 PYTHON_CSPEC=${az_python_cspec}
16413 PYTHON_CPPFLAGS=${az_python_includespec}
16415 PYTHON_SHORTVERSION="${az_python_version}"
16417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_CPPFLAGS" >&5
16418 $as_echo "$PYTHON_CPPFLAGS" >&6; }
16423 if test -n "$PYTHON"
16425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python linker flags" >&5
16426 $as_echo_n "checking for python linker flags... " >&6; }
16429 if test -z "$PYTHON"
16431 as_fn_error $? "Python Executable not found" "$LINENO" 5
16433 cat >conftest.py <<_ACEOF
16436 import distutils.sysconfig
16437 strUseFrameWork = "--enable-framework"
16438 dictConfig = distutils.sysconfig.get_config_vars( )
16439 strConfigArgs = dictConfig.get("CONFIG_ARGS")
16440 strLinkSpec = dictConfig.get('LDFLAGS')
16441 if -1 == strConfigArgs.find(strUseFrameWork):
16442 strLibPL = dictConfig.get("LIBPL")
16443 if strLibPL and (strLibPL != ""):
16444 strLinkSpec += " -L%s" % (strLibPL)
16445 strSys = dictConfig.get("SYSLIBS")
16446 if strSys and (strSys != ""):
16447 strLinkSpec += " %s" % (strSys)
16448 strSHL = dictConfig.get("SHLIBS")
16449 if strSHL and (strSHL != ""):
16450 strLinkSpec += " %s" % (strSHL)
16451 # Construct the Python Library Name.
16452 strTmplte = " -lpython%d.%d"
16453 if (sys.platform == "win32") or (sys.platform == "os2emx"):
16454 strTmplte = " -lpython%d%d"
16455 strWrk = strTmplte % ( (sys.hexversion >> 24),
16456 ((sys.hexversion >> 16) & 0xff))
16457 strLinkSpec += strWrk
16459 # This is not ideal since it changes the search path
16460 # for Frameworks which could have side-effects on
16461 # other included Frameworks. However, it is necessary
16462 # where someone has installed more than one frameworked
16463 # Python. Frameworks are really only used in MacOSX.
16464 strLibFW = dictConfig.get("PYTHONFRAMEWORKPREFIX")
16465 if strLibFW and (strLibFW != ""):
16466 strLinkSpec += " -F%s" % (strLibFW)
16467 strLinkSpec += " %s" % (dictConfig.get('LINKFORSHARED'))
16471 az_python_output=`$PYTHON conftest.py`
16474 if test -f "conftest.pyc"
16480 PYTHON_LSPEC=${az_python_output}
16482 az_python_ldflags=`${PYTHON} -c "import distutils.sysconfig; \
16483 print '-L' + distutils.sysconfig.get_python_lib(), '-lpython' + \
16484 distutils.sysconfig.get_config_var('VERSION');"`
16485 PYTHON_LDFLAGS=${az_python_ldflags}
16487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_LDFLAGS" >&5
16488 $as_echo "$PYTHON_LDFLAGS" >&6; }
16492 if test -z "$PYTHON"
16494 as_fn_error $? "Python Executable Path is not known" "$LINENO" 5
16496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python extension install directory" >&5
16497 $as_echo_n "checking for python extension install directory... " >&6; }
16498 ax_python_prefix=`${PYTHON} -c "import sys; print sys.prefix"`
16499 ax_python_execprefix=`${PYTHON} -c "import sys; print sys.exec_prefix"`
16500 PYTHON_PREFIX="${ax_python_prefix}"
16502 PYTHON_EXECPREFIX="${ax_python_execprefix}"
16504 PYTHON_EXECDIR=`$PYTHON -c "import distutils.sysconfig; \
16505 print distutils.sysconfig.get_python_lib();"`
16507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_EXECDIR" >&5
16508 $as_echo "$PYTHON_EXECDIR" >&6; }
16510 elif test "$withval" = "no"
16512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16513 $as_echo "no" >&6; }
16514 az_python_use=false
16515 if test x"$az_python_use" = x"true"; then
16517 PYTHON_USE_FALSE='#'
16519 PYTHON_USE_TRUE='#'
16524 # $withval must be the executable path then.
16525 PYTHON="${withval}"
16527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
16528 $as_echo "$withval" >&6; }
16530 if test x"$az_python_use" = x"true"; then
16532 PYTHON_USE_FALSE='#'
16534 PYTHON_USE_TRUE='#'
16540 if test -n "$PYTHON"
16542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python include directory" >&5
16543 $as_echo_n "checking for python include directory... " >&6; }
16544 az_python_prefix=`${PYTHON} -c "import sys; print sys.prefix"`
16545 if test -z "$az_python_prefix"
16547 as_fn_error $? "Python Prefix is not known" "$LINENO" 5
16550 az_python_execprefix=`${PYTHON} -c "import sys; print sys.exec_prefix"`
16551 az_python_version=`$PYTHON -c "import sys; print sys.version[:3]"`
16552 az_python_includespec="-I`$PYTHON -c 'import distutils.sysconfig; print distutils.sysconfig.get_python_inc();'`"
16553 if test x"$python_prefix" != x"$python_execprefix"; then
16554 az_python_execspec="-I${az_python_execprefix}/include/python${az_python_version}"
16555 az_python_includespec="${az_python_includespec} $az_python_execspec"
16557 az_python_ccshared=`${PYTHON} -c "import distutils.sysconfig; print distutils.sysconfig.get_config_var('CFLAGSFORSHARED')"`
16558 az_python_cspec="${az_python_ccshared} ${az_python_includespec}"
16559 PYTHON_CSPEC=${az_python_cspec}
16561 PYTHON_CPPFLAGS=${az_python_includespec}
16563 PYTHON_SHORTVERSION="${az_python_version}"
16565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_CPPFLAGS" >&5
16566 $as_echo "$PYTHON_CPPFLAGS" >&6; }
16571 if test -n "$PYTHON"
16573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python linker flags" >&5
16574 $as_echo_n "checking for python linker flags... " >&6; }
16577 if test -z "$PYTHON"
16579 as_fn_error $? "Python Executable not found" "$LINENO" 5
16581 cat >conftest.py <<_ACEOF
16584 import distutils.sysconfig
16585 strUseFrameWork = "--enable-framework"
16586 dictConfig = distutils.sysconfig.get_config_vars( )
16587 strConfigArgs = dictConfig.get("CONFIG_ARGS")
16588 strLinkSpec = dictConfig.get('LDFLAGS')
16589 if -1 == strConfigArgs.find(strUseFrameWork):
16590 strLibPL = dictConfig.get("LIBPL")
16591 if strLibPL and (strLibPL != ""):
16592 strLinkSpec += " -L%s" % (strLibPL)
16593 strSys = dictConfig.get("SYSLIBS")
16594 if strSys and (strSys != ""):
16595 strLinkSpec += " %s" % (strSys)
16596 strSHL = dictConfig.get("SHLIBS")
16597 if strSHL and (strSHL != ""):
16598 strLinkSpec += " %s" % (strSHL)
16599 # Construct the Python Library Name.
16600 strTmplte = " -lpython%d.%d"
16601 if (sys.platform == "win32") or (sys.platform == "os2emx"):
16602 strTmplte = " -lpython%d%d"
16603 strWrk = strTmplte % ( (sys.hexversion >> 24),
16604 ((sys.hexversion >> 16) & 0xff))
16605 strLinkSpec += strWrk
16607 # This is not ideal since it changes the search path
16608 # for Frameworks which could have side-effects on
16609 # other included Frameworks. However, it is necessary
16610 # where someone has installed more than one frameworked
16611 # Python. Frameworks are really only used in MacOSX.
16612 strLibFW = dictConfig.get("PYTHONFRAMEWORKPREFIX")
16613 if strLibFW and (strLibFW != ""):
16614 strLinkSpec += " -F%s" % (strLibFW)
16615 strLinkSpec += " %s" % (dictConfig.get('LINKFORSHARED'))
16619 az_python_output=`$PYTHON conftest.py`
16622 if test -f "conftest.pyc"
16628 PYTHON_LSPEC=${az_python_output}
16630 az_python_ldflags=`${PYTHON} -c "import distutils.sysconfig; \
16631 print '-L' + distutils.sysconfig.get_python_lib(), '-lpython' + \
16632 distutils.sysconfig.get_config_var('VERSION');"`
16633 PYTHON_LDFLAGS=${az_python_ldflags}
16635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_LDFLAGS" >&5
16636 $as_echo "$PYTHON_LDFLAGS" >&6; }
16640 if test -z "$PYTHON"
16642 as_fn_error $? "Python Executable Path is not known" "$LINENO" 5
16644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python extension install directory" >&5
16645 $as_echo_n "checking for python extension install directory... " >&6; }
16646 ax_python_prefix=`${PYTHON} -c "import sys; print sys.prefix"`
16647 ax_python_execprefix=`${PYTHON} -c "import sys; print sys.exec_prefix"`
16648 PYTHON_PREFIX="${ax_python_prefix}"
16650 PYTHON_EXECPREFIX="${ax_python_execprefix}"
16652 PYTHON_EXECDIR=`$PYTHON -c "import distutils.sysconfig; \
16653 print distutils.sysconfig.get_python_lib();"`
16655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_EXECDIR" >&5
16656 $as_echo "$PYTHON_EXECDIR" >&6; }
16662 # --with-python was not specified.
16663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16664 $as_echo "no" >&6; }
16665 az_python_use=false
16666 if test x"$az_python_use" = x"true"; then
16668 PYTHON_USE_FALSE='#'
16670 PYTHON_USE_TRUE='#'
16681 if test "$PYTHON" != :; then
16683 HAVE_PYTHON_FALSE='#'
16685 HAVE_PYTHON_TRUE='#'
16689 # Check whether --enable-freedist was given.
16690 if test "${enable_freedist+set}" = set; then :
16691 enableval=$enable_freedist; case "${enableval}" in
16693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: BSD licensed ASDCPlib creation ENABLED." >&5
16694 $as_echo "$as_me: WARNING: BSD licensed ASDCPlib creation ENABLED." >&2;} ;;
16695 no) freedist=false ;;
16696 *) as_fn_error $? "bad value ${enableval} for --enable-freedist" "$LINENO" 5 ;;
16702 if test x$freedist = xtrue; then
16710 # Check whether --enable-dev-headers was given.
16711 if test "${enable_dev_headers+set}" = set; then :
16712 enableval=$enable_dev_headers; case "${enableval}" in
16713 yes) dev_headers=true ;;
16714 no) dev_headers=false ;;
16715 *) as_fn_error $? "bad value ${enableval} for --enable-dev-headers" "$LINENO" 5 ;;
16721 if test x$dev_headers = xtrue; then
16723 DEV_HEADERS_FALSE='#'
16725 DEV_HEADERS_TRUE='#'
16729 # Check whether --enable-random-case-UUID was given.
16730 if test "${enable_random_case_UUID+set}" = set; then :
16731 enableval=$enable_random_case_UUID; case "${enableval}" in
16732 yes) random_case_UUID=true ;;
16733 no) random_case_UUID=false ;;
16734 *) as_fn_error $? "bad value ${enableval} for --enable-random-case-UUID" "$LINENO" 5 ;;
16737 random_case_UUID=false
16740 if test x$random_case_UUID = xtrue; then
16741 ENABLE_RANDOM_UUID_TRUE=
16742 ENABLE_RANDOM_UUID_FALSE='#'
16744 ENABLE_RANDOM_UUID_TRUE='#'
16745 ENABLE_RANDOM_UUID_FALSE=
16748 # Check whether --enable-as-02 was given.
16749 if test "${enable_as_02+set}" = set; then :
16750 enableval=$enable_as_02; case "${enableval}" in
16751 yes) as_02_use=true ;;
16752 no) as_02_use=false ;;
16753 *) as_fn_error $? "bad value ${enableval} for --enable-as-02" "$LINENO" 5 ;;
16759 if test x$as_02_use = xtrue; then
16761 USE_AS_02_FALSE='#'
16767 # Check whether --enable-phdr was given.
16768 if test "${enable_phdr+set}" = set; then :
16769 enableval=$enable_phdr; case "${enableval}" in
16770 yes) phdr_use=true ;;
16771 no) phdr_use=false ;;
16772 *) as_fn_error $? "bad value ${enableval} for --enable-phdr" "$LINENO" 5 ;;
16778 if test x$phdr_use = xtrue; then
16787 # Checks for libraries.
16788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
16789 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
16790 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
16791 $as_echo_n "(cached) " >&6
16793 ac_check_lib_save_LIBS=$LIBS
16794 LIBS="-lpthread $LIBS"
16795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16796 /* end confdefs.h. */
16798 /* Override any GCC internal prototype to avoid an error.
16799 Use char because int might match the return type of a GCC
16800 builtin and then its argument prototype would still apply. */
16804 char pthread_create ();
16808 return pthread_create ();
16813 if ac_fn_c_try_link "$LINENO"; then :
16814 ac_cv_lib_pthread_pthread_create=yes
16816 ac_cv_lib_pthread_pthread_create=no
16818 rm -f core conftest.err conftest.$ac_objext \
16819 conftest$ac_exeext conftest.$ac_ext
16820 LIBS=$ac_check_lib_save_LIBS
16822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
16823 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
16824 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
16825 cat >>confdefs.h <<_ACEOF
16826 #define HAVE_LIBPTHREAD 1
16829 LIBS="-lpthread $LIBS"
16834 # Checks for header files.
16837 #AC_CHECK_HEADERS([arpa/inet.h fcntl.h limits.h netinet/in.h stdlib.h string.h sys/socket.h unistd.h wchar.h])
16839 # Checks for typedefs, structures, and compiler characteristics.
16846 # Checks for library functions.
16847 #AC_FUNC_CLOSEDIR_VOID
16851 #AC_CHECK_FUNCS([getcwd memset regcomp strchr strerror strrchr strstr strtol])
16853 ac_config_files="$ac_config_files Makefile src/Makefile win32/Makefile win32/Makefile.mak:win32/Makefile.wmk"
16855 cat >confcache <<\_ACEOF
16856 # This file is a shell script that caches the results of configure
16857 # tests run on this system so they can be shared between configure
16858 # scripts and configure runs, see configure's option --config-cache.
16859 # It is not useful on other systems. If it contains results you don't
16860 # want to keep, you may remove or edit it.
16862 # config.status only pays attention to the cache file if you give it
16863 # the --recheck option to rerun configure.
16865 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16866 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16867 # following values.
16871 # The following way of writing the cache mishandles newlines in values,
16872 # but we know of no workaround that is simple, portable, and efficient.
16873 # So, we kill variables containing newlines.
16874 # Ultrix sh set writes to stderr and can't be redirected directly,
16875 # and sets the high bit in the cache file unless we assign to the vars.
16877 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16878 eval ac_val=\$$ac_var
16882 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16883 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16886 _ | IFS | as_nl) ;; #(
16887 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16888 *) { eval $ac_var=; unset $ac_var;} ;;
16894 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16895 *${as_nl}ac_space=\ *)
16896 # `set' does not quote correctly, so add quotes: double-quote
16897 # substitution turns \\\\ into \\, and sed turns \\ into \.
16900 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16903 # `set' quotes correctly as required by POSIX, so do not add quotes.
16904 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16913 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16915 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16917 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16918 if test -w "$cache_file"; then
16919 if test "x$cache_file" != "x/dev/null"; then
16920 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16921 $as_echo "$as_me: updating cache $cache_file" >&6;}
16922 if test ! -f "$cache_file" || test -h "$cache_file"; then
16923 cat confcache >"$cache_file"
16925 case $cache_file in #(
16927 mv -f confcache "$cache_file"$$ &&
16928 mv -f "$cache_file"$$ "$cache_file" ;; #(
16930 mv -f confcache "$cache_file" ;;
16935 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16936 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16941 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16942 # Let make expand exec_prefix.
16943 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16945 # Transform confdefs.h into DEFS.
16946 # Protect against shell expansion while executing Makefile rules.
16947 # Protect against Makefile macro expansion.
16949 # If the first sed substitution is executed (which looks for macros that
16950 # take arguments), then branch to the quote section. Otherwise,
16951 # look for a macro that doesn't take arguments.
16961 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
16963 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
16967 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
16980 DEFS=`sed -n "$ac_script" confdefs.h`
16986 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16987 # 1. Remove the extension, and $U if already installed.
16988 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16989 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16990 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16991 # will be set to the directory where LIBOBJS objects are built.
16992 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16993 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16995 LIBOBJS=$ac_libobjs
16997 LTLIBOBJS=$ac_ltlibobjs
17000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
17001 $as_echo_n "checking that generated files are newer than configure... " >&6; }
17002 if test -n "$am_sleep_pid"; then
17003 # Hide warnings about reused PIDs.
17004 wait $am_sleep_pid 2>/dev/null
17006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
17007 $as_echo "done" >&6; }
17008 if test -n "$EXEEXT"; then
17010 am__EXEEXT_FALSE='#'
17012 am__EXEEXT_TRUE='#'
17016 if test -z "${OPENBSD_HOST_TRUE}" && test -z "${OPENBSD_HOST_FALSE}"; then
17017 as_fn_error $? "conditional \"OPENBSD_HOST\" was never defined.
17018 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17020 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17021 as_fn_error $? "conditional \"AMDEP\" was never defined.
17022 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17024 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17025 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17026 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17028 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
17029 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
17030 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17032 if test -z "${PYTHON_USE_TRUE}" && test -z "${PYTHON_USE_FALSE}"; then
17033 as_fn_error $? "conditional \"PYTHON_USE\" was never defined.
17034 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17036 if test -z "${PYTHON_USE_TRUE}" && test -z "${PYTHON_USE_FALSE}"; then
17037 as_fn_error $? "conditional \"PYTHON_USE\" was never defined.
17038 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17040 if test -z "${PYTHON_USE_TRUE}" && test -z "${PYTHON_USE_FALSE}"; then
17041 as_fn_error $? "conditional \"PYTHON_USE\" was never defined.
17042 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17044 if test -z "${PYTHON_USE_TRUE}" && test -z "${PYTHON_USE_FALSE}"; then
17045 as_fn_error $? "conditional \"PYTHON_USE\" was never defined.
17046 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17048 if test -z "${PYTHON_USE_TRUE}" && test -z "${PYTHON_USE_FALSE}"; then
17049 as_fn_error $? "conditional \"PYTHON_USE\" was never defined.
17050 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17052 if test -z "${HAVE_PYTHON_TRUE}" && test -z "${HAVE_PYTHON_FALSE}"; then
17053 as_fn_error $? "conditional \"HAVE_PYTHON\" was never defined.
17054 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17056 if test -z "${FREEDIST_TRUE}" && test -z "${FREEDIST_FALSE}"; then
17057 as_fn_error $? "conditional \"FREEDIST\" was never defined.
17058 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17060 if test -z "${DEV_HEADERS_TRUE}" && test -z "${DEV_HEADERS_FALSE}"; then
17061 as_fn_error $? "conditional \"DEV_HEADERS\" was never defined.
17062 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17064 if test -z "${ENABLE_RANDOM_UUID_TRUE}" && test -z "${ENABLE_RANDOM_UUID_FALSE}"; then
17065 as_fn_error $? "conditional \"ENABLE_RANDOM_UUID\" was never defined.
17066 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17068 if test -z "${USE_AS_02_TRUE}" && test -z "${USE_AS_02_FALSE}"; then
17069 as_fn_error $? "conditional \"USE_AS_02\" was never defined.
17070 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17072 if test -z "${USE_PHDR_TRUE}" && test -z "${USE_PHDR_FALSE}"; then
17073 as_fn_error $? "conditional \"USE_PHDR\" was never defined.
17074 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17077 : "${CONFIG_STATUS=./config.status}"
17079 ac_clean_files_save=$ac_clean_files
17080 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17081 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17082 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17084 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17086 # Generated by $as_me.
17087 # Run this file to recreate the current configuration.
17088 # Compiler output produced by configure, useful for debugging
17089 # configure, is in config.log if it exists.
17092 ac_cs_recheck=false
17095 SHELL=\${CONFIG_SHELL-$SHELL}
17098 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17099 ## -------------------- ##
17100 ## M4sh Initialization. ##
17101 ## -------------------- ##
17103 # Be more Bourne compatible
17104 DUALCASE=1; export DUALCASE # for MKS sh
17105 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17108 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17109 # is contrary to our usage. Disable this feature.
17110 alias -g '${1+"$@"}'='"$@"'
17111 setopt NO_GLOB_SUBST
17113 case `(set -o) 2>/dev/null` in #(
17125 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17126 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17127 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17128 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17129 # Prefer a ksh shell builtin over an external printf program on Solaris,
17130 # but without wasting forks for bash or zsh.
17131 if test -z "$BASH_VERSION$ZSH_VERSION" \
17132 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17133 as_echo='print -r --'
17134 as_echo_n='print -rn --'
17135 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17136 as_echo='printf %s\n'
17137 as_echo_n='printf %s'
17139 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17140 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17141 as_echo_n='/usr/ucb/echo -n'
17143 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17144 as_echo_n_body='eval
17148 expr "X$arg" : "X\\(.*\\)$as_nl";
17149 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17151 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17153 export as_echo_n_body
17154 as_echo_n='sh -c $as_echo_n_body as_echo'
17156 export as_echo_body
17157 as_echo='sh -c $as_echo_body as_echo'
17160 # The user is always right.
17161 if test "${PATH_SEPARATOR+set}" != set; then
17163 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17164 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17171 # We need space, tab and new line, in precisely that order. Quoting is
17172 # there to prevent editors from complaining about space-tab.
17173 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17174 # splitting by setting IFS to empty value.)
17177 # Find who we are. Look in the path if we contain no directory separator.
17180 *[\\/]* ) as_myself=$0 ;;
17181 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17182 for as_dir in $PATH
17185 test -z "$as_dir" && as_dir=.
17186 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17192 # We did not find ourselves, most probably we were run as `sh COMMAND'
17193 # in which case we are not to be found in the path.
17194 if test "x$as_myself" = x; then
17197 if test ! -f "$as_myself"; then
17198 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17202 # Unset variables that we do not need and which cause bugs (e.g. in
17203 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17204 # suppresses any "Segmentation fault" message there. '((' could
17205 # trigger a bug in pdksh 5.2.14.
17206 for as_var in BASH_ENV ENV MAIL MAILPATH
17207 do eval test x\${$as_var+set} = xset \
17208 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17221 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17224 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17225 # ----------------------------------------
17226 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17227 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17228 # script with STATUS, using 1 if that was 0.
17231 as_status=$1; test $as_status -eq 0 && as_status=1
17233 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17234 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17236 $as_echo "$as_me: error: $2" >&2
17237 as_fn_exit $as_status
17241 # as_fn_set_status STATUS
17242 # -----------------------
17243 # Set $? to STATUS, without forking.
17244 as_fn_set_status ()
17247 } # as_fn_set_status
17249 # as_fn_exit STATUS
17250 # -----------------
17251 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17255 as_fn_set_status $1
17261 # Portably unset VAR.
17264 { eval $1=; unset $1;}
17266 as_unset=as_fn_unset
17267 # as_fn_append VAR VALUE
17268 # ----------------------
17269 # Append the text in VALUE to the end of the definition contained in VAR. Take
17270 # advantage of any shell optimizations that allow amortized linear growth over
17271 # repeated appends, instead of the typical quadratic growth present in naive
17273 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17274 eval 'as_fn_append ()
17285 # as_fn_arith ARG...
17286 # ------------------
17287 # Perform arithmetic evaluation on the ARGs, and store the result in the
17288 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17289 # must be portable across $(()) and expr.
17290 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17291 eval 'as_fn_arith ()
17298 as_val=`expr "$@" || test $? -eq 1`
17303 if expr a : '\(a\)' >/dev/null 2>&1 &&
17304 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17310 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17311 as_basename=basename
17316 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17322 as_me=`$as_basename -- "$0" ||
17323 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17324 X"$0" : 'X\(//\)$' \| \
17325 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17327 sed '/^.*\/\([^/][^/]*\)\/*$/{
17341 # Avoid depending upon Character Ranges.
17342 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17343 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17344 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17345 as_cr_digits='0123456789'
17346 as_cr_alnum=$as_cr_Letters$as_cr_digits
17348 ECHO_C= ECHO_N= ECHO_T=
17349 case `echo -n x` in #(((((
17351 case `echo 'xy\c'` in
17352 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17354 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17361 rm -f conf$$ conf$$.exe conf$$.file
17362 if test -d conf$$.dir; then
17363 rm -f conf$$.dir/conf$$.file
17366 mkdir conf$$.dir 2>/dev/null
17368 if (echo >conf$$.file) 2>/dev/null; then
17369 if ln -s conf$$.file conf$$ 2>/dev/null; then
17371 # ... but there are two gotchas:
17372 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17373 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17374 # In both cases, we have to default to `cp -pR'.
17375 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17377 elif ln conf$$.file conf$$ 2>/dev/null; then
17385 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17386 rmdir conf$$.dir 2>/dev/null
17391 # Create "$as_dir" as a directory, including parents if necessary.
17396 -*) as_dir=./$as_dir;;
17398 test -d "$as_dir" || eval $as_mkdir_p || {
17402 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17403 *) as_qdir=$as_dir;;
17405 as_dirs="'$as_qdir' $as_dirs"
17406 as_dir=`$as_dirname -- "$as_dir" ||
17407 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17408 X"$as_dir" : 'X\(//\)[^/]' \| \
17409 X"$as_dir" : 'X\(//\)$' \| \
17410 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17411 $as_echo X"$as_dir" |
17412 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17416 /^X\(\/\/\)[^/].*/{
17429 test -d "$as_dir" && break
17431 test -z "$as_dirs" || eval "mkdir $as_dirs"
17432 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17436 if mkdir -p . 2>/dev/null; then
17437 as_mkdir_p='mkdir -p "$as_dir"'
17439 test -d ./-p && rmdir ./-p
17444 # as_fn_executable_p FILE
17445 # -----------------------
17446 # Test if FILE is an executable regular file.
17447 as_fn_executable_p ()
17449 test -f "$1" && test -x "$1"
17450 } # as_fn_executable_p
17451 as_test_x='test -x'
17452 as_executable_p=as_fn_executable_p
17454 # Sed expression to map a string onto a valid CPP name.
17455 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17457 # Sed expression to map a string onto a valid variable name.
17458 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17462 ## ----------------------------------- ##
17463 ## Main body of $CONFIG_STATUS script. ##
17464 ## ----------------------------------- ##
17466 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17468 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17469 # Save the log message, to keep $0 and so on meaningful, and to
17470 # report actual input values of CONFIG_FILES etc. instead of their
17471 # values after options handling.
17473 This file was extended by asdcplib $as_me 2.5.11, which was
17474 generated by GNU Autoconf 2.69. Invocation command line was
17476 CONFIG_FILES = $CONFIG_FILES
17477 CONFIG_HEADERS = $CONFIG_HEADERS
17478 CONFIG_LINKS = $CONFIG_LINKS
17479 CONFIG_COMMANDS = $CONFIG_COMMANDS
17482 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17487 case $ac_config_files in *"
17488 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17493 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17494 # Files that config.status was made for.
17495 config_files="$ac_config_files"
17496 config_commands="$ac_config_commands"
17500 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17502 \`$as_me' instantiates files and other configuration actions
17503 from templates according to the current configuration. Unless the files
17504 and actions are specified as TAGs, all are instantiated by default.
17506 Usage: $0 [OPTION]... [TAG]...
17508 -h, --help print this help, then exit
17509 -V, --version print version number and configuration settings, then exit
17510 --config print configuration, then exit
17511 -q, --quiet, --silent
17512 do not print progress messages
17513 -d, --debug don't remove temporary files
17514 --recheck update $as_me by reconfiguring in the same conditions
17515 --file=FILE[:TEMPLATE]
17516 instantiate the configuration file FILE
17518 Configuration files:
17521 Configuration commands:
17524 Report bugs to <asdcplib@cinecert.com>."
17527 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17528 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17530 asdcplib config.status 2.5.11
17531 configured by $0, generated by GNU Autoconf 2.69,
17532 with options \\"\$ac_cs_config\\"
17534 Copyright (C) 2012 Free Software Foundation, Inc.
17535 This config.status script is free software; the Free Software Foundation
17536 gives unlimited permission to copy, distribute and modify it."
17543 test -n "\$AWK" || AWK=awk
17546 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17547 # The default lists apply if the user does not specify any file.
17553 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17554 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17558 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17570 # Handling of the options.
17571 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17573 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17574 $as_echo "$ac_cs_version"; exit ;;
17575 --config | --confi | --conf | --con | --co | --c )
17576 $as_echo "$ac_cs_config"; exit ;;
17577 --debug | --debu | --deb | --de | --d | -d )
17579 --file | --fil | --fi | --f )
17582 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17583 '') as_fn_error $? "missing file argument" ;;
17585 as_fn_append CONFIG_FILES " '$ac_optarg'"
17586 ac_need_defaults=false;;
17587 --he | --h | --help | --hel | -h )
17588 $as_echo "$ac_cs_usage"; exit ;;
17589 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17590 | -silent | --silent | --silen | --sile | --sil | --si | --s)
17593 # This is an error.
17594 -*) as_fn_error $? "unrecognized option: \`$1'
17595 Try \`$0 --help' for more information." ;;
17597 *) as_fn_append ac_config_targets " $1"
17598 ac_need_defaults=false ;;
17604 ac_configure_extra_args=
17606 if $ac_cs_silent; then
17608 ac_configure_extra_args="$ac_configure_extra_args --silent"
17612 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17613 if \$ac_cs_recheck; then
17614 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17616 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17617 CONFIG_SHELL='$SHELL'
17618 export CONFIG_SHELL
17623 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17627 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17628 ## Running $as_me. ##
17634 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17638 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17641 # The HP-UX ksh and POSIX shell print the target directory to stdout
17642 # if CDPATH is set.
17643 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17645 sed_quote_subst='$sed_quote_subst'
17646 double_quote_subst='$double_quote_subst'
17647 delay_variable_subst='$delay_variable_subst'
17648 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17649 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17650 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17651 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17652 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17653 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17654 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17655 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17656 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17657 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17658 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17659 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17660 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17661 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17662 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17663 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17664 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17665 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17666 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17667 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17668 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17669 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17670 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17671 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17672 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17673 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17674 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17675 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17676 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17677 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17678 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17679 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17680 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17681 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17682 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17683 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17684 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17685 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17686 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17687 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17688 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17689 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17690 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17691 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17692 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17693 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17694 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17695 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17696 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17697 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17698 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17699 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17700 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17701 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17702 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17703 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17704 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"`'
17705 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17706 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17707 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17708 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17709 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17710 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17711 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17712 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17713 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17714 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17715 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17716 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17717 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17718 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17719 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17720 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17721 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17722 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17723 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17724 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17725 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17726 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17727 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17728 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17729 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17730 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17731 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17732 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17733 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17734 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17735 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17736 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17737 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17738 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17739 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17740 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17741 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17742 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17743 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17744 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17745 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17746 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17747 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17748 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17749 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17750 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17751 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17752 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17753 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17754 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17755 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17756 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17757 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17758 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17759 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17760 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17761 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17762 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17763 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17764 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17765 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17766 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17767 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17768 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17769 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17770 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17771 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17772 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17773 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17774 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17775 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17776 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17777 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17778 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
17779 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
17780 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
17781 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
17782 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
17783 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
17784 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
17785 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
17786 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17787 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17788 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
17789 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
17790 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
17791 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
17792 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
17793 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
17794 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
17795 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
17796 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
17797 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17798 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17799 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
17800 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17801 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17802 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17803 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17804 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17805 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17806 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
17807 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17808 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17809 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17810 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
17811 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
17812 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
17813 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
17814 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
17815 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
17816 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
17817 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
17818 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
17819 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17820 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17821 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17822 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17823 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17824 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
17825 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
17826 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
17827 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17828 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17829 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
17830 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
17831 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
17834 LTCFLAGS='$LTCFLAGS'
17835 compiler='$compiler_DEFAULT'
17837 # A function that is used when there is no print builtin or printf.
17838 func_fallback_echo ()
17840 eval 'cat <<_LTECHO_EOF
17845 # Quote evaled strings.
17860 deplibs_check_method \
17865 sharedlib_from_linklib_cmd \
17868 archiver_list_spec \
17874 lt_cv_sys_global_symbol_pipe \
17875 lt_cv_sys_global_symbol_to_cdecl \
17876 lt_cv_sys_global_symbol_to_c_name_address \
17877 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17878 nm_file_list_spec \
17879 lt_prog_compiler_no_builtin_flag \
17880 lt_prog_compiler_pic \
17881 lt_prog_compiler_wl \
17882 lt_prog_compiler_static \
17883 lt_cv_prog_compiler_c_o \
17892 export_dynamic_flag_spec \
17893 whole_archive_flag_spec \
17894 compiler_needs_object \
17896 allow_undefined_flag \
17897 no_undefined_flag \
17898 hardcode_libdir_flag_spec \
17899 hardcode_libdir_separator \
17903 variables_saved_for_relink \
17905 library_names_spec \
17907 install_override_mode \
17911 compiler_lib_search_dirs \
17916 compiler_lib_search_path \
17920 lt_prog_compiler_no_builtin_flag_CXX \
17921 lt_prog_compiler_pic_CXX \
17922 lt_prog_compiler_wl_CXX \
17923 lt_prog_compiler_static_CXX \
17924 lt_cv_prog_compiler_c_o_CXX \
17925 export_dynamic_flag_spec_CXX \
17926 whole_archive_flag_spec_CXX \
17927 compiler_needs_object_CXX \
17929 allow_undefined_flag_CXX \
17930 no_undefined_flag_CXX \
17931 hardcode_libdir_flag_spec_CXX \
17932 hardcode_libdir_separator_CXX \
17933 exclude_expsyms_CXX \
17934 include_expsyms_CXX \
17935 file_list_spec_CXX \
17936 compiler_lib_search_dirs_CXX \
17937 predep_objects_CXX \
17938 postdep_objects_CXX \
17941 compiler_lib_search_path_CXX; do
17942 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17943 *[\\\\\\\`\\"\\\$]*)
17944 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17947 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17952 # Double-quote double-evaled strings.
17953 for var in reload_cmds \
17954 old_postinstall_cmds \
17955 old_postuninstall_cmds \
17957 extract_expsyms_cmds \
17958 old_archive_from_new_cmds \
17959 old_archive_from_expsyms_cmds \
17961 archive_expsym_cmds \
17963 module_expsym_cmds \
17964 export_symbols_cmds \
17968 postuninstall_cmds \
17970 sys_lib_search_path_spec \
17971 sys_lib_dlsearch_path_spec \
17973 old_archive_cmds_CXX \
17974 old_archive_from_new_cmds_CXX \
17975 old_archive_from_expsyms_cmds_CXX \
17977 archive_expsym_cmds_CXX \
17979 module_expsym_cmds_CXX \
17980 export_symbols_cmds_CXX \
17982 postlink_cmds_CXX; do
17983 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17984 *[\\\\\\\`\\"\\\$]*)
17985 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17988 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17993 ac_aux_dir='$ac_aux_dir'
17994 xsi_shell='$xsi_shell'
17995 lt_shell_append='$lt_shell_append'
17997 # See if we are running on zsh, and set the options which allow our
17998 # commands through without removal of \ escapes INIT.
17999 if test -n "\${ZSH_VERSION+set}" ; then
18000 setopt NO_GLOB_SUBST
18006 TIMESTAMP='$TIMESTAMP'
18017 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18019 # Handling of arguments.
18020 for ac_config_target in $ac_config_targets
18022 case $ac_config_target in
18023 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
18024 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
18025 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
18026 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
18027 "win32/Makefile") CONFIG_FILES="$CONFIG_FILES win32/Makefile" ;;
18028 "win32/Makefile.mak") CONFIG_FILES="$CONFIG_FILES win32/Makefile.mak:win32/Makefile.wmk" ;;
18030 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18035 # If the user did not use the arguments to specify the items to instantiate,
18036 # then the envvar interface is used. Set only those that are not.
18037 # We use the long form for the default assignment because of an extremely
18038 # bizarre bug on SunOS 4.1.3.
18039 if $ac_need_defaults; then
18040 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18041 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18044 # Have a temporary directory for convenience. Make it in the build tree
18045 # simply because there is no reason against having it here, and in addition,
18046 # creating and moving files from /tmp can sometimes cause problems.
18047 # Hook for its removal unless debugging.
18048 # Note that there is a small window in which the directory will not be cleaned:
18049 # after its creation but before its name has been assigned to `$tmp'.
18053 trap 'exit_status=$?
18054 : "${ac_tmp:=$tmp}"
18055 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18057 trap 'as_fn_exit 1' 1 2 13 15
18059 # Create a (secure) tmp directory for tmp files.
18062 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18066 tmp=./conf$$-$RANDOM
18067 (umask 077 && mkdir "$tmp")
18068 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18071 # Set up the scripts for CONFIG_FILES section.
18072 # No need to generate them if there are no CONFIG_FILES.
18073 # This happens for instance with `./config.status config.h'.
18074 if test -n "$CONFIG_FILES"; then
18077 ac_cr=`echo X | tr X '\015'`
18078 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18079 # But we know of no other shell where ac_cr would be empty at this
18080 # point, so we can use a bashism as a fallback.
18081 if test "x$ac_cr" = x; then
18082 eval ac_cr=\$\'\\r\'
18084 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18085 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18088 ac_cs_awk_cr=$ac_cr
18091 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18096 echo "cat >conf$$subs.awk <<_ACEOF" &&
18097 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18099 } >conf$$subs.sh ||
18100 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18101 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18103 for ac_last_try in false false false false false :; do
18104 . ./conf$$subs.sh ||
18105 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18107 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18108 if test $ac_delim_n = $ac_delim_num; then
18110 elif $ac_last_try; then
18111 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18113 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18116 rm -f conf$$subs.sh
18118 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18119 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18123 s/^/S["/; s/!.*/"]=/
18133 s/\(.\{148\}\)..*/\1/
18135 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18140 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18147 s/\(.\{148\}\)..*/\1/
18149 s/["\\]/\\&/g; s/^/"/; s/$/"/
18153 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18158 ' <conf$$subs.awk | sed '
18163 ' >>$CONFIG_STATUS || ac_write_fail=1
18164 rm -f conf$$subs.awk
18165 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18167 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18168 for (key in S) S_is_set[key] = 1
18174 nfields = split(line, field, "@")
18176 len = length(field[1])
18177 for (i = 2; i < nfields; i++) {
18179 keylen = length(key)
18180 if (S_is_set[key]) {
18182 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18183 len += length(value) + length(field[++i])
18194 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18195 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18196 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18199 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18200 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18203 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18204 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18205 # trailing colons and then remove the whole line if VPATH becomes empty
18206 # (actually we leave an empty line to preserve line numbers).
18207 if test "x$srcdir" = x.; then
18208 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18226 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18227 fi # test -n "$CONFIG_FILES"
18230 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
18235 :[FHLC]) ac_mode=$ac_tag; continue;;
18237 case $ac_mode$ac_tag in
18239 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18240 :[FH]-) ac_tag=-:-;;
18241 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18258 -) ac_f="$ac_tmp/stdin";;
18259 *) # Look for the file first in the build tree, then in the source tree
18260 # (if the path is not absolute). The absolute path cannot be DOS-style,
18261 # because $ac_f cannot contain `:'.
18265 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18267 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18269 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18270 as_fn_append ac_file_inputs " '$ac_f'"
18273 # Let's still pretend it is `configure' which instantiates (i.e., don't
18274 # use $as_me), people would be surprised to read:
18275 # /* config.h. Generated by config.status. */
18276 configure_input='Generated from '`
18277 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18279 if test x"$ac_file" != x-; then
18280 configure_input="$ac_file. $configure_input"
18281 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18282 $as_echo "$as_me: creating $ac_file" >&6;}
18284 # Neutralize special characters interpreted by sed in replacement strings.
18285 case $configure_input in #(
18286 *\&* | *\|* | *\\* )
18287 ac_sed_conf_input=`$as_echo "$configure_input" |
18288 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18289 *) ac_sed_conf_input=$configure_input;;
18293 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18294 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18299 ac_dir=`$as_dirname -- "$ac_file" ||
18300 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18301 X"$ac_file" : 'X\(//\)[^/]' \| \
18302 X"$ac_file" : 'X\(//\)$' \| \
18303 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18304 $as_echo X"$ac_file" |
18305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18309 /^X\(\/\/\)[^/].*/{
18322 as_dir="$ac_dir"; as_fn_mkdir_p
18326 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18328 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18329 # A ".." for each directory in $ac_dir_suffix.
18330 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18331 case $ac_top_builddir_sub in
18332 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18333 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18336 ac_abs_top_builddir=$ac_pwd
18337 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18338 # for backward compatibility:
18339 ac_top_builddir=$ac_top_build_prefix
18342 .) # We are building in place.
18344 ac_top_srcdir=$ac_top_builddir_sub
18345 ac_abs_top_srcdir=$ac_pwd ;;
18346 [\\/]* | ?:[\\/]* ) # Absolute name.
18347 ac_srcdir=$srcdir$ac_dir_suffix;
18348 ac_top_srcdir=$srcdir
18349 ac_abs_top_srcdir=$srcdir ;;
18350 *) # Relative name.
18351 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18352 ac_top_srcdir=$ac_top_build_prefix$srcdir
18353 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18355 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18365 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18366 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18368 ac_MKDIR_P=$MKDIR_P
18370 [\\/$]* | ?:[\\/]* ) ;;
18371 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18375 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18376 # If the template does not know about datarootdir, expand it.
18377 # FIXME: This hack should be removed a few years after 2.60.
18378 ac_datarootdir_hack=; ac_datarootdir_seen=
18389 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18390 *datarootdir*) ac_datarootdir_seen=yes;;
18391 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18392 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18393 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18395 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18396 ac_datarootdir_hack='
18397 s&@datadir@&$datadir&g
18398 s&@docdir@&$docdir&g
18399 s&@infodir@&$infodir&g
18400 s&@localedir@&$localedir&g
18401 s&@mandir@&$mandir&g
18402 s&\\\${datarootdir}&$datarootdir&g' ;;
18406 # Neutralize VPATH when `$srcdir' = `.'.
18407 # Shell code in configure.ac might set extrasub.
18408 # FIXME: do we really want to maintain this feature?
18409 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18410 ac_sed_extra="$ac_vpsub
18413 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18415 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18416 s|@configure_input@|$ac_sed_conf_input|;t t
18417 s&@top_builddir@&$ac_top_builddir_sub&;t t
18418 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18419 s&@srcdir@&$ac_srcdir&;t t
18420 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18421 s&@top_srcdir@&$ac_top_srcdir&;t t
18422 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18423 s&@builddir@&$ac_builddir&;t t
18424 s&@abs_builddir@&$ac_abs_builddir&;t t
18425 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18426 s&@INSTALL@&$ac_INSTALL&;t t
18427 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18428 $ac_datarootdir_hack
18430 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18431 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18433 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18434 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18435 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18436 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18437 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18438 which seems to be undefined. Please make sure it is defined" >&5
18439 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18440 which seems to be undefined. Please make sure it is defined" >&2;}
18442 rm -f "$ac_tmp/stdin"
18444 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18445 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18447 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18451 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18452 $as_echo "$as_me: executing $ac_file commands" >&6;}
18457 case $ac_file$ac_mode in
18458 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18459 # Older Autoconf quotes --file arguments for eval, but not when files
18460 # are listed without --file. Let's play safe and only enable the eval
18461 # if we detect the quoting.
18462 case $CONFIG_FILES in
18463 *\'*) eval set x "$CONFIG_FILES" ;;
18464 *) set x $CONFIG_FILES ;;
18469 # Strip MF so we end up with the name of the file.
18470 mf=`echo "$mf" | sed -e 's/:.*$//'`
18471 # Check whether this is an Automake generated Makefile or not.
18472 # We used to match only the files named 'Makefile.in', but
18473 # some people rename them; so instead we look at the file content.
18474 # Grep'ing the first line is not enough: some people post-process
18475 # each Makefile.in and add a new line on top of each file to say so.
18476 # Grep'ing the whole file is not good either: AIX grep has a line
18477 # limit of 2048, but all sed's we know have understand at least 4000.
18478 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18479 dirpart=`$as_dirname -- "$mf" ||
18480 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18481 X"$mf" : 'X\(//\)[^/]' \| \
18482 X"$mf" : 'X\(//\)$' \| \
18483 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18485 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18489 /^X\(\/\/\)[^/].*/{
18505 # Extract the definition of DEPDIR, am__include, and am__quote
18506 # from the Makefile without running 'make'.
18507 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18508 test -z "$DEPDIR" && continue
18509 am__include=`sed -n 's/^am__include = //p' < "$mf"`
18510 test -z "$am__include" && continue
18511 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18512 # Find all dependency output files, they are included files with
18513 # $(DEPDIR) in their names. We invoke sed twice because it is the
18514 # simplest approach to changing $(DEPDIR) to its actual value in the
18516 for file in `sed -n "
18517 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18518 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
18519 # Make sure the directory exists.
18520 test -f "$dirpart/$file" && continue
18521 fdir=`$as_dirname -- "$file" ||
18522 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18523 X"$file" : 'X\(//\)[^/]' \| \
18524 X"$file" : 'X\(//\)$' \| \
18525 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18526 $as_echo X"$file" |
18527 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18531 /^X\(\/\/\)[^/].*/{
18544 as_dir=$dirpart/$fdir; as_fn_mkdir_p
18545 # echo "creating $dirpart/$file"
18546 echo '# dummy' > "$dirpart/$file"
18553 # See if we are running on zsh, and set the options which allow our
18554 # commands through without removal of \ escapes.
18555 if test -n "${ZSH_VERSION+set}" ; then
18556 setopt NO_GLOB_SUBST
18559 cfgfile="${ofile}T"
18560 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18563 cat <<_LT_EOF >> "$cfgfile"
18566 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18567 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18568 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18569 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18571 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18572 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
18574 # Written by Gordon Matzigkeit, 1996
18576 # This file is part of GNU Libtool.
18578 # GNU Libtool is free software; you can redistribute it and/or
18579 # modify it under the terms of the GNU General Public License as
18580 # published by the Free Software Foundation; either version 2 of
18581 # the License, or (at your option) any later version.
18583 # As a special exception to the GNU General Public License,
18584 # if you distribute this file as part of a program or library that
18585 # is built using GNU Libtool, you may include this file under the
18586 # same distribution terms that you use for the rest of that program.
18588 # GNU Libtool is distributed in the hope that it will be useful,
18589 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18590 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18591 # GNU General Public License for more details.
18593 # You should have received a copy of the GNU General Public License
18594 # along with GNU Libtool; see the file COPYING. If not, a copy
18595 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18596 # obtained by writing to the Free Software Foundation, Inc.,
18597 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18600 # The names of the tagged configurations supported by this script.
18601 available_tags="CXX "
18603 # ### BEGIN LIBTOOL CONFIG
18605 # Which release of libtool.m4 was used?
18606 macro_version=$macro_version
18607 macro_revision=$macro_revision
18609 # Whether or not to build shared libraries.
18610 build_libtool_libs=$enable_shared
18612 # Whether or not to build static libraries.
18613 build_old_libs=$enable_static
18615 # What type of objects to build.
18618 # Whether or not to optimize for fast installation.
18619 fast_install=$enable_fast_install
18621 # Shell to use when invoking shell scripts.
18624 # An echo program that protects backslashes.
18627 # The PATH separator for the build system.
18628 PATH_SEPARATOR=$lt_PATH_SEPARATOR
18631 host_alias=$host_alias
18635 # The build system.
18636 build_alias=$build_alias
18640 # A sed program that does not truncate output.
18643 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18644 Xsed="\$SED -e 1s/^X//"
18646 # A grep program that handles long lines.
18652 # A literal string matcher.
18655 # A BSD- or MS-compatible name lister.
18658 # Whether we need soft or hard links.
18661 # What is the maximum length of a command?
18662 max_cmd_len=$max_cmd_len
18664 # Object file suffix (normally "o").
18667 # Executable file suffix (normally "").
18670 # whether the shell understands "unset".
18673 # turn spaces into newlines.
18676 # turn newlines into spaces.
18679 # convert \$build file names to \$host format.
18680 to_host_file_cmd=$lt_cv_to_host_file_cmd
18682 # convert \$build files to toolchain format.
18683 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18685 # An object symbol dumper.
18686 OBJDUMP=$lt_OBJDUMP
18688 # Method to check whether dependent libraries are shared objects.
18689 deplibs_check_method=$lt_deplibs_check_method
18691 # Command to use when deplibs_check_method = "file_magic".
18692 file_magic_cmd=$lt_file_magic_cmd
18694 # How to find potential files when deplibs_check_method = "file_magic".
18695 file_magic_glob=$lt_file_magic_glob
18697 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18698 want_nocaseglob=$lt_want_nocaseglob
18700 # DLL creation program.
18701 DLLTOOL=$lt_DLLTOOL
18703 # Command to associate shared and link libraries.
18704 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18709 # Flags to create an archive.
18710 AR_FLAGS=$lt_AR_FLAGS
18712 # How to feed a file listing to the archiver.
18713 archiver_list_spec=$lt_archiver_list_spec
18715 # A symbol stripping program.
18718 # Commands used to install an old-style archive.
18720 old_postinstall_cmds=$lt_old_postinstall_cmds
18721 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18723 # Whether to use a lock for old archive extraction.
18724 lock_old_archive_extraction=$lock_old_archive_extraction
18729 # LTCC compiler flags.
18730 LTCFLAGS=$lt_CFLAGS
18732 # Take the output of nm and produce a listing of raw symbols and C names.
18733 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18735 # Transform the output of nm in a proper C declaration.
18736 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18738 # Transform the output of nm in a C name address pair.
18739 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18741 # Transform the output of nm in a C name address pair when lib prefix is needed.
18742 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18744 # Specify filename containing input files for \$NM.
18745 nm_file_list_spec=$lt_nm_file_list_spec
18747 # The root where to search for dependent libraries,and in which our libraries should be installed.
18748 lt_sysroot=$lt_sysroot
18750 # The name of the directory that contains temporary libtool files.
18753 # Used to examine libraries when file_magic_cmd begins with "file".
18754 MAGIC_CMD=$MAGIC_CMD
18756 # Must we lock files when doing compilation?
18757 need_locks=$lt_need_locks
18760 MANIFEST_TOOL=$lt_MANIFEST_TOOL
18762 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18763 DSYMUTIL=$lt_DSYMUTIL
18765 # Tool to change global to local symbols on Mac OS X.
18768 # Tool to manipulate fat objects and archives on Mac OS X.
18771 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18774 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18775 OTOOL64=$lt_OTOOL64
18777 # Old archive suffix (normally "a").
18780 # Shared library suffix (normally ".so").
18781 shrext_cmds=$lt_shrext_cmds
18783 # The commands to extract the exported symbol list from a shared archive.
18784 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18786 # Variables whose values should be saved in libtool wrapper scripts and
18787 # restored at link time.
18788 variables_saved_for_relink=$lt_variables_saved_for_relink
18790 # Do we need the "lib" prefix for modules?
18791 need_lib_prefix=$need_lib_prefix
18793 # Do we need a version for libraries?
18794 need_version=$need_version
18796 # Library versioning type.
18797 version_type=$version_type
18799 # Shared library runtime path variable.
18800 runpath_var=$runpath_var
18802 # Shared library path variable.
18803 shlibpath_var=$shlibpath_var
18805 # Is shlibpath searched before the hard-coded library search path?
18806 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18808 # Format of library name prefix.
18809 libname_spec=$lt_libname_spec
18811 # List of archive names. First name is the real one, the rest are links.
18812 # The last name is the one that the linker finds with -lNAME
18813 library_names_spec=$lt_library_names_spec
18815 # The coded name of the library, if different from the real name.
18816 soname_spec=$lt_soname_spec
18818 # Permission mode override for installation of shared libraries.
18819 install_override_mode=$lt_install_override_mode
18821 # Command to use after installation of a shared archive.
18822 postinstall_cmds=$lt_postinstall_cmds
18824 # Command to use after uninstallation of a shared archive.
18825 postuninstall_cmds=$lt_postuninstall_cmds
18827 # Commands used to finish a libtool library installation in a directory.
18828 finish_cmds=$lt_finish_cmds
18830 # As "finish_cmds", except a single script fragment to be evaled but
18832 finish_eval=$lt_finish_eval
18834 # Whether we should hardcode library paths into libraries.
18835 hardcode_into_libs=$hardcode_into_libs
18837 # Compile-time system search path for libraries.
18838 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18840 # Run-time system search path for libraries.
18841 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18843 # Whether dlopen is supported.
18844 dlopen_support=$enable_dlopen
18846 # Whether dlopen of programs is supported.
18847 dlopen_self=$enable_dlopen_self
18849 # Whether dlopen of statically linked programs is supported.
18850 dlopen_self_static=$enable_dlopen_self_static
18852 # Commands to strip libraries.
18853 old_striplib=$lt_old_striplib
18854 striplib=$lt_striplib
18857 # The linker used to build libraries.
18860 # How to create reloadable object files.
18861 reload_flag=$lt_reload_flag
18862 reload_cmds=$lt_reload_cmds
18864 # Commands used to build an old-style archive.
18865 old_archive_cmds=$lt_old_archive_cmds
18867 # A language specific compiler.
18870 # Is the compiler the GNU compiler?
18873 # Compiler flag to turn off builtin functions.
18874 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18876 # Additional compiler flags for building library objects.
18877 pic_flag=$lt_lt_prog_compiler_pic
18879 # How to pass a linker flag through the compiler.
18880 wl=$lt_lt_prog_compiler_wl
18882 # Compiler flag to prevent dynamic linking.
18883 link_static_flag=$lt_lt_prog_compiler_static
18885 # Does compiler simultaneously support -c and -o options?
18886 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18888 # Whether or not to add -lc for building shared libraries.
18889 build_libtool_need_lc=$archive_cmds_need_lc
18891 # Whether or not to disallow shared libs when runtime libs are static.
18892 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18894 # Compiler flag to allow reflexive dlopens.
18895 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18897 # Compiler flag to generate shared objects directly from archives.
18898 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18900 # Whether the compiler copes with passing no objects directly.
18901 compiler_needs_object=$lt_compiler_needs_object
18903 # Create an old-style archive from a shared archive.
18904 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18906 # Create a temporary old-style archive to link instead of a shared archive.
18907 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18909 # Commands used to build a shared archive.
18910 archive_cmds=$lt_archive_cmds
18911 archive_expsym_cmds=$lt_archive_expsym_cmds
18913 # Commands used to build a loadable module if different from building
18914 # a shared archive.
18915 module_cmds=$lt_module_cmds
18916 module_expsym_cmds=$lt_module_expsym_cmds
18918 # Whether we are building with GNU ld or not.
18919 with_gnu_ld=$lt_with_gnu_ld
18921 # Flag that allows shared libraries with undefined symbols to be built.
18922 allow_undefined_flag=$lt_allow_undefined_flag
18924 # Flag that enforces no undefined symbols.
18925 no_undefined_flag=$lt_no_undefined_flag
18927 # Flag to hardcode \$libdir into a binary during linking.
18928 # This must work even if \$libdir does not exist
18929 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18931 # Whether we need a single "-rpath" flag with a separated argument.
18932 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18934 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18935 # DIR into the resulting binary.
18936 hardcode_direct=$hardcode_direct
18938 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18939 # DIR into the resulting binary and the resulting library dependency is
18940 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18941 # library is relocated.
18942 hardcode_direct_absolute=$hardcode_direct_absolute
18944 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18945 # into the resulting binary.
18946 hardcode_minus_L=$hardcode_minus_L
18948 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18949 # into the resulting binary.
18950 hardcode_shlibpath_var=$hardcode_shlibpath_var
18952 # Set to "yes" if building a shared library automatically hardcodes DIR
18953 # into the library and all subsequent libraries and executables linked
18955 hardcode_automatic=$hardcode_automatic
18957 # Set to yes if linker adds runtime paths of dependent libraries
18958 # to runtime path list.
18959 inherit_rpath=$inherit_rpath
18961 # Whether libtool must link a program against all its dependency libraries.
18962 link_all_deplibs=$link_all_deplibs
18964 # Set to "yes" if exported symbols are required.
18965 always_export_symbols=$always_export_symbols
18967 # The commands to list exported symbols.
18968 export_symbols_cmds=$lt_export_symbols_cmds
18970 # Symbols that should not be listed in the preloaded symbols.
18971 exclude_expsyms=$lt_exclude_expsyms
18973 # Symbols that must always be exported.
18974 include_expsyms=$lt_include_expsyms
18976 # Commands necessary for linking programs (against libraries) with templates.
18977 prelink_cmds=$lt_prelink_cmds
18979 # Commands necessary for finishing linking programs.
18980 postlink_cmds=$lt_postlink_cmds
18982 # Specify filename containing input files.
18983 file_list_spec=$lt_file_list_spec
18985 # How to hardcode a shared library path into an executable.
18986 hardcode_action=$hardcode_action
18988 # The directories searched by this compiler when creating a shared library.
18989 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
18991 # Dependencies to place before and after the objects being linked to
18992 # create a shared library.
18993 predep_objects=$lt_predep_objects
18994 postdep_objects=$lt_postdep_objects
18995 predeps=$lt_predeps
18996 postdeps=$lt_postdeps
18998 # The library search path used internally by the compiler when linking
18999 # a shared library.
19000 compiler_lib_search_path=$lt_compiler_lib_search_path
19002 # ### END LIBTOOL CONFIG
19008 cat <<\_LT_EOF >> "$cfgfile"
19009 # AIX sometimes has problems with the GCC collect2 program. For some
19010 # reason, if we set the COLLECT_NAMES environment variable, the problems
19011 # vanish in a puff of smoke.
19012 if test "X${COLLECT_NAMES+set}" != Xset; then
19014 export COLLECT_NAMES
19021 ltmain="$ac_aux_dir/ltmain.sh"
19024 # We use sed instead of cat because bash on DJGPP gets confused if
19025 # if finds mixed CR/LF and LF-only lines. Since sed operates in
19026 # text mode, it properly converts lines to CR/LF. This bash problem
19027 # is reportedly fixed, but why not run on old versions too?
19028 sed '$q' "$ltmain" >> "$cfgfile" \
19029 || (rm -f "$cfgfile"; exit 1)
19031 if test x"$xsi_shell" = xyes; then
19032 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
19036 \ */*) func_dirname_result="${1%/*}${2}" ;;\
19037 \ * ) func_dirname_result="${3}" ;;\
19039 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
19040 && mv -f "$cfgfile.tmp" "$cfgfile" \
19041 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19042 test 0 -eq $? || _lt_function_replace_fail=:
19045 sed -e '/^func_basename ()$/,/^} # func_basename /c\
19048 \ func_basename_result="${1##*/}"\
19049 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
19050 && mv -f "$cfgfile.tmp" "$cfgfile" \
19051 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19052 test 0 -eq $? || _lt_function_replace_fail=:
19055 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
19056 func_dirname_and_basename ()\
19059 \ */*) func_dirname_result="${1%/*}${2}" ;;\
19060 \ * ) func_dirname_result="${3}" ;;\
19062 \ func_basename_result="${1##*/}"\
19063 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
19064 && mv -f "$cfgfile.tmp" "$cfgfile" \
19065 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19066 test 0 -eq $? || _lt_function_replace_fail=:
19069 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
19072 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
19073 \ # positional parameters, so assign one to ordinary parameter first.\
19074 \ func_stripname_result=${3}\
19075 \ func_stripname_result=${func_stripname_result#"${1}"}\
19076 \ func_stripname_result=${func_stripname_result%"${2}"}\
19077 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
19078 && mv -f "$cfgfile.tmp" "$cfgfile" \
19079 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19080 test 0 -eq $? || _lt_function_replace_fail=:
19083 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
19084 func_split_long_opt ()\
19086 \ func_split_long_opt_name=${1%%=*}\
19087 \ func_split_long_opt_arg=${1#*=}\
19088 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
19089 && mv -f "$cfgfile.tmp" "$cfgfile" \
19090 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19091 test 0 -eq $? || _lt_function_replace_fail=:
19094 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
19095 func_split_short_opt ()\
19097 \ func_split_short_opt_arg=${1#??}\
19098 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
19099 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
19100 && mv -f "$cfgfile.tmp" "$cfgfile" \
19101 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19102 test 0 -eq $? || _lt_function_replace_fail=:
19105 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
19109 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
19110 \ *) func_lo2o_result=${1} ;;\
19112 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
19113 && mv -f "$cfgfile.tmp" "$cfgfile" \
19114 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19115 test 0 -eq $? || _lt_function_replace_fail=:
19118 sed -e '/^func_xform ()$/,/^} # func_xform /c\
19121 func_xform_result=${1%.*}.lo\
19122 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
19123 && mv -f "$cfgfile.tmp" "$cfgfile" \
19124 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19125 test 0 -eq $? || _lt_function_replace_fail=:
19128 sed -e '/^func_arith ()$/,/^} # func_arith /c\
19131 func_arith_result=$(( $* ))\
19132 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
19133 && mv -f "$cfgfile.tmp" "$cfgfile" \
19134 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19135 test 0 -eq $? || _lt_function_replace_fail=:
19138 sed -e '/^func_len ()$/,/^} # func_len /c\
19141 func_len_result=${#1}\
19142 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
19143 && mv -f "$cfgfile.tmp" "$cfgfile" \
19144 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19145 test 0 -eq $? || _lt_function_replace_fail=:
19149 if test x"$lt_shell_append" = xyes; then
19150 sed -e '/^func_append ()$/,/^} # func_append /c\
19153 eval "${1}+=\\${2}"\
19154 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
19155 && mv -f "$cfgfile.tmp" "$cfgfile" \
19156 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19157 test 0 -eq $? || _lt_function_replace_fail=:
19160 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
19161 func_append_quoted ()\
19163 \ func_quote_for_eval "${2}"\
19164 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
19165 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
19166 && mv -f "$cfgfile.tmp" "$cfgfile" \
19167 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19168 test 0 -eq $? || _lt_function_replace_fail=:
19171 # Save a `func_append' function call where possible by direct use of '+='
19172 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
19173 && mv -f "$cfgfile.tmp" "$cfgfile" \
19174 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19175 test 0 -eq $? || _lt_function_replace_fail=:
19177 # Save a `func_append' function call even when '+=' is not available
19178 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
19179 && mv -f "$cfgfile.tmp" "$cfgfile" \
19180 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19181 test 0 -eq $? || _lt_function_replace_fail=:
19184 if test x"$_lt_function_replace_fail" = x":"; then
19185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
19186 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
19190 mv -f "$cfgfile" "$ofile" ||
19191 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19195 cat <<_LT_EOF >> "$ofile"
19197 # ### BEGIN LIBTOOL TAG CONFIG: CXX
19199 # The linker used to build libraries.
19202 # How to create reloadable object files.
19203 reload_flag=$lt_reload_flag_CXX
19204 reload_cmds=$lt_reload_cmds_CXX
19206 # Commands used to build an old-style archive.
19207 old_archive_cmds=$lt_old_archive_cmds_CXX
19209 # A language specific compiler.
19210 CC=$lt_compiler_CXX
19212 # Is the compiler the GNU compiler?
19215 # Compiler flag to turn off builtin functions.
19216 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
19218 # Additional compiler flags for building library objects.
19219 pic_flag=$lt_lt_prog_compiler_pic_CXX
19221 # How to pass a linker flag through the compiler.
19222 wl=$lt_lt_prog_compiler_wl_CXX
19224 # Compiler flag to prevent dynamic linking.
19225 link_static_flag=$lt_lt_prog_compiler_static_CXX
19227 # Does compiler simultaneously support -c and -o options?
19228 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
19230 # Whether or not to add -lc for building shared libraries.
19231 build_libtool_need_lc=$archive_cmds_need_lc_CXX
19233 # Whether or not to disallow shared libs when runtime libs are static.
19234 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
19236 # Compiler flag to allow reflexive dlopens.
19237 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
19239 # Compiler flag to generate shared objects directly from archives.
19240 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
19242 # Whether the compiler copes with passing no objects directly.
19243 compiler_needs_object=$lt_compiler_needs_object_CXX
19245 # Create an old-style archive from a shared archive.
19246 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
19248 # Create a temporary old-style archive to link instead of a shared archive.
19249 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
19251 # Commands used to build a shared archive.
19252 archive_cmds=$lt_archive_cmds_CXX
19253 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
19255 # Commands used to build a loadable module if different from building
19256 # a shared archive.
19257 module_cmds=$lt_module_cmds_CXX
19258 module_expsym_cmds=$lt_module_expsym_cmds_CXX
19260 # Whether we are building with GNU ld or not.
19261 with_gnu_ld=$lt_with_gnu_ld_CXX
19263 # Flag that allows shared libraries with undefined symbols to be built.
19264 allow_undefined_flag=$lt_allow_undefined_flag_CXX
19266 # Flag that enforces no undefined symbols.
19267 no_undefined_flag=$lt_no_undefined_flag_CXX
19269 # Flag to hardcode \$libdir into a binary during linking.
19270 # This must work even if \$libdir does not exist
19271 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
19273 # Whether we need a single "-rpath" flag with a separated argument.
19274 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
19276 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19277 # DIR into the resulting binary.
19278 hardcode_direct=$hardcode_direct_CXX
19280 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19281 # DIR into the resulting binary and the resulting library dependency is
19282 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19283 # library is relocated.
19284 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
19286 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19287 # into the resulting binary.
19288 hardcode_minus_L=$hardcode_minus_L_CXX
19290 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19291 # into the resulting binary.
19292 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
19294 # Set to "yes" if building a shared library automatically hardcodes DIR
19295 # into the library and all subsequent libraries and executables linked
19297 hardcode_automatic=$hardcode_automatic_CXX
19299 # Set to yes if linker adds runtime paths of dependent libraries
19300 # to runtime path list.
19301 inherit_rpath=$inherit_rpath_CXX
19303 # Whether libtool must link a program against all its dependency libraries.
19304 link_all_deplibs=$link_all_deplibs_CXX
19306 # Set to "yes" if exported symbols are required.
19307 always_export_symbols=$always_export_symbols_CXX
19309 # The commands to list exported symbols.
19310 export_symbols_cmds=$lt_export_symbols_cmds_CXX
19312 # Symbols that should not be listed in the preloaded symbols.
19313 exclude_expsyms=$lt_exclude_expsyms_CXX
19315 # Symbols that must always be exported.
19316 include_expsyms=$lt_include_expsyms_CXX
19318 # Commands necessary for linking programs (against libraries) with templates.
19319 prelink_cmds=$lt_prelink_cmds_CXX
19321 # Commands necessary for finishing linking programs.
19322 postlink_cmds=$lt_postlink_cmds_CXX
19324 # Specify filename containing input files.
19325 file_list_spec=$lt_file_list_spec_CXX
19327 # How to hardcode a shared library path into an executable.
19328 hardcode_action=$hardcode_action_CXX
19330 # The directories searched by this compiler when creating a shared library.
19331 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
19333 # Dependencies to place before and after the objects being linked to
19334 # create a shared library.
19335 predep_objects=$lt_predep_objects_CXX
19336 postdep_objects=$lt_postdep_objects_CXX
19337 predeps=$lt_predeps_CXX
19338 postdeps=$lt_postdeps_CXX
19340 # The library search path used internally by the compiler when linking
19341 # a shared library.
19342 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19344 # ### END LIBTOOL TAG CONFIG: CXX
19355 ac_clean_files=$ac_clean_files_save
19357 test $ac_write_fail = 0 ||
19358 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19361 # configure is writing to config.log, and then calls config.status.
19362 # config.status does its own redirection, appending to config.log.
19363 # Unfortunately, on DOS this fails, as config.log is still kept open
19364 # by configure, so config.status won't be able to write to it; its
19365 # output is simply discarded. So we exec the FD to /dev/null,
19366 # effectively closing config.log, so it can be properly (re)opened and
19367 # appended to by config.status. When coming back to configure, we
19368 # need to make the FD available again.
19369 if test "$no_create" != yes; then
19371 ac_config_status_args=
19372 test "$silent" = yes &&
19373 ac_config_status_args="$ac_config_status_args --quiet"
19375 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19377 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19378 # would make configure fail if this is the last instruction.
19379 $ac_cs_success || as_fn_exit 1
19381 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19382 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19383 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}