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.15'
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+set}" != 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 (and possibly the TAP driver). The
2871 # system "awk" is bad on some platforms.
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
2932 # Checks for programs.
2933 # Make sure we can run config.sub.
2934 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2935 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2938 $as_echo_n "checking build system type... " >&6; }
2939 if ${ac_cv_build+:} false; then :
2940 $as_echo_n "(cached) " >&6
2942 ac_build_alias=$build_alias
2943 test "x$ac_build_alias" = x &&
2944 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2945 test "x$ac_build_alias" = x &&
2946 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2947 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2948 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2952 $as_echo "$ac_cv_build" >&6; }
2953 case $ac_cv_build in
2955 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2958 ac_save_IFS=$IFS; IFS='-'
2964 # Remember, the first character of IFS is used to create $*,
2965 # except with old shells:
2968 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2972 $as_echo_n "checking host system type... " >&6; }
2973 if ${ac_cv_host+:} false; then :
2974 $as_echo_n "(cached) " >&6
2976 if test "x$host_alias" = x; then
2977 ac_cv_host=$ac_cv_build
2979 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2980 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2985 $as_echo "$ac_cv_host" >&6; }
2988 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2991 ac_save_IFS=$IFS; IFS='-'
2997 # Remember, the first character of IFS is used to create $*,
2998 # except with old shells:
3001 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3005 openbsd*) openbsd_host=true ;;
3006 *) openbsd_host=false ;;
3008 if test x$openbsd_host = xtrue; then
3010 OPENBSD_HOST_FALSE='#'
3012 OPENBSD_HOST_TRUE='#'
3017 ac_cpp='$CPP $CPPFLAGS'
3018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3021 if test -n "$ac_tool_prefix"; then
3022 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3023 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3025 $as_echo_n "checking for $ac_word... " >&6; }
3026 if ${ac_cv_prog_CC+:} false; then :
3027 $as_echo_n "(cached) " >&6
3029 if test -n "$CC"; then
3030 ac_cv_prog_CC="$CC" # Let the user override the test.
3032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3036 test -z "$as_dir" && as_dir=.
3037 for ac_exec_ext in '' $ac_executable_extensions; do
3038 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3039 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3050 if test -n "$CC"; then
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3052 $as_echo "$CC" >&6; }
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3055 $as_echo "no" >&6; }
3060 if test -z "$ac_cv_prog_CC"; then
3062 # Extract the first word of "gcc", so it can be a program name with args.
3063 set dummy gcc; ac_word=$2
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3065 $as_echo_n "checking for $ac_word... " >&6; }
3066 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3067 $as_echo_n "(cached) " >&6
3069 if test -n "$ac_ct_CC"; then
3070 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3076 test -z "$as_dir" && as_dir=.
3077 for ac_exec_ext in '' $ac_executable_extensions; do
3078 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3079 ac_cv_prog_ac_ct_CC="gcc"
3080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3089 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3090 if test -n "$ac_ct_CC"; then
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3092 $as_echo "$ac_ct_CC" >&6; }
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3095 $as_echo "no" >&6; }
3098 if test "x$ac_ct_CC" = x; then
3101 case $cross_compiling:$ac_tool_warned in
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3104 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3105 ac_tool_warned=yes ;;
3113 if test -z "$CC"; then
3114 if test -n "$ac_tool_prefix"; then
3115 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3116 set dummy ${ac_tool_prefix}cc; ac_word=$2
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3118 $as_echo_n "checking for $ac_word... " >&6; }
3119 if ${ac_cv_prog_CC+:} false; then :
3120 $as_echo_n "(cached) " >&6
3122 if test -n "$CC"; then
3123 ac_cv_prog_CC="$CC" # Let the user override the test.
3125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3129 test -z "$as_dir" && as_dir=.
3130 for ac_exec_ext in '' $ac_executable_extensions; do
3131 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3132 ac_cv_prog_CC="${ac_tool_prefix}cc"
3133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3143 if test -n "$CC"; then
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3145 $as_echo "$CC" >&6; }
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3148 $as_echo "no" >&6; }
3154 if test -z "$CC"; then
3155 # Extract the first word of "cc", so it can be a program name with args.
3156 set dummy cc; ac_word=$2
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3158 $as_echo_n "checking for $ac_word... " >&6; }
3159 if ${ac_cv_prog_CC+:} false; then :
3160 $as_echo_n "(cached) " >&6
3162 if test -n "$CC"; then
3163 ac_cv_prog_CC="$CC" # Let the user override the test.
3166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3170 test -z "$as_dir" && as_dir=.
3171 for ac_exec_ext in '' $ac_executable_extensions; do
3172 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3173 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3174 ac_prog_rejected=yes
3178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3185 if test $ac_prog_rejected = yes; then
3186 # We found a bogon in the path, so make sure we never use it.
3187 set dummy $ac_cv_prog_CC
3189 if test $# != 0; then
3190 # We chose a different compiler from the bogus one.
3191 # However, it has the same basename, so the bogon will be chosen
3192 # first if we set CC to just the basename; use the full file name.
3194 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3200 if test -n "$CC"; then
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3202 $as_echo "$CC" >&6; }
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3205 $as_echo "no" >&6; }
3210 if test -z "$CC"; then
3211 if test -n "$ac_tool_prefix"; then
3212 for ac_prog in cl.exe
3214 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3215 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3217 $as_echo_n "checking for $ac_word... " >&6; }
3218 if ${ac_cv_prog_CC+:} false; then :
3219 $as_echo_n "(cached) " >&6
3221 if test -n "$CC"; then
3222 ac_cv_prog_CC="$CC" # Let the user override the test.
3224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3228 test -z "$as_dir" && as_dir=.
3229 for ac_exec_ext in '' $ac_executable_extensions; do
3230 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3231 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3242 if test -n "$CC"; then
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3244 $as_echo "$CC" >&6; }
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3247 $as_echo "no" >&6; }
3251 test -n "$CC" && break
3254 if test -z "$CC"; then
3256 for ac_prog in cl.exe
3258 # Extract the first word of "$ac_prog", so it can be a program name with args.
3259 set dummy $ac_prog; ac_word=$2
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3261 $as_echo_n "checking for $ac_word... " >&6; }
3262 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3263 $as_echo_n "(cached) " >&6
3265 if test -n "$ac_ct_CC"; then
3266 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3272 test -z "$as_dir" && as_dir=.
3273 for ac_exec_ext in '' $ac_executable_extensions; do
3274 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3275 ac_cv_prog_ac_ct_CC="$ac_prog"
3276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3285 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3286 if test -n "$ac_ct_CC"; then
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3288 $as_echo "$ac_ct_CC" >&6; }
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3291 $as_echo "no" >&6; }
3295 test -n "$ac_ct_CC" && break
3298 if test "x$ac_ct_CC" = x; then
3301 case $cross_compiling:$ac_tool_warned in
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3304 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3305 ac_tool_warned=yes ;;
3314 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3315 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3316 as_fn_error $? "no acceptable C compiler found in \$PATH
3317 See \`config.log' for more details" "$LINENO" 5; }
3319 # Provide some information about the compiler.
3320 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3323 for ac_option in --version -v -V -qversion; do
3324 { { ac_try="$ac_compiler $ac_option >&5"
3326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3327 *) ac_try_echo=$ac_try;;
3329 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3330 $as_echo "$ac_try_echo"; } >&5
3331 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3333 if test -s conftest.err; then
3335 ... rest of stderr output deleted ...
3336 10q' conftest.err >conftest.er1
3337 cat conftest.er1 >&5
3339 rm -f conftest.er1 conftest.err
3340 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3341 test $ac_status = 0; }
3344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3345 /* end confdefs.h. */
3355 ac_clean_files_save=$ac_clean_files
3356 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3357 # Try to create an executable without -o first, disregard a.out.
3358 # It will help us diagnose broken compilers, and finding out an intuition
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3361 $as_echo_n "checking whether the C compiler works... " >&6; }
3362 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3364 # The possible output files:
3365 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3368 for ac_file in $ac_files
3371 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3372 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3377 if { { ac_try="$ac_link_default"
3379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3380 *) ac_try_echo=$ac_try;;
3382 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3383 $as_echo "$ac_try_echo"; } >&5
3384 (eval "$ac_link_default") 2>&5
3386 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3387 test $ac_status = 0; }; then :
3388 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3389 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3390 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3391 # so that the user can short-circuit this test for compilers unknown to
3393 for ac_file in $ac_files ''
3395 test -f "$ac_file" || continue
3397 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3400 # We found the default executable, but exeext='' is most
3404 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3406 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3408 # We set ac_cv_exeext here because the later test for it is not
3409 # safe: cross compilers may not add the suffix if given an `-o'
3410 # argument, so we may need to know it at that point already.
3411 # Even if this section looks crufty: it has the advantage of
3418 test "$ac_cv_exeext" = no && ac_cv_exeext=
3423 if test -z "$ac_file"; then :
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3425 $as_echo "no" >&6; }
3426 $as_echo "$as_me: failed program was:" >&5
3427 sed 's/^/| /' conftest.$ac_ext >&5
3429 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3430 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3431 as_fn_error 77 "C compiler cannot create executables
3432 See \`config.log' for more details" "$LINENO" 5; }
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3435 $as_echo "yes" >&6; }
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3438 $as_echo_n "checking for C compiler default output file name... " >&6; }
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3440 $as_echo "$ac_file" >&6; }
3441 ac_exeext=$ac_cv_exeext
3443 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3444 ac_clean_files=$ac_clean_files_save
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3446 $as_echo_n "checking for suffix of executables... " >&6; }
3447 if { { ac_try="$ac_link"
3449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3450 *) ac_try_echo=$ac_try;;
3452 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3453 $as_echo "$ac_try_echo"; } >&5
3454 (eval "$ac_link") 2>&5
3456 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3457 test $ac_status = 0; }; then :
3458 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3459 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3460 # work properly (i.e., refer to `conftest.exe'), while it won't with
3462 for ac_file in conftest.exe conftest conftest.*; do
3463 test -f "$ac_file" || continue
3465 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3466 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3472 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3473 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3474 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3475 See \`config.log' for more details" "$LINENO" 5; }
3477 rm -f conftest conftest$ac_cv_exeext
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3479 $as_echo "$ac_cv_exeext" >&6; }
3481 rm -f conftest.$ac_ext
3482 EXEEXT=$ac_cv_exeext
3484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3485 /* end confdefs.h. */
3490 FILE *f = fopen ("conftest.out", "w");
3491 return ferror (f) || fclose (f) != 0;
3497 ac_clean_files="$ac_clean_files conftest.out"
3498 # Check that the compiler produces executables we can run. If not, either
3499 # the compiler is broken, or we cross compile.
3500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3501 $as_echo_n "checking whether we are cross compiling... " >&6; }
3502 if test "$cross_compiling" != yes; then
3503 { { ac_try="$ac_link"
3505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3506 *) ac_try_echo=$ac_try;;
3508 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3509 $as_echo "$ac_try_echo"; } >&5
3510 (eval "$ac_link") 2>&5
3512 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3513 test $ac_status = 0; }
3514 if { ac_try='./conftest$ac_cv_exeext'
3515 { { case "(($ac_try" in
3516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3517 *) ac_try_echo=$ac_try;;
3519 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3520 $as_echo "$ac_try_echo"; } >&5
3521 (eval "$ac_try") 2>&5
3523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3524 test $ac_status = 0; }; }; then
3527 if test "$cross_compiling" = maybe; then
3530 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3531 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3532 as_fn_error $? "cannot run C compiled programs.
3533 If you meant to cross compile, use \`--host'.
3534 See \`config.log' for more details" "$LINENO" 5; }
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3539 $as_echo "$cross_compiling" >&6; }
3541 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3542 ac_clean_files=$ac_clean_files_save
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3544 $as_echo_n "checking for suffix of object files... " >&6; }
3545 if ${ac_cv_objext+:} false; then :
3546 $as_echo_n "(cached) " >&6
3548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3549 /* end confdefs.h. */
3559 rm -f conftest.o conftest.obj
3560 if { { ac_try="$ac_compile"
3562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3563 *) ac_try_echo=$ac_try;;
3565 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3566 $as_echo "$ac_try_echo"; } >&5
3567 (eval "$ac_compile") 2>&5
3569 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3570 test $ac_status = 0; }; then :
3571 for ac_file in conftest.o conftest.obj conftest.*; do
3572 test -f "$ac_file" || continue;
3574 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3575 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3580 $as_echo "$as_me: failed program was:" >&5
3581 sed 's/^/| /' conftest.$ac_ext >&5
3583 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3584 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3585 as_fn_error $? "cannot compute suffix of object files: cannot compile
3586 See \`config.log' for more details" "$LINENO" 5; }
3588 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3591 $as_echo "$ac_cv_objext" >&6; }
3592 OBJEXT=$ac_cv_objext
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3595 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3596 if ${ac_cv_c_compiler_gnu+:} false; then :
3597 $as_echo_n "(cached) " >&6
3599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3600 /* end confdefs.h. */
3613 if ac_fn_c_try_compile "$LINENO"; then :
3618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3619 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3623 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3624 if test $ac_compiler_gnu = yes; then
3629 ac_test_CFLAGS=${CFLAGS+set}
3630 ac_save_CFLAGS=$CFLAGS
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3632 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3633 if ${ac_cv_prog_cc_g+:} false; then :
3634 $as_echo_n "(cached) " >&6
3636 ac_save_c_werror_flag=$ac_c_werror_flag
3637 ac_c_werror_flag=yes
3640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3641 /* end confdefs.h. */
3651 if ac_fn_c_try_compile "$LINENO"; then :
3655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3656 /* end confdefs.h. */
3666 if ac_fn_c_try_compile "$LINENO"; then :
3669 ac_c_werror_flag=$ac_save_c_werror_flag
3671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3672 /* end confdefs.h. */
3682 if ac_fn_c_try_compile "$LINENO"; then :
3685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3690 ac_c_werror_flag=$ac_save_c_werror_flag
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3693 $as_echo "$ac_cv_prog_cc_g" >&6; }
3694 if test "$ac_test_CFLAGS" = set; then
3695 CFLAGS=$ac_save_CFLAGS
3696 elif test $ac_cv_prog_cc_g = yes; then
3697 if test "$GCC" = yes; then
3703 if test "$GCC" = yes; then
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3710 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3711 if ${ac_cv_prog_cc_c89+:} false; then :
3712 $as_echo_n "(cached) " >&6
3714 ac_cv_prog_cc_c89=no
3716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3717 /* end confdefs.h. */
3721 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3722 struct buf { int x; };
3723 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3724 static char *e (p, i)
3730 static char *f (char * (*g) (char **, int), char **p, ...)
3735 s = g (p, va_arg (v,int));
3740 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3741 function prototypes and stuff, but not '\xHH' hex character constants.
3742 These don't provoke an error unfortunately, instead are silently treated
3743 as 'x'. The following induces an error, until -std is added to get
3744 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3745 array size at least. It's necessary to write '\x00'==0 to get something
3746 that's true only with -std. */
3747 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3749 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3750 inside strings and character constants. */
3752 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3754 int test (int i, double x);
3755 struct s1 {int (*f) (int a);};
3756 struct s2 {int (*f) (double a);};
3757 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3763 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3768 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3769 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3771 CC="$ac_save_CC $ac_arg"
3772 if ac_fn_c_try_compile "$LINENO"; then :
3773 ac_cv_prog_cc_c89=$ac_arg
3775 rm -f core conftest.err conftest.$ac_objext
3776 test "x$ac_cv_prog_cc_c89" != "xno" && break
3778 rm -f conftest.$ac_ext
3783 case "x$ac_cv_prog_cc_c89" in
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3786 $as_echo "none needed" >&6; } ;;
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3789 $as_echo "unsupported" >&6; } ;;
3791 CC="$CC $ac_cv_prog_cc_c89"
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3793 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3795 if test "x$ac_cv_prog_cc_c89" != xno; then :
3800 ac_cpp='$CPP $CPPFLAGS'
3801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3806 ac_cpp='$CPP $CPPFLAGS'
3807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3811 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3812 if ${am_cv_prog_cc_c_o+:} false; then :
3813 $as_echo_n "(cached) " >&6
3815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3816 /* end confdefs.h. */
3826 # Make sure it works both with $CC and with simple cc.
3827 # Following AC_PROG_CC_C_O, we do the test twice because some
3828 # compilers refuse to overwrite an existing .o file with -o,
3829 # though they will create one.
3830 am_cv_prog_cc_c_o=yes
3832 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3833 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3836 (exit $ac_status); } \
3837 && test -f conftest2.$ac_objext; then
3840 am_cv_prog_cc_c_o=no
3844 rm -f core conftest*
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3848 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3849 if test "$am_cv_prog_cc_c_o" != yes; then
3850 # Losing compiler, so override with the script.
3851 # FIXME: It is wrong to rewrite CC.
3852 # But if we don't then we get into trouble of one sort or another.
3853 # A longer-term fix would be to have automake use am__CC in this case,
3854 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3855 CC="$am_aux_dir/compile $CC"
3858 ac_cpp='$CPP $CPPFLAGS'
3859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3863 DEPDIR="${am__leading_dot}deps"
3865 ac_config_commands="$ac_config_commands depfiles"
3868 am_make=${MAKE-make}
3869 cat > confinc << 'END'
3871 @echo this is the am__doit target
3874 # If we don't find an include directive, just comment out the code.
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3876 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3880 # First try GNU make style include.
3881 echo "include confinc" > confmf
3882 # Ignore all kinds of additional output from 'make'.
3883 case `$am_make -s -f confmf 2> /dev/null` in #(
3884 *the\ am__doit\ target*)
3890 # Now try BSD make style include.
3891 if test "$am__include" = "#"; then
3892 echo '.include "confinc"' > confmf
3893 case `$am_make -s -f confmf 2> /dev/null` in #(
3894 *the\ am__doit\ target*)
3895 am__include=.include
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3904 $as_echo "$_am_result" >&6; }
3905 rm -f confinc confmf
3907 # Check whether --enable-dependency-tracking was given.
3908 if test "${enable_dependency_tracking+set}" = set; then :
3909 enableval=$enable_dependency_tracking;
3912 if test "x$enable_dependency_tracking" != xno; then
3913 am_depcomp="$ac_aux_dir/depcomp"
3917 if test "x$enable_dependency_tracking" != xno; then
3927 depcc="$CC" am_compiler_list=
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3930 $as_echo_n "checking dependency style of $depcc... " >&6; }
3931 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3932 $as_echo_n "(cached) " >&6
3934 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3935 # We make a subdir and do the tests there. Otherwise we can end up
3936 # making bogus files that we don't know about and never remove. For
3937 # instance it was reported that on HP-UX the gcc test will end up
3938 # making a dummy file named 'D' -- because '-MD' means "put the output
3942 # Copy depcomp to subdir because otherwise we won't find it if we're
3943 # using a relative directory.
3944 cp "$am_depcomp" conftest.dir
3946 # We will build objects and dependencies in a subdirectory because
3947 # it helps to detect inapplicable dependency modes. For instance
3948 # both Tru64's cc and ICC support -MD to output dependencies as a
3949 # side effect of compilation, but ICC will put the dependencies in
3950 # the current directory while Tru64 will put them in the object
3954 am_cv_CC_dependencies_compiler_type=none
3955 if test "$am_compiler_list" = ""; then
3956 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3959 case " $depcc " in #(
3960 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3963 for depmode in $am_compiler_list; do
3964 # Setup a source with many dependencies, because some compilers
3965 # like to wrap large dependency lists on column 80 (with \), and
3966 # we should not choose a depcomp mode which is confused by this.
3968 # We need to recreate these files for each test, as the compiler may
3969 # overwrite some of them when testing with obscure command lines.
3970 # This happens at least with the AIX C compiler.
3972 for i in 1 2 3 4 5 6; do
3973 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3974 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3975 # Solaris 10 /bin/sh.
3976 echo '/* dummy */' > sub/conftst$i.h
3978 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3980 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3981 # mode. It turns out that the SunPro C++ compiler does not properly
3982 # handle '-M -o', and we need to detect this. Also, some Intel
3983 # versions had trouble with output in subdirs.
3984 am__obj=sub/conftest.${OBJEXT-o}
3985 am__minus_obj="-o $am__obj"
3988 # This depmode causes a compiler race in universal mode.
3989 test "$am__universal" = false || continue
3992 # After this tag, mechanisms are not by side-effect, so they'll
3993 # only be used when explicitly requested.
3994 if test "x$enable_dependency_tracking" = xyes; then
4000 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4001 # This compiler won't grok '-c -o', but also, the minuso test has
4002 # not run yet. These depmodes are late enough in the game, and
4003 # so weak that their functioning should not be impacted.
4004 am__obj=conftest.${OBJEXT-o}
4009 if depmode=$depmode \
4010 source=sub/conftest.c object=$am__obj \
4011 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4012 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4013 >/dev/null 2>conftest.err &&
4014 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4015 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4016 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4017 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4018 # icc doesn't choke on unknown options, it will just issue warnings
4019 # or remarks (even with -Werror). So we grep stderr for any message
4020 # that says an option was ignored or not supported.
4021 # When given -MP, icc 7.0 and 7.1 complain thusly:
4022 # icc: Command line warning: ignoring option '-M'; no argument required
4023 # The diagnosis changed in icc 8.0:
4024 # icc: Command line remark: option '-MP' not supported
4025 if (grep 'ignoring option' conftest.err ||
4026 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4027 am_cv_CC_dependencies_compiler_type=$depmode
4036 am_cv_CC_dependencies_compiler_type=none
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4041 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4042 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4045 test "x$enable_dependency_tracking" != xno \
4046 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4048 am__fastdepCC_FALSE='#'
4050 am__fastdepCC_TRUE='#'
4051 am__fastdepCC_FALSE=
4056 ac_cpp='$CXXCPP $CPPFLAGS'
4057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4060 if test -z "$CXX"; then
4061 if test -n "$CCC"; then
4064 if test -n "$ac_tool_prefix"; then
4065 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4067 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4068 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4070 $as_echo_n "checking for $ac_word... " >&6; }
4071 if ${ac_cv_prog_CXX+:} false; then :
4072 $as_echo_n "(cached) " >&6
4074 if test -n "$CXX"; then
4075 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4081 test -z "$as_dir" && as_dir=.
4082 for ac_exec_ext in '' $ac_executable_extensions; do
4083 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4084 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4095 if test -n "$CXX"; then
4096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4097 $as_echo "$CXX" >&6; }
4099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4100 $as_echo "no" >&6; }
4104 test -n "$CXX" && break
4107 if test -z "$CXX"; then
4109 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4111 # Extract the first word of "$ac_prog", so it can be a program name with args.
4112 set dummy $ac_prog; ac_word=$2
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4114 $as_echo_n "checking for $ac_word... " >&6; }
4115 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4116 $as_echo_n "(cached) " >&6
4118 if test -n "$ac_ct_CXX"; then
4119 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4125 test -z "$as_dir" && as_dir=.
4126 for ac_exec_ext in '' $ac_executable_extensions; do
4127 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4128 ac_cv_prog_ac_ct_CXX="$ac_prog"
4129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4138 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4139 if test -n "$ac_ct_CXX"; then
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4141 $as_echo "$ac_ct_CXX" >&6; }
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4144 $as_echo "no" >&6; }
4148 test -n "$ac_ct_CXX" && break
4151 if test "x$ac_ct_CXX" = x; then
4154 case $cross_compiling:$ac_tool_warned in
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4157 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4158 ac_tool_warned=yes ;;
4166 # Provide some information about the compiler.
4167 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4170 for ac_option in --version -v -V -qversion; do
4171 { { ac_try="$ac_compiler $ac_option >&5"
4173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4174 *) ac_try_echo=$ac_try;;
4176 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4177 $as_echo "$ac_try_echo"; } >&5
4178 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4180 if test -s conftest.err; then
4182 ... rest of stderr output deleted ...
4183 10q' conftest.err >conftest.er1
4184 cat conftest.er1 >&5
4186 rm -f conftest.er1 conftest.err
4187 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4188 test $ac_status = 0; }
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4192 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4193 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4194 $as_echo_n "(cached) " >&6
4196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4197 /* end confdefs.h. */
4210 if ac_fn_cxx_try_compile "$LINENO"; then :
4215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4216 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4220 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4221 if test $ac_compiler_gnu = yes; then
4226 ac_test_CXXFLAGS=${CXXFLAGS+set}
4227 ac_save_CXXFLAGS=$CXXFLAGS
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4229 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4230 if ${ac_cv_prog_cxx_g+:} false; then :
4231 $as_echo_n "(cached) " >&6
4233 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4234 ac_cxx_werror_flag=yes
4237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4238 /* end confdefs.h. */
4248 if ac_fn_cxx_try_compile "$LINENO"; then :
4249 ac_cv_prog_cxx_g=yes
4252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4253 /* end confdefs.h. */
4263 if ac_fn_cxx_try_compile "$LINENO"; then :
4266 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4269 /* end confdefs.h. */
4279 if ac_fn_cxx_try_compile "$LINENO"; then :
4280 ac_cv_prog_cxx_g=yes
4282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4287 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4290 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4291 if test "$ac_test_CXXFLAGS" = set; then
4292 CXXFLAGS=$ac_save_CXXFLAGS
4293 elif test $ac_cv_prog_cxx_g = yes; then
4294 if test "$GXX" = yes; then
4300 if test "$GXX" = yes; then
4307 ac_cpp='$CPP $CPPFLAGS'
4308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4312 depcc="$CXX" am_compiler_list=
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4315 $as_echo_n "checking dependency style of $depcc... " >&6; }
4316 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
4317 $as_echo_n "(cached) " >&6
4319 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4320 # We make a subdir and do the tests there. Otherwise we can end up
4321 # making bogus files that we don't know about and never remove. For
4322 # instance it was reported that on HP-UX the gcc test will end up
4323 # making a dummy file named 'D' -- because '-MD' means "put the output
4327 # Copy depcomp to subdir because otherwise we won't find it if we're
4328 # using a relative directory.
4329 cp "$am_depcomp" conftest.dir
4331 # We will build objects and dependencies in a subdirectory because
4332 # it helps to detect inapplicable dependency modes. For instance
4333 # both Tru64's cc and ICC support -MD to output dependencies as a
4334 # side effect of compilation, but ICC will put the dependencies in
4335 # the current directory while Tru64 will put them in the object
4339 am_cv_CXX_dependencies_compiler_type=none
4340 if test "$am_compiler_list" = ""; then
4341 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4344 case " $depcc " in #(
4345 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4348 for depmode in $am_compiler_list; do
4349 # Setup a source with many dependencies, because some compilers
4350 # like to wrap large dependency lists on column 80 (with \), and
4351 # we should not choose a depcomp mode which is confused by this.
4353 # We need to recreate these files for each test, as the compiler may
4354 # overwrite some of them when testing with obscure command lines.
4355 # This happens at least with the AIX C compiler.
4357 for i in 1 2 3 4 5 6; do
4358 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4359 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4360 # Solaris 10 /bin/sh.
4361 echo '/* dummy */' > sub/conftst$i.h
4363 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4365 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4366 # mode. It turns out that the SunPro C++ compiler does not properly
4367 # handle '-M -o', and we need to detect this. Also, some Intel
4368 # versions had trouble with output in subdirs.
4369 am__obj=sub/conftest.${OBJEXT-o}
4370 am__minus_obj="-o $am__obj"
4373 # This depmode causes a compiler race in universal mode.
4374 test "$am__universal" = false || continue
4377 # After this tag, mechanisms are not by side-effect, so they'll
4378 # only be used when explicitly requested.
4379 if test "x$enable_dependency_tracking" = xyes; then
4385 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4386 # This compiler won't grok '-c -o', but also, the minuso test has
4387 # not run yet. These depmodes are late enough in the game, and
4388 # so weak that their functioning should not be impacted.
4389 am__obj=conftest.${OBJEXT-o}
4394 if depmode=$depmode \
4395 source=sub/conftest.c object=$am__obj \
4396 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4397 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4398 >/dev/null 2>conftest.err &&
4399 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4400 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4401 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4402 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4403 # icc doesn't choke on unknown options, it will just issue warnings
4404 # or remarks (even with -Werror). So we grep stderr for any message
4405 # that says an option was ignored or not supported.
4406 # When given -MP, icc 7.0 and 7.1 complain thusly:
4407 # icc: Command line warning: ignoring option '-M'; no argument required
4408 # The diagnosis changed in icc 8.0:
4409 # icc: Command line remark: option '-MP' not supported
4410 if (grep 'ignoring option' conftest.err ||
4411 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4412 am_cv_CXX_dependencies_compiler_type=$depmode
4421 am_cv_CXX_dependencies_compiler_type=none
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4426 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4427 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4430 test "x$enable_dependency_tracking" != xno \
4431 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4432 am__fastdepCXX_TRUE=
4433 am__fastdepCXX_FALSE='#'
4435 am__fastdepCXX_TRUE='#'
4436 am__fastdepCXX_FALSE=
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4443 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4448 macro_version='2.4.2'
4449 macro_revision='1.3337'
4463 ltmain="$ac_aux_dir/ltmain.sh"
4465 # Backslashify metacharacters that are still active within
4466 # double-quoted strings.
4467 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4469 # Same as above, but do not quote variable references.
4470 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4472 # Sed substitution to delay expansion of an escaped shell variable in a
4473 # double_quote_subst'ed string.
4474 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4476 # Sed substitution to delay expansion of an escaped single quote.
4477 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4479 # Sed substitution to avoid accidental globbing in evaled expressions
4480 no_glob_subst='s/\*/\\\*/g'
4482 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4483 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4484 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4487 $as_echo_n "checking how to print strings... " >&6; }
4488 # Test print first, because it will be a builtin if present.
4489 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4490 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4492 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4495 # Use this function as a fallback that always works.
4496 func_fallback_echo ()
4498 eval 'cat <<_LTECHO_EOF
4502 ECHO='func_fallback_echo'
4505 # func_echo_all arg...
4506 # Invoke $ECHO with all args, space-separated.
4513 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4514 $as_echo "printf" >&6; } ;;
4515 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4516 $as_echo "print -r" >&6; } ;;
4517 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4518 $as_echo "cat" >&6; } ;;
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4535 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4536 if ${ac_cv_path_SED+:} false; then :
4537 $as_echo_n "(cached) " >&6
4539 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4540 for ac_i in 1 2 3 4 5 6 7; do
4541 ac_script="$ac_script$as_nl$ac_script"
4543 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4544 { ac_script=; unset ac_script;}
4545 if test -z "$SED"; then
4546 ac_path_SED_found=false
4547 # Loop through the user's path and test for each of PROGNAME-LIST
4548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4552 test -z "$as_dir" && as_dir=.
4553 for ac_prog in sed gsed; do
4554 for ac_exec_ext in '' $ac_executable_extensions; do
4555 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4556 as_fn_executable_p "$ac_path_SED" || continue
4557 # Check for GNU ac_path_SED and select it if it is found.
4558 # Check for GNU $ac_path_SED
4559 case `"$ac_path_SED" --version 2>&1` in
4561 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4564 $as_echo_n 0123456789 >"conftest.in"
4567 cat "conftest.in" "conftest.in" >"conftest.tmp"
4568 mv "conftest.tmp" "conftest.in"
4569 cp "conftest.in" "conftest.nl"
4570 $as_echo '' >> "conftest.nl"
4571 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4572 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4573 as_fn_arith $ac_count + 1 && ac_count=$as_val
4574 if test $ac_count -gt ${ac_path_SED_max-0}; then
4575 # Best one so far, save it but keep looking for a better one
4576 ac_cv_path_SED="$ac_path_SED"
4577 ac_path_SED_max=$ac_count
4579 # 10*(2^10) chars as input seems more than enough
4580 test $ac_count -gt 10 && break
4582 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4585 $ac_path_SED_found && break 3
4590 if test -z "$ac_cv_path_SED"; then
4591 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4599 $as_echo "$ac_cv_path_SED" >&6; }
4600 SED="$ac_cv_path_SED"
4603 test -z "$SED" && SED=sed
4604 Xsed="$SED -e 1s/^X//"
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4617 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4618 if ${ac_cv_path_GREP+:} false; then :
4619 $as_echo_n "(cached) " >&6
4621 if test -z "$GREP"; then
4622 ac_path_GREP_found=false
4623 # Loop through the user's path and test for each of PROGNAME-LIST
4624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4625 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4628 test -z "$as_dir" && as_dir=.
4629 for ac_prog in grep ggrep; do
4630 for ac_exec_ext in '' $ac_executable_extensions; do
4631 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4632 as_fn_executable_p "$ac_path_GREP" || continue
4633 # Check for GNU ac_path_GREP and select it if it is found.
4634 # Check for GNU $ac_path_GREP
4635 case `"$ac_path_GREP" --version 2>&1` in
4637 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4640 $as_echo_n 0123456789 >"conftest.in"
4643 cat "conftest.in" "conftest.in" >"conftest.tmp"
4644 mv "conftest.tmp" "conftest.in"
4645 cp "conftest.in" "conftest.nl"
4646 $as_echo 'GREP' >> "conftest.nl"
4647 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4648 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4649 as_fn_arith $ac_count + 1 && ac_count=$as_val
4650 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4651 # Best one so far, save it but keep looking for a better one
4652 ac_cv_path_GREP="$ac_path_GREP"
4653 ac_path_GREP_max=$ac_count
4655 # 10*(2^10) chars as input seems more than enough
4656 test $ac_count -gt 10 && break
4658 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4661 $ac_path_GREP_found && break 3
4666 if test -z "$ac_cv_path_GREP"; then
4667 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4670 ac_cv_path_GREP=$GREP
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4675 $as_echo "$ac_cv_path_GREP" >&6; }
4676 GREP="$ac_cv_path_GREP"
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4680 $as_echo_n "checking for egrep... " >&6; }
4681 if ${ac_cv_path_EGREP+:} false; then :
4682 $as_echo_n "(cached) " >&6
4684 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4685 then ac_cv_path_EGREP="$GREP -E"
4687 if test -z "$EGREP"; then
4688 ac_path_EGREP_found=false
4689 # Loop through the user's path and test for each of PROGNAME-LIST
4690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4691 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4694 test -z "$as_dir" && as_dir=.
4695 for ac_prog in egrep; do
4696 for ac_exec_ext in '' $ac_executable_extensions; do
4697 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4698 as_fn_executable_p "$ac_path_EGREP" || continue
4699 # Check for GNU ac_path_EGREP and select it if it is found.
4700 # Check for GNU $ac_path_EGREP
4701 case `"$ac_path_EGREP" --version 2>&1` in
4703 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4706 $as_echo_n 0123456789 >"conftest.in"
4709 cat "conftest.in" "conftest.in" >"conftest.tmp"
4710 mv "conftest.tmp" "conftest.in"
4711 cp "conftest.in" "conftest.nl"
4712 $as_echo 'EGREP' >> "conftest.nl"
4713 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4714 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4715 as_fn_arith $ac_count + 1 && ac_count=$as_val
4716 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4717 # Best one so far, save it but keep looking for a better one
4718 ac_cv_path_EGREP="$ac_path_EGREP"
4719 ac_path_EGREP_max=$ac_count
4721 # 10*(2^10) chars as input seems more than enough
4722 test $ac_count -gt 10 && break
4724 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4727 $ac_path_EGREP_found && break 3
4732 if test -z "$ac_cv_path_EGREP"; then
4733 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4736 ac_cv_path_EGREP=$EGREP
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4742 $as_echo "$ac_cv_path_EGREP" >&6; }
4743 EGREP="$ac_cv_path_EGREP"
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4747 $as_echo_n "checking for fgrep... " >&6; }
4748 if ${ac_cv_path_FGREP+:} false; then :
4749 $as_echo_n "(cached) " >&6
4751 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4752 then ac_cv_path_FGREP="$GREP -F"
4754 if test -z "$FGREP"; then
4755 ac_path_FGREP_found=false
4756 # Loop through the user's path and test for each of PROGNAME-LIST
4757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4758 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4761 test -z "$as_dir" && as_dir=.
4762 for ac_prog in fgrep; do
4763 for ac_exec_ext in '' $ac_executable_extensions; do
4764 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4765 as_fn_executable_p "$ac_path_FGREP" || continue
4766 # Check for GNU ac_path_FGREP and select it if it is found.
4767 # Check for GNU $ac_path_FGREP
4768 case `"$ac_path_FGREP" --version 2>&1` in
4770 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4773 $as_echo_n 0123456789 >"conftest.in"
4776 cat "conftest.in" "conftest.in" >"conftest.tmp"
4777 mv "conftest.tmp" "conftest.in"
4778 cp "conftest.in" "conftest.nl"
4779 $as_echo 'FGREP' >> "conftest.nl"
4780 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4781 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4782 as_fn_arith $ac_count + 1 && ac_count=$as_val
4783 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4784 # Best one so far, save it but keep looking for a better one
4785 ac_cv_path_FGREP="$ac_path_FGREP"
4786 ac_path_FGREP_max=$ac_count
4788 # 10*(2^10) chars as input seems more than enough
4789 test $ac_count -gt 10 && break
4791 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4794 $ac_path_FGREP_found && break 3
4799 if test -z "$ac_cv_path_FGREP"; then
4800 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4803 ac_cv_path_FGREP=$FGREP
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4809 $as_echo "$ac_cv_path_FGREP" >&6; }
4810 FGREP="$ac_cv_path_FGREP"
4813 test -z "$GREP" && GREP=grep
4833 # Check whether --with-gnu-ld was given.
4834 if test "${with_gnu_ld+set}" = set; then :
4835 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4841 if test "$GCC" = yes; then
4842 # Check if gcc -print-prog-name=ld gives a path.
4843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4844 $as_echo_n "checking for ld used by $CC... " >&6; }
4847 # gcc leaves a trailing carriage return which upsets mingw
4848 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4850 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4853 # Accept absolute paths.
4855 re_direlt='/[^/][^/]*/\.\./'
4856 # Canonicalize the pathname of ld
4857 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4858 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4859 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4861 test -z "$LD" && LD="$ac_prog"
4864 # If it fails, then pretend we aren't using GCC.
4868 # If it is relative, then search for the first ld in PATH.
4872 elif test "$with_gnu_ld" = yes; then
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4874 $as_echo_n "checking for GNU ld... " >&6; }
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4877 $as_echo_n "checking for non-GNU ld... " >&6; }
4879 if ${lt_cv_path_LD+:} false; then :
4880 $as_echo_n "(cached) " >&6
4882 if test -z "$LD"; then
4883 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4884 for ac_dir in $PATH; do
4886 test -z "$ac_dir" && ac_dir=.
4887 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4888 lt_cv_path_LD="$ac_dir/$ac_prog"
4889 # Check to see if the program is GNU ld. I'd rather use --version,
4890 # but apparently some variants of GNU ld only accept -v.
4891 # Break only if it was the GNU/non-GNU ld that we prefer.
4892 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4893 *GNU* | *'with BFD'*)
4894 test "$with_gnu_ld" != no && break
4897 test "$with_gnu_ld" != yes && break
4904 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4909 if test -n "$LD"; then
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4911 $as_echo "$LD" >&6; }
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4914 $as_echo "no" >&6; }
4916 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4918 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4919 if ${lt_cv_prog_gnu_ld+:} false; then :
4920 $as_echo_n "(cached) " >&6
4922 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4923 case `$LD -v 2>&1 </dev/null` in
4924 *GNU* | *'with BFD'*)
4925 lt_cv_prog_gnu_ld=yes
4928 lt_cv_prog_gnu_ld=no
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4933 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4934 with_gnu_ld=$lt_cv_prog_gnu_ld
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4945 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4946 if ${lt_cv_path_NM+:} false; then :
4947 $as_echo_n "(cached) " >&6
4949 if test -n "$NM"; then
4950 # Let the user override the test.
4953 lt_nm_to_check="${ac_tool_prefix}nm"
4954 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4955 lt_nm_to_check="$lt_nm_to_check nm"
4957 for lt_tmp_nm in $lt_nm_to_check; do
4958 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4959 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4961 test -z "$ac_dir" && ac_dir=.
4962 tmp_nm="$ac_dir/$lt_tmp_nm"
4963 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4964 # Check to see if the nm accepts a BSD-compat flag.
4965 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4966 # nm: unknown option "B" ignored
4967 # Tru64's nm complains that /dev/null is an invalid object file
4968 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4969 */dev/null* | *'Invalid file or object type'*)
4970 lt_cv_path_NM="$tmp_nm -B"
4974 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4976 lt_cv_path_NM="$tmp_nm -p"
4980 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4981 continue # so that we can try to find one that supports BSD flags
4990 : ${lt_cv_path_NM=no}
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4994 $as_echo "$lt_cv_path_NM" >&6; }
4995 if test "$lt_cv_path_NM" != "no"; then
4998 # Didn't find any BSD compatible name lister, look for dumpbin.
4999 if test -n "$DUMPBIN"; then :
5000 # Let the user override the test.
5002 if test -n "$ac_tool_prefix"; then
5003 for ac_prog in dumpbin "link -dump"
5005 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5006 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5008 $as_echo_n "checking for $ac_word... " >&6; }
5009 if ${ac_cv_prog_DUMPBIN+:} false; then :
5010 $as_echo_n "(cached) " >&6
5012 if test -n "$DUMPBIN"; then
5013 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5019 test -z "$as_dir" && as_dir=.
5020 for ac_exec_ext in '' $ac_executable_extensions; do
5021 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5022 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5032 DUMPBIN=$ac_cv_prog_DUMPBIN
5033 if test -n "$DUMPBIN"; then
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5035 $as_echo "$DUMPBIN" >&6; }
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5038 $as_echo "no" >&6; }
5042 test -n "$DUMPBIN" && break
5045 if test -z "$DUMPBIN"; then
5046 ac_ct_DUMPBIN=$DUMPBIN
5047 for ac_prog in dumpbin "link -dump"
5049 # Extract the first word of "$ac_prog", so it can be a program name with args.
5050 set dummy $ac_prog; ac_word=$2
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5052 $as_echo_n "checking for $ac_word... " >&6; }
5053 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5054 $as_echo_n "(cached) " >&6
5056 if test -n "$ac_ct_DUMPBIN"; then
5057 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5063 test -z "$as_dir" && as_dir=.
5064 for ac_exec_ext in '' $ac_executable_extensions; do
5065 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5066 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5076 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5077 if test -n "$ac_ct_DUMPBIN"; then
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5079 $as_echo "$ac_ct_DUMPBIN" >&6; }
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5082 $as_echo "no" >&6; }
5086 test -n "$ac_ct_DUMPBIN" && break
5089 if test "x$ac_ct_DUMPBIN" = x; then
5092 case $cross_compiling:$ac_tool_warned in
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5095 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5096 ac_tool_warned=yes ;;
5098 DUMPBIN=$ac_ct_DUMPBIN
5102 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5104 DUMPBIN="$DUMPBIN -symbols"
5112 if test "$DUMPBIN" != ":"; then
5116 test -z "$NM" && NM=nm
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5124 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5125 if ${lt_cv_nm_interface+:} false; then :
5126 $as_echo_n "(cached) " >&6
5128 lt_cv_nm_interface="BSD nm"
5129 echo "int some_variable = 0;" > conftest.$ac_ext
5130 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5131 (eval "$ac_compile" 2>conftest.err)
5132 cat conftest.err >&5
5133 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5134 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5135 cat conftest.err >&5
5136 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5137 cat conftest.out >&5
5138 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5139 lt_cv_nm_interface="MS dumpbin"
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5144 $as_echo "$lt_cv_nm_interface" >&6; }
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5147 $as_echo_n "checking whether ln -s works... " >&6; }
5149 if test "$LN_S" = "ln -s"; then
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5151 $as_echo "yes" >&6; }
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5154 $as_echo "no, using $LN_S" >&6; }
5157 # find the maximum length of command line arguments
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5159 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5160 if ${lt_cv_sys_max_cmd_len+:} false; then :
5161 $as_echo_n "(cached) " >&6
5168 # On DJGPP, this test can blow up pretty badly due to problems in libc
5169 # (any single argument exceeding 2000 bytes causes a buffer overrun
5170 # during glob expansion). Even if it were fixed, the result of this
5171 # check would be larger than it should be.
5172 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5176 # Under GNU Hurd, this test is not required because there is
5177 # no limit to the length of command line arguments.
5178 # Libtool will interpret -1 as no limit whatsoever
5179 lt_cv_sys_max_cmd_len=-1;
5182 cygwin* | mingw* | cegcc*)
5183 # On Win9x/ME, this test blows up -- it succeeds, but takes
5184 # about 5 minutes as the teststring grows exponentially.
5185 # Worse, since 9x/ME are not pre-emptively multitasking,
5186 # you end up with a "frozen" computer, even though with patience
5187 # the test eventually succeeds (with a max line length of 256k).
5188 # Instead, let's just punt: use the minimum linelength reported by
5189 # all of the supported platforms: 8192 (on NT/2K/XP).
5190 lt_cv_sys_max_cmd_len=8192;
5194 # On MiNT this can take a long time and run out of memory.
5195 lt_cv_sys_max_cmd_len=8192;
5199 # On AmigaOS with pdksh, this test takes hours, literally.
5200 # So we just punt and use a minimum line length of 8192.
5201 lt_cv_sys_max_cmd_len=8192;
5204 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5205 # This has been around since 386BSD, at least. Likely further.
5206 if test -x /sbin/sysctl; then
5207 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5208 elif test -x /usr/sbin/sysctl; then
5209 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5211 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5213 # And add a safety zone
5214 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5215 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5219 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5220 lt_cv_sys_max_cmd_len=196608
5224 # The test takes a long time on OS/2.
5225 lt_cv_sys_max_cmd_len=8192
5229 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5230 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5231 # nice to cause kernel panics so lets avoid the loop below.
5232 # First set a reasonable default.
5233 lt_cv_sys_max_cmd_len=16384
5235 if test -x /sbin/sysconfig; then
5236 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5237 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5242 lt_cv_sys_max_cmd_len=102400
5244 sysv5* | sco5v6* | sysv4.2uw2*)
5245 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5246 if test -n "$kargmax"; then
5247 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5249 lt_cv_sys_max_cmd_len=32768
5253 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5254 if test -n "$lt_cv_sys_max_cmd_len"; then
5255 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5256 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5258 # Make teststring a little bigger before we do anything with it.
5259 # a 1K string should be a reasonable start.
5260 for i in 1 2 3 4 5 6 7 8 ; do
5261 teststring=$teststring$teststring
5263 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5264 # If test is not a shell built-in, we'll probably end up computing a
5265 # maximum length that is only half of the actual maximum length, but
5267 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5268 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5269 test $i != 17 # 1/2 MB should be enough
5272 teststring=$teststring$teststring
5274 # Only check the string length outside the loop.
5275 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5277 # Add a significant safety factor because C++ compilers can tack on
5278 # massive amounts of additional arguments before passing them to the
5279 # linker. It appears as though 1/2 is a usable value.
5280 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5287 if test -n $lt_cv_sys_max_cmd_len ; then
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5289 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5292 $as_echo "none" >&6; }
5294 max_cmd_len=$lt_cv_sys_max_cmd_len
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5306 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5307 # Try some XSI features
5310 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5312 && eval 'test $(( 1 + 1 )) -eq 2 \
5313 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5316 $as_echo "$xsi_shell" >&6; }
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5320 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5322 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5324 && lt_shell_append=yes
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5326 $as_echo "$lt_shell_append" >&6; }
5329 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5339 # test EBCDIC or ASCII
5340 case `echo X|tr X '\101'` in
5341 A) # ASCII based system
5342 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5343 lt_SP2NL='tr \040 \012'
5344 lt_NL2SP='tr \015\012 \040\040'
5346 *) # EBCDIC based system
5347 lt_SP2NL='tr \100 \n'
5348 lt_NL2SP='tr \r\n \100\100'
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5361 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5362 if ${lt_cv_to_host_file_cmd+:} false; then :
5363 $as_echo_n "(cached) " >&6
5368 *-*-mingw* ) # actually msys
5369 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5372 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5374 * ) # otherwise, assume *nix
5375 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5381 *-*-mingw* ) # actually msys
5382 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5385 lt_cv_to_host_file_cmd=func_convert_file_noop
5387 * ) # otherwise, assume *nix
5388 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5392 * ) # unhandled hosts (and "normal" native builds)
5393 lt_cv_to_host_file_cmd=func_convert_file_noop
5399 to_host_file_cmd=$lt_cv_to_host_file_cmd
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5401 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5408 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5409 if ${lt_cv_to_tool_file_cmd+:} false; then :
5410 $as_echo_n "(cached) " >&6
5412 #assume ordinary cross tools, or native build.
5413 lt_cv_to_tool_file_cmd=func_convert_file_noop
5417 *-*-mingw* ) # actually msys
5418 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5426 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5428 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5435 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5436 if ${lt_cv_ld_reload_flag+:} false; then :
5437 $as_echo_n "(cached) " >&6
5439 lt_cv_ld_reload_flag='-r'
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5442 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5443 reload_flag=$lt_cv_ld_reload_flag
5444 case $reload_flag in
5446 *) reload_flag=" $reload_flag" ;;
5448 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5450 cygwin* | mingw* | pw32* | cegcc*)
5451 if test "$GCC" != yes; then
5456 if test "$GCC" = yes; then
5457 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5459 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5472 if test -n "$ac_tool_prefix"; then
5473 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5474 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5476 $as_echo_n "checking for $ac_word... " >&6; }
5477 if ${ac_cv_prog_OBJDUMP+:} false; then :
5478 $as_echo_n "(cached) " >&6
5480 if test -n "$OBJDUMP"; then
5481 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5487 test -z "$as_dir" && as_dir=.
5488 for ac_exec_ext in '' $ac_executable_extensions; do
5489 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5490 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5500 OBJDUMP=$ac_cv_prog_OBJDUMP
5501 if test -n "$OBJDUMP"; then
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5503 $as_echo "$OBJDUMP" >&6; }
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5506 $as_echo "no" >&6; }
5511 if test -z "$ac_cv_prog_OBJDUMP"; then
5512 ac_ct_OBJDUMP=$OBJDUMP
5513 # Extract the first word of "objdump", so it can be a program name with args.
5514 set dummy objdump; ac_word=$2
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5516 $as_echo_n "checking for $ac_word... " >&6; }
5517 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5518 $as_echo_n "(cached) " >&6
5520 if test -n "$ac_ct_OBJDUMP"; then
5521 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5527 test -z "$as_dir" && as_dir=.
5528 for ac_exec_ext in '' $ac_executable_extensions; do
5529 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5530 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5540 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5541 if test -n "$ac_ct_OBJDUMP"; then
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5543 $as_echo "$ac_ct_OBJDUMP" >&6; }
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5546 $as_echo "no" >&6; }
5549 if test "x$ac_ct_OBJDUMP" = x; then
5552 case $cross_compiling:$ac_tool_warned in
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5555 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5556 ac_tool_warned=yes ;;
5558 OBJDUMP=$ac_ct_OBJDUMP
5561 OBJDUMP="$ac_cv_prog_OBJDUMP"
5564 test -z "$OBJDUMP" && OBJDUMP=objdump
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5575 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5576 if ${lt_cv_deplibs_check_method+:} false; then :
5577 $as_echo_n "(cached) " >&6
5579 lt_cv_file_magic_cmd='$MAGIC_CMD'
5580 lt_cv_file_magic_test_file=
5581 lt_cv_deplibs_check_method='unknown'
5582 # Need to set the preceding variable on all platforms that support
5583 # interlibrary dependencies.
5584 # 'none' -- dependencies not supported.
5585 # `unknown' -- same as none, but documents that we really don't know.
5586 # 'pass_all' -- all dependencies passed with no checks.
5587 # 'test_compile' -- check by making test program.
5588 # 'file_magic [[regex]]' -- check by looking for files in library path
5589 # which responds to the $file_magic_cmd with a given extended regex.
5590 # If you have `file' or equivalent on your system and you're not sure
5591 # whether `pass_all' will *always* work, you probably want this one.
5595 lt_cv_deplibs_check_method=pass_all
5599 lt_cv_deplibs_check_method=pass_all
5603 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5604 lt_cv_file_magic_cmd='/usr/bin/file -L'
5605 lt_cv_file_magic_test_file=/shlib/libc.so
5609 # func_win32_libid is a shell function defined in ltmain.sh
5610 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5611 lt_cv_file_magic_cmd='func_win32_libid'
5615 # Base MSYS/MinGW do not provide the 'file' command needed by
5616 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5617 # unless we find 'file', for example because we are cross-compiling.
5618 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5619 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5620 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5621 lt_cv_file_magic_cmd='func_win32_libid'
5623 # Keep this pattern in sync with the one in func_win32_libid.
5624 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5625 lt_cv_file_magic_cmd='$OBJDUMP -f'
5630 # use the weaker test based on 'objdump'. See mingw*.
5631 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5632 lt_cv_file_magic_cmd='$OBJDUMP -f'
5635 darwin* | rhapsody*)
5636 lt_cv_deplibs_check_method=pass_all
5639 freebsd* | dragonfly*)
5640 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5643 # Not sure whether the presence of OpenBSD here was a mistake.
5644 # Let's accept both of them until this is cleared up.
5645 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5646 lt_cv_file_magic_cmd=/usr/bin/file
5647 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5651 lt_cv_deplibs_check_method=pass_all
5656 lt_cv_deplibs_check_method=pass_all
5660 lt_cv_deplibs_check_method=pass_all
5663 hpux10.20* | hpux11*)
5664 lt_cv_file_magic_cmd=/usr/bin/file
5667 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5668 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5671 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]'
5672 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5675 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5676 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5682 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5683 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5686 irix5* | irix6* | nonstopux*)
5688 *-32|*"-32 ") libmagic=32-bit;;
5689 *-n32|*"-n32 ") libmagic=N32;;
5690 *-64|*"-64 ") libmagic=64-bit;;
5691 *) libmagic=never-match;;
5693 lt_cv_deplibs_check_method=pass_all
5696 # This must be glibc/ELF.
5697 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5698 lt_cv_deplibs_check_method=pass_all
5702 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5703 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5705 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5710 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5711 lt_cv_file_magic_cmd=/usr/bin/file
5712 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5716 lt_cv_deplibs_check_method=pass_all
5720 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5721 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5723 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5727 osf3* | osf4* | osf5*)
5728 lt_cv_deplibs_check_method=pass_all
5732 lt_cv_deplibs_check_method=pass_all
5736 lt_cv_deplibs_check_method=pass_all
5739 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5740 lt_cv_deplibs_check_method=pass_all
5744 case $host_vendor in
5746 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]'
5747 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5750 lt_cv_deplibs_check_method=pass_all
5753 lt_cv_file_magic_cmd='/bin/file'
5754 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5757 lt_cv_file_magic_cmd='/bin/file'
5758 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5759 lt_cv_file_magic_test_file=/lib/libc.so
5762 lt_cv_deplibs_check_method=pass_all
5765 lt_cv_deplibs_check_method=pass_all
5771 lt_cv_deplibs_check_method=pass_all
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5777 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5781 if test "$build" = "$host"; then
5784 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5787 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5793 file_magic_cmd=$lt_cv_file_magic_cmd
5794 deplibs_check_method=$lt_cv_deplibs_check_method
5795 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5818 if test -n "$ac_tool_prefix"; then
5819 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5820 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5822 $as_echo_n "checking for $ac_word... " >&6; }
5823 if ${ac_cv_prog_DLLTOOL+:} false; then :
5824 $as_echo_n "(cached) " >&6
5826 if test -n "$DLLTOOL"; then
5827 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5833 test -z "$as_dir" && as_dir=.
5834 for ac_exec_ext in '' $ac_executable_extensions; do
5835 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5836 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5846 DLLTOOL=$ac_cv_prog_DLLTOOL
5847 if test -n "$DLLTOOL"; then
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5849 $as_echo "$DLLTOOL" >&6; }
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5852 $as_echo "no" >&6; }
5857 if test -z "$ac_cv_prog_DLLTOOL"; then
5858 ac_ct_DLLTOOL=$DLLTOOL
5859 # Extract the first word of "dlltool", so it can be a program name with args.
5860 set dummy dlltool; ac_word=$2
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5862 $as_echo_n "checking for $ac_word... " >&6; }
5863 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5864 $as_echo_n "(cached) " >&6
5866 if test -n "$ac_ct_DLLTOOL"; then
5867 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5873 test -z "$as_dir" && as_dir=.
5874 for ac_exec_ext in '' $ac_executable_extensions; do
5875 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5876 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5877 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5886 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5887 if test -n "$ac_ct_DLLTOOL"; then
5888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5889 $as_echo "$ac_ct_DLLTOOL" >&6; }
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5892 $as_echo "no" >&6; }
5895 if test "x$ac_ct_DLLTOOL" = x; then
5898 case $cross_compiling:$ac_tool_warned in
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5901 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5902 ac_tool_warned=yes ;;
5904 DLLTOOL=$ac_ct_DLLTOOL
5907 DLLTOOL="$ac_cv_prog_DLLTOOL"
5910 test -z "$DLLTOOL" && DLLTOOL=dlltool
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5922 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5923 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5924 $as_echo_n "(cached) " >&6
5926 lt_cv_sharedlib_from_linklib_cmd='unknown'
5929 cygwin* | mingw* | pw32* | cegcc*)
5930 # two different shell functions defined in ltmain.sh
5931 # decide which to use based on capabilities of $DLLTOOL
5932 case `$DLLTOOL --help 2>&1` in
5933 *--identify-strict*)
5934 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5937 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5942 # fallback: assume linklib IS sharedlib
5943 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5949 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5950 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5951 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5960 if test -n "$ac_tool_prefix"; then
5963 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5964 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5966 $as_echo_n "checking for $ac_word... " >&6; }
5967 if ${ac_cv_prog_AR+:} false; then :
5968 $as_echo_n "(cached) " >&6
5970 if test -n "$AR"; then
5971 ac_cv_prog_AR="$AR" # Let the user override the test.
5973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5977 test -z "$as_dir" && as_dir=.
5978 for ac_exec_ext in '' $ac_executable_extensions; do
5979 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5980 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5991 if test -n "$AR"; then
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5993 $as_echo "$AR" >&6; }
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5996 $as_echo "no" >&6; }
6000 test -n "$AR" && break
6003 if test -z "$AR"; then
6007 # Extract the first word of "$ac_prog", so it can be a program name with args.
6008 set dummy $ac_prog; ac_word=$2
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6010 $as_echo_n "checking for $ac_word... " >&6; }
6011 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6012 $as_echo_n "(cached) " >&6
6014 if test -n "$ac_ct_AR"; then
6015 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6021 test -z "$as_dir" && as_dir=.
6022 for ac_exec_ext in '' $ac_executable_extensions; do
6023 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6024 ac_cv_prog_ac_ct_AR="$ac_prog"
6025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6034 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6035 if test -n "$ac_ct_AR"; then
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6037 $as_echo "$ac_ct_AR" >&6; }
6039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6040 $as_echo "no" >&6; }
6044 test -n "$ac_ct_AR" && break
6047 if test "x$ac_ct_AR" = x; then
6050 case $cross_compiling:$ac_tool_warned in
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6053 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6054 ac_tool_warned=yes ;;
6073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6074 $as_echo_n "checking for archiver @FILE support... " >&6; }
6075 if ${lt_cv_ar_at_file+:} false; then :
6076 $as_echo_n "(cached) " >&6
6079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6080 /* end confdefs.h. */
6090 if ac_fn_c_try_compile "$LINENO"; then :
6091 echo conftest.$ac_objext > conftest.lst
6092 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6093 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6094 (eval $lt_ar_try) 2>&5
6096 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6097 test $ac_status = 0; }
6098 if test "$ac_status" -eq 0; then
6099 # Ensure the archiver fails upon bogus file names.
6100 rm -f conftest.$ac_objext libconftest.a
6101 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6102 (eval $lt_ar_try) 2>&5
6104 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6105 test $ac_status = 0; }
6106 if test "$ac_status" -ne 0; then
6110 rm -f conftest.* libconftest.a
6113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6117 $as_echo "$lt_cv_ar_at_file" >&6; }
6119 if test "x$lt_cv_ar_at_file" = xno; then
6122 archiver_list_spec=$lt_cv_ar_at_file
6131 if test -n "$ac_tool_prefix"; then
6132 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6133 set dummy ${ac_tool_prefix}strip; ac_word=$2
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6135 $as_echo_n "checking for $ac_word... " >&6; }
6136 if ${ac_cv_prog_STRIP+:} false; then :
6137 $as_echo_n "(cached) " >&6
6139 if test -n "$STRIP"; then
6140 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6146 test -z "$as_dir" && as_dir=.
6147 for ac_exec_ext in '' $ac_executable_extensions; do
6148 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6149 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6159 STRIP=$ac_cv_prog_STRIP
6160 if test -n "$STRIP"; then
6161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6162 $as_echo "$STRIP" >&6; }
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6165 $as_echo "no" >&6; }
6170 if test -z "$ac_cv_prog_STRIP"; then
6172 # Extract the first word of "strip", so it can be a program name with args.
6173 set dummy strip; ac_word=$2
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6175 $as_echo_n "checking for $ac_word... " >&6; }
6176 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6177 $as_echo_n "(cached) " >&6
6179 if test -n "$ac_ct_STRIP"; then
6180 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6186 test -z "$as_dir" && as_dir=.
6187 for ac_exec_ext in '' $ac_executable_extensions; do
6188 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6189 ac_cv_prog_ac_ct_STRIP="strip"
6190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6199 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6200 if test -n "$ac_ct_STRIP"; then
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6202 $as_echo "$ac_ct_STRIP" >&6; }
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6205 $as_echo "no" >&6; }
6208 if test "x$ac_ct_STRIP" = x; then
6211 case $cross_compiling:$ac_tool_warned in
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6214 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6215 ac_tool_warned=yes ;;
6220 STRIP="$ac_cv_prog_STRIP"
6223 test -z "$STRIP" && STRIP=:
6230 if test -n "$ac_tool_prefix"; then
6231 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6232 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6234 $as_echo_n "checking for $ac_word... " >&6; }
6235 if ${ac_cv_prog_RANLIB+:} false; then :
6236 $as_echo_n "(cached) " >&6
6238 if test -n "$RANLIB"; then
6239 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6245 test -z "$as_dir" && as_dir=.
6246 for ac_exec_ext in '' $ac_executable_extensions; do
6247 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6248 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6258 RANLIB=$ac_cv_prog_RANLIB
6259 if test -n "$RANLIB"; then
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6261 $as_echo "$RANLIB" >&6; }
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6264 $as_echo "no" >&6; }
6269 if test -z "$ac_cv_prog_RANLIB"; then
6270 ac_ct_RANLIB=$RANLIB
6271 # Extract the first word of "ranlib", so it can be a program name with args.
6272 set dummy ranlib; ac_word=$2
6273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6274 $as_echo_n "checking for $ac_word... " >&6; }
6275 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6276 $as_echo_n "(cached) " >&6
6278 if test -n "$ac_ct_RANLIB"; then
6279 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6285 test -z "$as_dir" && as_dir=.
6286 for ac_exec_ext in '' $ac_executable_extensions; do
6287 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6288 ac_cv_prog_ac_ct_RANLIB="ranlib"
6289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6298 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6299 if test -n "$ac_ct_RANLIB"; then
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6301 $as_echo "$ac_ct_RANLIB" >&6; }
6303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6304 $as_echo "no" >&6; }
6307 if test "x$ac_ct_RANLIB" = x; then
6310 case $cross_compiling:$ac_tool_warned in
6312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6313 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6314 ac_tool_warned=yes ;;
6316 RANLIB=$ac_ct_RANLIB
6319 RANLIB="$ac_cv_prog_RANLIB"
6322 test -z "$RANLIB" && RANLIB=:
6329 # Determine commands to create old-style static archives.
6330 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6331 old_postinstall_cmds='chmod 644 $oldlib'
6332 old_postuninstall_cmds=
6334 if test -n "$RANLIB"; then
6337 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6340 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6343 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6348 lock_old_archive_extraction=yes ;;
6350 lock_old_archive_extraction=no ;;
6391 # If no C compiler was specified, use CC.
6394 # If no C compiler flags were specified, use CFLAGS.
6395 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6397 # Allow CC to be a program name with arguments.
6401 # Check for command to grab the raw symbol name followed by C symbol from nm.
6402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6403 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6404 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6405 $as_echo_n "(cached) " >&6
6408 # These are sane defaults that work on at least a few old systems.
6409 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6411 # Character class describing NM global symbol codes.
6412 symcode='[BCDEGRST]'
6414 # Regexp to match symbols that can be accessed directly from C.
6415 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6417 # Define system-specific variables.
6422 cygwin* | mingw* | pw32* | cegcc*)
6423 symcode='[ABCDGISTW]'
6426 if test "$host_cpu" = ia64; then
6427 symcode='[ABCDEGRST]'
6431 symcode='[BCDEGRST]'
6434 symcode='[BCDEGQRST]'
6445 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6453 # If we're using GNU nm, then use its standard symbol codes.
6454 case `$NM -V 2>&1` in
6455 *GNU* | *'with BFD'*)
6456 symcode='[ABCDGIRSTW]' ;;
6459 # Transform an extracted symbol line into a proper C declaration.
6460 # Some systems (esp. on ia64) link data and code symbols differently,
6461 # so use this general approach.
6462 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6464 # Transform an extracted symbol line into symbol name and symbol address
6465 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6466 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'"
6468 # Handle CRLF in mingw tool chain
6472 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6476 # Try without a prefix underscore, then with it.
6477 for ac_symprfx in "" "_"; do
6479 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6480 symxfrm="\\1 $ac_symprfx\\2 \\2"
6482 # Write the raw and C identifiers.
6483 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6484 # Fake it for dumpbin and say T for any non-static function
6485 # and D for any global variable.
6486 # Also find C++ and __fastcall symbols from MSVC++,
6487 # which start with @ or ?.
6488 lt_cv_sys_global_symbol_pipe="$AWK '"\
6489 " {last_section=section; section=\$ 3};"\
6490 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6491 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6492 " \$ 0!~/External *\|/{next};"\
6493 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6494 " {if(hide[section]) next};"\
6495 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6496 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6497 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6498 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6499 " ' prfx=^$ac_symprfx"
6501 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6503 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6505 # Check to see that the pipe works correctly.
6509 cat > conftest.$ac_ext <<_LT_EOF
6514 void nm_test_func(void);
6515 void nm_test_func(void){}
6519 int main(){nm_test_var='a';nm_test_func();return(0);}
6522 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6523 (eval $ac_compile) 2>&5
6525 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6526 test $ac_status = 0; }; then
6527 # Now try to grab the symbols.
6529 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6530 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6532 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6533 test $ac_status = 0; } && test -s "$nlist"; then
6534 # Try sorting and uniquifying the output.
6535 if sort "$nlist" | uniq > "$nlist"T; then
6536 mv -f "$nlist"T "$nlist"
6541 # Make sure that we snagged all the symbols we need.
6542 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6543 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6544 cat <<_LT_EOF > conftest.$ac_ext
6545 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6546 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6547 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6548 relocations are performed -- see ld's documentation on pseudo-relocs. */
6549 # define LT_DLSYM_CONST
6550 #elif defined(__osf__)
6551 /* This system does not cope well with relocations in const data. */
6552 # define LT_DLSYM_CONST
6554 # define LT_DLSYM_CONST const
6562 # Now generate the symbol file.
6563 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6565 cat <<_LT_EOF >> conftest.$ac_ext
6567 /* The mapping between symbol names and symbols. */
6568 LT_DLSYM_CONST struct {
6572 lt__PROGRAM__LTX_preloaded_symbols[] =
6574 { "@PROGRAM@", (void *) 0 },
6576 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6577 cat <<\_LT_EOF >> conftest.$ac_ext
6581 /* This works around a problem in FreeBSD linker */
6582 #ifdef FREEBSD_WORKAROUND
6583 static const void *lt_preloaded_setup() {
6584 return lt__PROGRAM__LTX_preloaded_symbols;
6592 # Now try linking the two files.
6593 mv conftest.$ac_objext conftstm.$ac_objext
6594 lt_globsym_save_LIBS=$LIBS
6595 lt_globsym_save_CFLAGS=$CFLAGS
6596 LIBS="conftstm.$ac_objext"
6597 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6598 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6599 (eval $ac_link) 2>&5
6601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6602 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6605 LIBS=$lt_globsym_save_LIBS
6606 CFLAGS=$lt_globsym_save_CFLAGS
6608 echo "cannot find nm_test_func in $nlist" >&5
6611 echo "cannot find nm_test_var in $nlist" >&5
6614 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6617 echo "$progname: failed program was:" >&5
6618 cat conftest.$ac_ext >&5
6620 rm -rf conftest* conftst*
6622 # Do not use the global_symbol_pipe unless it works.
6623 if test "$pipe_works" = yes; then
6626 lt_cv_sys_global_symbol_pipe=
6632 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6633 lt_cv_sys_global_symbol_to_cdecl=
6635 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6637 $as_echo "failed" >&6; }
6639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6640 $as_echo "ok" >&6; }
6643 # Response file support.
6644 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6645 nm_file_list_spec='@'
6646 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6647 nm_file_list_spec='@'
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6677 $as_echo_n "checking for sysroot... " >&6; }
6679 # Check whether --with-sysroot was given.
6680 if test "${with_sysroot+set}" = set; then :
6681 withval=$with_sysroot;
6688 case ${with_sysroot} in #(
6690 if test "$GCC" = yes; then
6691 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6695 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6701 $as_echo "${with_sysroot}" >&6; }
6702 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6707 $as_echo "${lt_sysroot:-no}" >&6; }
6713 # Check whether --enable-libtool-lock was given.
6714 if test "${enable_libtool_lock+set}" = set; then :
6715 enableval=$enable_libtool_lock;
6718 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6720 # Some flags need to be propagated to the compiler or linker for good
6724 # Find out which ABI we are using.
6725 echo 'int i;' > conftest.$ac_ext
6726 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6727 (eval $ac_compile) 2>&5
6729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6730 test $ac_status = 0; }; then
6731 case `/usr/bin/file conftest.$ac_objext` in
6743 # Find out which ABI we are using.
6744 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6745 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6746 (eval $ac_compile) 2>&5
6748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6749 test $ac_status = 0; }; then
6750 if test "$lt_cv_prog_gnu_ld" = yes; then
6751 case `/usr/bin/file conftest.$ac_objext` in
6753 LD="${LD-ld} -melf32bsmip"
6756 LD="${LD-ld} -melf32bmipn32"
6759 LD="${LD-ld} -melf64bmip"
6763 case `/usr/bin/file conftest.$ac_objext` in
6779 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6780 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6781 # Find out which ABI we are using.
6782 echo 'int i;' > conftest.$ac_ext
6783 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6784 (eval $ac_compile) 2>&5
6786 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6787 test $ac_status = 0; }; then
6788 case `/usr/bin/file conftest.o` in
6791 x86_64-*kfreebsd*-gnu)
6792 LD="${LD-ld} -m elf_i386_fbsd"
6795 LD="${LD-ld} -m elf_i386"
6797 ppc64-*linux*|powerpc64-*linux*)
6798 LD="${LD-ld} -m elf32ppclinux"
6801 LD="${LD-ld} -m elf_s390"
6804 LD="${LD-ld} -m elf32_sparc"
6810 x86_64-*kfreebsd*-gnu)
6811 LD="${LD-ld} -m elf_x86_64_fbsd"
6814 LD="${LD-ld} -m elf_x86_64"
6816 ppc*-*linux*|powerpc*-*linux*)
6817 LD="${LD-ld} -m elf64ppc"
6819 s390*-*linux*|s390*-*tpf*)
6820 LD="${LD-ld} -m elf64_s390"
6823 LD="${LD-ld} -m elf64_sparc"
6833 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6834 SAVE_CFLAGS="$CFLAGS"
6835 CFLAGS="$CFLAGS -belf"
6836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6837 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6838 if ${lt_cv_cc_needs_belf+:} false; then :
6839 $as_echo_n "(cached) " >&6
6842 ac_cpp='$CPP $CPPFLAGS'
6843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6848 /* end confdefs.h. */
6858 if ac_fn_c_try_link "$LINENO"; then :
6859 lt_cv_cc_needs_belf=yes
6861 lt_cv_cc_needs_belf=no
6863 rm -f core conftest.err conftest.$ac_objext \
6864 conftest$ac_exeext conftest.$ac_ext
6866 ac_cpp='$CPP $CPPFLAGS'
6867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6873 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6874 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6875 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6876 CFLAGS="$SAVE_CFLAGS"
6880 # Find out which ABI we are using.
6881 echo 'int i;' > conftest.$ac_ext
6882 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6883 (eval $ac_compile) 2>&5
6885 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6886 test $ac_status = 0; }; then
6887 case `/usr/bin/file conftest.o` in
6889 case $lt_cv_prog_gnu_ld in
6893 LD="${LD-ld} -m elf_x86_64"
6896 LD="${LD-ld} -m elf64_sparc"
6899 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6900 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6905 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6917 need_locks="$enable_libtool_lock"
6919 if test -n "$ac_tool_prefix"; then
6920 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6921 set dummy ${ac_tool_prefix}mt; ac_word=$2
6922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6923 $as_echo_n "checking for $ac_word... " >&6; }
6924 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6925 $as_echo_n "(cached) " >&6
6927 if test -n "$MANIFEST_TOOL"; then
6928 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6934 test -z "$as_dir" && as_dir=.
6935 for ac_exec_ext in '' $ac_executable_extensions; do
6936 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6937 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6947 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6948 if test -n "$MANIFEST_TOOL"; then
6949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6950 $as_echo "$MANIFEST_TOOL" >&6; }
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6953 $as_echo "no" >&6; }
6958 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6959 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6960 # Extract the first word of "mt", so it can be a program name with args.
6961 set dummy mt; ac_word=$2
6962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6963 $as_echo_n "checking for $ac_word... " >&6; }
6964 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6965 $as_echo_n "(cached) " >&6
6967 if test -n "$ac_ct_MANIFEST_TOOL"; then
6968 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6974 test -z "$as_dir" && as_dir=.
6975 for ac_exec_ext in '' $ac_executable_extensions; do
6976 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6977 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6987 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6988 if test -n "$ac_ct_MANIFEST_TOOL"; then
6989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6990 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6993 $as_echo "no" >&6; }
6996 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6999 case $cross_compiling:$ac_tool_warned in
7001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7002 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7003 ac_tool_warned=yes ;;
7005 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7008 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7011 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7013 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7014 if ${lt_cv_path_mainfest_tool+:} false; then :
7015 $as_echo_n "(cached) " >&6
7017 lt_cv_path_mainfest_tool=no
7018 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7019 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7020 cat conftest.err >&5
7021 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7022 lt_cv_path_mainfest_tool=yes
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7027 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7028 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7038 rhapsody* | darwin*)
7039 if test -n "$ac_tool_prefix"; then
7040 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7041 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7043 $as_echo_n "checking for $ac_word... " >&6; }
7044 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7045 $as_echo_n "(cached) " >&6
7047 if test -n "$DSYMUTIL"; then
7048 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7054 test -z "$as_dir" && as_dir=.
7055 for ac_exec_ext in '' $ac_executable_extensions; do
7056 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7057 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7067 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7068 if test -n "$DSYMUTIL"; then
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7070 $as_echo "$DSYMUTIL" >&6; }
7072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7073 $as_echo "no" >&6; }
7078 if test -z "$ac_cv_prog_DSYMUTIL"; then
7079 ac_ct_DSYMUTIL=$DSYMUTIL
7080 # Extract the first word of "dsymutil", so it can be a program name with args.
7081 set dummy dsymutil; ac_word=$2
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7083 $as_echo_n "checking for $ac_word... " >&6; }
7084 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7085 $as_echo_n "(cached) " >&6
7087 if test -n "$ac_ct_DSYMUTIL"; then
7088 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7094 test -z "$as_dir" && as_dir=.
7095 for ac_exec_ext in '' $ac_executable_extensions; do
7096 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7097 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7107 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7108 if test -n "$ac_ct_DSYMUTIL"; then
7109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7110 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7113 $as_echo "no" >&6; }
7116 if test "x$ac_ct_DSYMUTIL" = x; then
7119 case $cross_compiling:$ac_tool_warned in
7121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7122 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7123 ac_tool_warned=yes ;;
7125 DSYMUTIL=$ac_ct_DSYMUTIL
7128 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7131 if test -n "$ac_tool_prefix"; then
7132 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7133 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7135 $as_echo_n "checking for $ac_word... " >&6; }
7136 if ${ac_cv_prog_NMEDIT+:} false; then :
7137 $as_echo_n "(cached) " >&6
7139 if test -n "$NMEDIT"; then
7140 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7146 test -z "$as_dir" && as_dir=.
7147 for ac_exec_ext in '' $ac_executable_extensions; do
7148 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7149 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7159 NMEDIT=$ac_cv_prog_NMEDIT
7160 if test -n "$NMEDIT"; then
7161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7162 $as_echo "$NMEDIT" >&6; }
7164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7165 $as_echo "no" >&6; }
7170 if test -z "$ac_cv_prog_NMEDIT"; then
7171 ac_ct_NMEDIT=$NMEDIT
7172 # Extract the first word of "nmedit", so it can be a program name with args.
7173 set dummy nmedit; ac_word=$2
7174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7175 $as_echo_n "checking for $ac_word... " >&6; }
7176 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7177 $as_echo_n "(cached) " >&6
7179 if test -n "$ac_ct_NMEDIT"; then
7180 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7186 test -z "$as_dir" && as_dir=.
7187 for ac_exec_ext in '' $ac_executable_extensions; do
7188 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7189 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7199 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7200 if test -n "$ac_ct_NMEDIT"; then
7201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7202 $as_echo "$ac_ct_NMEDIT" >&6; }
7204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7205 $as_echo "no" >&6; }
7208 if test "x$ac_ct_NMEDIT" = x; then
7211 case $cross_compiling:$ac_tool_warned in
7213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7214 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7215 ac_tool_warned=yes ;;
7217 NMEDIT=$ac_ct_NMEDIT
7220 NMEDIT="$ac_cv_prog_NMEDIT"
7223 if test -n "$ac_tool_prefix"; then
7224 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7225 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7227 $as_echo_n "checking for $ac_word... " >&6; }
7228 if ${ac_cv_prog_LIPO+:} false; then :
7229 $as_echo_n "(cached) " >&6
7231 if test -n "$LIPO"; then
7232 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7238 test -z "$as_dir" && as_dir=.
7239 for ac_exec_ext in '' $ac_executable_extensions; do
7240 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7241 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7251 LIPO=$ac_cv_prog_LIPO
7252 if test -n "$LIPO"; then
7253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7254 $as_echo "$LIPO" >&6; }
7256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7257 $as_echo "no" >&6; }
7262 if test -z "$ac_cv_prog_LIPO"; then
7264 # Extract the first word of "lipo", so it can be a program name with args.
7265 set dummy lipo; ac_word=$2
7266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7267 $as_echo_n "checking for $ac_word... " >&6; }
7268 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7269 $as_echo_n "(cached) " >&6
7271 if test -n "$ac_ct_LIPO"; then
7272 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7278 test -z "$as_dir" && as_dir=.
7279 for ac_exec_ext in '' $ac_executable_extensions; do
7280 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7281 ac_cv_prog_ac_ct_LIPO="lipo"
7282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7291 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7292 if test -n "$ac_ct_LIPO"; then
7293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7294 $as_echo "$ac_ct_LIPO" >&6; }
7296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7297 $as_echo "no" >&6; }
7300 if test "x$ac_ct_LIPO" = x; then
7303 case $cross_compiling:$ac_tool_warned in
7305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7306 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7307 ac_tool_warned=yes ;;
7312 LIPO="$ac_cv_prog_LIPO"
7315 if test -n "$ac_tool_prefix"; then
7316 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7317 set dummy ${ac_tool_prefix}otool; ac_word=$2
7318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7319 $as_echo_n "checking for $ac_word... " >&6; }
7320 if ${ac_cv_prog_OTOOL+:} false; then :
7321 $as_echo_n "(cached) " >&6
7323 if test -n "$OTOOL"; then
7324 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7330 test -z "$as_dir" && as_dir=.
7331 for ac_exec_ext in '' $ac_executable_extensions; do
7332 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7333 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7334 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7343 OTOOL=$ac_cv_prog_OTOOL
7344 if test -n "$OTOOL"; then
7345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7346 $as_echo "$OTOOL" >&6; }
7348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7349 $as_echo "no" >&6; }
7354 if test -z "$ac_cv_prog_OTOOL"; then
7356 # Extract the first word of "otool", so it can be a program name with args.
7357 set dummy otool; ac_word=$2
7358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7359 $as_echo_n "checking for $ac_word... " >&6; }
7360 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7361 $as_echo_n "(cached) " >&6
7363 if test -n "$ac_ct_OTOOL"; then
7364 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7370 test -z "$as_dir" && as_dir=.
7371 for ac_exec_ext in '' $ac_executable_extensions; do
7372 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7373 ac_cv_prog_ac_ct_OTOOL="otool"
7374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7383 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7384 if test -n "$ac_ct_OTOOL"; then
7385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7386 $as_echo "$ac_ct_OTOOL" >&6; }
7388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7389 $as_echo "no" >&6; }
7392 if test "x$ac_ct_OTOOL" = x; then
7395 case $cross_compiling:$ac_tool_warned in
7397 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7398 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7399 ac_tool_warned=yes ;;
7404 OTOOL="$ac_cv_prog_OTOOL"
7407 if test -n "$ac_tool_prefix"; then
7408 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7409 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7411 $as_echo_n "checking for $ac_word... " >&6; }
7412 if ${ac_cv_prog_OTOOL64+:} false; then :
7413 $as_echo_n "(cached) " >&6
7415 if test -n "$OTOOL64"; then
7416 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7422 test -z "$as_dir" && as_dir=.
7423 for ac_exec_ext in '' $ac_executable_extensions; do
7424 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7425 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7435 OTOOL64=$ac_cv_prog_OTOOL64
7436 if test -n "$OTOOL64"; then
7437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7438 $as_echo "$OTOOL64" >&6; }
7440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7441 $as_echo "no" >&6; }
7446 if test -z "$ac_cv_prog_OTOOL64"; then
7447 ac_ct_OTOOL64=$OTOOL64
7448 # Extract the first word of "otool64", so it can be a program name with args.
7449 set dummy otool64; ac_word=$2
7450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7451 $as_echo_n "checking for $ac_word... " >&6; }
7452 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7453 $as_echo_n "(cached) " >&6
7455 if test -n "$ac_ct_OTOOL64"; then
7456 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7462 test -z "$as_dir" && as_dir=.
7463 for ac_exec_ext in '' $ac_executable_extensions; do
7464 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7465 ac_cv_prog_ac_ct_OTOOL64="otool64"
7466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7475 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7476 if test -n "$ac_ct_OTOOL64"; then
7477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7478 $as_echo "$ac_ct_OTOOL64" >&6; }
7480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7481 $as_echo "no" >&6; }
7484 if test "x$ac_ct_OTOOL64" = x; then
7487 case $cross_compiling:$ac_tool_warned in
7489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7490 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7491 ac_tool_warned=yes ;;
7493 OTOOL64=$ac_ct_OTOOL64
7496 OTOOL64="$ac_cv_prog_OTOOL64"
7525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7526 $as_echo_n "checking for -single_module linker flag... " >&6; }
7527 if ${lt_cv_apple_cc_single_mod+:} false; then :
7528 $as_echo_n "(cached) " >&6
7530 lt_cv_apple_cc_single_mod=no
7531 if test -z "${LT_MULTI_MODULE}"; then
7532 # By default we will add the -single_module flag. You can override
7533 # by either setting the environment variable LT_MULTI_MODULE
7534 # non-empty at configure time, or by adding -multi_module to the
7536 rm -rf libconftest.dylib*
7537 echo "int foo(void){return 1;}" > conftest.c
7538 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7539 -dynamiclib -Wl,-single_module conftest.c" >&5
7540 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7541 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7543 # If there is a non-empty error log, and "single_module"
7544 # appears in it, assume the flag caused a linker warning
7545 if test -s conftest.err && $GREP single_module conftest.err; then
7546 cat conftest.err >&5
7547 # Otherwise, if the output was created with a 0 exit code from
7548 # the compiler, it worked.
7549 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7550 lt_cv_apple_cc_single_mod=yes
7552 cat conftest.err >&5
7554 rm -rf libconftest.dylib*
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7559 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7562 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7563 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7564 $as_echo_n "(cached) " >&6
7566 lt_cv_ld_exported_symbols_list=no
7567 save_LDFLAGS=$LDFLAGS
7568 echo "_main" > conftest.sym
7569 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7571 /* end confdefs.h. */
7581 if ac_fn_c_try_link "$LINENO"; then :
7582 lt_cv_ld_exported_symbols_list=yes
7584 lt_cv_ld_exported_symbols_list=no
7586 rm -f core conftest.err conftest.$ac_objext \
7587 conftest$ac_exeext conftest.$ac_ext
7588 LDFLAGS="$save_LDFLAGS"
7591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7592 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7595 $as_echo_n "checking for -force_load linker flag... " >&6; }
7596 if ${lt_cv_ld_force_load+:} false; then :
7597 $as_echo_n "(cached) " >&6
7599 lt_cv_ld_force_load=no
7600 cat > conftest.c << _LT_EOF
7601 int forced_loaded() { return 2;}
7603 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7604 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7605 echo "$AR cru libconftest.a conftest.o" >&5
7606 $AR cru libconftest.a conftest.o 2>&5
7607 echo "$RANLIB libconftest.a" >&5
7608 $RANLIB libconftest.a 2>&5
7609 cat > conftest.c << _LT_EOF
7610 int main() { return 0;}
7612 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7613 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7615 if test -s conftest.err && $GREP force_load conftest.err; then
7616 cat conftest.err >&5
7617 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7618 lt_cv_ld_force_load=yes
7620 cat conftest.err >&5
7622 rm -f conftest.err libconftest.a conftest conftest.c
7623 rm -rf conftest.dSYM
7626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7627 $as_echo "$lt_cv_ld_force_load" >&6; }
7629 rhapsody* | darwin1.[012])
7630 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7632 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7633 darwin*) # darwin 5.x on
7634 # if running on 10.5 or later, the deployment target defaults
7635 # to the OS version, if on x86, and 10.4, the deployment
7636 # target defaults to 10.4. Don't you love it?
7637 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7638 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7639 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7641 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7643 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7647 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7648 _lt_dar_single_mod='$single_module'
7650 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7651 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7653 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7655 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7656 _lt_dsymutil='~$DSYMUTIL $lib || :'
7664 ac_cpp='$CPP $CPPFLAGS'
7665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7669 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7670 # On Suns, sometimes $CPP names a directory.
7671 if test -n "$CPP" && test -d "$CPP"; then
7674 if test -z "$CPP"; then
7675 if ${ac_cv_prog_CPP+:} false; then :
7676 $as_echo_n "(cached) " >&6
7678 # Double quotes because CPP needs to be expanded
7679 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7682 for ac_c_preproc_warn_flag in '' yes
7684 # Use a header file that comes with gcc, so configuring glibc
7685 # with a fresh cross-compiler works.
7686 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7687 # <limits.h> exists even on freestanding compilers.
7688 # On the NeXT, cc -E runs the code through the compiler's parser,
7689 # not just through cpp. "Syntax error" is here to catch this case.
7690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7691 /* end confdefs.h. */
7693 # include <limits.h>
7695 # include <assert.h>
7699 if ac_fn_c_try_cpp "$LINENO"; then :
7702 # Broken: fails on valid input.
7705 rm -f conftest.err conftest.i conftest.$ac_ext
7707 # OK, works on sane cases. Now check whether nonexistent headers
7708 # can be detected and how.
7709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7710 /* end confdefs.h. */
7711 #include <ac_nonexistent.h>
7713 if ac_fn_c_try_cpp "$LINENO"; then :
7714 # Broken: success on invalid input.
7717 # Passes both tests.
7721 rm -f conftest.err conftest.i conftest.$ac_ext
7724 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7725 rm -f conftest.i conftest.err conftest.$ac_ext
7726 if $ac_preproc_ok; then :
7738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7739 $as_echo "$CPP" >&6; }
7741 for ac_c_preproc_warn_flag in '' yes
7743 # Use a header file that comes with gcc, so configuring glibc
7744 # with a fresh cross-compiler works.
7745 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7746 # <limits.h> exists even on freestanding compilers.
7747 # On the NeXT, cc -E runs the code through the compiler's parser,
7748 # not just through cpp. "Syntax error" is here to catch this case.
7749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7750 /* end confdefs.h. */
7752 # include <limits.h>
7754 # include <assert.h>
7758 if ac_fn_c_try_cpp "$LINENO"; then :
7761 # Broken: fails on valid input.
7764 rm -f conftest.err conftest.i conftest.$ac_ext
7766 # OK, works on sane cases. Now check whether nonexistent headers
7767 # can be detected and how.
7768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7769 /* end confdefs.h. */
7770 #include <ac_nonexistent.h>
7772 if ac_fn_c_try_cpp "$LINENO"; then :
7773 # Broken: success on invalid input.
7776 # Passes both tests.
7780 rm -f conftest.err conftest.i conftest.$ac_ext
7783 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7784 rm -f conftest.i conftest.err conftest.$ac_ext
7785 if $ac_preproc_ok; then :
7788 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7789 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7790 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7791 See \`config.log' for more details" "$LINENO" 5; }
7795 ac_cpp='$CPP $CPPFLAGS'
7796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7802 $as_echo_n "checking for ANSI C header files... " >&6; }
7803 if ${ac_cv_header_stdc+:} false; then :
7804 $as_echo_n "(cached) " >&6
7806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7807 /* end confdefs.h. */
7821 if ac_fn_c_try_compile "$LINENO"; then :
7822 ac_cv_header_stdc=yes
7824 ac_cv_header_stdc=no
7826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7828 if test $ac_cv_header_stdc = yes; then
7829 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7831 /* end confdefs.h. */
7835 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7836 $EGREP "memchr" >/dev/null 2>&1; then :
7839 ac_cv_header_stdc=no
7845 if test $ac_cv_header_stdc = yes; then
7846 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7848 /* end confdefs.h. */
7852 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7853 $EGREP "free" >/dev/null 2>&1; then :
7856 ac_cv_header_stdc=no
7862 if test $ac_cv_header_stdc = yes; then
7863 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7864 if test "$cross_compiling" = yes; then :
7867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7868 /* end confdefs.h. */
7871 #if ((' ' & 0x0FF) == 0x020)
7872 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7873 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7875 # define ISLOWER(c) \
7876 (('a' <= (c) && (c) <= 'i') \
7877 || ('j' <= (c) && (c) <= 'r') \
7878 || ('s' <= (c) && (c) <= 'z'))
7879 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7882 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7887 for (i = 0; i < 256; i++)
7888 if (XOR (islower (i), ISLOWER (i))
7889 || toupper (i) != TOUPPER (i))
7894 if ac_fn_c_try_run "$LINENO"; then :
7897 ac_cv_header_stdc=no
7899 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7900 conftest.$ac_objext conftest.beam conftest.$ac_ext
7905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7906 $as_echo "$ac_cv_header_stdc" >&6; }
7907 if test $ac_cv_header_stdc = yes; then
7909 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7913 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7914 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7915 inttypes.h stdint.h unistd.h
7917 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7918 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7920 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7921 cat >>confdefs.h <<_ACEOF
7922 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7930 for ac_header in dlfcn.h
7932 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7934 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7935 cat >>confdefs.h <<_ACEOF
7936 #define HAVE_DLFCN_H 1
7946 func_stripname_cnf ()
7949 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
7950 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
7952 } # func_stripname_cnf
7968 # Check whether --enable-shared was given.
7969 if test "${enable_shared+set}" = set; then :
7970 enableval=$enable_shared; p=${PACKAGE-default}
7972 yes) enable_shared=yes ;;
7973 no) enable_shared=no ;;
7976 # Look at the argument we got. We use all the common list separators.
7977 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7978 for pkg in $enableval; do
7980 if test "X$pkg" = "X$p"; then
7999 # Check whether --enable-static was given.
8000 if test "${enable_static+set}" = set; then :
8001 enableval=$enable_static; p=${PACKAGE-default}
8003 yes) enable_static=yes ;;
8004 no) enable_static=no ;;
8007 # Look at the argument we got. We use all the common list separators.
8008 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8009 for pkg in $enableval; do
8011 if test "X$pkg" = "X$p"; then
8031 # Check whether --with-pic was given.
8032 if test "${with_pic+set}" = set; then :
8033 withval=$with_pic; lt_p=${PACKAGE-default}
8035 yes|no) pic_mode=$withval ;;
8038 # Look at the argument we got. We use all the common list separators.
8039 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8040 for lt_pkg in $withval; do
8042 if test "X$lt_pkg" = "X$lt_p"; then
8054 test -z "$pic_mode" && pic_mode=default
8062 # Check whether --enable-fast-install was given.
8063 if test "${enable_fast_install+set}" = set; then :
8064 enableval=$enable_fast_install; p=${PACKAGE-default}
8066 yes) enable_fast_install=yes ;;
8067 no) enable_fast_install=no ;;
8069 enable_fast_install=no
8070 # Look at the argument we got. We use all the common list separators.
8071 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8072 for pkg in $enableval; do
8074 if test "X$pkg" = "X$p"; then
8075 enable_fast_install=yes
8082 enable_fast_install=yes
8095 # This can be used to rebuild libtool when needed
8096 LIBTOOL_DEPS="$ltmain"
8098 # Always use our own libtool.
8099 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8130 test -z "$LN_S" && LN_S="ln -s"
8145 if test -n "${ZSH_VERSION+set}" ; then
8146 setopt NO_GLOB_SUBST
8149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8150 $as_echo_n "checking for objdir... " >&6; }
8151 if ${lt_cv_objdir+:} false; then :
8152 $as_echo_n "(cached) " >&6
8154 rm -f .libs 2>/dev/null
8155 mkdir .libs 2>/dev/null
8156 if test -d .libs; then
8159 # MS-DOS does not allow filenames that begin with a dot.
8162 rmdir .libs 2>/dev/null
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8165 $as_echo "$lt_cv_objdir" >&6; }
8166 objdir=$lt_cv_objdir
8172 cat >>confdefs.h <<_ACEOF
8173 #define LT_OBJDIR "$lt_cv_objdir/"
8181 # AIX sometimes has problems with the GCC collect2 program. For some
8182 # reason, if we set the COLLECT_NAMES environment variable, the problems
8183 # vanish in a puff of smoke.
8184 if test "X${COLLECT_NAMES+set}" != Xset; then
8186 export COLLECT_NAMES
8193 can_build_shared=yes
8195 # All known linkers require a `.a' archive for static linking (except MSVC,
8196 # which needs '.lib').
8199 with_gnu_ld="$lt_cv_prog_gnu_ld"
8202 old_CFLAGS="$CFLAGS"
8204 # Set sane defaults for various variables
8205 test -z "$CC" && CC=cc
8206 test -z "$LTCC" && LTCC=$CC
8207 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8208 test -z "$LD" && LD=ld
8209 test -z "$ac_objext" && ac_objext=o
8211 for cc_temp in $compiler""; do
8213 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8214 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8219 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8222 # Only perform the check for file, if the check method requires it
8223 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8224 case $deplibs_check_method in
8226 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8228 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8229 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8230 $as_echo_n "(cached) " >&6
8234 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8237 lt_save_MAGIC_CMD="$MAGIC_CMD"
8238 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8239 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8240 for ac_dir in $ac_dummy; do
8242 test -z "$ac_dir" && ac_dir=.
8243 if test -f $ac_dir/${ac_tool_prefix}file; then
8244 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8245 if test -n "$file_magic_test_file"; then
8246 case $deplibs_check_method in
8248 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8249 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8250 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8251 $EGREP "$file_magic_regex" > /dev/null; then
8256 *** Warning: the command libtool uses to detect shared libraries,
8257 *** $file_magic_cmd, produces output that libtool cannot recognize.
8258 *** The result is that libtool may fail to recognize shared libraries
8259 *** as such. This will affect the creation of libtool libraries that
8260 *** depend on shared libraries, but programs linked with such libtool
8261 *** libraries will work regardless of this problem. Nevertheless, you
8262 *** may want to report the problem to your system manager and/or to
8263 *** bug-libtool@gnu.org
8273 MAGIC_CMD="$lt_save_MAGIC_CMD"
8278 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8279 if test -n "$MAGIC_CMD"; then
8280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8281 $as_echo "$MAGIC_CMD" >&6; }
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8284 $as_echo "no" >&6; }
8291 if test -z "$lt_cv_path_MAGIC_CMD"; then
8292 if test -n "$ac_tool_prefix"; then
8293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8294 $as_echo_n "checking for file... " >&6; }
8295 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8296 $as_echo_n "(cached) " >&6
8300 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8303 lt_save_MAGIC_CMD="$MAGIC_CMD"
8304 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8305 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8306 for ac_dir in $ac_dummy; do
8308 test -z "$ac_dir" && ac_dir=.
8309 if test -f $ac_dir/file; then
8310 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8311 if test -n "$file_magic_test_file"; then
8312 case $deplibs_check_method in
8314 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8315 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8316 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8317 $EGREP "$file_magic_regex" > /dev/null; then
8322 *** Warning: the command libtool uses to detect shared libraries,
8323 *** $file_magic_cmd, produces output that libtool cannot recognize.
8324 *** The result is that libtool may fail to recognize shared libraries
8325 *** as such. This will affect the creation of libtool libraries that
8326 *** depend on shared libraries, but programs linked with such libtool
8327 *** libraries will work regardless of this problem. Nevertheless, you
8328 *** may want to report the problem to your system manager and/or to
8329 *** bug-libtool@gnu.org
8339 MAGIC_CMD="$lt_save_MAGIC_CMD"
8344 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8345 if test -n "$MAGIC_CMD"; then
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8347 $as_echo "$MAGIC_CMD" >&6; }
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8350 $as_echo "no" >&6; }
8363 # Use C for the default configuration in the libtool script
8367 ac_cpp='$CPP $CPPFLAGS'
8368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8373 # Source file extension for C test sources.
8376 # Object file extension for compiled C test sources.
8380 # Code to be used in simple compile tests
8381 lt_simple_compile_test_code="int some_variable = 0;"
8383 # Code to be used in simple link tests
8384 lt_simple_link_test_code='int main(){return(0);}'
8392 # If no C compiler was specified, use CC.
8395 # If no C compiler flags were specified, use CFLAGS.
8396 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8398 # Allow CC to be a program name with arguments.
8401 # Save the default compiler, since it gets overwritten when the other
8402 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8403 compiler_DEFAULT=$CC
8405 # save warnings/boilerplate of simple test code
8406 ac_outfile=conftest.$ac_objext
8407 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8408 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8409 _lt_compiler_boilerplate=`cat conftest.err`
8412 ac_outfile=conftest.$ac_objext
8413 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8414 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8415 _lt_linker_boilerplate=`cat conftest.err`
8420 ## There is no encapsulation within the following macros, do not change
8421 ## the running order or otherwise move them around unless you know exactly
8422 ## what you are doing...
8423 if test -n "$compiler"; then
8425 lt_prog_compiler_no_builtin_flag=
8427 if test "$GCC" = yes; then
8428 case $cc_basename in
8430 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8432 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8436 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8437 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8438 $as_echo_n "(cached) " >&6
8440 lt_cv_prog_compiler_rtti_exceptions=no
8441 ac_outfile=conftest.$ac_objext
8442 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8443 lt_compiler_flag="-fno-rtti -fno-exceptions"
8444 # Insert the option either (1) after the last *FLAGS variable, or
8445 # (2) before a word containing "conftest.", or (3) at the end.
8446 # Note that $ac_compile itself does not contain backslashes and begins
8447 # with a dollar sign (not a hyphen), so the echo should work correctly.
8448 # The option is referenced via a variable to avoid confusing sed.
8449 lt_compile=`echo "$ac_compile" | $SED \
8450 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8451 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8452 -e 's:$: $lt_compiler_flag:'`
8453 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8454 (eval "$lt_compile" 2>conftest.err)
8456 cat conftest.err >&5
8457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8458 if (exit $ac_status) && test -s "$ac_outfile"; then
8459 # The compiler can only warn and ignore the option if not recognized
8460 # So say no if there are warnings other than the usual output.
8461 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8462 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8463 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8464 lt_cv_prog_compiler_rtti_exceptions=yes
8470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8471 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8473 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8474 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8486 lt_prog_compiler_wl=
8487 lt_prog_compiler_pic=
8488 lt_prog_compiler_static=
8491 if test "$GCC" = yes; then
8492 lt_prog_compiler_wl='-Wl,'
8493 lt_prog_compiler_static='-static'
8497 # All AIX code is PIC.
8498 if test "$host_cpu" = ia64; then
8499 # AIX 5 now supports IA64 processor
8500 lt_prog_compiler_static='-Bstatic'
8507 # see comment about AmigaOS4 .so support
8508 lt_prog_compiler_pic='-fPIC'
8511 # FIXME: we need at least 68020 code to build shared libraries, but
8512 # adding the `-m68020' flag to GCC prevents building anything better,
8514 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8519 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8520 # PIC is the default for these OSes.
8523 mingw* | cygwin* | pw32* | os2* | cegcc*)
8524 # This hack is so that the source file can tell whether it is being
8525 # built for inclusion in a dll (and should export symbols for example).
8526 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8527 # (--disable-auto-import) libraries
8528 lt_prog_compiler_pic='-DDLL_EXPORT'
8531 darwin* | rhapsody*)
8532 # PIC is the default on this platform
8533 # Common symbols not allowed in MH_DYLIB files
8534 lt_prog_compiler_pic='-fno-common'
8538 # PIC is the default for Haiku.
8539 # The "-static" flag exists, but is broken.
8540 lt_prog_compiler_static=
8544 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8545 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8546 # sets the default TLS model and affects inlining.
8552 lt_prog_compiler_pic='-fPIC'
8558 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8559 # Instead, we relocate shared libraries at runtime.
8563 # Just because we use GCC doesn't mean we suddenly get shared libraries
8564 # on systems that don't support them.
8565 lt_prog_compiler_can_build_shared=no
8570 # QNX uses GNU C++, but need to define -shared option too, otherwise
8572 lt_prog_compiler_pic='-fPIC -shared'
8576 if test -d /usr/nec; then
8577 lt_prog_compiler_pic=-Kconform_pic
8582 lt_prog_compiler_pic='-fPIC'
8586 case $cc_basename in
8587 nvcc*) # Cuda Compiler Driver 2.2
8588 lt_prog_compiler_wl='-Xlinker '
8589 if test -n "$lt_prog_compiler_pic"; then
8590 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8595 # PORTME Check for flag to pass linker flags through the system compiler.
8598 lt_prog_compiler_wl='-Wl,'
8599 if test "$host_cpu" = ia64; then
8600 # AIX 5 now supports IA64 processor
8601 lt_prog_compiler_static='-Bstatic'
8603 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8607 mingw* | cygwin* | pw32* | os2* | cegcc*)
8608 # This hack is so that the source file can tell whether it is being
8609 # built for inclusion in a dll (and should export symbols for example).
8610 lt_prog_compiler_pic='-DDLL_EXPORT'
8613 hpux9* | hpux10* | hpux11*)
8614 lt_prog_compiler_wl='-Wl,'
8615 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8622 lt_prog_compiler_pic='+Z'
8625 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8626 lt_prog_compiler_static='${wl}-a ${wl}archive'
8629 irix5* | irix6* | nonstopux*)
8630 lt_prog_compiler_wl='-Wl,'
8631 # PIC (with -KPIC) is the default.
8632 lt_prog_compiler_static='-non_shared'
8635 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8636 case $cc_basename in
8637 # old Intel for x86_64 which still supported -KPIC.
8639 lt_prog_compiler_wl='-Wl,'
8640 lt_prog_compiler_pic='-KPIC'
8641 lt_prog_compiler_static='-static'
8643 # icc used to be incompatible with GCC.
8644 # ICC 10 doesn't accept -KPIC any more.
8646 lt_prog_compiler_wl='-Wl,'
8647 lt_prog_compiler_pic='-fPIC'
8648 lt_prog_compiler_static='-static'
8650 # Lahey Fortran 8.1.
8652 lt_prog_compiler_wl='-Wl,'
8653 lt_prog_compiler_pic='--shared'
8654 lt_prog_compiler_static='--static'
8657 # NAG Fortran compiler
8658 lt_prog_compiler_wl='-Wl,-Wl,,'
8659 lt_prog_compiler_pic='-PIC'
8660 lt_prog_compiler_static='-Bstatic'
8662 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8663 # Portland Group compilers (*not* the Pentium gcc compiler,
8664 # which looks to be a dead project)
8665 lt_prog_compiler_wl='-Wl,'
8666 lt_prog_compiler_pic='-fpic'
8667 lt_prog_compiler_static='-Bstatic'
8670 lt_prog_compiler_wl='-Wl,'
8671 # All Alpha code is PIC.
8672 lt_prog_compiler_static='-non_shared'
8674 xl* | bgxl* | bgf* | mpixl*)
8675 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8676 lt_prog_compiler_wl='-Wl,'
8677 lt_prog_compiler_pic='-qpic'
8678 lt_prog_compiler_static='-qstaticlink'
8681 case `$CC -V 2>&1 | sed 5q` in
8682 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8683 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8684 lt_prog_compiler_pic='-KPIC'
8685 lt_prog_compiler_static='-Bstatic'
8686 lt_prog_compiler_wl=''
8688 *Sun\ F* | *Sun*Fortran*)
8689 lt_prog_compiler_pic='-KPIC'
8690 lt_prog_compiler_static='-Bstatic'
8691 lt_prog_compiler_wl='-Qoption ld '
8695 lt_prog_compiler_pic='-KPIC'
8696 lt_prog_compiler_static='-Bstatic'
8697 lt_prog_compiler_wl='-Wl,'
8699 *Intel*\ [CF]*Compiler*)
8700 lt_prog_compiler_wl='-Wl,'
8701 lt_prog_compiler_pic='-fPIC'
8702 lt_prog_compiler_static='-static'
8705 lt_prog_compiler_wl='-Wl,'
8706 lt_prog_compiler_pic='-fpic'
8707 lt_prog_compiler_static='-Bstatic'
8715 lt_prog_compiler_pic='-KPIC'
8716 lt_prog_compiler_static='-Bstatic'
8720 # QNX uses GNU C++, but need to define -shared option too, otherwise
8722 lt_prog_compiler_pic='-fPIC -shared'
8725 osf3* | osf4* | osf5*)
8726 lt_prog_compiler_wl='-Wl,'
8727 # All OSF/1 code is PIC.
8728 lt_prog_compiler_static='-non_shared'
8732 lt_prog_compiler_static='-non_shared'
8736 lt_prog_compiler_pic='-KPIC'
8737 lt_prog_compiler_static='-Bstatic'
8738 case $cc_basename in
8739 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8740 lt_prog_compiler_wl='-Qoption ld ';;
8742 lt_prog_compiler_wl='-Wl,';;
8747 lt_prog_compiler_wl='-Qoption ld '
8748 lt_prog_compiler_pic='-PIC'
8749 lt_prog_compiler_static='-Bstatic'
8752 sysv4 | sysv4.2uw2* | sysv4.3*)
8753 lt_prog_compiler_wl='-Wl,'
8754 lt_prog_compiler_pic='-KPIC'
8755 lt_prog_compiler_static='-Bstatic'
8759 if test -d /usr/nec ;then
8760 lt_prog_compiler_pic='-Kconform_pic'
8761 lt_prog_compiler_static='-Bstatic'
8765 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8766 lt_prog_compiler_wl='-Wl,'
8767 lt_prog_compiler_pic='-KPIC'
8768 lt_prog_compiler_static='-Bstatic'
8772 lt_prog_compiler_wl='-Wl,'
8773 lt_prog_compiler_can_build_shared=no
8777 lt_prog_compiler_pic='-pic'
8778 lt_prog_compiler_static='-Bstatic'
8782 lt_prog_compiler_can_build_shared=no
8788 # For platforms which do not support PIC, -DPIC is meaningless:
8790 lt_prog_compiler_pic=
8793 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8798 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8799 if ${lt_cv_prog_compiler_pic+:} false; then :
8800 $as_echo_n "(cached) " >&6
8802 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8805 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8806 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8809 # Check to make sure the PIC flag actually works.
8811 if test -n "$lt_prog_compiler_pic"; then
8812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8813 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8814 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8815 $as_echo_n "(cached) " >&6
8817 lt_cv_prog_compiler_pic_works=no
8818 ac_outfile=conftest.$ac_objext
8819 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8820 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8821 # Insert the option either (1) after the last *FLAGS variable, or
8822 # (2) before a word containing "conftest.", or (3) at the end.
8823 # Note that $ac_compile itself does not contain backslashes and begins
8824 # with a dollar sign (not a hyphen), so the echo should work correctly.
8825 # The option is referenced via a variable to avoid confusing sed.
8826 lt_compile=`echo "$ac_compile" | $SED \
8827 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8828 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8829 -e 's:$: $lt_compiler_flag:'`
8830 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8831 (eval "$lt_compile" 2>conftest.err)
8833 cat conftest.err >&5
8834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8835 if (exit $ac_status) && test -s "$ac_outfile"; then
8836 # The compiler can only warn and ignore the option if not recognized
8837 # So say no if there are warnings other than the usual output.
8838 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8839 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8840 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8841 lt_cv_prog_compiler_pic_works=yes
8847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8848 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8850 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8851 case $lt_prog_compiler_pic in
8853 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8856 lt_prog_compiler_pic=
8857 lt_prog_compiler_can_build_shared=no
8873 # Check to make sure the static flag actually works.
8875 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8877 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8878 if ${lt_cv_prog_compiler_static_works+:} false; then :
8879 $as_echo_n "(cached) " >&6
8881 lt_cv_prog_compiler_static_works=no
8882 save_LDFLAGS="$LDFLAGS"
8883 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8884 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8885 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8886 # The linker can only warn and ignore the option if not recognized
8887 # So say no if there are warnings
8888 if test -s conftest.err; then
8889 # Append any errors to the config.log.
8890 cat conftest.err 1>&5
8891 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8892 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8893 if diff conftest.exp conftest.er2 >/dev/null; then
8894 lt_cv_prog_compiler_static_works=yes
8897 lt_cv_prog_compiler_static_works=yes
8901 LDFLAGS="$save_LDFLAGS"
8904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8905 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8907 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8910 lt_prog_compiler_static=
8919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8920 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8921 if ${lt_cv_prog_compiler_c_o+:} false; then :
8922 $as_echo_n "(cached) " >&6
8924 lt_cv_prog_compiler_c_o=no
8925 $RM -r conftest 2>/dev/null
8929 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8931 lt_compiler_flag="-o out/conftest2.$ac_objext"
8932 # Insert the option either (1) after the last *FLAGS variable, or
8933 # (2) before a word containing "conftest.", or (3) at the end.
8934 # Note that $ac_compile itself does not contain backslashes and begins
8935 # with a dollar sign (not a hyphen), so the echo should work correctly.
8936 lt_compile=`echo "$ac_compile" | $SED \
8937 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8938 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8939 -e 's:$: $lt_compiler_flag:'`
8940 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8941 (eval "$lt_compile" 2>out/conftest.err)
8943 cat out/conftest.err >&5
8944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8945 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8947 # The compiler can only warn and ignore the option if not recognized
8948 # So say no if there are warnings
8949 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8950 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8951 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8952 lt_cv_prog_compiler_c_o=yes
8957 # SGI C++ compiler will create directory out/ii_files/ for
8958 # template instantiation
8959 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8960 $RM out/* && rmdir out
8966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8967 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8975 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8976 if ${lt_cv_prog_compiler_c_o+:} false; then :
8977 $as_echo_n "(cached) " >&6
8979 lt_cv_prog_compiler_c_o=no
8980 $RM -r conftest 2>/dev/null
8984 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8986 lt_compiler_flag="-o out/conftest2.$ac_objext"
8987 # Insert the option either (1) after the last *FLAGS variable, or
8988 # (2) before a word containing "conftest.", or (3) at the end.
8989 # Note that $ac_compile itself does not contain backslashes and begins
8990 # with a dollar sign (not a hyphen), so the echo should work correctly.
8991 lt_compile=`echo "$ac_compile" | $SED \
8992 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8993 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8994 -e 's:$: $lt_compiler_flag:'`
8995 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8996 (eval "$lt_compile" 2>out/conftest.err)
8998 cat out/conftest.err >&5
8999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9000 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9002 # The compiler can only warn and ignore the option if not recognized
9003 # So say no if there are warnings
9004 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9005 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9006 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9007 lt_cv_prog_compiler_c_o=yes
9012 # SGI C++ compiler will create directory out/ii_files/ for
9013 # template instantiation
9014 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9015 $RM out/* && rmdir out
9021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9022 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9027 hard_links="nottested"
9028 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9029 # do not overwrite the value of need_locks provided by the user
9030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9031 $as_echo_n "checking if we can lock with hard links... " >&6; }
9034 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9036 ln conftest.a conftest.b 2>&5 || hard_links=no
9037 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9039 $as_echo "$hard_links" >&6; }
9040 if test "$hard_links" = no; then
9041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9042 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9055 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9058 allow_undefined_flag=
9059 always_export_symbols=no
9061 archive_expsym_cmds=
9062 compiler_needs_object=no
9063 enable_shared_with_static_runtimes=no
9064 export_dynamic_flag_spec=
9065 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9066 hardcode_automatic=no
9068 hardcode_direct_absolute=no
9069 hardcode_libdir_flag_spec=
9070 hardcode_libdir_separator=
9072 hardcode_shlibpath_var=unsupported
9074 link_all_deplibs=unknown
9077 old_archive_from_new_cmds=
9078 old_archive_from_expsyms_cmds=
9079 thread_safe_flag_spec=
9080 whole_archive_flag_spec=
9081 # include_expsyms should be a list of space-separated symbols to be *always*
9082 # included in the symbol list
9084 # exclude_expsyms can be an extended regexp of symbols to exclude
9085 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9086 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9087 # as well as any symbol that contains `d'.
9088 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9089 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9090 # platforms (ab)use it in PIC code, but their linkers get confused if
9091 # the symbol is explicitly referenced. Since portable code cannot
9092 # rely on this symbol name, it's probably fine to never include it in
9093 # preloaded symbol tables.
9094 # Exclude shared library initialization/finalization symbols.
9095 extract_expsyms_cmds=
9098 cygwin* | mingw* | pw32* | cegcc*)
9099 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9100 # When not using gcc, we currently assume that we are using
9101 # Microsoft Visual C++.
9102 if test "$GCC" != yes; then
9107 # we just hope/assume this is gcc and not c89 (= MSVC++)
9117 # On some targets, GNU ld is compatible enough with the native linker
9118 # that we're better off using the native interface for both.
9119 lt_use_gnu_ld_interface=no
9120 if test "$with_gnu_ld" = yes; then
9123 # The AIX port of GNU ld has always aspired to compatibility
9124 # with the native linker. However, as the warning in the GNU ld
9125 # block says, versions before 2.19.5* couldn't really create working
9126 # shared libraries, regardless of the interface used.
9127 case `$LD -v 2>&1` in
9128 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9129 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9130 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9132 lt_use_gnu_ld_interface=yes
9137 lt_use_gnu_ld_interface=yes
9142 if test "$lt_use_gnu_ld_interface" = yes; then
9143 # If archive_cmds runs LD, not CC, wlarc should be empty
9146 # Set some defaults for GNU ld with shared library support. These
9147 # are reset later if shared libraries are not supported. Putting them
9148 # here allows them to be overridden if necessary.
9149 runpath_var=LD_RUN_PATH
9150 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9151 export_dynamic_flag_spec='${wl}--export-dynamic'
9152 # ancient GNU ld didn't support --whole-archive et. al.
9153 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9154 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9156 whole_archive_flag_spec=
9158 supports_anon_versioning=no
9159 case `$LD -v 2>&1` in
9160 *GNU\ gold*) supports_anon_versioning=yes ;;
9161 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9162 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9163 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9164 *\ 2.11.*) ;; # other 2.11 versions
9165 *) supports_anon_versioning=yes ;;
9168 # See if GNU ld supports shared libraries.
9171 # On AIX/PPC, the GNU linker is very broken
9172 if test "$host_cpu" != ia64; then
9176 *** Warning: the GNU linker, at least up to release 2.19, is reported
9177 *** to be unable to reliably create shared libraries on AIX.
9178 *** Therefore, libtool is disabling shared libraries support. If you
9179 *** really care for shared libraries, you may want to install binutils
9180 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9181 *** You will then need to restart the configuration process.
9190 # see comment about AmigaOS4 .so support
9191 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9192 archive_expsym_cmds=''
9195 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)'
9196 hardcode_libdir_flag_spec='-L$libdir'
9197 hardcode_minus_L=yes
9203 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9204 allow_undefined_flag=unsupported
9205 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9206 # support --undefined. This deserves some investigation. FIXME
9207 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9213 cygwin* | mingw* | pw32* | cegcc*)
9214 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9215 # as there is no search path for DLLs.
9216 hardcode_libdir_flag_spec='-L$libdir'
9217 export_dynamic_flag_spec='${wl}--export-all-symbols'
9218 allow_undefined_flag=unsupported
9219 always_export_symbols=no
9220 enable_shared_with_static_runtimes=yes
9221 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'
9222 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9224 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9225 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9226 # If the export-symbols file already is a .def file (1st line
9227 # is EXPORTS), use it as is; otherwise, prepend...
9228 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9229 cp $export_symbols $output_objdir/$soname.def;
9231 echo EXPORTS > $output_objdir/$soname.def;
9232 cat $export_symbols >> $output_objdir/$soname.def;
9234 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9241 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9242 link_all_deplibs=yes
9247 hardcode_shlibpath_var=no
9248 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9249 export_dynamic_flag_spec='${wl}-E'
9250 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9251 # Instead, shared libraries are loaded at an image base (0x10000000 by
9252 # default) and relocated if they conflict, which is a slow very memory
9253 # consuming and fragmenting process. To avoid this, we pick a random,
9254 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9255 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9256 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9257 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'
9260 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9262 if test "$host_os" = linux-dietlibc; then
9263 case $cc_basename in
9264 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9267 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9268 && test "$tmp_diet" = no
9270 tmp_addflag=' $pic_flag'
9271 tmp_sharedflag='-shared'
9272 case $cc_basename,$host_cpu in
9273 pgcc*) # Portland Group C compiler
9274 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'
9275 tmp_addflag=' $pic_flag'
9277 pgf77* | pgf90* | pgf95* | pgfortran*)
9278 # Portland Group f77 and f90 compilers
9279 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'
9280 tmp_addflag=' $pic_flag -Mnomain' ;;
9281 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9282 tmp_addflag=' -i_dynamic' ;;
9283 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9284 tmp_addflag=' -i_dynamic -nofor_main' ;;
9285 ifc* | ifort*) # Intel Fortran compiler
9286 tmp_addflag=' -nofor_main' ;;
9287 lf95*) # Lahey Fortran 8.1
9288 whole_archive_flag_spec=
9289 tmp_sharedflag='--shared' ;;
9290 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9291 tmp_sharedflag='-qmkshrobj'
9293 nvcc*) # Cuda Compiler Driver 2.2
9294 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'
9295 compiler_needs_object=yes
9298 case `$CC -V 2>&1 | sed 5q` in
9299 *Sun\ C*) # Sun C 5.9
9300 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'
9301 compiler_needs_object=yes
9302 tmp_sharedflag='-G' ;;
9303 *Sun\ F*) # Sun Fortran 8.3
9304 tmp_sharedflag='-G' ;;
9306 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9308 if test "x$supports_anon_versioning" = xyes; then
9309 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9310 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9311 echo "local: *; };" >> $output_objdir/$libname.ver~
9312 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9315 case $cc_basename in
9316 xlf* | bgf* | bgxlf* | mpixlf*)
9317 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9318 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9319 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9320 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9321 if test "x$supports_anon_versioning" = xyes; then
9322 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9323 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9324 echo "local: *; };" >> $output_objdir/$libname.ver~
9325 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9335 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9336 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9339 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9340 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9345 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9349 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9350 *** create shared libraries on Solaris systems. Therefore, libtool
9351 *** is disabling shared libraries support. We urge you to upgrade GNU
9352 *** binutils to release 2.9.1 or newer. Another option is to modify
9353 *** your PATH or compiler configuration so that the native linker is
9354 *** used, and then restart.
9357 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9358 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9359 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9365 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9366 case `$LD -v 2>&1` in
9367 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9371 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9372 *** reliably create shared libraries on SCO systems. Therefore, libtool
9373 *** is disabling shared libraries support. We urge you to upgrade GNU
9374 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9375 *** your PATH or compiler configuration so that the native linker is
9376 *** used, and then restart.
9381 # For security reasons, it is highly recommended that you always
9382 # use absolute paths for naming shared libraries, and exclude the
9383 # DT_RUNPATH tag from executables and libraries. But doing so
9384 # requires that you compile everything twice, which is a pain.
9385 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9386 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9387 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9388 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9397 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9400 hardcode_shlibpath_var=no
9404 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9405 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9406 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9413 if test "$ld_shlibs" = no; then
9415 hardcode_libdir_flag_spec=
9416 export_dynamic_flag_spec=
9417 whole_archive_flag_spec=
9420 # PORTME fill in a description of your system's linker (not GNU ld)
9423 allow_undefined_flag=unsupported
9424 always_export_symbols=yes
9425 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'
9426 # Note: this linker hardcodes the directories in LIBPATH if there
9427 # are no directories specified by -L.
9428 hardcode_minus_L=yes
9429 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9430 # Neither direct hardcoding nor static linking is supported with a
9432 hardcode_direct=unsupported
9437 if test "$host_cpu" = ia64; then
9438 # On IA64, the linker does run time linking by default, so we don't
9439 # have to do anything special.
9440 aix_use_runtimelinking=no
9441 exp_sym_flag='-Bexport'
9444 # If we're using GNU nm, then we don't want the "-C" option.
9445 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9446 # Also, AIX nm treats weak defined symbols like other global
9447 # defined symbols, whereas GNU nm marks them as "W".
9448 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9449 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'
9451 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'
9453 aix_use_runtimelinking=no
9455 # Test if we are trying to use run time linking or normal
9456 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9457 # need to do runtime linking.
9458 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9459 for ld_flag in $LDFLAGS; do
9460 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9461 aix_use_runtimelinking=yes
9468 exp_sym_flag='-bexport'
9469 no_entry_flag='-bnoentry'
9472 # When large executables or shared objects are built, AIX ld can
9473 # have problems creating the table of contents. If linking a library
9474 # or program results in "error TOC overflow" add -mminimal-toc to
9475 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9476 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9480 hardcode_direct_absolute=yes
9481 hardcode_libdir_separator=':'
9482 link_all_deplibs=yes
9483 file_list_spec='${wl}-f,'
9485 if test "$GCC" = yes; then
9486 case $host_os in aix4.[012]|aix4.[012].*)
9487 # We only want to do this on AIX 4.2 and lower, the check
9488 # below for broken collect2 doesn't work under 4.3+
9489 collect2name=`${CC} -print-prog-name=collect2`
9490 if test -f "$collect2name" &&
9491 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9493 # We have reworked collect2
9496 # We have old collect2
9497 hardcode_direct=unsupported
9498 # It fails to find uninstalled libraries when the uninstalled
9499 # path is not listed in the libpath. Setting hardcode_minus_L
9500 # to unsupported forces relinking
9501 hardcode_minus_L=yes
9502 hardcode_libdir_flag_spec='-L$libdir'
9503 hardcode_libdir_separator=
9507 shared_flag='-shared'
9508 if test "$aix_use_runtimelinking" = yes; then
9509 shared_flag="$shared_flag "'${wl}-G'
9513 if test "$host_cpu" = ia64; then
9514 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9515 # chokes on -Wl,-G. The following line is correct:
9518 if test "$aix_use_runtimelinking" = yes; then
9519 shared_flag='${wl}-G'
9521 shared_flag='${wl}-bM:SRE'
9526 export_dynamic_flag_spec='${wl}-bexpall'
9527 # It seems that -bexpall does not export symbols beginning with
9528 # underscore (_), so it is better to generate a list of symbols to export.
9529 always_export_symbols=yes
9530 if test "$aix_use_runtimelinking" = yes; then
9531 # Warning - without using the other runtime loading flags (-brtl),
9532 # -berok will link without error, but may produce a broken library.
9533 allow_undefined_flag='-berok'
9534 # Determine the default libpath from the value encoded in an
9536 if test "${lt_cv_aix_libpath+set}" = set; then
9537 aix_libpath=$lt_cv_aix_libpath
9539 if ${lt_cv_aix_libpath_+:} false; then :
9540 $as_echo_n "(cached) " >&6
9542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9543 /* end confdefs.h. */
9553 if ac_fn_c_try_link "$LINENO"; then :
9555 lt_aix_libpath_sed='
9556 /Import File Strings/,/^$/ {
9558 s/^0 *\([^ ]*\) *$/\1/
9562 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9563 # Check for a 64-bit object if we didn't find anything.
9564 if test -z "$lt_cv_aix_libpath_"; then
9565 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9568 rm -f core conftest.err conftest.$ac_objext \
9569 conftest$ac_exeext conftest.$ac_ext
9570 if test -z "$lt_cv_aix_libpath_"; then
9571 lt_cv_aix_libpath_="/usr/lib:/lib"
9576 aix_libpath=$lt_cv_aix_libpath_
9579 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9580 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"
9582 if test "$host_cpu" = ia64; then
9583 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9584 allow_undefined_flag="-z nodefs"
9585 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"
9587 # Determine the default libpath from the value encoded in an
9589 if test "${lt_cv_aix_libpath+set}" = set; then
9590 aix_libpath=$lt_cv_aix_libpath
9592 if ${lt_cv_aix_libpath_+:} false; then :
9593 $as_echo_n "(cached) " >&6
9595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9596 /* end confdefs.h. */
9606 if ac_fn_c_try_link "$LINENO"; then :
9608 lt_aix_libpath_sed='
9609 /Import File Strings/,/^$/ {
9611 s/^0 *\([^ ]*\) *$/\1/
9615 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9616 # Check for a 64-bit object if we didn't find anything.
9617 if test -z "$lt_cv_aix_libpath_"; then
9618 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9621 rm -f core conftest.err conftest.$ac_objext \
9622 conftest$ac_exeext conftest.$ac_ext
9623 if test -z "$lt_cv_aix_libpath_"; then
9624 lt_cv_aix_libpath_="/usr/lib:/lib"
9629 aix_libpath=$lt_cv_aix_libpath_
9632 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9633 # Warning - without using the other run time loading flags,
9634 # -berok will link without error, but may produce a broken library.
9635 no_undefined_flag=' ${wl}-bernotok'
9636 allow_undefined_flag=' ${wl}-berok'
9637 if test "$with_gnu_ld" = yes; then
9638 # We only use this code for GNU lds that support --whole-archive.
9639 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9641 # Exported symbols can be pulled into shared objects from archives
9642 whole_archive_flag_spec='$convenience'
9644 archive_cmds_need_lc=yes
9645 # This is similar to how AIX traditionally builds its shared libraries.
9646 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'
9654 # see comment about AmigaOS4 .so support
9655 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9656 archive_expsym_cmds=''
9659 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)'
9660 hardcode_libdir_flag_spec='-L$libdir'
9661 hardcode_minus_L=yes
9667 export_dynamic_flag_spec=-rdynamic
9670 cygwin* | mingw* | pw32* | cegcc*)
9671 # When not using gcc, we currently assume that we are using
9672 # Microsoft Visual C++.
9673 # hardcode_libdir_flag_spec is actually meaningless, as there is
9674 # no search path for DLLs.
9675 case $cc_basename in
9678 hardcode_libdir_flag_spec=' '
9679 allow_undefined_flag=unsupported
9680 always_export_symbols=yes
9682 # Tell ltmain to make .lib files, not .a files.
9684 # Tell ltmain to make .dll files, not .so files.
9686 # FIXME: Setting linknames here is a bad hack.
9687 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9688 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9689 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9691 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9693 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9695 # The linker will not automatically build a static lib if we build a DLL.
9696 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9697 enable_shared_with_static_runtimes=yes
9698 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9699 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9701 old_postinstall_cmds='chmod 644 $oldlib'
9702 postlink_cmds='lt_outputfile="@OUTPUT@"~
9703 lt_tool_outputfile="@TOOL_OUTPUT@"~
9704 case $lt_outputfile in
9707 lt_outputfile="$lt_outputfile.exe"
9708 lt_tool_outputfile="$lt_tool_outputfile.exe"
9711 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9712 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9713 $RM "$lt_outputfile.manifest";
9717 # Assume MSVC wrapper
9718 hardcode_libdir_flag_spec=' '
9719 allow_undefined_flag=unsupported
9720 # Tell ltmain to make .lib files, not .a files.
9722 # Tell ltmain to make .dll files, not .so files.
9724 # FIXME: Setting linknames here is a bad hack.
9725 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9726 # The linker will automatically build a .lib file if we build a DLL.
9727 old_archive_from_new_cmds='true'
9728 # FIXME: Should let the user specify the lib program.
9729 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9730 enable_shared_with_static_runtimes=yes
9735 darwin* | rhapsody*)
9738 archive_cmds_need_lc=no
9740 hardcode_automatic=yes
9741 hardcode_shlibpath_var=unsupported
9742 if test "$lt_cv_ld_force_load" = "yes"; then
9743 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\"`'
9746 whole_archive_flag_spec=''
9748 link_all_deplibs=yes
9749 allow_undefined_flag="$_lt_dar_allow_undefined"
9750 case $cc_basename in
9751 ifort*) _lt_dar_can_shared=yes ;;
9752 *) _lt_dar_can_shared=$GCC ;;
9754 if test "$_lt_dar_can_shared" = "yes"; then
9755 output_verbose_link_cmd=func_echo_all
9756 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9757 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9758 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}"
9759 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}"
9768 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9769 hardcode_libdir_flag_spec='-L$libdir'
9770 hardcode_shlibpath_var=no
9773 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9774 # support. Future versions do this automatically, but an explicit c++rt0.o
9775 # does not break anything, and helps significantly (at the cost of a little
9778 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9779 hardcode_libdir_flag_spec='-R$libdir'
9781 hardcode_shlibpath_var=no
9784 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9786 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9788 hardcode_minus_L=yes
9789 hardcode_shlibpath_var=no
9792 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9793 freebsd* | dragonfly*)
9794 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9795 hardcode_libdir_flag_spec='-R$libdir'
9797 hardcode_shlibpath_var=no
9801 if test "$GCC" = yes; then
9802 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'
9804 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'
9806 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9807 hardcode_libdir_separator=:
9810 # hardcode_minus_L: Not really in the search PATH,
9811 # but as the default location of the library.
9812 hardcode_minus_L=yes
9813 export_dynamic_flag_spec='${wl}-E'
9817 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9818 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9820 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9822 if test "$with_gnu_ld" = no; then
9823 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9824 hardcode_libdir_separator=:
9826 hardcode_direct_absolute=yes
9827 export_dynamic_flag_spec='${wl}-E'
9828 # hardcode_minus_L: Not really in the search PATH,
9829 # but as the default location of the library.
9830 hardcode_minus_L=yes
9835 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9838 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9841 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9844 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9850 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9853 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9857 # Older versions of the 11.00 compiler do not understand -b yet
9858 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9860 $as_echo_n "checking if $CC understands -b... " >&6; }
9861 if ${lt_cv_prog_compiler__b+:} false; then :
9862 $as_echo_n "(cached) " >&6
9864 lt_cv_prog_compiler__b=no
9865 save_LDFLAGS="$LDFLAGS"
9866 LDFLAGS="$LDFLAGS -b"
9867 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9868 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9869 # The linker can only warn and ignore the option if not recognized
9870 # So say no if there are warnings
9871 if test -s conftest.err; then
9872 # Append any errors to the config.log.
9873 cat conftest.err 1>&5
9874 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9875 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9876 if diff conftest.exp conftest.er2 >/dev/null; then
9877 lt_cv_prog_compiler__b=yes
9880 lt_cv_prog_compiler__b=yes
9884 LDFLAGS="$save_LDFLAGS"
9887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9888 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9890 if test x"$lt_cv_prog_compiler__b" = xyes; then
9891 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9893 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9899 if test "$with_gnu_ld" = no; then
9900 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9901 hardcode_libdir_separator=:
9906 hardcode_shlibpath_var=no
9910 hardcode_direct_absolute=yes
9911 export_dynamic_flag_spec='${wl}-E'
9913 # hardcode_minus_L: Not really in the search PATH,
9914 # but as the default location of the library.
9915 hardcode_minus_L=yes
9921 irix5* | irix6* | nonstopux*)
9922 if test "$GCC" = yes; then
9923 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'
9924 # Try to use the -exported_symbol ld option, if it does not
9925 # work, assume that -exports_file does not work either and
9926 # implicitly export all symbols.
9927 # This should be the same for all languages, so no per-tag cache variable.
9928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9929 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9930 if ${lt_cv_irix_exported_symbol+:} false; then :
9931 $as_echo_n "(cached) " >&6
9933 save_LDFLAGS="$LDFLAGS"
9934 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9936 /* end confdefs.h. */
9937 int foo (void) { return 0; }
9939 if ac_fn_c_try_link "$LINENO"; then :
9940 lt_cv_irix_exported_symbol=yes
9942 lt_cv_irix_exported_symbol=no
9944 rm -f core conftest.err conftest.$ac_objext \
9945 conftest$ac_exeext conftest.$ac_ext
9946 LDFLAGS="$save_LDFLAGS"
9948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9949 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9950 if test "$lt_cv_irix_exported_symbol" = yes; then
9951 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'
9954 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'
9955 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'
9957 archive_cmds_need_lc='no'
9958 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9959 hardcode_libdir_separator=:
9961 link_all_deplibs=yes
9965 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9966 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9968 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9970 hardcode_libdir_flag_spec='-R$libdir'
9972 hardcode_shlibpath_var=no
9976 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9978 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9979 hardcode_libdir_separator=:
9980 hardcode_shlibpath_var=no
9987 if test -f /usr/libexec/ld.so; then
9989 hardcode_shlibpath_var=no
9990 hardcode_direct_absolute=yes
9991 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9992 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9993 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9994 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9995 export_dynamic_flag_spec='${wl}-E'
9998 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9999 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10000 hardcode_libdir_flag_spec='-R$libdir'
10003 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10004 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10014 hardcode_libdir_flag_spec='-L$libdir'
10015 hardcode_minus_L=yes
10016 allow_undefined_flag=unsupported
10017 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'
10018 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10022 if test "$GCC" = yes; then
10023 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10024 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'
10026 allow_undefined_flag=' -expect_unresolved \*'
10027 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'
10029 archive_cmds_need_lc='no'
10030 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10031 hardcode_libdir_separator=:
10034 osf4* | osf5*) # as osf3* with the addition of -msym flag
10035 if test "$GCC" = yes; then
10036 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10037 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'
10038 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10040 allow_undefined_flag=' -expect_unresolved \*'
10041 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'
10042 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~
10043 $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'
10045 # Both c and cxx compiler support -rpath directly
10046 hardcode_libdir_flag_spec='-rpath $libdir'
10048 archive_cmds_need_lc='no'
10049 hardcode_libdir_separator=:
10053 no_undefined_flag=' -z defs'
10054 if test "$GCC" = yes; then
10056 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10057 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10058 $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'
10060 case `$CC -V 2>&1` in
10063 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10064 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10065 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10069 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10070 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10071 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10075 hardcode_libdir_flag_spec='-R$libdir'
10076 hardcode_shlibpath_var=no
10078 solaris2.[0-5] | solaris2.[0-5].*) ;;
10080 # The compiler driver will combine and reorder linker options,
10081 # but understands `-z linker_flag'. GCC discards it without `$wl',
10082 # but is careful enough not to reorder.
10083 # Supported since Solaris 2.6 (maybe 2.5.1?)
10084 if test "$GCC" = yes; then
10085 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10087 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10091 link_all_deplibs=yes
10095 if test "x$host_vendor" = xsequent; then
10096 # Use $CC to link under sequent, because it throws in some extra .o
10097 # files that make .init and .fini sections work.
10098 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10100 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10102 hardcode_libdir_flag_spec='-L$libdir'
10103 hardcode_direct=yes
10104 hardcode_minus_L=yes
10105 hardcode_shlibpath_var=no
10109 case $host_vendor in
10111 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10112 hardcode_direct=yes # is this really true???
10115 ## LD is ld it makes a PLAMLIB
10116 ## CC just makes a GrossModule.
10117 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10118 reload_cmds='$CC -r -o $output$reload_objs'
10122 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10123 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10126 runpath_var='LD_RUN_PATH'
10127 hardcode_shlibpath_var=no
10131 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10132 hardcode_shlibpath_var=no
10133 export_dynamic_flag_spec='-Bexport'
10137 if test -d /usr/nec; then
10138 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10139 hardcode_shlibpath_var=no
10140 runpath_var=LD_RUN_PATH
10141 hardcode_runpath_var=yes
10146 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10147 no_undefined_flag='${wl}-z,text'
10148 archive_cmds_need_lc=no
10149 hardcode_shlibpath_var=no
10150 runpath_var='LD_RUN_PATH'
10152 if test "$GCC" = yes; then
10153 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10154 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10156 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10157 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10161 sysv5* | sco3.2v5* | sco5v6*)
10162 # Note: We can NOT use -z defs as we might desire, because we do not
10163 # link with -lc, and that would cause any symbols used from libc to
10164 # always be unresolved, which means just about no library would
10165 # ever link correctly. If we're not using GNU ld we use -z text
10166 # though, which does catch some bad symbols but isn't as heavy-handed
10168 no_undefined_flag='${wl}-z,text'
10169 allow_undefined_flag='${wl}-z,nodefs'
10170 archive_cmds_need_lc=no
10171 hardcode_shlibpath_var=no
10172 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10173 hardcode_libdir_separator=':'
10174 link_all_deplibs=yes
10175 export_dynamic_flag_spec='${wl}-Bexport'
10176 runpath_var='LD_RUN_PATH'
10178 if test "$GCC" = yes; then
10179 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10180 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10182 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10183 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10188 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10189 hardcode_libdir_flag_spec='-L$libdir'
10190 hardcode_shlibpath_var=no
10198 if test x$host_vendor = xsni; then
10200 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10201 export_dynamic_flag_spec='${wl}-Blargedynsym'
10207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10208 $as_echo "$ld_shlibs" >&6; }
10209 test "$ld_shlibs" = no && can_build_shared=no
10211 with_gnu_ld=$with_gnu_ld
10228 # Do we need to explicitly link libc?
10230 case "x$archive_cmds_need_lc" in
10232 # Assume -lc should be added
10233 archive_cmds_need_lc=yes
10235 if test "$enable_shared" = yes && test "$GCC" = yes; then
10236 case $archive_cmds in
10238 # FIXME: we may have to deal with multi-command sequences.
10241 # Test whether the compiler implicitly links with -lc since on some
10242 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10243 # to ld, don't add -lc before -lgcc.
10244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10245 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10246 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10247 $as_echo_n "(cached) " >&6
10250 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10252 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10253 (eval $ac_compile) 2>&5
10255 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10256 test $ac_status = 0; } 2>conftest.err; then
10259 libobjs=conftest.$ac_objext
10261 wl=$lt_prog_compiler_wl
10262 pic_flag=$lt_prog_compiler_pic
10268 lt_save_allow_undefined_flag=$allow_undefined_flag
10269 allow_undefined_flag=
10270 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10271 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10273 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10274 test $ac_status = 0; }
10276 lt_cv_archive_cmds_need_lc=no
10278 lt_cv_archive_cmds_need_lc=yes
10280 allow_undefined_flag=$lt_save_allow_undefined_flag
10282 cat conftest.err 1>&5
10287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10288 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10289 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10448 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10450 if test "$GCC" = yes; then
10452 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10453 *) lt_awk_arg="/^libraries:/" ;;
10456 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10457 *) lt_sed_strip_eq="s,=/,/,g" ;;
10459 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10460 case $lt_search_path_spec in
10462 # if the path contains ";" then we assume it to be the separator
10463 # otherwise default to the standard path separator (i.e. ":") - it is
10464 # assumed that no part of a normal pathname contains ";" but that should
10465 # okay in the real world where ";" in dirpaths is itself problematic.
10466 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10469 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10472 # Ok, now we have the path, separated by spaces, we can step through it
10473 # and add multilib dir if necessary.
10474 lt_tmp_lt_search_path_spec=
10475 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10476 for lt_sys_path in $lt_search_path_spec; do
10477 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10478 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10480 test -d "$lt_sys_path" && \
10481 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10484 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10485 BEGIN {RS=" "; FS="/|\n";} {
10488 for (lt_i = NF; lt_i > 0; lt_i--) {
10489 if ($lt_i != "" && $lt_i != ".") {
10490 if ($lt_i == "..") {
10493 if (lt_count == 0) {
10494 lt_foo="/" $lt_i lt_foo;
10501 if (lt_foo != "") { lt_freq[lt_foo]++; }
10502 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10504 # AWK program above erroneously prepends '/' to C:/dos/paths
10507 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10508 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10510 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10512 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10514 library_names_spec=
10515 libname_spec='lib$name'
10519 postuninstall_cmds=
10523 shlibpath_overrides_runpath=unknown
10525 dynamic_linker="$host_os ld.so"
10526 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10527 need_lib_prefix=unknown
10528 hardcode_into_libs=no
10530 # when you set need_version to no, make sure it does not cause -set_version
10531 # flags to be left without arguments
10532 need_version=unknown
10536 version_type=linux # correct to gnu/linux during the next big refactor
10537 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10538 shlibpath_var=LIBPATH
10540 # AIX 3 has no versioning support, so we append a major version to the name.
10541 soname_spec='${libname}${release}${shared_ext}$major'
10545 version_type=linux # correct to gnu/linux during the next big refactor
10548 hardcode_into_libs=yes
10549 if test "$host_cpu" = ia64; then
10550 # AIX 5 supports IA64
10551 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10552 shlibpath_var=LD_LIBRARY_PATH
10554 # With GCC up to 2.95.x, collect2 would create an import file
10555 # for dependence libraries. The import file would start with
10556 # the line `#! .'. This would cause the generated library to
10557 # depend on `.', always an invalid library. This was fixed in
10558 # development snapshots of GCC prior to 3.0.
10560 aix4 | aix4.[01] | aix4.[01].*)
10561 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10563 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10566 can_build_shared=no
10570 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10571 # soname into executable. Probably we can add versioning support to
10572 # collect2, so additional links can be useful in future.
10573 if test "$aix_use_runtimelinking" = yes; then
10574 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10575 # instead of lib<name>.a to let people know that these are not
10576 # typical AIX shared libraries.
10577 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10579 # We preserve .a as extension for shared libraries through AIX4.2
10580 # and later when we are not doing run time linking.
10581 library_names_spec='${libname}${release}.a $libname.a'
10582 soname_spec='${libname}${release}${shared_ext}$major'
10584 shlibpath_var=LIBPATH
10591 # Since July 2007 AmigaOS4 officially supports .so libraries.
10592 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10593 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10596 library_names_spec='$libname.ixlibrary $libname.a'
10597 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10598 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'
10604 library_names_spec='${libname}${shared_ext}'
10605 dynamic_linker="$host_os ld.so"
10606 shlibpath_var=LIBRARY_PATH
10610 version_type=linux # correct to gnu/linux during the next big refactor
10612 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10613 soname_spec='${libname}${release}${shared_ext}$major'
10614 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10615 shlibpath_var=LD_LIBRARY_PATH
10616 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10617 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10618 # the default ld.so.conf also contains /usr/contrib/lib and
10619 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10620 # libtool to hard-code these into programs
10623 cygwin* | mingw* | pw32* | cegcc*)
10624 version_type=windows
10629 case $GCC,$cc_basename in
10632 library_names_spec='$libname.dll.a'
10633 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10634 postinstall_cmds='base_file=`basename \${file}`~
10635 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10636 dldir=$destdir/`dirname \$dlpath`~
10637 test -d \$dldir || mkdir -p \$dldir~
10638 $install_prog $dir/$dlname \$dldir/$dlname~
10639 chmod a+x \$dldir/$dlname~
10640 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10641 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10643 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10644 dlpath=$dir/\$dldll~
10646 shlibpath_overrides_runpath=yes
10650 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10651 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10653 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10656 # MinGW DLLs use traditional 'lib' prefix
10657 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10660 # pw32 DLLs use 'pw' prefix rather than 'lib'
10661 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10664 dynamic_linker='Win32 ld.exe'
10669 libname_spec='$name'
10670 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10671 library_names_spec='${libname}.dll.lib'
10675 sys_lib_search_path_spec=
10678 for lt_path in $LIB
10681 # Let DOS variable expansion print the short 8.3 style file name.
10682 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10683 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10686 # Convert to MSYS style.
10687 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10690 # Convert to unix form, then to dos form, then back to unix form
10691 # but this time dos style (no spaces!) so that the unix form looks
10692 # like /cygdrive/c/PROGRA~1:/cygdr...
10693 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10694 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10695 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10698 sys_lib_search_path_spec="$LIB"
10699 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10700 # It is most probably a Windows format PATH.
10701 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10703 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10705 # FIXME: find the short name or the path components, as spaces are
10706 # common. (e.g. "Program Files" -> "PROGRA~1")
10710 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10711 postinstall_cmds='base_file=`basename \${file}`~
10712 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10713 dldir=$destdir/`dirname \$dlpath`~
10714 test -d \$dldir || mkdir -p \$dldir~
10715 $install_prog $dir/$dlname \$dldir/$dlname'
10716 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10717 dlpath=$dir/\$dldll~
10719 shlibpath_overrides_runpath=yes
10720 dynamic_linker='Win32 link.exe'
10724 # Assume MSVC wrapper
10725 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10726 dynamic_linker='Win32 ld.exe'
10729 # FIXME: first we should search . and the directory the executable is in
10733 darwin* | rhapsody*)
10734 dynamic_linker="$host_os dyld"
10735 version_type=darwin
10738 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10739 soname_spec='${libname}${release}${major}$shared_ext'
10740 shlibpath_overrides_runpath=yes
10741 shlibpath_var=DYLD_LIBRARY_PATH
10742 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10744 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10745 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10749 version_type=linux # correct to gnu/linux during the next big refactor
10752 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10753 soname_spec='${libname}${release}${shared_ext}$major'
10754 shlibpath_var=LD_LIBRARY_PATH
10757 freebsd* | dragonfly*)
10758 # DragonFly does not have aout. When/if they implement a new
10759 # versioning mechanism, adjust this.
10760 if test -x /usr/bin/objformat; then
10761 objformat=`/usr/bin/objformat`
10764 freebsd[23].*) objformat=aout ;;
10765 *) objformat=elf ;;
10768 version_type=freebsd-$objformat
10769 case $version_type in
10771 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10776 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10780 shlibpath_var=LD_LIBRARY_PATH
10783 shlibpath_overrides_runpath=yes
10785 freebsd3.[01]* | freebsdelf3.[01]*)
10786 shlibpath_overrides_runpath=yes
10787 hardcode_into_libs=yes
10789 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10790 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10791 shlibpath_overrides_runpath=no
10792 hardcode_into_libs=yes
10794 *) # from 4.6 on, and DragonFly
10795 shlibpath_overrides_runpath=yes
10796 hardcode_into_libs=yes
10802 version_type=linux # correct to gnu/linux during the next big refactor
10805 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10806 soname_spec='${libname}${release}${shared_ext}$major'
10807 shlibpath_var=LD_LIBRARY_PATH
10808 shlibpath_overrides_runpath=no
10809 hardcode_into_libs=yes
10813 version_type=linux # correct to gnu/linux during the next big refactor
10816 dynamic_linker="$host_os runtime_loader"
10817 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10818 soname_spec='${libname}${release}${shared_ext}$major'
10819 shlibpath_var=LIBRARY_PATH
10820 shlibpath_overrides_runpath=yes
10821 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10822 hardcode_into_libs=yes
10825 hpux9* | hpux10* | hpux11*)
10826 # Give a soname corresponding to the major version so that dld.sl refuses to
10827 # link against other versions.
10834 hardcode_into_libs=yes
10835 dynamic_linker="$host_os dld.so"
10836 shlibpath_var=LD_LIBRARY_PATH
10837 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10838 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10839 soname_spec='${libname}${release}${shared_ext}$major'
10840 if test "X$HPUX_IA64_MODE" = X32; then
10841 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10843 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10845 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10849 hardcode_into_libs=yes
10850 dynamic_linker="$host_os dld.sl"
10851 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10852 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10853 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10854 soname_spec='${libname}${release}${shared_ext}$major'
10855 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10856 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10860 dynamic_linker="$host_os dld.sl"
10861 shlibpath_var=SHLIB_PATH
10862 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10863 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10864 soname_spec='${libname}${release}${shared_ext}$major'
10867 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10868 postinstall_cmds='chmod 555 $lib'
10869 # or fails outright, so override atomically:
10870 install_override_mode=555
10874 version_type=linux # correct to gnu/linux during the next big refactor
10877 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10878 soname_spec='${libname}${release}${shared_ext}$major'
10879 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10880 shlibpath_var=LD_LIBRARY_PATH
10881 shlibpath_overrides_runpath=no
10882 hardcode_into_libs=yes
10885 irix5* | irix6* | nonstopux*)
10887 nonstopux*) version_type=nonstopux ;;
10889 if test "$lt_cv_prog_gnu_ld" = yes; then
10890 version_type=linux # correct to gnu/linux during the next big refactor
10897 soname_spec='${libname}${release}${shared_ext}$major'
10898 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10900 irix5* | nonstopux*)
10901 libsuff= shlibsuff=
10904 case $LD in # libtool.m4 will add one of these switches to LD
10905 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10906 libsuff= shlibsuff= libmagic=32-bit;;
10907 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10908 libsuff=32 shlibsuff=N32 libmagic=N32;;
10909 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10910 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10911 *) libsuff= shlibsuff= libmagic=never-match;;
10915 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10916 shlibpath_overrides_runpath=no
10917 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10918 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10919 hardcode_into_libs=yes
10922 # No shared lib support for Linux oldld, aout, or coff.
10923 linux*oldld* | linux*aout* | linux*coff*)
10927 # This must be glibc/ELF.
10928 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10929 version_type=linux # correct to gnu/linux during the next big refactor
10932 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10933 soname_spec='${libname}${release}${shared_ext}$major'
10934 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10935 shlibpath_var=LD_LIBRARY_PATH
10936 shlibpath_overrides_runpath=no
10938 # Some binutils ld are patched to set DT_RUNPATH
10939 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10940 $as_echo_n "(cached) " >&6
10942 lt_cv_shlibpath_overrides_runpath=no
10943 save_LDFLAGS=$LDFLAGS
10944 save_libdir=$libdir
10945 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10946 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10948 /* end confdefs.h. */
10958 if ac_fn_c_try_link "$LINENO"; then :
10959 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10960 lt_cv_shlibpath_overrides_runpath=yes
10963 rm -f core conftest.err conftest.$ac_objext \
10964 conftest$ac_exeext conftest.$ac_ext
10965 LDFLAGS=$save_LDFLAGS
10966 libdir=$save_libdir
10970 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10972 # This implies no fast_install, which is unacceptable.
10973 # Some rework will be needed to allow for fast_install
10974 # before this can be enabled.
10975 hardcode_into_libs=yes
10977 # Append ld.so.conf contents to the search path
10978 if test -f /etc/ld.so.conf; then
10979 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' ' '`
10980 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10983 # We used to test for /lib/ld.so.1 and disable shared libraries on
10984 # powerpc, because MkLinux only supported shared libraries with the
10985 # GNU dynamic linker. Since this was broken with cross compilers,
10986 # most powerpc-linux boxes support dynamic linking these days and
10987 # people can always --disable-shared, the test was removed, and we
10988 # assume the GNU/Linux dynamic linker is in use.
10989 dynamic_linker='GNU/Linux ld.so'
10996 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10997 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10998 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10999 dynamic_linker='NetBSD (a.out) ld.so'
11001 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11002 soname_spec='${libname}${release}${shared_ext}$major'
11003 dynamic_linker='NetBSD ld.elf_so'
11005 shlibpath_var=LD_LIBRARY_PATH
11006 shlibpath_overrides_runpath=yes
11007 hardcode_into_libs=yes
11011 version_type=linux # correct to gnu/linux during the next big refactor
11012 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11013 shlibpath_var=LD_LIBRARY_PATH
11014 shlibpath_overrides_runpath=yes
11021 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11022 soname_spec='${libname}${release}${shared_ext}$major'
11023 shlibpath_var=LD_LIBRARY_PATH
11024 shlibpath_overrides_runpath=no
11025 hardcode_into_libs=yes
11026 dynamic_linker='ldqnx.so'
11031 sys_lib_dlsearch_path_spec="/usr/lib"
11033 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11035 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11036 *) need_version=no ;;
11038 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11039 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11040 shlibpath_var=LD_LIBRARY_PATH
11041 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11043 openbsd2.[89] | openbsd2.[89].*)
11044 shlibpath_overrides_runpath=no
11047 shlibpath_overrides_runpath=yes
11051 shlibpath_overrides_runpath=yes
11056 libname_spec='$name'
11059 library_names_spec='$libname${shared_ext} $libname.a'
11060 dynamic_linker='OS/2 ld.exe'
11061 shlibpath_var=LIBPATH
11064 osf3* | osf4* | osf5*)
11068 soname_spec='${libname}${release}${shared_ext}$major'
11069 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11070 shlibpath_var=LD_LIBRARY_PATH
11071 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11072 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11080 version_type=linux # correct to gnu/linux during the next big refactor
11083 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11084 soname_spec='${libname}${release}${shared_ext}$major'
11085 shlibpath_var=LD_LIBRARY_PATH
11086 shlibpath_overrides_runpath=yes
11087 hardcode_into_libs=yes
11088 # ldd complains unless libraries are executable
11089 postinstall_cmds='chmod +x $lib'
11094 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11095 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11096 shlibpath_var=LD_LIBRARY_PATH
11097 shlibpath_overrides_runpath=yes
11098 if test "$with_gnu_ld" = yes; then
11105 version_type=linux # correct to gnu/linux during the next big refactor
11106 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11107 soname_spec='${libname}${release}${shared_ext}$major'
11108 shlibpath_var=LD_LIBRARY_PATH
11109 case $host_vendor in
11111 shlibpath_overrides_runpath=no
11113 runpath_var=LD_RUN_PATH
11121 shlibpath_overrides_runpath=no
11122 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11128 if test -d /usr/nec ;then
11129 version_type=linux # correct to gnu/linux during the next big refactor
11130 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11131 soname_spec='$libname${shared_ext}.$major'
11132 shlibpath_var=LD_LIBRARY_PATH
11136 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11137 version_type=freebsd-elf
11140 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11141 soname_spec='${libname}${release}${shared_ext}$major'
11142 shlibpath_var=LD_LIBRARY_PATH
11143 shlibpath_overrides_runpath=yes
11144 hardcode_into_libs=yes
11145 if test "$with_gnu_ld" = yes; then
11146 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11148 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11151 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11155 sys_lib_dlsearch_path_spec='/usr/lib'
11159 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11160 version_type=linux # correct to gnu/linux during the next big refactor
11163 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11164 shlibpath_var=LD_LIBRARY_PATH
11165 shlibpath_overrides_runpath=no
11166 hardcode_into_libs=yes
11170 version_type=linux # correct to gnu/linux during the next big refactor
11171 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11172 soname_spec='${libname}${release}${shared_ext}$major'
11173 shlibpath_var=LD_LIBRARY_PATH
11180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11181 $as_echo "$dynamic_linker" >&6; }
11182 test "$dynamic_linker" = no && can_build_shared=no
11184 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11185 if test "$GCC" = yes; then
11186 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11189 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11190 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11192 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11193 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11288 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11290 if test -n "$hardcode_libdir_flag_spec" ||
11291 test -n "$runpath_var" ||
11292 test "X$hardcode_automatic" = "Xyes" ; then
11294 # We can hardcode non-existent directories.
11295 if test "$hardcode_direct" != no &&
11296 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11297 # have to relink, otherwise we might link with an installed library
11298 # when we should be linking with a yet-to-be-installed one
11299 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11300 test "$hardcode_minus_L" != no; then
11301 # Linking always hardcodes the temporary library directory.
11302 hardcode_action=relink
11304 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11305 hardcode_action=immediate
11308 # We cannot hardcode anything, or else we can only hardcode existing
11310 hardcode_action=unsupported
11312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11313 $as_echo "$hardcode_action" >&6; }
11315 if test "$hardcode_action" = relink ||
11316 test "$inherit_rpath" = yes; then
11317 # Fast installation is not supported
11318 enable_fast_install=no
11319 elif test "$shlibpath_overrides_runpath" = yes ||
11320 test "$enable_shared" = no; then
11321 # Fast installation is not necessary
11322 enable_fast_install=needless
11330 if test "x$enable_dlopen" != xyes; then
11331 enable_dlopen=unknown
11332 enable_dlopen_self=unknown
11333 enable_dlopen_self_static=unknown
11340 lt_cv_dlopen="load_add_on"
11342 lt_cv_dlopen_self=yes
11345 mingw* | pw32* | cegcc*)
11346 lt_cv_dlopen="LoadLibrary"
11351 lt_cv_dlopen="dlopen"
11356 # if libdl is installed we need to link against it
11357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11358 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11359 if ${ac_cv_lib_dl_dlopen+:} false; then :
11360 $as_echo_n "(cached) " >&6
11362 ac_check_lib_save_LIBS=$LIBS
11364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11365 /* end confdefs.h. */
11367 /* Override any GCC internal prototype to avoid an error.
11368 Use char because int might match the return type of a GCC
11369 builtin and then its argument prototype would still apply. */
11382 if ac_fn_c_try_link "$LINENO"; then :
11383 ac_cv_lib_dl_dlopen=yes
11385 ac_cv_lib_dl_dlopen=no
11387 rm -f core conftest.err conftest.$ac_objext \
11388 conftest$ac_exeext conftest.$ac_ext
11389 LIBS=$ac_check_lib_save_LIBS
11391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11392 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11393 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11394 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11397 lt_cv_dlopen="dyld"
11399 lt_cv_dlopen_self=yes
11406 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11407 if test "x$ac_cv_func_shl_load" = xyes; then :
11408 lt_cv_dlopen="shl_load"
11410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11411 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11412 if ${ac_cv_lib_dld_shl_load+:} false; then :
11413 $as_echo_n "(cached) " >&6
11415 ac_check_lib_save_LIBS=$LIBS
11417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11418 /* end confdefs.h. */
11420 /* Override any GCC internal prototype to avoid an error.
11421 Use char because int might match the return type of a GCC
11422 builtin and then its argument prototype would still apply. */
11430 return shl_load ();
11435 if ac_fn_c_try_link "$LINENO"; then :
11436 ac_cv_lib_dld_shl_load=yes
11438 ac_cv_lib_dld_shl_load=no
11440 rm -f core conftest.err conftest.$ac_objext \
11441 conftest$ac_exeext conftest.$ac_ext
11442 LIBS=$ac_check_lib_save_LIBS
11444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11445 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11446 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11447 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11449 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11450 if test "x$ac_cv_func_dlopen" = xyes; then :
11451 lt_cv_dlopen="dlopen"
11453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11454 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11455 if ${ac_cv_lib_dl_dlopen+:} false; then :
11456 $as_echo_n "(cached) " >&6
11458 ac_check_lib_save_LIBS=$LIBS
11460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11461 /* end confdefs.h. */
11463 /* Override any GCC internal prototype to avoid an error.
11464 Use char because int might match the return type of a GCC
11465 builtin and then its argument prototype would still apply. */
11478 if ac_fn_c_try_link "$LINENO"; then :
11479 ac_cv_lib_dl_dlopen=yes
11481 ac_cv_lib_dl_dlopen=no
11483 rm -f core conftest.err conftest.$ac_objext \
11484 conftest$ac_exeext conftest.$ac_ext
11485 LIBS=$ac_check_lib_save_LIBS
11487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11488 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11489 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11490 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11493 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11494 if ${ac_cv_lib_svld_dlopen+:} false; then :
11495 $as_echo_n "(cached) " >&6
11497 ac_check_lib_save_LIBS=$LIBS
11498 LIBS="-lsvld $LIBS"
11499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11500 /* end confdefs.h. */
11502 /* Override any GCC internal prototype to avoid an error.
11503 Use char because int might match the return type of a GCC
11504 builtin and then its argument prototype would still apply. */
11517 if ac_fn_c_try_link "$LINENO"; then :
11518 ac_cv_lib_svld_dlopen=yes
11520 ac_cv_lib_svld_dlopen=no
11522 rm -f core conftest.err conftest.$ac_objext \
11523 conftest$ac_exeext conftest.$ac_ext
11524 LIBS=$ac_check_lib_save_LIBS
11526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11527 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11528 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11529 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11532 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11533 if ${ac_cv_lib_dld_dld_link+:} false; then :
11534 $as_echo_n "(cached) " >&6
11536 ac_check_lib_save_LIBS=$LIBS
11538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11539 /* end confdefs.h. */
11541 /* Override any GCC internal prototype to avoid an error.
11542 Use char because int might match the return type of a GCC
11543 builtin and then its argument prototype would still apply. */
11551 return dld_link ();
11556 if ac_fn_c_try_link "$LINENO"; then :
11557 ac_cv_lib_dld_dld_link=yes
11559 ac_cv_lib_dld_dld_link=no
11561 rm -f core conftest.err conftest.$ac_objext \
11562 conftest$ac_exeext conftest.$ac_ext
11563 LIBS=$ac_check_lib_save_LIBS
11565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11566 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11567 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11568 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11589 if test "x$lt_cv_dlopen" != xno; then
11595 case $lt_cv_dlopen in
11597 save_CPPFLAGS="$CPPFLAGS"
11598 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11600 save_LDFLAGS="$LDFLAGS"
11601 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11604 LIBS="$lt_cv_dlopen_libs $LIBS"
11606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11607 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11608 if ${lt_cv_dlopen_self+:} false; then :
11609 $as_echo_n "(cached) " >&6
11611 if test "$cross_compiling" = yes; then :
11612 lt_cv_dlopen_self=cross
11614 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11615 lt_status=$lt_dlunknown
11616 cat > conftest.$ac_ext <<_LT_EOF
11617 #line $LINENO "configure"
11618 #include "confdefs.h"
11627 # define LT_DLGLOBAL RTLD_GLOBAL
11630 # define LT_DLGLOBAL DL_GLOBAL
11632 # define LT_DLGLOBAL 0
11636 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11637 find out it does not work in some platform. */
11638 #ifndef LT_DLLAZY_OR_NOW
11640 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11643 # define LT_DLLAZY_OR_NOW DL_LAZY
11646 # define LT_DLLAZY_OR_NOW RTLD_NOW
11649 # define LT_DLLAZY_OR_NOW DL_NOW
11651 # define LT_DLLAZY_OR_NOW 0
11658 /* When -fvisbility=hidden is used, assume the code has been annotated
11659 correspondingly for the symbols needed. */
11660 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11661 int fnord () __attribute__((visibility("default")));
11664 int fnord () { return 42; }
11667 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11668 int status = $lt_dlunknown;
11672 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11675 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11676 else puts (dlerror ());
11678 /* dlclose (self); */
11686 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11687 (eval $ac_link) 2>&5
11689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11690 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11691 (./conftest; exit; ) >&5 2>/dev/null
11693 case x$lt_status in
11694 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11695 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11696 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11699 # compilation failed
11700 lt_cv_dlopen_self=no
11707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11708 $as_echo "$lt_cv_dlopen_self" >&6; }
11710 if test "x$lt_cv_dlopen_self" = xyes; then
11711 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11713 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11714 if ${lt_cv_dlopen_self_static+:} false; then :
11715 $as_echo_n "(cached) " >&6
11717 if test "$cross_compiling" = yes; then :
11718 lt_cv_dlopen_self_static=cross
11720 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11721 lt_status=$lt_dlunknown
11722 cat > conftest.$ac_ext <<_LT_EOF
11723 #line $LINENO "configure"
11724 #include "confdefs.h"
11733 # define LT_DLGLOBAL RTLD_GLOBAL
11736 # define LT_DLGLOBAL DL_GLOBAL
11738 # define LT_DLGLOBAL 0
11742 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11743 find out it does not work in some platform. */
11744 #ifndef LT_DLLAZY_OR_NOW
11746 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11749 # define LT_DLLAZY_OR_NOW DL_LAZY
11752 # define LT_DLLAZY_OR_NOW RTLD_NOW
11755 # define LT_DLLAZY_OR_NOW DL_NOW
11757 # define LT_DLLAZY_OR_NOW 0
11764 /* When -fvisbility=hidden is used, assume the code has been annotated
11765 correspondingly for the symbols needed. */
11766 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11767 int fnord () __attribute__((visibility("default")));
11770 int fnord () { return 42; }
11773 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11774 int status = $lt_dlunknown;
11778 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11781 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11782 else puts (dlerror ());
11784 /* dlclose (self); */
11792 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11793 (eval $ac_link) 2>&5
11795 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11796 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11797 (./conftest; exit; ) >&5 2>/dev/null
11799 case x$lt_status in
11800 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11801 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11802 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11805 # compilation failed
11806 lt_cv_dlopen_self_static=no
11813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11814 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11817 CPPFLAGS="$save_CPPFLAGS"
11818 LDFLAGS="$save_LDFLAGS"
11823 case $lt_cv_dlopen_self in
11824 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11825 *) enable_dlopen_self=unknown ;;
11828 case $lt_cv_dlopen_self_static in
11829 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11830 *) enable_dlopen_self_static=unknown ;;
11852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11853 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11854 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11855 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11856 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11858 $as_echo "yes" >&6; }
11860 # FIXME - insert some real tests, host_os isn't really good enough
11863 if test -n "$STRIP" ; then
11864 striplib="$STRIP -x"
11865 old_striplib="$STRIP -S"
11866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11867 $as_echo "yes" >&6; }
11869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11870 $as_echo "no" >&6; }
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11875 $as_echo "no" >&6; }
11891 # Report which library types will actually be built
11892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11893 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11895 $as_echo "$can_build_shared" >&6; }
11897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11898 $as_echo_n "checking whether to build shared libraries... " >&6; }
11899 test "$can_build_shared" = "no" && enable_shared=no
11901 # On AIX, shared libraries and static libraries use the same namespace, and
11902 # are all built from PIC.
11905 test "$enable_shared" = yes && enable_static=no
11906 if test -n "$RANLIB"; then
11907 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11908 postinstall_cmds='$RANLIB $lib'
11913 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11914 test "$enable_shared" = yes && enable_static=no
11918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11919 $as_echo "$enable_shared" >&6; }
11921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11922 $as_echo_n "checking whether to build static libraries... " >&6; }
11923 # Make sure either enable_shared or enable_static is yes.
11924 test "$enable_shared" = yes || enable_static=yes
11925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11926 $as_echo "$enable_static" >&6; }
11933 ac_cpp='$CPP $CPPFLAGS'
11934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11940 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11941 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11942 (test "X$CXX" != "Xg++"))) ; then
11944 ac_cpp='$CXXCPP $CPPFLAGS'
11945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11949 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11950 if test -z "$CXXCPP"; then
11951 if ${ac_cv_prog_CXXCPP+:} false; then :
11952 $as_echo_n "(cached) " >&6
11954 # Double quotes because CXXCPP needs to be expanded
11955 for CXXCPP in "$CXX -E" "/lib/cpp"
11957 ac_preproc_ok=false
11958 for ac_cxx_preproc_warn_flag in '' yes
11960 # Use a header file that comes with gcc, so configuring glibc
11961 # with a fresh cross-compiler works.
11962 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11963 # <limits.h> exists even on freestanding compilers.
11964 # On the NeXT, cc -E runs the code through the compiler's parser,
11965 # not just through cpp. "Syntax error" is here to catch this case.
11966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11967 /* end confdefs.h. */
11969 # include <limits.h>
11971 # include <assert.h>
11975 if ac_fn_cxx_try_cpp "$LINENO"; then :
11978 # Broken: fails on valid input.
11981 rm -f conftest.err conftest.i conftest.$ac_ext
11983 # OK, works on sane cases. Now check whether nonexistent headers
11984 # can be detected and how.
11985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11986 /* end confdefs.h. */
11987 #include <ac_nonexistent.h>
11989 if ac_fn_cxx_try_cpp "$LINENO"; then :
11990 # Broken: success on invalid input.
11993 # Passes both tests.
11997 rm -f conftest.err conftest.i conftest.$ac_ext
12000 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12001 rm -f conftest.i conftest.err conftest.$ac_ext
12002 if $ac_preproc_ok; then :
12007 ac_cv_prog_CXXCPP=$CXXCPP
12010 CXXCPP=$ac_cv_prog_CXXCPP
12012 ac_cv_prog_CXXCPP=$CXXCPP
12014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12015 $as_echo "$CXXCPP" >&6; }
12016 ac_preproc_ok=false
12017 for ac_cxx_preproc_warn_flag in '' yes
12019 # Use a header file that comes with gcc, so configuring glibc
12020 # with a fresh cross-compiler works.
12021 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12022 # <limits.h> exists even on freestanding compilers.
12023 # On the NeXT, cc -E runs the code through the compiler's parser,
12024 # not just through cpp. "Syntax error" is here to catch this case.
12025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12026 /* end confdefs.h. */
12028 # include <limits.h>
12030 # include <assert.h>
12034 if ac_fn_cxx_try_cpp "$LINENO"; then :
12037 # Broken: fails on valid input.
12040 rm -f conftest.err conftest.i conftest.$ac_ext
12042 # OK, works on sane cases. Now check whether nonexistent headers
12043 # can be detected and how.
12044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12045 /* end confdefs.h. */
12046 #include <ac_nonexistent.h>
12048 if ac_fn_cxx_try_cpp "$LINENO"; then :
12049 # Broken: success on invalid input.
12052 # Passes both tests.
12056 rm -f conftest.err conftest.i conftest.$ac_ext
12059 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12060 rm -f conftest.i conftest.err conftest.$ac_ext
12061 if $ac_preproc_ok; then :
12064 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12065 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12066 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12067 See \`config.log' for more details" "$LINENO" 5; }
12071 ac_cpp='$CPP $CPPFLAGS'
12072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12077 _lt_caught_CXX_error=yes
12081 ac_cpp='$CXXCPP $CPPFLAGS'
12082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12086 archive_cmds_need_lc_CXX=no
12087 allow_undefined_flag_CXX=
12088 always_export_symbols_CXX=no
12089 archive_expsym_cmds_CXX=
12090 compiler_needs_object_CXX=no
12091 export_dynamic_flag_spec_CXX=
12092 hardcode_direct_CXX=no
12093 hardcode_direct_absolute_CXX=no
12094 hardcode_libdir_flag_spec_CXX=
12095 hardcode_libdir_separator_CXX=
12096 hardcode_minus_L_CXX=no
12097 hardcode_shlibpath_var_CXX=unsupported
12098 hardcode_automatic_CXX=no
12099 inherit_rpath_CXX=no
12101 module_expsym_cmds_CXX=
12102 link_all_deplibs_CXX=unknown
12103 old_archive_cmds_CXX=$old_archive_cmds
12104 reload_flag_CXX=$reload_flag
12105 reload_cmds_CXX=$reload_cmds
12106 no_undefined_flag_CXX=
12107 whole_archive_flag_spec_CXX=
12108 enable_shared_with_static_runtimes_CXX=no
12110 # Source file extension for C++ test sources.
12113 # Object file extension for compiled C++ test sources.
12117 # No sense in running all these tests if we already determined that
12118 # the CXX compiler isn't working. Some variables (like enable_shared)
12119 # are currently assumed to apply to all compilers on this platform,
12120 # and will be corrupted by setting them based on a non-working compiler.
12121 if test "$_lt_caught_CXX_error" != yes; then
12122 # Code to be used in simple compile tests
12123 lt_simple_compile_test_code="int some_variable = 0;"
12125 # Code to be used in simple link tests
12126 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12128 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12135 # If no C compiler was specified, use CC.
12138 # If no C compiler flags were specified, use CFLAGS.
12139 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12141 # Allow CC to be a program name with arguments.
12145 # save warnings/boilerplate of simple test code
12146 ac_outfile=conftest.$ac_objext
12147 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12148 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12149 _lt_compiler_boilerplate=`cat conftest.err`
12152 ac_outfile=conftest.$ac_objext
12153 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12154 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12155 _lt_linker_boilerplate=`cat conftest.err`
12159 # Allow CC to be a program name with arguments.
12161 lt_save_CFLAGS=$CFLAGS
12165 lt_save_with_gnu_ld=$with_gnu_ld
12166 lt_save_path_LD=$lt_cv_path_LD
12167 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12168 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12170 $as_unset lt_cv_prog_gnu_ld
12172 if test -n "${lt_cv_path_LDCXX+set}"; then
12173 lt_cv_path_LD=$lt_cv_path_LDCXX
12175 $as_unset lt_cv_path_LD
12177 test -z "${LDCXX+set}" || LD=$LDCXX
12182 for cc_temp in $compiler""; do
12184 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12185 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12190 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12193 if test -n "$compiler"; then
12194 # We don't want -fno-exception when compiling C++ code, so set the
12195 # no_builtin_flag separately
12196 if test "$GXX" = yes; then
12197 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12199 lt_prog_compiler_no_builtin_flag_CXX=
12202 if test "$GXX" = yes; then
12203 # Set up default GNU C++ configuration
12207 # Check whether --with-gnu-ld was given.
12208 if test "${with_gnu_ld+set}" = set; then :
12209 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12215 if test "$GCC" = yes; then
12216 # Check if gcc -print-prog-name=ld gives a path.
12217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12218 $as_echo_n "checking for ld used by $CC... " >&6; }
12221 # gcc leaves a trailing carriage return which upsets mingw
12222 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12224 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12227 # Accept absolute paths.
12229 re_direlt='/[^/][^/]*/\.\./'
12230 # Canonicalize the pathname of ld
12231 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12232 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12233 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12235 test -z "$LD" && LD="$ac_prog"
12238 # If it fails, then pretend we aren't using GCC.
12242 # If it is relative, then search for the first ld in PATH.
12243 with_gnu_ld=unknown
12246 elif test "$with_gnu_ld" = yes; then
12247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12248 $as_echo_n "checking for GNU ld... " >&6; }
12250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12251 $as_echo_n "checking for non-GNU ld... " >&6; }
12253 if ${lt_cv_path_LD+:} false; then :
12254 $as_echo_n "(cached) " >&6
12256 if test -z "$LD"; then
12257 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12258 for ac_dir in $PATH; do
12260 test -z "$ac_dir" && ac_dir=.
12261 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12262 lt_cv_path_LD="$ac_dir/$ac_prog"
12263 # Check to see if the program is GNU ld. I'd rather use --version,
12264 # but apparently some variants of GNU ld only accept -v.
12265 # Break only if it was the GNU/non-GNU ld that we prefer.
12266 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12267 *GNU* | *'with BFD'*)
12268 test "$with_gnu_ld" != no && break
12271 test "$with_gnu_ld" != yes && break
12278 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12282 LD="$lt_cv_path_LD"
12283 if test -n "$LD"; then
12284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12285 $as_echo "$LD" >&6; }
12287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12288 $as_echo "no" >&6; }
12290 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12292 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12293 if ${lt_cv_prog_gnu_ld+:} false; then :
12294 $as_echo_n "(cached) " >&6
12296 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12297 case `$LD -v 2>&1 </dev/null` in
12298 *GNU* | *'with BFD'*)
12299 lt_cv_prog_gnu_ld=yes
12302 lt_cv_prog_gnu_ld=no
12306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12307 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12308 with_gnu_ld=$lt_cv_prog_gnu_ld
12316 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12317 # archiving commands below assume that GNU ld is being used.
12318 if test "$with_gnu_ld" = yes; then
12319 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12320 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'
12322 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12323 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12325 # If archive_cmds runs LD, not CC, wlarc should be empty
12326 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12327 # investigate it a little bit more. (MM)
12330 # ancient GNU ld didn't support --whole-archive et. al.
12331 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12332 $GREP 'no-whole-archive' > /dev/null; then
12333 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12335 whole_archive_flag_spec_CXX=
12341 # A generic and very simple default shared library creation
12342 # command for GNU C++ for the case where it uses the native
12343 # linker, instead of GNU ld. If possible, this setting should
12344 # overridden to take advantage of the native linker features on
12345 # the platform it is being used on.
12346 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12349 # Commands to make compiler produce verbose output that lists
12350 # what "hidden" libraries, object files and flags are used when
12351 # linking a shared library.
12352 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12360 # PORTME: fill in a description of your system's C++ link characteristics
12361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12362 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12366 # FIXME: insert proper C++ library support
12370 if test "$host_cpu" = ia64; then
12371 # On IA64, the linker does run time linking by default, so we don't
12372 # have to do anything special.
12373 aix_use_runtimelinking=no
12374 exp_sym_flag='-Bexport'
12377 aix_use_runtimelinking=no
12379 # Test if we are trying to use run time linking or normal
12380 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12381 # need to do runtime linking.
12382 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12383 for ld_flag in $LDFLAGS; do
12386 aix_use_runtimelinking=yes
12394 exp_sym_flag='-bexport'
12395 no_entry_flag='-bnoentry'
12398 # When large executables or shared objects are built, AIX ld can
12399 # have problems creating the table of contents. If linking a library
12400 # or program results in "error TOC overflow" add -mminimal-toc to
12401 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12402 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12404 archive_cmds_CXX=''
12405 hardcode_direct_CXX=yes
12406 hardcode_direct_absolute_CXX=yes
12407 hardcode_libdir_separator_CXX=':'
12408 link_all_deplibs_CXX=yes
12409 file_list_spec_CXX='${wl}-f,'
12411 if test "$GXX" = yes; then
12412 case $host_os in aix4.[012]|aix4.[012].*)
12413 # We only want to do this on AIX 4.2 and lower, the check
12414 # below for broken collect2 doesn't work under 4.3+
12415 collect2name=`${CC} -print-prog-name=collect2`
12416 if test -f "$collect2name" &&
12417 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12419 # We have reworked collect2
12422 # We have old collect2
12423 hardcode_direct_CXX=unsupported
12424 # It fails to find uninstalled libraries when the uninstalled
12425 # path is not listed in the libpath. Setting hardcode_minus_L
12426 # to unsupported forces relinking
12427 hardcode_minus_L_CXX=yes
12428 hardcode_libdir_flag_spec_CXX='-L$libdir'
12429 hardcode_libdir_separator_CXX=
12432 shared_flag='-shared'
12433 if test "$aix_use_runtimelinking" = yes; then
12434 shared_flag="$shared_flag "'${wl}-G'
12438 if test "$host_cpu" = ia64; then
12439 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12440 # chokes on -Wl,-G. The following line is correct:
12443 if test "$aix_use_runtimelinking" = yes; then
12444 shared_flag='${wl}-G'
12446 shared_flag='${wl}-bM:SRE'
12451 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12452 # It seems that -bexpall does not export symbols beginning with
12453 # underscore (_), so it is better to generate a list of symbols to
12455 always_export_symbols_CXX=yes
12456 if test "$aix_use_runtimelinking" = yes; then
12457 # Warning - without using the other runtime loading flags (-brtl),
12458 # -berok will link without error, but may produce a broken library.
12459 allow_undefined_flag_CXX='-berok'
12460 # Determine the default libpath from the value encoded in an empty
12462 if test "${lt_cv_aix_libpath+set}" = set; then
12463 aix_libpath=$lt_cv_aix_libpath
12465 if ${lt_cv_aix_libpath__CXX+:} false; then :
12466 $as_echo_n "(cached) " >&6
12468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12469 /* end confdefs.h. */
12479 if ac_fn_cxx_try_link "$LINENO"; then :
12481 lt_aix_libpath_sed='
12482 /Import File Strings/,/^$/ {
12484 s/^0 *\([^ ]*\) *$/\1/
12488 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12489 # Check for a 64-bit object if we didn't find anything.
12490 if test -z "$lt_cv_aix_libpath__CXX"; then
12491 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12494 rm -f core conftest.err conftest.$ac_objext \
12495 conftest$ac_exeext conftest.$ac_ext
12496 if test -z "$lt_cv_aix_libpath__CXX"; then
12497 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
12502 aix_libpath=$lt_cv_aix_libpath__CXX
12505 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12507 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"
12509 if test "$host_cpu" = ia64; then
12510 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12511 allow_undefined_flag_CXX="-z nodefs"
12512 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"
12514 # Determine the default libpath from the value encoded in an
12515 # empty executable.
12516 if test "${lt_cv_aix_libpath+set}" = set; then
12517 aix_libpath=$lt_cv_aix_libpath
12519 if ${lt_cv_aix_libpath__CXX+:} false; then :
12520 $as_echo_n "(cached) " >&6
12522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12523 /* end confdefs.h. */
12533 if ac_fn_cxx_try_link "$LINENO"; then :
12535 lt_aix_libpath_sed='
12536 /Import File Strings/,/^$/ {
12538 s/^0 *\([^ ]*\) *$/\1/
12542 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12543 # Check for a 64-bit object if we didn't find anything.
12544 if test -z "$lt_cv_aix_libpath__CXX"; then
12545 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12548 rm -f core conftest.err conftest.$ac_objext \
12549 conftest$ac_exeext conftest.$ac_ext
12550 if test -z "$lt_cv_aix_libpath__CXX"; then
12551 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
12556 aix_libpath=$lt_cv_aix_libpath__CXX
12559 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12560 # Warning - without using the other run time loading flags,
12561 # -berok will link without error, but may produce a broken library.
12562 no_undefined_flag_CXX=' ${wl}-bernotok'
12563 allow_undefined_flag_CXX=' ${wl}-berok'
12564 if test "$with_gnu_ld" = yes; then
12565 # We only use this code for GNU lds that support --whole-archive.
12566 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12568 # Exported symbols can be pulled into shared objects from archives
12569 whole_archive_flag_spec_CXX='$convenience'
12571 archive_cmds_need_lc_CXX=yes
12572 # This is similar to how AIX traditionally builds its shared
12574 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'
12580 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12581 allow_undefined_flag_CXX=unsupported
12582 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12583 # support --undefined. This deserves some investigation. FIXME
12584 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12591 case $cc_basename in
12593 # FIXME: insert proper C++ library support
12599 cygwin* | mingw* | pw32* | cegcc*)
12600 case $GXX,$cc_basename in
12603 # hardcode_libdir_flag_spec is actually meaningless, as there is
12604 # no search path for DLLs.
12605 hardcode_libdir_flag_spec_CXX=' '
12606 allow_undefined_flag_CXX=unsupported
12607 always_export_symbols_CXX=yes
12608 file_list_spec_CXX='@'
12609 # Tell ltmain to make .lib files, not .a files.
12611 # Tell ltmain to make .dll files, not .so files.
12613 # FIXME: Setting linknames here is a bad hack.
12614 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
12615 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12616 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
12618 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
12620 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12622 # The linker will not automatically build a static lib if we build a DLL.
12623 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
12624 enable_shared_with_static_runtimes_CXX=yes
12626 old_postinstall_cmds_CXX='chmod 644 $oldlib'
12627 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
12628 lt_tool_outputfile="@TOOL_OUTPUT@"~
12629 case $lt_outputfile in
12632 lt_outputfile="$lt_outputfile.exe"
12633 lt_tool_outputfile="$lt_tool_outputfile.exe"
12636 func_to_tool_file "$lt_outputfile"~
12637 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
12638 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12639 $RM "$lt_outputfile.manifest";
12644 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12645 # as there is no search path for DLLs.
12646 hardcode_libdir_flag_spec_CXX='-L$libdir'
12647 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12648 allow_undefined_flag_CXX=unsupported
12649 always_export_symbols_CXX=no
12650 enable_shared_with_static_runtimes_CXX=yes
12652 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12653 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'
12654 # If the export-symbols file already is a .def file (1st line
12655 # is EXPORTS), use it as is; otherwise, prepend...
12656 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12657 cp $export_symbols $output_objdir/$soname.def;
12659 echo EXPORTS > $output_objdir/$soname.def;
12660 cat $export_symbols >> $output_objdir/$soname.def;
12662 $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'
12669 darwin* | rhapsody*)
12672 archive_cmds_need_lc_CXX=no
12673 hardcode_direct_CXX=no
12674 hardcode_automatic_CXX=yes
12675 hardcode_shlibpath_var_CXX=unsupported
12676 if test "$lt_cv_ld_force_load" = "yes"; then
12677 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\"`'
12680 whole_archive_flag_spec_CXX=''
12682 link_all_deplibs_CXX=yes
12683 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12684 case $cc_basename in
12685 ifort*) _lt_dar_can_shared=yes ;;
12686 *) _lt_dar_can_shared=$GCC ;;
12688 if test "$_lt_dar_can_shared" = "yes"; then
12689 output_verbose_link_cmd=func_echo_all
12690 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}"
12691 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12692 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}"
12693 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}"
12694 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12695 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}"
12696 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}"
12706 case $cc_basename in
12708 # FIXME: insert proper C++ library support
12712 # Green Hills C++ Compiler
12713 # FIXME: insert proper C++ library support
12717 # FIXME: insert proper C++ library support
12724 # C++ shared libraries reported to be fairly broken before
12730 archive_cmds_need_lc_CXX=no
12733 freebsd* | dragonfly*)
12734 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12743 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12744 link_all_deplibs_CXX=yes
12748 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12749 hardcode_libdir_separator_CXX=:
12750 export_dynamic_flag_spec_CXX='${wl}-E'
12751 hardcode_direct_CXX=yes
12752 hardcode_minus_L_CXX=yes # Not in the search PATH,
12753 # but as the default
12754 # location of the library.
12756 case $cc_basename in
12758 # FIXME: insert proper C++ library support
12762 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'
12763 # Commands to make compiler produce verbose output that lists
12764 # what "hidden" libraries, object files and flags are used when
12765 # linking a shared library.
12767 # There doesn't appear to be a way to prevent this compiler from
12768 # explicitly linking system object files so we need to strip them
12769 # from the output so that they don't get included in the library
12771 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"'
12774 if test "$GXX" = yes; then
12775 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'
12777 # FIXME: insert proper C++ library support
12785 if test $with_gnu_ld = no; then
12786 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12787 hardcode_libdir_separator_CXX=:
12793 export_dynamic_flag_spec_CXX='${wl}-E'
12799 hardcode_direct_CXX=no
12800 hardcode_shlibpath_var_CXX=no
12803 hardcode_direct_CXX=yes
12804 hardcode_direct_absolute_CXX=yes
12805 hardcode_minus_L_CXX=yes # Not in the search PATH,
12806 # but as the default
12807 # location of the library.
12811 case $cc_basename in
12813 # FIXME: insert proper C++ library support
12819 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12822 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12825 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12828 # Commands to make compiler produce verbose output that lists
12829 # what "hidden" libraries, object files and flags are used when
12830 # linking a shared library.
12832 # There doesn't appear to be a way to prevent this compiler from
12833 # explicitly linking system object files so we need to strip them
12834 # from the output so that they don't get included in the library
12836 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"'
12839 if test "$GXX" = yes; then
12840 if test $with_gnu_ld = no; then
12843 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12846 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12849 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'
12854 # FIXME: insert proper C++ library support
12862 hardcode_direct_CXX=no
12863 hardcode_shlibpath_var_CXX=no
12864 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12865 export_dynamic_flag_spec_CXX='${wl}-E'
12866 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12867 # Instead, shared libraries are loaded at an image base (0x10000000 by
12868 # default) and relocated if they conflict, which is a slow very memory
12869 # consuming and fragmenting process. To avoid this, we pick a random,
12870 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12871 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12872 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'
12873 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'
12876 case $cc_basename in
12879 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'
12881 # Archives containing C++ object files must be created using
12882 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12883 # necessary to make sure instantiated templates are included
12885 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12888 if test "$GXX" = yes; then
12889 if test "$with_gnu_ld" = no; then
12890 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'
12892 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'
12895 link_all_deplibs_CXX=yes
12898 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12899 hardcode_libdir_separator_CXX=:
12900 inherit_rpath_CXX=yes
12903 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12904 case $cc_basename in
12906 # Kuck and Associates, Inc. (KAI) C++ Compiler
12908 # KCC will only create a shared library if the output file
12909 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12910 # to its proper name (with version) after linking.
12911 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'
12912 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'
12913 # Commands to make compiler produce verbose output that lists
12914 # what "hidden" libraries, object files and flags are used when
12915 # linking a shared library.
12917 # There doesn't appear to be a way to prevent this compiler from
12918 # explicitly linking system object files so we need to strip them
12919 # from the output so that they don't get included in the library
12921 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"'
12923 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12924 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12926 # Archives containing C++ object files must be created using
12927 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12928 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12933 # version 8.0 and above of icpc choke on multiply defined symbols
12934 # if we add $predep_objects and $postdep_objects, however 7.1 and
12935 # earlier do not add the objects themselves.
12936 case `$CC -V 2>&1` in
12938 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12939 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'
12941 *) # Version 8.0 or newer
12944 ia64*) tmp_idyn=' -i_dynamic';;
12946 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12947 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'
12950 archive_cmds_need_lc_CXX=no
12951 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12952 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12953 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12956 # Portland Group C++ compiler
12958 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12959 prelink_cmds_CXX='tpldir=Template.dir~
12961 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12962 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
12963 old_archive_cmds_CXX='tpldir=Template.dir~
12965 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12966 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
12968 archive_cmds_CXX='tpldir=Template.dir~
12970 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12971 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12972 archive_expsym_cmds_CXX='tpldir=Template.dir~
12974 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12975 $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'
12977 *) # Version 6 and above use weak symbols
12978 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12979 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'
12983 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12984 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12985 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'
12989 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12990 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'
12992 runpath_var=LD_RUN_PATH
12993 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12994 hardcode_libdir_separator_CXX=:
12996 # Commands to make compiler produce verbose output that lists
12997 # what "hidden" libraries, object files and flags are used when
12998 # linking a shared library.
13000 # There doesn't appear to be a way to prevent this compiler from
13001 # explicitly linking system object files so we need to strip them
13002 # from the output so that they don't get included in the library
13004 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'
13006 xl* | mpixl* | bgxl*)
13007 # IBM XL 8.0 on PPC, with GNU ld
13008 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13009 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13010 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13011 if test "x$supports_anon_versioning" = xyes; then
13012 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13013 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13014 echo "local: *; };" >> $output_objdir/$libname.ver~
13015 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13019 case `$CC -V 2>&1 | sed 5q` in
13022 no_undefined_flag_CXX=' -zdefs'
13023 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13024 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'
13025 hardcode_libdir_flag_spec_CXX='-R$libdir'
13026 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'
13027 compiler_needs_object_CXX=yes
13029 # Not sure whether something based on
13030 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13032 output_verbose_link_cmd='func_echo_all'
13034 # Archives containing C++ object files must be created using
13035 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13036 # necessary to make sure instantiated templates are included
13038 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13046 # FIXME: insert proper C++ library support
13051 # FIXME: insert proper C++ library support
13056 case $cc_basename in
13058 # FIXME: insert proper C++ library support
13062 # FIXME: insert proper C++ library support
13069 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13070 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13072 hardcode_libdir_flag_spec_CXX='-R$libdir'
13073 hardcode_direct_CXX=yes
13074 hardcode_shlibpath_var_CXX=no
13076 # Workaround some broken pre-1.5 toolchains
13077 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13085 # C++ shared libraries are fairly broken
13090 if test -f /usr/libexec/ld.so; then
13091 hardcode_direct_CXX=yes
13092 hardcode_shlibpath_var_CXX=no
13093 hardcode_direct_absolute_CXX=yes
13094 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13095 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13096 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13097 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13098 export_dynamic_flag_spec_CXX='${wl}-E'
13099 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13101 output_verbose_link_cmd=func_echo_all
13107 osf3* | osf4* | osf5*)
13108 case $cc_basename in
13110 # Kuck and Associates, Inc. (KAI) C++ Compiler
13112 # KCC will only create a shared library if the output file
13113 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13114 # to its proper name (with version) after linking.
13115 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'
13117 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13118 hardcode_libdir_separator_CXX=:
13120 # Archives containing C++ object files must be created using
13121 # the KAI C++ compiler.
13123 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13124 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13128 # Rational C++ 2.4.1
13129 # FIXME: insert proper C++ library support
13135 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13136 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'
13137 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13140 allow_undefined_flag_CXX=' -expect_unresolved \*'
13141 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'
13142 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13143 echo "-hidden">> $lib.exp~
13144 $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~
13146 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13150 hardcode_libdir_separator_CXX=:
13152 # Commands to make compiler produce verbose output that lists
13153 # what "hidden" libraries, object files and flags are used when
13154 # linking a shared library.
13156 # There doesn't appear to be a way to prevent this compiler from
13157 # explicitly linking system object files so we need to strip them
13158 # from the output so that they don't get included in the library
13160 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"'
13163 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13164 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13167 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'
13170 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'
13174 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13175 hardcode_libdir_separator_CXX=:
13177 # Commands to make compiler produce verbose output that lists
13178 # what "hidden" libraries, object files and flags are used when
13179 # linking a shared library.
13180 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13183 # FIXME: insert proper C++ library support
13191 # FIXME: insert proper C++ library support
13196 case $cc_basename in
13199 # FIXME: insert proper C++ library support
13204 # FIXME: insert proper C++ library support
13208 # FIXME: insert proper C++ library support
13215 case $cc_basename in
13217 # Sun C++ 4.2, 5.x and Centerline C++
13218 archive_cmds_need_lc_CXX=yes
13219 no_undefined_flag_CXX=' -zdefs'
13220 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13221 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13222 $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'
13224 hardcode_libdir_flag_spec_CXX='-R$libdir'
13225 hardcode_shlibpath_var_CXX=no
13227 solaris2.[0-5] | solaris2.[0-5].*) ;;
13229 # The compiler driver will combine and reorder linker options,
13230 # but understands `-z linker_flag'.
13231 # Supported since Solaris 2.6 (maybe 2.5.1?)
13232 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13235 link_all_deplibs_CXX=yes
13237 output_verbose_link_cmd='func_echo_all'
13239 # Archives containing C++ object files must be created using
13240 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13241 # necessary to make sure instantiated templates are included
13243 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13246 # Green Hills C++ Compiler
13247 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13249 # The C++ compiler must be used to create the archive.
13250 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13253 # GNU C++ compiler with Solaris linker
13254 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13255 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13256 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13257 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13258 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13259 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13261 # Commands to make compiler produce verbose output that lists
13262 # what "hidden" libraries, object files and flags are used when
13263 # linking a shared library.
13264 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13266 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13268 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13269 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13270 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13272 # Commands to make compiler produce verbose output that lists
13273 # what "hidden" libraries, object files and flags are used when
13274 # linking a shared library.
13275 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13278 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13280 solaris2.[0-5] | solaris2.[0-5].*) ;;
13282 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13290 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13291 no_undefined_flag_CXX='${wl}-z,text'
13292 archive_cmds_need_lc_CXX=no
13293 hardcode_shlibpath_var_CXX=no
13294 runpath_var='LD_RUN_PATH'
13296 case $cc_basename in
13298 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13299 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13302 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13303 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13308 sysv5* | sco3.2v5* | sco5v6*)
13309 # Note: We can NOT use -z defs as we might desire, because we do not
13310 # link with -lc, and that would cause any symbols used from libc to
13311 # always be unresolved, which means just about no library would
13312 # ever link correctly. If we're not using GNU ld we use -z text
13313 # though, which does catch some bad symbols but isn't as heavy-handed
13315 no_undefined_flag_CXX='${wl}-z,text'
13316 allow_undefined_flag_CXX='${wl}-z,nodefs'
13317 archive_cmds_need_lc_CXX=no
13318 hardcode_shlibpath_var_CXX=no
13319 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13320 hardcode_libdir_separator_CXX=':'
13321 link_all_deplibs_CXX=yes
13322 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13323 runpath_var='LD_RUN_PATH'
13325 case $cc_basename in
13327 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13328 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13329 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13330 '"$old_archive_cmds_CXX"
13331 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13332 '"$reload_cmds_CXX"
13335 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13336 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13342 case $cc_basename in
13344 # NonStop-UX NCC 3.20
13345 # FIXME: insert proper C++ library support
13349 # FIXME: insert proper C++ library support
13356 # FIXME: insert proper C++ library support
13361 # FIXME: insert proper C++ library support
13366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13367 $as_echo "$ld_shlibs_CXX" >&6; }
13368 test "$ld_shlibs_CXX" = no && can_build_shared=no
13374 ## There is no encapsulation within the following macros, do not change
13375 ## the running order or otherwise move them around unless you know exactly
13376 ## what you are doing...
13377 # Dependencies to place before and after the object being linked:
13378 predep_objects_CXX=
13379 postdep_objects_CXX=
13382 compiler_lib_search_path_CXX=
13384 cat > conftest.$ac_ext <<_LT_EOF
13388 Foo (void) { a = 0; }
13395 _lt_libdeps_save_CFLAGS=$CFLAGS
13396 case "$CC $CFLAGS " in #(
13397 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
13398 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
13399 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
13402 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13403 (eval $ac_compile) 2>&5
13405 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13406 test $ac_status = 0; }; then
13407 # Parse the compiler output and extract the necessary
13408 # objects, libraries and library flags.
13410 # Sentinel used to keep track of whether or not we are before
13411 # the conftest object file.
13412 pre_test_object_deps_done=no
13414 for p in `eval "$output_verbose_link_cmd"`; do
13415 case ${prev}${p} in
13418 # Some compilers place space between "-{L,R}" and the path.
13419 # Remove the space.
13420 if test $p = "-L" ||
13421 test $p = "-R"; then
13426 # Expand the sysroot to ease extracting the directories later.
13427 if test -z "$prev"; then
13429 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
13430 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
13431 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
13435 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
13437 if test "$pre_test_object_deps_done" = no; then
13440 # Internal compiler library paths should come after those
13441 # provided the user. The postdeps already come after the
13442 # user supplied libs so there is no need to process them.
13443 if test -z "$compiler_lib_search_path_CXX"; then
13444 compiler_lib_search_path_CXX="${prev}${p}"
13446 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13449 # The "-l" case would never come before the object being
13450 # linked, so don't bother handling this case.
13453 if test -z "$postdeps_CXX"; then
13454 postdeps_CXX="${prev}${p}"
13456 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13462 *.lto.$objext) ;; # Ignore GCC LTO objects
13464 # This assumes that the test object file only shows up
13465 # once in the compiler output.
13466 if test "$p" = "conftest.$objext"; then
13467 pre_test_object_deps_done=yes
13471 if test "$pre_test_object_deps_done" = no; then
13472 if test -z "$predep_objects_CXX"; then
13473 predep_objects_CXX="$p"
13475 predep_objects_CXX="$predep_objects_CXX $p"
13478 if test -z "$postdep_objects_CXX"; then
13479 postdep_objects_CXX="$p"
13481 postdep_objects_CXX="$postdep_objects_CXX $p"
13486 *) ;; # Ignore the rest.
13494 echo "libtool.m4: error: problem compiling CXX test program"
13497 $RM -f confest.$objext
13498 CFLAGS=$_lt_libdeps_save_CFLAGS
13500 # PORTME: override above test on systems where it is broken
13503 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13504 # hack all around it, let's just trust "g++" to DTRT.
13505 predep_objects_CXX=
13506 postdep_objects_CXX=
13511 case `$CC -V 2>&1 | sed 5q` in
13515 # The more standards-conforming stlport4 library is
13516 # incompatible with the Cstd library. Avoid specifying
13517 # it if it's in CXXFLAGS. Ignore libCrun as
13518 # -library=stlport4 depends on it.
13519 case " $CXX $CXXFLAGS " in
13520 *" -library=stlport4 "*)
13521 solaris_use_stlport4=yes
13525 if test "$solaris_use_stlport4" != yes; then
13526 postdeps_CXX='-library=Cstd -library=Crun'
13533 case $cc_basename in
13535 # The more standards-conforming stlport4 library is
13536 # incompatible with the Cstd library. Avoid specifying
13537 # it if it's in CXXFLAGS. Ignore libCrun as
13538 # -library=stlport4 depends on it.
13539 case " $CXX $CXXFLAGS " in
13540 *" -library=stlport4 "*)
13541 solaris_use_stlport4=yes
13545 # Adding this requires a known-good setup of shared libraries for
13546 # Sun compiler versions before 5.6, else PIC objects from an old
13547 # archive will be linked into the output, leading to subtle bugs.
13548 if test "$solaris_use_stlport4" != yes; then
13549 postdeps_CXX='-library=Cstd -library=Crun'
13557 case " $postdeps_CXX " in
13558 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13560 compiler_lib_search_dirs_CXX=
13561 if test -n "${compiler_lib_search_path_CXX}"; then
13562 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13595 lt_prog_compiler_wl_CXX=
13596 lt_prog_compiler_pic_CXX=
13597 lt_prog_compiler_static_CXX=
13600 # C++ specific cases for pic, static, wl, etc.
13601 if test "$GXX" = yes; then
13602 lt_prog_compiler_wl_CXX='-Wl,'
13603 lt_prog_compiler_static_CXX='-static'
13607 # All AIX code is PIC.
13608 if test "$host_cpu" = ia64; then
13609 # AIX 5 now supports IA64 processor
13610 lt_prog_compiler_static_CXX='-Bstatic'
13617 # see comment about AmigaOS4 .so support
13618 lt_prog_compiler_pic_CXX='-fPIC'
13621 # FIXME: we need at least 68020 code to build shared libraries, but
13622 # adding the `-m68020' flag to GCC prevents building anything better,
13624 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13629 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13630 # PIC is the default for these OSes.
13632 mingw* | cygwin* | os2* | pw32* | cegcc*)
13633 # This hack is so that the source file can tell whether it is being
13634 # built for inclusion in a dll (and should export symbols for example).
13635 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13636 # (--disable-auto-import) libraries
13637 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13639 darwin* | rhapsody*)
13640 # PIC is the default on this platform
13641 # Common symbols not allowed in MH_DYLIB files
13642 lt_prog_compiler_pic_CXX='-fno-common'
13645 # DJGPP does not support shared libraries at all
13646 lt_prog_compiler_pic_CXX=
13649 # PIC is the default for Haiku.
13650 # The "-static" flag exists, but is broken.
13651 lt_prog_compiler_static_CXX=
13654 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13655 # Instead, we relocate shared libraries at runtime.
13658 if test -d /usr/nec; then
13659 lt_prog_compiler_pic_CXX=-Kconform_pic
13663 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13664 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13665 # sets the default TLS model and affects inlining.
13670 lt_prog_compiler_pic_CXX='-fPIC'
13675 # QNX uses GNU C++, but need to define -shared option too, otherwise
13676 # it will coredump.
13677 lt_prog_compiler_pic_CXX='-fPIC -shared'
13680 lt_prog_compiler_pic_CXX='-fPIC'
13686 # All AIX code is PIC.
13687 if test "$host_cpu" = ia64; then
13688 # AIX 5 now supports IA64 processor
13689 lt_prog_compiler_static_CXX='-Bstatic'
13691 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13695 case $cc_basename in
13697 # Green Hills C++ Compiler
13698 # _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"
13702 mingw* | cygwin* | os2* | pw32* | cegcc*)
13703 # This hack is so that the source file can tell whether it is being
13704 # built for inclusion in a dll (and should export symbols for example).
13705 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13708 case $cc_basename in
13710 lt_prog_compiler_pic_CXX='-KPIC'
13713 # Green Hills C++ Compiler
13714 lt_prog_compiler_pic_CXX='-pic'
13720 freebsd* | dragonfly*)
13721 # FreeBSD uses GNU C++
13723 hpux9* | hpux10* | hpux11*)
13724 case $cc_basename in
13726 lt_prog_compiler_wl_CXX='-Wl,'
13727 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13728 if test "$host_cpu" != ia64; then
13729 lt_prog_compiler_pic_CXX='+Z'
13733 lt_prog_compiler_wl_CXX='-Wl,'
13734 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13740 lt_prog_compiler_pic_CXX='+Z'
13749 # This is c89, which is MS Visual C++ (no shared libs)
13750 # Anyone wants to do a port?
13752 irix5* | irix6* | nonstopux*)
13753 case $cc_basename in
13755 lt_prog_compiler_wl_CXX='-Wl,'
13756 lt_prog_compiler_static_CXX='-non_shared'
13757 # CC pic flag -KPIC is the default.
13763 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13764 case $cc_basename in
13767 lt_prog_compiler_wl_CXX='--backend -Wl,'
13768 lt_prog_compiler_pic_CXX='-fPIC'
13771 # old Intel C++ for x86_64 which still supported -KPIC.
13772 lt_prog_compiler_wl_CXX='-Wl,'
13773 lt_prog_compiler_pic_CXX='-KPIC'
13774 lt_prog_compiler_static_CXX='-static'
13777 # Intel C++, used to be incompatible with GCC.
13778 # ICC 10 doesn't accept -KPIC any more.
13779 lt_prog_compiler_wl_CXX='-Wl,'
13780 lt_prog_compiler_pic_CXX='-fPIC'
13781 lt_prog_compiler_static_CXX='-static'
13784 # Portland Group C++ compiler
13785 lt_prog_compiler_wl_CXX='-Wl,'
13786 lt_prog_compiler_pic_CXX='-fpic'
13787 lt_prog_compiler_static_CXX='-Bstatic'
13791 # Make sure the PIC flag is empty. It appears that all Alpha
13792 # Linux and Compaq Tru64 Unix objects are PIC.
13793 lt_prog_compiler_pic_CXX=
13794 lt_prog_compiler_static_CXX='-non_shared'
13796 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13797 # IBM XL 8.0, 9.0 on PPC and BlueGene
13798 lt_prog_compiler_wl_CXX='-Wl,'
13799 lt_prog_compiler_pic_CXX='-qpic'
13800 lt_prog_compiler_static_CXX='-qstaticlink'
13803 case `$CC -V 2>&1 | sed 5q` in
13806 lt_prog_compiler_pic_CXX='-KPIC'
13807 lt_prog_compiler_static_CXX='-Bstatic'
13808 lt_prog_compiler_wl_CXX='-Qoption ld '
13819 case $cc_basename in
13821 lt_prog_compiler_pic_CXX='-W c,exportall'
13830 # QNX uses GNU C++, but need to define -shared option too, otherwise
13831 # it will coredump.
13832 lt_prog_compiler_pic_CXX='-fPIC -shared'
13834 osf3* | osf4* | osf5*)
13835 case $cc_basename in
13837 lt_prog_compiler_wl_CXX='--backend -Wl,'
13840 # Rational C++ 2.4.1
13841 lt_prog_compiler_pic_CXX='-pic'
13844 # Digital/Compaq C++
13845 lt_prog_compiler_wl_CXX='-Wl,'
13846 # Make sure the PIC flag is empty. It appears that all Alpha
13847 # Linux and Compaq Tru64 Unix objects are PIC.
13848 lt_prog_compiler_pic_CXX=
13849 lt_prog_compiler_static_CXX='-non_shared'
13858 case $cc_basename in
13860 # Sun C++ 4.2, 5.x and Centerline C++
13861 lt_prog_compiler_pic_CXX='-KPIC'
13862 lt_prog_compiler_static_CXX='-Bstatic'
13863 lt_prog_compiler_wl_CXX='-Qoption ld '
13866 # Green Hills C++ Compiler
13867 lt_prog_compiler_pic_CXX='-PIC'
13874 case $cc_basename in
13877 lt_prog_compiler_pic_CXX='-pic'
13878 lt_prog_compiler_static_CXX='-Bstatic'
13882 lt_prog_compiler_pic_CXX='-pic'
13888 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13889 case $cc_basename in
13891 lt_prog_compiler_wl_CXX='-Wl,'
13892 lt_prog_compiler_pic_CXX='-KPIC'
13893 lt_prog_compiler_static_CXX='-Bstatic'
13898 case $cc_basename in
13900 # NonStop-UX NCC 3.20
13901 lt_prog_compiler_pic_CXX='-KPIC'
13910 lt_prog_compiler_can_build_shared_CXX=no
13916 # For platforms which do not support PIC, -DPIC is meaningless:
13918 lt_prog_compiler_pic_CXX=
13921 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13926 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13927 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
13928 $as_echo_n "(cached) " >&6
13930 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
13932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
13933 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
13934 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
13937 # Check to make sure the PIC flag actually works.
13939 if test -n "$lt_prog_compiler_pic_CXX"; then
13940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13941 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13942 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
13943 $as_echo_n "(cached) " >&6
13945 lt_cv_prog_compiler_pic_works_CXX=no
13946 ac_outfile=conftest.$ac_objext
13947 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13948 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13949 # Insert the option either (1) after the last *FLAGS variable, or
13950 # (2) before a word containing "conftest.", or (3) at the end.
13951 # Note that $ac_compile itself does not contain backslashes and begins
13952 # with a dollar sign (not a hyphen), so the echo should work correctly.
13953 # The option is referenced via a variable to avoid confusing sed.
13954 lt_compile=`echo "$ac_compile" | $SED \
13955 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13956 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13957 -e 's:$: $lt_compiler_flag:'`
13958 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13959 (eval "$lt_compile" 2>conftest.err)
13961 cat conftest.err >&5
13962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13963 if (exit $ac_status) && test -s "$ac_outfile"; then
13964 # The compiler can only warn and ignore the option if not recognized
13965 # So say no if there are warnings other than the usual output.
13966 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13967 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13968 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13969 lt_cv_prog_compiler_pic_works_CXX=yes
13975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13976 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13978 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13979 case $lt_prog_compiler_pic_CXX in
13981 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13984 lt_prog_compiler_pic_CXX=
13985 lt_prog_compiler_can_build_shared_CXX=no
13995 # Check to make sure the static flag actually works.
13997 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13999 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14000 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14001 $as_echo_n "(cached) " >&6
14003 lt_cv_prog_compiler_static_works_CXX=no
14004 save_LDFLAGS="$LDFLAGS"
14005 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14006 echo "$lt_simple_link_test_code" > conftest.$ac_ext
14007 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14008 # The linker can only warn and ignore the option if not recognized
14009 # So say no if there are warnings
14010 if test -s conftest.err; then
14011 # Append any errors to the config.log.
14012 cat conftest.err 1>&5
14013 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14014 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14015 if diff conftest.exp conftest.er2 >/dev/null; then
14016 lt_cv_prog_compiler_static_works_CXX=yes
14019 lt_cv_prog_compiler_static_works_CXX=yes
14023 LDFLAGS="$save_LDFLAGS"
14026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14027 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14029 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14032 lt_prog_compiler_static_CXX=
14038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14039 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14040 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14041 $as_echo_n "(cached) " >&6
14043 lt_cv_prog_compiler_c_o_CXX=no
14044 $RM -r conftest 2>/dev/null
14048 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14050 lt_compiler_flag="-o out/conftest2.$ac_objext"
14051 # Insert the option either (1) after the last *FLAGS variable, or
14052 # (2) before a word containing "conftest.", or (3) at the end.
14053 # Note that $ac_compile itself does not contain backslashes and begins
14054 # with a dollar sign (not a hyphen), so the echo should work correctly.
14055 lt_compile=`echo "$ac_compile" | $SED \
14056 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14057 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14058 -e 's:$: $lt_compiler_flag:'`
14059 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14060 (eval "$lt_compile" 2>out/conftest.err)
14062 cat out/conftest.err >&5
14063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14064 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14066 # The compiler can only warn and ignore the option if not recognized
14067 # So say no if there are warnings
14068 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14069 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14070 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14071 lt_cv_prog_compiler_c_o_CXX=yes
14076 # SGI C++ compiler will create directory out/ii_files/ for
14077 # template instantiation
14078 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14079 $RM out/* && rmdir out
14085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14086 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14091 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14092 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14093 $as_echo_n "(cached) " >&6
14095 lt_cv_prog_compiler_c_o_CXX=no
14096 $RM -r conftest 2>/dev/null
14100 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14102 lt_compiler_flag="-o out/conftest2.$ac_objext"
14103 # Insert the option either (1) after the last *FLAGS variable, or
14104 # (2) before a word containing "conftest.", or (3) at the end.
14105 # Note that $ac_compile itself does not contain backslashes and begins
14106 # with a dollar sign (not a hyphen), so the echo should work correctly.
14107 lt_compile=`echo "$ac_compile" | $SED \
14108 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14109 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14110 -e 's:$: $lt_compiler_flag:'`
14111 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14112 (eval "$lt_compile" 2>out/conftest.err)
14114 cat out/conftest.err >&5
14115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14116 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14118 # The compiler can only warn and ignore the option if not recognized
14119 # So say no if there are warnings
14120 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14121 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14122 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14123 lt_cv_prog_compiler_c_o_CXX=yes
14128 # SGI C++ compiler will create directory out/ii_files/ for
14129 # template instantiation
14130 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14131 $RM out/* && rmdir out
14137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14138 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14143 hard_links="nottested"
14144 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14145 # do not overwrite the value of need_locks provided by the user
14146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14147 $as_echo_n "checking if we can lock with hard links... " >&6; }
14150 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14152 ln conftest.a conftest.b 2>&5 || hard_links=no
14153 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14155 $as_echo "$hard_links" >&6; }
14156 if test "$hard_links" = no; then
14157 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14158 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14168 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14170 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14171 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14174 # If we're using GNU nm, then we don't want the "-C" option.
14175 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14176 # Also, AIX nm treats weak defined symbols like other global defined
14177 # symbols, whereas GNU nm marks them as "W".
14178 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14179 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'
14181 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'
14185 export_symbols_cmds_CXX="$ltdll_cmds"
14187 cygwin* | mingw* | cegcc*)
14188 case $cc_basename in
14190 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
14193 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'
14194 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14199 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14204 $as_echo "$ld_shlibs_CXX" >&6; }
14205 test "$ld_shlibs_CXX" = no && can_build_shared=no
14207 with_gnu_ld_CXX=$with_gnu_ld
14215 # Do we need to explicitly link libc?
14217 case "x$archive_cmds_need_lc_CXX" in
14219 # Assume -lc should be added
14220 archive_cmds_need_lc_CXX=yes
14222 if test "$enable_shared" = yes && test "$GCC" = yes; then
14223 case $archive_cmds_CXX in
14225 # FIXME: we may have to deal with multi-command sequences.
14228 # Test whether the compiler implicitly links with -lc since on some
14229 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14230 # to ld, don't add -lc before -lgcc.
14231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14232 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14233 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14234 $as_echo_n "(cached) " >&6
14237 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14239 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14240 (eval $ac_compile) 2>&5
14242 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14243 test $ac_status = 0; } 2>conftest.err; then
14246 libobjs=conftest.$ac_objext
14248 wl=$lt_prog_compiler_wl_CXX
14249 pic_flag=$lt_prog_compiler_pic_CXX
14255 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14256 allow_undefined_flag_CXX=
14257 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14258 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14260 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14261 test $ac_status = 0; }
14263 lt_cv_archive_cmds_need_lc_CXX=no
14265 lt_cv_archive_cmds_need_lc_CXX=yes
14267 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14269 cat conftest.err 1>&5
14274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14275 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14276 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14345 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14347 library_names_spec=
14348 libname_spec='lib$name'
14352 postuninstall_cmds=
14356 shlibpath_overrides_runpath=unknown
14358 dynamic_linker="$host_os ld.so"
14359 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14360 need_lib_prefix=unknown
14361 hardcode_into_libs=no
14363 # when you set need_version to no, make sure it does not cause -set_version
14364 # flags to be left without arguments
14365 need_version=unknown
14369 version_type=linux # correct to gnu/linux during the next big refactor
14370 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14371 shlibpath_var=LIBPATH
14373 # AIX 3 has no versioning support, so we append a major version to the name.
14374 soname_spec='${libname}${release}${shared_ext}$major'
14378 version_type=linux # correct to gnu/linux during the next big refactor
14381 hardcode_into_libs=yes
14382 if test "$host_cpu" = ia64; then
14383 # AIX 5 supports IA64
14384 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14385 shlibpath_var=LD_LIBRARY_PATH
14387 # With GCC up to 2.95.x, collect2 would create an import file
14388 # for dependence libraries. The import file would start with
14389 # the line `#! .'. This would cause the generated library to
14390 # depend on `.', always an invalid library. This was fixed in
14391 # development snapshots of GCC prior to 3.0.
14393 aix4 | aix4.[01] | aix4.[01].*)
14394 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14396 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14399 can_build_shared=no
14403 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14404 # soname into executable. Probably we can add versioning support to
14405 # collect2, so additional links can be useful in future.
14406 if test "$aix_use_runtimelinking" = yes; then
14407 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14408 # instead of lib<name>.a to let people know that these are not
14409 # typical AIX shared libraries.
14410 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14412 # We preserve .a as extension for shared libraries through AIX4.2
14413 # and later when we are not doing run time linking.
14414 library_names_spec='${libname}${release}.a $libname.a'
14415 soname_spec='${libname}${release}${shared_ext}$major'
14417 shlibpath_var=LIBPATH
14424 # Since July 2007 AmigaOS4 officially supports .so libraries.
14425 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14426 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14429 library_names_spec='$libname.ixlibrary $libname.a'
14430 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14431 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'
14437 library_names_spec='${libname}${shared_ext}'
14438 dynamic_linker="$host_os ld.so"
14439 shlibpath_var=LIBRARY_PATH
14443 version_type=linux # correct to gnu/linux during the next big refactor
14445 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14446 soname_spec='${libname}${release}${shared_ext}$major'
14447 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14448 shlibpath_var=LD_LIBRARY_PATH
14449 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14450 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14451 # the default ld.so.conf also contains /usr/contrib/lib and
14452 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14453 # libtool to hard-code these into programs
14456 cygwin* | mingw* | pw32* | cegcc*)
14457 version_type=windows
14462 case $GCC,$cc_basename in
14465 library_names_spec='$libname.dll.a'
14466 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14467 postinstall_cmds='base_file=`basename \${file}`~
14468 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14469 dldir=$destdir/`dirname \$dlpath`~
14470 test -d \$dldir || mkdir -p \$dldir~
14471 $install_prog $dir/$dlname \$dldir/$dlname~
14472 chmod a+x \$dldir/$dlname~
14473 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14474 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14476 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14477 dlpath=$dir/\$dldll~
14479 shlibpath_overrides_runpath=yes
14483 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14484 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14488 # MinGW DLLs use traditional 'lib' prefix
14489 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14492 # pw32 DLLs use 'pw' prefix rather than 'lib'
14493 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14496 dynamic_linker='Win32 ld.exe'
14501 libname_spec='$name'
14502 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14503 library_names_spec='${libname}.dll.lib'
14507 sys_lib_search_path_spec=
14510 for lt_path in $LIB
14513 # Let DOS variable expansion print the short 8.3 style file name.
14514 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
14515 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
14518 # Convert to MSYS style.
14519 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
14522 # Convert to unix form, then to dos form, then back to unix form
14523 # but this time dos style (no spaces!) so that the unix form looks
14524 # like /cygdrive/c/PROGRA~1:/cygdr...
14525 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
14526 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
14527 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14530 sys_lib_search_path_spec="$LIB"
14531 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14532 # It is most probably a Windows format PATH.
14533 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14535 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14537 # FIXME: find the short name or the path components, as spaces are
14538 # common. (e.g. "Program Files" -> "PROGRA~1")
14542 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14543 postinstall_cmds='base_file=`basename \${file}`~
14544 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14545 dldir=$destdir/`dirname \$dlpath`~
14546 test -d \$dldir || mkdir -p \$dldir~
14547 $install_prog $dir/$dlname \$dldir/$dlname'
14548 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14549 dlpath=$dir/\$dldll~
14551 shlibpath_overrides_runpath=yes
14552 dynamic_linker='Win32 link.exe'
14556 # Assume MSVC wrapper
14557 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14558 dynamic_linker='Win32 ld.exe'
14561 # FIXME: first we should search . and the directory the executable is in
14565 darwin* | rhapsody*)
14566 dynamic_linker="$host_os dyld"
14567 version_type=darwin
14570 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14571 soname_spec='${libname}${release}${major}$shared_ext'
14572 shlibpath_overrides_runpath=yes
14573 shlibpath_var=DYLD_LIBRARY_PATH
14574 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14576 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14580 version_type=linux # correct to gnu/linux during the next big refactor
14583 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14584 soname_spec='${libname}${release}${shared_ext}$major'
14585 shlibpath_var=LD_LIBRARY_PATH
14588 freebsd* | dragonfly*)
14589 # DragonFly does not have aout. When/if they implement a new
14590 # versioning mechanism, adjust this.
14591 if test -x /usr/bin/objformat; then
14592 objformat=`/usr/bin/objformat`
14595 freebsd[23].*) objformat=aout ;;
14596 *) objformat=elf ;;
14599 version_type=freebsd-$objformat
14600 case $version_type in
14602 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14607 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14611 shlibpath_var=LD_LIBRARY_PATH
14614 shlibpath_overrides_runpath=yes
14616 freebsd3.[01]* | freebsdelf3.[01]*)
14617 shlibpath_overrides_runpath=yes
14618 hardcode_into_libs=yes
14620 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14621 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14622 shlibpath_overrides_runpath=no
14623 hardcode_into_libs=yes
14625 *) # from 4.6 on, and DragonFly
14626 shlibpath_overrides_runpath=yes
14627 hardcode_into_libs=yes
14633 version_type=linux # correct to gnu/linux during the next big refactor
14636 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14637 soname_spec='${libname}${release}${shared_ext}$major'
14638 shlibpath_var=LD_LIBRARY_PATH
14639 shlibpath_overrides_runpath=no
14640 hardcode_into_libs=yes
14644 version_type=linux # correct to gnu/linux during the next big refactor
14647 dynamic_linker="$host_os runtime_loader"
14648 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14649 soname_spec='${libname}${release}${shared_ext}$major'
14650 shlibpath_var=LIBRARY_PATH
14651 shlibpath_overrides_runpath=yes
14652 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
14653 hardcode_into_libs=yes
14656 hpux9* | hpux10* | hpux11*)
14657 # Give a soname corresponding to the major version so that dld.sl refuses to
14658 # link against other versions.
14665 hardcode_into_libs=yes
14666 dynamic_linker="$host_os dld.so"
14667 shlibpath_var=LD_LIBRARY_PATH
14668 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14669 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14670 soname_spec='${libname}${release}${shared_ext}$major'
14671 if test "X$HPUX_IA64_MODE" = X32; then
14672 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14674 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14676 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14680 hardcode_into_libs=yes
14681 dynamic_linker="$host_os dld.sl"
14682 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14683 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14684 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14685 soname_spec='${libname}${release}${shared_ext}$major'
14686 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14687 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14691 dynamic_linker="$host_os dld.sl"
14692 shlibpath_var=SHLIB_PATH
14693 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14694 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14695 soname_spec='${libname}${release}${shared_ext}$major'
14698 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14699 postinstall_cmds='chmod 555 $lib'
14700 # or fails outright, so override atomically:
14701 install_override_mode=555
14705 version_type=linux # correct to gnu/linux during the next big refactor
14708 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14709 soname_spec='${libname}${release}${shared_ext}$major'
14710 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14711 shlibpath_var=LD_LIBRARY_PATH
14712 shlibpath_overrides_runpath=no
14713 hardcode_into_libs=yes
14716 irix5* | irix6* | nonstopux*)
14718 nonstopux*) version_type=nonstopux ;;
14720 if test "$lt_cv_prog_gnu_ld" = yes; then
14721 version_type=linux # correct to gnu/linux during the next big refactor
14728 soname_spec='${libname}${release}${shared_ext}$major'
14729 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14731 irix5* | nonstopux*)
14732 libsuff= shlibsuff=
14735 case $LD in # libtool.m4 will add one of these switches to LD
14736 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14737 libsuff= shlibsuff= libmagic=32-bit;;
14738 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14739 libsuff=32 shlibsuff=N32 libmagic=N32;;
14740 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14741 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14742 *) libsuff= shlibsuff= libmagic=never-match;;
14746 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14747 shlibpath_overrides_runpath=no
14748 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14749 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14750 hardcode_into_libs=yes
14753 # No shared lib support for Linux oldld, aout, or coff.
14754 linux*oldld* | linux*aout* | linux*coff*)
14758 # This must be glibc/ELF.
14759 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14760 version_type=linux # correct to gnu/linux during the next big refactor
14763 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14764 soname_spec='${libname}${release}${shared_ext}$major'
14765 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14766 shlibpath_var=LD_LIBRARY_PATH
14767 shlibpath_overrides_runpath=no
14769 # Some binutils ld are patched to set DT_RUNPATH
14770 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
14771 $as_echo_n "(cached) " >&6
14773 lt_cv_shlibpath_overrides_runpath=no
14774 save_LDFLAGS=$LDFLAGS
14775 save_libdir=$libdir
14776 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14777 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14779 /* end confdefs.h. */
14789 if ac_fn_cxx_try_link "$LINENO"; then :
14790 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14791 lt_cv_shlibpath_overrides_runpath=yes
14794 rm -f core conftest.err conftest.$ac_objext \
14795 conftest$ac_exeext conftest.$ac_ext
14796 LDFLAGS=$save_LDFLAGS
14797 libdir=$save_libdir
14801 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14803 # This implies no fast_install, which is unacceptable.
14804 # Some rework will be needed to allow for fast_install
14805 # before this can be enabled.
14806 hardcode_into_libs=yes
14808 # Append ld.so.conf contents to the search path
14809 if test -f /etc/ld.so.conf; then
14810 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' ' '`
14811 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14814 # We used to test for /lib/ld.so.1 and disable shared libraries on
14815 # powerpc, because MkLinux only supported shared libraries with the
14816 # GNU dynamic linker. Since this was broken with cross compilers,
14817 # most powerpc-linux boxes support dynamic linking these days and
14818 # people can always --disable-shared, the test was removed, and we
14819 # assume the GNU/Linux dynamic linker is in use.
14820 dynamic_linker='GNU/Linux ld.so'
14827 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14828 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14829 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14830 dynamic_linker='NetBSD (a.out) ld.so'
14832 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14833 soname_spec='${libname}${release}${shared_ext}$major'
14834 dynamic_linker='NetBSD ld.elf_so'
14836 shlibpath_var=LD_LIBRARY_PATH
14837 shlibpath_overrides_runpath=yes
14838 hardcode_into_libs=yes
14842 version_type=linux # correct to gnu/linux during the next big refactor
14843 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14844 shlibpath_var=LD_LIBRARY_PATH
14845 shlibpath_overrides_runpath=yes
14852 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14853 soname_spec='${libname}${release}${shared_ext}$major'
14854 shlibpath_var=LD_LIBRARY_PATH
14855 shlibpath_overrides_runpath=no
14856 hardcode_into_libs=yes
14857 dynamic_linker='ldqnx.so'
14862 sys_lib_dlsearch_path_spec="/usr/lib"
14864 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14866 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14867 *) need_version=no ;;
14869 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14870 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14871 shlibpath_var=LD_LIBRARY_PATH
14872 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14874 openbsd2.[89] | openbsd2.[89].*)
14875 shlibpath_overrides_runpath=no
14878 shlibpath_overrides_runpath=yes
14882 shlibpath_overrides_runpath=yes
14887 libname_spec='$name'
14890 library_names_spec='$libname${shared_ext} $libname.a'
14891 dynamic_linker='OS/2 ld.exe'
14892 shlibpath_var=LIBPATH
14895 osf3* | osf4* | osf5*)
14899 soname_spec='${libname}${release}${shared_ext}$major'
14900 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14901 shlibpath_var=LD_LIBRARY_PATH
14902 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14903 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14911 version_type=linux # correct to gnu/linux during the next big refactor
14914 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14915 soname_spec='${libname}${release}${shared_ext}$major'
14916 shlibpath_var=LD_LIBRARY_PATH
14917 shlibpath_overrides_runpath=yes
14918 hardcode_into_libs=yes
14919 # ldd complains unless libraries are executable
14920 postinstall_cmds='chmod +x $lib'
14925 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14926 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14927 shlibpath_var=LD_LIBRARY_PATH
14928 shlibpath_overrides_runpath=yes
14929 if test "$with_gnu_ld" = yes; then
14936 version_type=linux # correct to gnu/linux during the next big refactor
14937 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14938 soname_spec='${libname}${release}${shared_ext}$major'
14939 shlibpath_var=LD_LIBRARY_PATH
14940 case $host_vendor in
14942 shlibpath_overrides_runpath=no
14944 runpath_var=LD_RUN_PATH
14952 shlibpath_overrides_runpath=no
14953 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14959 if test -d /usr/nec ;then
14960 version_type=linux # correct to gnu/linux during the next big refactor
14961 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14962 soname_spec='$libname${shared_ext}.$major'
14963 shlibpath_var=LD_LIBRARY_PATH
14967 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14968 version_type=freebsd-elf
14971 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14972 soname_spec='${libname}${release}${shared_ext}$major'
14973 shlibpath_var=LD_LIBRARY_PATH
14974 shlibpath_overrides_runpath=yes
14975 hardcode_into_libs=yes
14976 if test "$with_gnu_ld" = yes; then
14977 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14979 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14982 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14986 sys_lib_dlsearch_path_spec='/usr/lib'
14990 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14991 version_type=linux # correct to gnu/linux during the next big refactor
14994 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14995 shlibpath_var=LD_LIBRARY_PATH
14996 shlibpath_overrides_runpath=no
14997 hardcode_into_libs=yes
15001 version_type=linux # correct to gnu/linux during the next big refactor
15002 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15003 soname_spec='${libname}${release}${shared_ext}$major'
15004 shlibpath_var=LD_LIBRARY_PATH
15011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15012 $as_echo "$dynamic_linker" >&6; }
15013 test "$dynamic_linker" = no && can_build_shared=no
15015 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15016 if test "$GCC" = yes; then
15017 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15020 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15021 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15023 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15024 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15065 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15066 hardcode_action_CXX=
15067 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15068 test -n "$runpath_var_CXX" ||
15069 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15071 # We can hardcode non-existent directories.
15072 if test "$hardcode_direct_CXX" != no &&
15073 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15074 # have to relink, otherwise we might link with an installed library
15075 # when we should be linking with a yet-to-be-installed one
15076 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15077 test "$hardcode_minus_L_CXX" != no; then
15078 # Linking always hardcodes the temporary library directory.
15079 hardcode_action_CXX=relink
15081 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15082 hardcode_action_CXX=immediate
15085 # We cannot hardcode anything, or else we can only hardcode existing
15087 hardcode_action_CXX=unsupported
15089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15090 $as_echo "$hardcode_action_CXX" >&6; }
15092 if test "$hardcode_action_CXX" = relink ||
15093 test "$inherit_rpath_CXX" = yes; then
15094 # Fast installation is not supported
15095 enable_fast_install=no
15096 elif test "$shlibpath_overrides_runpath" = yes ||
15097 test "$enable_shared" = no; then
15098 # Fast installation is not necessary
15099 enable_fast_install=needless
15108 fi # test -n "$compiler"
15111 CFLAGS=$lt_save_CFLAGS
15115 with_gnu_ld=$lt_save_with_gnu_ld
15116 lt_cv_path_LDCXX=$lt_cv_path_LD
15117 lt_cv_path_LD=$lt_save_path_LD
15118 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15119 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15120 fi # test "$_lt_caught_CXX_error" != yes
15123 ac_cpp='$CPP $CPPFLAGS'
15124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15142 ac_config_commands="$ac_config_commands libtool"
15147 # Only expand once:
15151 if test -n "$ac_tool_prefix"; then
15152 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
15153 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
15154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15155 $as_echo_n "checking for $ac_word... " >&6; }
15156 if ${ac_cv_prog_RANLIB+:} false; then :
15157 $as_echo_n "(cached) " >&6
15159 if test -n "$RANLIB"; then
15160 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
15162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15163 for as_dir in $PATH
15166 test -z "$as_dir" && as_dir=.
15167 for ac_exec_ext in '' $ac_executable_extensions; do
15168 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15169 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
15170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15179 RANLIB=$ac_cv_prog_RANLIB
15180 if test -n "$RANLIB"; then
15181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
15182 $as_echo "$RANLIB" >&6; }
15184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15185 $as_echo "no" >&6; }
15190 if test -z "$ac_cv_prog_RANLIB"; then
15191 ac_ct_RANLIB=$RANLIB
15192 # Extract the first word of "ranlib", so it can be a program name with args.
15193 set dummy ranlib; ac_word=$2
15194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15195 $as_echo_n "checking for $ac_word... " >&6; }
15196 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
15197 $as_echo_n "(cached) " >&6
15199 if test -n "$ac_ct_RANLIB"; then
15200 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
15202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15203 for as_dir in $PATH
15206 test -z "$as_dir" && as_dir=.
15207 for ac_exec_ext in '' $ac_executable_extensions; do
15208 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15209 ac_cv_prog_ac_ct_RANLIB="ranlib"
15210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15219 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
15220 if test -n "$ac_ct_RANLIB"; then
15221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
15222 $as_echo "$ac_ct_RANLIB" >&6; }
15224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15225 $as_echo "no" >&6; }
15228 if test "x$ac_ct_RANLIB" = x; then
15231 case $cross_compiling:$ac_tool_warned in
15233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15234 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15235 ac_tool_warned=yes ;;
15237 RANLIB=$ac_ct_RANLIB
15240 RANLIB="$ac_cv_prog_RANLIB"
15244 # Check whether --enable-largefile was given.
15245 if test "${enable_largefile+set}" = set; then :
15246 enableval=$enable_largefile;
15249 if test "$enable_largefile" != no; then
15251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
15252 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
15253 if ${ac_cv_sys_largefile_CC+:} false; then :
15254 $as_echo_n "(cached) " >&6
15256 ac_cv_sys_largefile_CC=no
15257 if test "$GCC" != yes; then
15260 # IRIX 6.2 and later do not support large files by default,
15261 # so use the C compiler's -n32 option if that helps.
15262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15263 /* end confdefs.h. */
15264 #include <sys/types.h>
15265 /* Check that off_t can represent 2**63 - 1 correctly.
15266 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15267 since some C++ compilers masquerading as C compilers
15268 incorrectly reject 9223372036854775807. */
15269 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
15270 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15271 && LARGE_OFF_T % 2147483647 == 1)
15281 if ac_fn_c_try_compile "$LINENO"; then :
15284 rm -f core conftest.err conftest.$ac_objext
15286 if ac_fn_c_try_compile "$LINENO"; then :
15287 ac_cv_sys_largefile_CC=' -n32'; break
15289 rm -f core conftest.err conftest.$ac_objext
15293 rm -f conftest.$ac_ext
15296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
15297 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
15298 if test "$ac_cv_sys_largefile_CC" != no; then
15299 CC=$CC$ac_cv_sys_largefile_CC
15302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
15303 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
15304 if ${ac_cv_sys_file_offset_bits+:} false; then :
15305 $as_echo_n "(cached) " >&6
15308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15309 /* end confdefs.h. */
15310 #include <sys/types.h>
15311 /* Check that off_t can represent 2**63 - 1 correctly.
15312 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15313 since some C++ compilers masquerading as C compilers
15314 incorrectly reject 9223372036854775807. */
15315 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
15316 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15317 && LARGE_OFF_T % 2147483647 == 1)
15327 if ac_fn_c_try_compile "$LINENO"; then :
15328 ac_cv_sys_file_offset_bits=no; break
15330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15332 /* end confdefs.h. */
15333 #define _FILE_OFFSET_BITS 64
15334 #include <sys/types.h>
15335 /* Check that off_t can represent 2**63 - 1 correctly.
15336 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15337 since some C++ compilers masquerading as C compilers
15338 incorrectly reject 9223372036854775807. */
15339 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
15340 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15341 && LARGE_OFF_T % 2147483647 == 1)
15351 if ac_fn_c_try_compile "$LINENO"; then :
15352 ac_cv_sys_file_offset_bits=64; break
15354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15355 ac_cv_sys_file_offset_bits=unknown
15359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
15360 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
15361 case $ac_cv_sys_file_offset_bits in #(
15364 cat >>confdefs.h <<_ACEOF
15365 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
15370 if test $ac_cv_sys_file_offset_bits = unknown; then
15371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
15372 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
15373 if ${ac_cv_sys_large_files+:} false; then :
15374 $as_echo_n "(cached) " >&6
15377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15378 /* end confdefs.h. */
15379 #include <sys/types.h>
15380 /* Check that off_t can represent 2**63 - 1 correctly.
15381 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15382 since some C++ compilers masquerading as C compilers
15383 incorrectly reject 9223372036854775807. */
15384 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
15385 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15386 && LARGE_OFF_T % 2147483647 == 1)
15396 if ac_fn_c_try_compile "$LINENO"; then :
15397 ac_cv_sys_large_files=no; break
15399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15401 /* end confdefs.h. */
15402 #define _LARGE_FILES 1
15403 #include <sys/types.h>
15404 /* Check that off_t can represent 2**63 - 1 correctly.
15405 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15406 since some C++ compilers masquerading as C compilers
15407 incorrectly reject 9223372036854775807. */
15408 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
15409 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15410 && LARGE_OFF_T % 2147483647 == 1)
15420 if ac_fn_c_try_compile "$LINENO"; then :
15421 ac_cv_sys_large_files=1; break
15423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15424 ac_cv_sys_large_files=unknown
15428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
15429 $as_echo "$ac_cv_sys_large_files" >&6; }
15430 case $ac_cv_sys_large_files in #(
15433 cat >>confdefs.h <<_ACEOF
15434 #define _LARGE_FILES $ac_cv_sys_large_files
15444 if test "$ac_cv_sys_largefile_CC" != no; then
15445 CXX=$CXX$ac_cv_sys_largefile_CC
15450 # Check whether --with-openssl was given.
15451 if test "${with_openssl+set}" = set; then :
15452 withval=$with_openssl;
15453 if test "$withval" = "yes"; then
15454 if test -d /var/local/ssl/include ; then
15455 openssl_prefix=/var/local/ssl
15456 elif test -d /var/local/include/openssl ; then
15457 openssl_prefix=/var/local
15458 elif test -d /usr/local/ssl/include ; then
15459 openssl_prefix=/usr/local/ssl
15460 elif test -d /usr/lib/ssl/include ; then
15461 openssl_prefix=/usr/lib/ssl
15462 elif test -d /usr/include/openssl ; then
15463 openssl_prefix=/usr
15467 openssl_requested="yes"
15468 elif test -d "$withval"; then
15469 openssl_prefix="$withval"
15470 openssl_requested="yes"
15473 openssl_requested="no"
15478 if test -d /var/local/ssl/include ; then
15479 openssl_prefix=/var/local/ssl
15480 elif test -d /var/local/include/openssl ; then
15481 openssl_prefix=/var/local
15482 elif test -d /usr/local/ssl/include ; then
15483 openssl_prefix=/usr/local/ssl
15484 elif test -d /usr/lib/ssl/include ; then
15485 openssl_prefix=/usr/lib/ssl
15486 elif test -d /usr/include/openssl ; then
15487 openssl_prefix=/usr
15496 OPENSSL_CPPFLAGS=""
15500 run_openssl_test="no"
15502 if test -n "$openssl_prefix"; then
15503 openssl_include_dir="$openssl_prefix/include"
15504 openssl_ldflags="-L$openssl_prefix/lib64 -L$openssl_prefix/lib"
15505 run_openssl_test="yes"
15506 elif test "$openssl_requested" = "yes"; then
15507 if test -n "$openssl_include_dir" -a -n "$openssl_lib_flags"; then
15508 run_openssl_test="yes"
15511 run_openssl_test="no"
15514 openssl_libs="-lssl -lcrypto"
15516 if test "$run_openssl_test" = "yes"; then
15518 saved_CPPFLAGS="$CPPFLAGS"
15519 CPPFLAGS="$CPPFLAGS -I$openssl_include_dir"
15521 saved_LDFLAGS="$LDFLAGS"
15522 LDFLAGS="$LDFLAGS $openssl_ldflags"
15525 LIBS="$openssl_libs $LIBS"
15527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL headers in $openssl_include_dir" >&5
15528 $as_echo_n "checking for OpenSSL headers in $openssl_include_dir... " >&6; }
15531 ac_cpp='$CPP $CPPFLAGS'
15532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15537 /* end confdefs.h. */
15540 #include <openssl/opensslv.h>
15541 #include <openssl/ssl.h>
15542 #include <openssl/crypto.h>
15553 if ac_fn_c_try_compile "$LINENO"; then :
15555 OPENSSL_CPPFLAGS="-I$openssl_include_dir"
15556 openssl_header_found="yes"
15557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
15558 $as_echo "found" >&6; }
15562 openssl_header_found="no"
15563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15564 $as_echo "not found" >&6; }
15568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15570 ac_cpp='$CPP $CPPFLAGS'
15571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15576 if test "$openssl_header_found" = "yes"; then
15578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL libraries" >&5
15579 $as_echo_n "checking for OpenSSL libraries... " >&6; }
15582 ac_cpp='$CPP $CPPFLAGS'
15583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15588 /* end confdefs.h. */
15591 #include <openssl/opensslv.h>
15592 #include <openssl/ssl.h>
15593 #include <openssl/crypto.h>
15594 #if (OPENSSL_VERSION_NUMBER < 0x0090700f)
15601 SSL_library_init();
15609 if ac_fn_c_try_link "$LINENO"; then :
15611 OPENSSL_LDFLAGS="$openssl_ldflags"
15612 OPENSSL_LIBS="$openssl_libs"
15613 openssl_lib_found="yes"
15614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
15615 $as_echo "found" >&6; }
15619 openssl_lib_found="no"
15620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15621 $as_echo "not found" >&6; }
15625 rm -f core conftest.err conftest.$ac_objext \
15626 conftest$ac_exeext conftest.$ac_ext
15628 ac_cpp='$CPP $CPPFLAGS'
15629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15635 CPPFLAGS="$saved_CPPFLAGS"
15636 LDFLAGS="$saved_LDFLAGS"
15640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL" >&5
15641 $as_echo_n "checking for OpenSSL... " >&6; }
15643 if test "$run_openssl_test" = "yes"; then
15644 if test "$openssl_header_found" = "yes" -a "$openssl_lib_found" = "yes"; then
15655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_OPENSSL" >&5
15656 $as_echo "$HAVE_OPENSSL" >&6; }
15658 if test "$HAVE_OPENSSL" = "yes"; then
15660 openssl_version_req=0.9.7
15662 if test -n "$openssl_version_req"; then
15664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if OpenSSL version is >= $openssl_version_req" >&5
15665 $as_echo_n "checking if OpenSSL version is >= $openssl_version_req... " >&6; }
15667 if test -f "$openssl_include_dir/openssl/opensslv.h"; then
15669 OPENSSL_VERSION=`grep OPENSSL_VERSION_TEXT $openssl_include_dir/openssl/opensslv.h \
15670 | grep -v fips | grep -v PTEXT | cut -f 2 | tr -d \"`
15673 openssl_version_req_major=`expr $openssl_version_req : '\([0-9]*\)'`
15674 openssl_version_req_minor=`expr $openssl_version_req : '[0-9]*\.\([0-9]*\)'`
15675 openssl_version_req_revision=`expr $openssl_version_req : '[0-9]*\.[0-9]*\.\([0-9]*\)'`
15676 openssl_version_req_patch=`expr $openssl_version_req : '[0-9]*\.[0-9]*\.[0-9]*\([a-z]*\)'`
15677 if test "x$openssl_version_req_revision" = "x"; then
15678 openssl_version_req_revision="0"
15680 if test "x$openssl_version_req_patch" = "x"; then
15681 openssl_version_req_patch="\`"
15684 openssl_version_req_number=`expr $openssl_version_req_major \* $((0x10000000)) \
15685 \+ $openssl_version_req_minor \* $((0x100000)) \
15686 \+ $openssl_version_req_revision \* $((0x1000)) \
15687 \+ $((1 + $(printf "%d" \'$openssl_version_req_patch) - $(printf "%d" \'a))) \* $((0x10)) \
15690 openssl_version_number=`expr $(($(grep OPENSSL_VERSION_NUMBER $openssl_include_dir/openssl/opensslv.h | cut -f 2 | tr -d L)))`
15692 openssl_version_check=`expr $openssl_version_number \>\= $openssl_version_req_number`
15693 if test "$openssl_version_check" = "1"; then
15694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15695 $as_echo "yes" >&6; }
15697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15698 $as_echo "no" >&6; }
15699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Found $OPENSSL_VERSION, which is older than required. Possible compilation failure." >&5
15700 $as_echo "$as_me: WARNING: Found $OPENSSL_VERSION, which is older than required. Possible compilation failure." >&2;}
15703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15704 $as_echo "no" >&6; }
15705 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing header openssl/opensslv.h. Unable to determine OpenSSL version." >&5
15706 $as_echo "$as_me: WARNING: Missing header openssl/opensslv.h. Unable to determine OpenSSL version." >&2;}
15713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_OPENSSL" >&5
15714 $as_echo "$HAVE_OPENSSL" >&6; }
15716 if test "$openssl_requested" = "yes"; then
15717 { $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
15718 $as_echo "$as_me: WARNING: OpenSSL support requested but headers or library not found. Specify valid prefix of OpenSSL using --with-openssl=[DIR]" >&2;}
15721 if test "$HAVE_OPENSSL" = "yes"; then
15722 CPPFLAGS="$CPPFLAGS $OPENSSL_CPPFLAGS -DHAVE_SSL=1"
15723 LDFLAGS="$LDFLAGS $OPENSSL_LDFLAGS $OPENSSL_LIBS"
15728 # Check whether --with-expat was given.
15729 if test "${with_expat+set}" = set; then :
15730 withval=$with_expat;
15731 if test "$withval" = "yes"; then
15732 if test -f /usr/local/include/expat.h ; then
15733 expat_prefix=/usr/local
15734 elif test -f /usr/include/expat.h ; then
15739 expat_requested="yes"
15740 elif test -d "$withval"; then
15741 expat_prefix="$withval"
15742 expat_requested="yes"
15745 expat_requested="no"
15750 # dnl Default behavior is implicit yes
15751 # if test -f /usr/local/include/expat.h ; then
15752 # expat_prefix=/usr/local
15753 # elif test -f /usr/include/expat.h ; then
15754 # expat_prefix=/usr
15759 expat_requested="no"
15766 # Check whether --with-expat-inc was given.
15767 if test "${with_expat_inc+set}" = set; then :
15768 withval=$with_expat_inc; expat_include_dir="$withval"
15770 expat_include_dir=""
15775 # Check whether --with-expat-lib was given.
15776 if test "${with_expat_lib+set}" = set; then :
15777 withval=$with_expat_lib; expat_lib_flags="$withval"
15788 run_expat_test="no"
15790 if test -n "$expat_prefix"; then
15791 expat_include_dir="$expat_prefix/include"
15792 expat_lib_flags="-L$expat_prefix/lib64 -L$expat_prefix/lib -lexpat"
15793 run_expat_test="yes"
15794 elif test "$expat_requested" = "yes"; then
15795 if test -n "$expat_include_dir" -a -n "$expat_lib_flags"; then
15796 run_expat_test="yes"
15799 run_expat_test="no"
15802 if test "$run_expat_test" = "yes"; then
15804 saved_CPPFLAGS="$CPPFLAGS"
15805 CPPFLAGS="$CPPFLAGS -I$expat_include_dir"
15807 saved_LDFLAGS="$LDFLAGS"
15808 LDFLAGS="$LDFLAGS $expat_lib_flags"
15810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Expat XML Parser headers in $expat_include_dir" >&5
15811 $as_echo_n "checking for Expat XML Parser headers in $expat_include_dir... " >&6; }
15814 ac_cpp='$CXXCPP $CPPFLAGS'
15815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15820 /* end confdefs.h. */
15834 if ac_fn_cxx_try_compile "$LINENO"; then :
15836 EXPAT_CFLAGS="-I$expat_include_dir"
15837 expat_header_found="yes"
15838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
15839 $as_echo "found" >&6; }
15843 expat_header_found="no"
15844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15845 $as_echo "not found" >&6; }
15849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15851 ac_cpp='$CPP $CPPFLAGS'
15852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15857 if test "$expat_header_found" = "yes"; then
15859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Expat XML Parser libraries" >&5
15860 $as_echo_n "checking for Expat XML Parser libraries... " >&6; }
15863 ac_cpp='$CXXCPP $CPPFLAGS'
15864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15869 /* end confdefs.h. */
15878 XML_Parser p = XML_ParserCreate(NULL);
15887 if ac_fn_cxx_try_link "$LINENO"; then :
15889 EXPAT_LDFLAGS="$expat_lib_flags"
15890 expat_lib_found="yes"
15891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
15892 $as_echo "found" >&6; }
15896 expat_lib_found="no"
15897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15898 $as_echo "not found" >&6; }
15902 rm -f core conftest.err conftest.$ac_objext \
15903 conftest$ac_exeext conftest.$ac_ext
15905 ac_cpp='$CPP $CPPFLAGS'
15906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15912 CPPFLAGS="$saved_CPPFLAGS"
15913 LDFLAGS="$saved_LDFLAGS"
15916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Expat XML Parser" >&5
15917 $as_echo_n "checking for Expat XML Parser... " >&6; }
15919 if test "$run_expat_test" = "yes"; then
15920 if test "$expat_header_found" = "yes" -a "$expat_lib_found" = "yes"; then
15930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_EXPAT" >&5
15931 $as_echo "$HAVE_EXPAT" >&6; }
15933 if test "$HAVE_EXPAT" = "yes"; then
15937 if test -n "$expat_version_req"; then
15939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Expat XML Parser version is >= $expat_version_req" >&5
15940 $as_echo_n "checking if Expat XML Parser version is >= $expat_version_req... " >&6; }
15942 if test -f "$expat_include_dir/expat.h"; then
15944 expat_major=`cat $expat_include_dir/expat.h | \
15945 grep '^#define.*XML_MAJOR_VERSION.*[0-9]$' | \
15946 sed -e 's/#define XML_MAJOR_VERSION.//'`
15948 expat_minor=`cat $expat_include_dir/expat.h | \
15949 grep '^#define.*XML_MINOR_VERSION.*[0-9]$' | \
15950 sed -e 's/#define XML_MINOR_VERSION.//'`
15952 expat_revision=`cat $expat_include_dir/expat.h | \
15953 grep '^#define.*XML_MICRO_VERSION.*[0-9]$' | \
15954 sed -e 's/#define XML_MICRO_VERSION.//'`
15956 EXPAT_VERSION="$expat_major.$expat_minor.$expat_revision"
15959 expat_version_req_major=`expr $expat_version_req : '\([0-9]*\)'`
15960 expat_version_req_minor=`expr $expat_version_req : '[0-9]*\.\([0-9]*\)'`
15961 expat_version_req_revision=`expr $expat_version_req : '[0-9]*\.[0-9]*\.\([0-9]*\)'`
15962 if test "x$expat_version_req_revision" = "x"; then
15963 expat_version_req_revision="0"
15966 expat_version_req_number=`expr $expat_version_req_major \* 10000 \
15967 \+ $expat_version_req_minor \* 100 \
15968 \+ $expat_version_req_revision`
15970 expat_version_number=`expr $expat_major \* 10000 \
15971 \+ $expat_minor \* 100 \
15972 \+ $expat_revision`
15974 expat_version_check=`expr $expat_version_number \>\= $expat_version_req_number`
15975 if test "$expat_version_check" = "1"; then
15976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15977 $as_echo "yes" >&6; }
15979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15980 $as_echo "no" >&6; }
15981 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Found Expat XML Parser $EXPAT_VERSION, which is older than required. Possible compilation failure." >&5
15982 $as_echo "$as_me: WARNING: Found Expat XML Parser $EXPAT_VERSION, which is older than required. Possible compilation failure." >&2;}
15985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15986 $as_echo "no" >&6; }
15987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing expat.h header. Unable to determine Expat version." >&5
15988 $as_echo "$as_me: WARNING: Missing expat.h header. Unable to determine Expat version." >&2;}
15995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_EXPAT" >&5
15996 $as_echo "$HAVE_EXPAT" >&6; }
15998 if test "$expat_requested" = "yes"; then
15999 { $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
16000 $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;}
16003 if test "$HAVE_EXPAT" = "yes"; then
16004 CPPFLAGS="$CPPFLAGS $EXPAT_CFLAGS -DHAVE_EXPAT=1"
16005 LDFLAGS="$LDFLAGS $EXPAT_LDFLAGS"
16009 # AC_REQUIRE([ACX_PTHREAD])
16012 # Check whether --with-xerces was given.
16013 if test "${with_xerces+set}" = set; then :
16014 withval=$with_xerces;
16015 if test "$withval" = "yes"; then
16016 if test -d /usr/local/include/xercesc ; then
16017 xerces_prefix=/usr/local
16018 elif test -d /usr/include/xercesc ; then
16023 xerces_requested="yes"
16024 elif test -d "$withval"; then
16025 xerces_prefix="$withval"
16026 xerces_requested="yes"
16029 xerces_requested="no"
16034 # dnl Default behavior is implicit yes
16035 # if test -d /usr/local/include/xercesc ; then
16036 # xerces_prefix=/usr/local
16037 # elif test -d /usr/include/xercesc ; then
16038 # xerces_prefix=/usr
16043 xerces_requested="no"
16050 # Check whether --with-xerces-inc was given.
16051 if test "${with_xerces_inc+set}" = set; then :
16052 withval=$with_xerces_inc; xerces_include_dir="$withval"
16054 xerces_include_dir=""
16059 # Check whether --with-xerces-lib was given.
16060 if test "${with_xerces_lib+set}" = set; then :
16061 withval=$with_xerces_lib; xerces_ldflags="$withval"
16072 run_xerces_test="no"
16074 if test -n "$xerces_prefix"; then
16075 xerces_include_dir="$xerces_prefix/include"
16076 xerces_include_dir2="$xerces_prefix/include/xercesc"
16077 xerces_ldflags="-L$xerces_prefix/lib"
16078 run_xerces_test="yes"
16079 elif test "$xerces_requested" = "yes"; then
16080 if test -n "$xerces_include_dir" -a -n "$xerces_lib_flags"; then
16081 xerces_include_dir2="$xerces_include_dir/xercesc"
16082 run_xerces_test="yes"
16085 run_xerces_test="no"
16088 xerces_libs="-lxerces-c"
16090 if test "$run_xerces_test" = "yes"; then
16092 saved_CPPFLAGS="$CPPFLAGS"
16093 CPPFLAGS="$CPPFLAGS -I$xerces_include_dir -I$xerces_include_dir2"
16095 saved_LDFLAGS="$LDFLAGS"
16096 LDFLAGS="$xerces_ldflags $PTHREAD_LDFLAGS $LDFLAGS"
16099 LIBS="$xerces_libs $PTHREAD_LIBS $LIBS"
16101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xerces C++ Parser headers in $xerces_include_dir and $xerces_include_dir2" >&5
16102 $as_echo_n "checking for Xerces C++ Parser headers in $xerces_include_dir and $xerces_include_dir2... " >&6; }
16105 ac_cpp='$CXXCPP $CPPFLAGS'
16106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16111 /* end confdefs.h. */
16114 #include <xercesc/util/XercesDefs.hpp>
16115 #include <xercesc/util/PlatformUtils.hpp>
16126 if ac_fn_cxx_try_compile "$LINENO"; then :
16128 XERCES_CPPFLAGS="-I$xerces_include_dir -I$xerces_include_dir2"
16129 xerces_header_found="yes"
16130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
16131 $as_echo "found" >&6; }
16135 xerces_header_found="no"
16136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16137 $as_echo "not found" >&6; }
16141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16143 ac_cpp='$CPP $CPPFLAGS'
16144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16149 if test "$xerces_header_found" = "yes"; then
16151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xerces C++ Parser libraries" >&5
16152 $as_echo_n "checking for Xerces C++ Parser libraries... " >&6; }
16155 ac_cpp='$CXXCPP $CPPFLAGS'
16156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16161 /* end confdefs.h. */
16164 #include <xercesc/util/XercesDefs.hpp>
16165 #include <xercesc/util/PlatformUtils.hpp>
16166 #if (_XERCES_VERSION >= 20200)
16167 XERCES_CPP_NAMESPACE_USE
16174 XMLPlatformUtils::Initialize();
16181 if ac_fn_cxx_try_link "$LINENO"; then :
16183 XERCES_LDFLAGS="$xerces_ldflags $PTHREAD_LDFLAGS"
16184 XERCES_LIBS="$xerces_libs $PTHREAD_LIBS"
16185 xerces_lib_found="yes"
16186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
16187 $as_echo "found" >&6; }
16191 xerces_lib_found="no"
16192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16193 $as_echo "not found" >&6; }
16197 rm -f core conftest.err conftest.$ac_objext \
16198 conftest$ac_exeext conftest.$ac_ext
16200 ac_cpp='$CPP $CPPFLAGS'
16201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16207 CPPFLAGS="$saved_CPPFLAGS"
16208 LDFLAGS="$saved_LDFLAGS"
16212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xerces C++ Parser" >&5
16213 $as_echo_n "checking for Xerces C++ Parser... " >&6; }
16215 if test "$run_xerces_test" = "yes"; then
16216 if test "$xerces_header_found" = "yes" -a "$xerces_lib_found" = "yes"; then
16227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_XERCES" >&5
16228 $as_echo "$HAVE_XERCES" >&6; }
16230 if test "$HAVE_XERCES" = "yes"; then
16232 xerces_version_req=
16234 if test -n "$xerces_version_req"; then
16236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xerces C++ Parser version is >= $xerces_version_req" >&5
16237 $as_echo_n "checking if Xerces C++ Parser version is >= $xerces_version_req... " >&6; }
16239 if test -f "$xerces_include_dir2/util/XercesVersion.hpp"; then
16241 xerces_major=`cat $xerces_include_dir2/util/XercesVersion.hpp | \
16242 grep '^#define.*XERCES_VERSION_MAJOR.*[0-9]$' | \
16243 sed -e 's/#define XERCES_VERSION_MAJOR.//'`
16245 xerces_minor=`cat $xerces_include_dir2/util/XercesVersion.hpp | \
16246 grep '^#define.*XERCES_VERSION_MINOR.*[0-9]$' | \
16247 sed -e 's/#define XERCES_VERSION_MINOR.//'`
16249 xerces_revision=`cat $xerces_include_dir2/util/XercesVersion.hpp | \
16250 grep '^#define.*XERCES_VERSION_REVISION.*[0-9]$' | \
16251 sed -e 's/#define XERCES_VERSION_REVISION.//'`
16253 XERCES_VERSION="$xerces_major.$xerces_minor.$xerces_revision"
16256 xerces_version_req_major=`expr $xerces_version_req : '\([0-9]*\)'`
16257 xerces_version_req_minor=`expr $xerces_version_req : '[0-9]*\.\([0-9]*\)'`
16258 xerces_version_req_revision=`expr $xerces_version_req : '[0-9]*\.[0-9]*\.\([0-9]*\)'`
16259 if test "x$xerces_version_req_revision" = "x"; then
16260 xerces_version_req_revision="0"
16263 xerces_version_req_number=`expr $xerces_version_req_major \* 10000 \
16264 \+ $xerces_version_req_minor \* 100 \
16265 \+ $xerces_version_req_revision`
16267 xerces_version_number=`expr $xerces_major \* 10000 \
16268 \+ $xerces_minor \* 100 \
16269 \+ $xerces_revision`
16271 xerces_version_check=`expr $xerces_version_number \>\= $xerces_version_req_number`
16272 if test "$xerces_version_check" = "1"; then
16273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16274 $as_echo "yes" >&6; }
16276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16277 $as_echo "no" >&6; }
16278 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Found Xerces C++ Parser $XERCES_VERSION, which is older than required. Possible compilation failure." >&5
16279 $as_echo "$as_me: WARNING: Found Xerces C++ Parser $XERCES_VERSION, which is older than required. Possible compilation failure." >&2;}
16282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16283 $as_echo "no" >&6; }
16284 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing header XercesVersion.hpp. Unable to determine Xerces version." >&5
16285 $as_echo "$as_me: WARNING: Missing header XercesVersion.hpp. Unable to determine Xerces version." >&2;}
16292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_XERCES" >&5
16293 $as_echo "$HAVE_XERCES" >&6; }
16295 if test "$xerces_requested" = "yes"; then
16296 { $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
16297 $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;}
16300 if test "$HAVE_XERCES" = "yes"; then
16301 CPPFLAGS="$CPPFLAGS $XERCES_CPPFLAGS -DHAVE_XERCES_C=1"
16302 LDFLAGS="$LDFLAGS $XERCES_LDFLAGS $XERCES_LIBS"
16305 #AM_PATH_PYTHON([2.3], , [:])
16307 az_python_use=false
16308 if test x"$az_python_use" = x"true"; then
16310 PYTHON_USE_FALSE='#'
16312 PYTHON_USE_TRUE='#'
16320 # unless PYTHON was supplied to us (as a precious variable),
16321 # see if --with-python[=PythonExecutablePath], --with-python,
16322 # --without-python or --with-python=no was given.
16323 if test -z "$PYTHON"
16325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-python" >&5
16326 $as_echo_n "checking for --with-python... " >&6; }
16328 # Check whether --with-python was given.
16329 if test "${with_python+set}" = set; then :
16330 withval=$with_python;
16331 if test "$withval" = "yes"
16333 # "yes" was specified, but we don't have a path
16334 # for the executable.
16335 # So, let's searth the PATH Environment Variable.
16336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16337 $as_echo "yes" >&6; }
16338 # Extract the first word of "python", so it can be a program name with args.
16339 set dummy python; ac_word=$2
16340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16341 $as_echo_n "checking for $ac_word... " >&6; }
16342 if ${ac_cv_path_PYTHON+:} false; then :
16343 $as_echo_n "(cached) " >&6
16347 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
16350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16351 for as_dir in $PATH
16354 test -z "$as_dir" && as_dir=.
16355 for ac_exec_ext in '' $ac_executable_extensions; do
16356 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16357 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
16358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16368 PYTHON=$ac_cv_path_PYTHON
16369 if test -n "$PYTHON"; then
16370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
16371 $as_echo "$PYTHON" >&6; }
16373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16374 $as_echo "no" >&6; }
16378 if test -z "$PYTHON"
16380 as_fn_error $? "no path to python found" "$LINENO" 5
16383 if test x"$az_python_use" = x"true"; then
16385 PYTHON_USE_FALSE='#'
16387 PYTHON_USE_TRUE='#'
16393 if test -n "$PYTHON"
16395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python include directory" >&5
16396 $as_echo_n "checking for python include directory... " >&6; }
16397 az_python_prefix=`${PYTHON} -c "import sys; print sys.prefix"`
16398 if test -z "$az_python_prefix"
16400 as_fn_error $? "Python Prefix is not known" "$LINENO" 5
16403 az_python_execprefix=`${PYTHON} -c "import sys; print sys.exec_prefix"`
16404 az_python_version=`$PYTHON -c "import sys; print sys.version[:3]"`
16405 az_python_includespec="-I`$PYTHON -c 'import distutils.sysconfig; print distutils.sysconfig.get_python_inc();'`"
16406 if test x"$python_prefix" != x"$python_execprefix"; then
16407 az_python_execspec="-I${az_python_execprefix}/include/python${az_python_version}"
16408 az_python_includespec="${az_python_includespec} $az_python_execspec"
16410 az_python_ccshared=`${PYTHON} -c "import distutils.sysconfig; print distutils.sysconfig.get_config_var('CFLAGSFORSHARED')"`
16411 az_python_cspec="${az_python_ccshared} ${az_python_includespec}"
16412 PYTHON_CSPEC=${az_python_cspec}
16414 PYTHON_CPPFLAGS=${az_python_includespec}
16416 PYTHON_SHORTVERSION="${az_python_version}"
16418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_CPPFLAGS" >&5
16419 $as_echo "$PYTHON_CPPFLAGS" >&6; }
16424 if test -n "$PYTHON"
16426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python linker flags" >&5
16427 $as_echo_n "checking for python linker flags... " >&6; }
16430 if test -z "$PYTHON"
16432 as_fn_error $? "Python Executable not found" "$LINENO" 5
16434 cat >conftest.py <<_ACEOF
16437 import distutils.sysconfig
16438 strUseFrameWork = "--enable-framework"
16439 dictConfig = distutils.sysconfig.get_config_vars( )
16440 strConfigArgs = dictConfig.get("CONFIG_ARGS")
16441 strLinkSpec = dictConfig.get('LDFLAGS')
16442 if -1 == strConfigArgs.find(strUseFrameWork):
16443 strLibPL = dictConfig.get("LIBPL")
16444 if strLibPL and (strLibPL != ""):
16445 strLinkSpec += " -L%s" % (strLibPL)
16446 strSys = dictConfig.get("SYSLIBS")
16447 if strSys and (strSys != ""):
16448 strLinkSpec += " %s" % (strSys)
16449 strSHL = dictConfig.get("SHLIBS")
16450 if strSHL and (strSHL != ""):
16451 strLinkSpec += " %s" % (strSHL)
16452 # Construct the Python Library Name.
16453 strTmplte = " -lpython%d.%d"
16454 if (sys.platform == "win32") or (sys.platform == "os2emx"):
16455 strTmplte = " -lpython%d%d"
16456 strWrk = strTmplte % ( (sys.hexversion >> 24),
16457 ((sys.hexversion >> 16) & 0xff))
16458 strLinkSpec += strWrk
16460 # This is not ideal since it changes the search path
16461 # for Frameworks which could have side-effects on
16462 # other included Frameworks. However, it is necessary
16463 # where someone has installed more than one frameworked
16464 # Python. Frameworks are really only used in MacOSX.
16465 strLibFW = dictConfig.get("PYTHONFRAMEWORKPREFIX")
16466 if strLibFW and (strLibFW != ""):
16467 strLinkSpec += " -F%s" % (strLibFW)
16468 strLinkSpec += " %s" % (dictConfig.get('LINKFORSHARED'))
16472 az_python_output=`$PYTHON conftest.py`
16475 if test -f "conftest.pyc"
16481 PYTHON_LSPEC=${az_python_output}
16483 az_python_ldflags=`${PYTHON} -c "import distutils.sysconfig; \
16484 print '-L' + distutils.sysconfig.get_python_lib(), '-lpython' + \
16485 distutils.sysconfig.get_config_var('VERSION');"`
16486 PYTHON_LDFLAGS=${az_python_ldflags}
16488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_LDFLAGS" >&5
16489 $as_echo "$PYTHON_LDFLAGS" >&6; }
16493 if test -z "$PYTHON"
16495 as_fn_error $? "Python Executable Path is not known" "$LINENO" 5
16497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python extension install directory" >&5
16498 $as_echo_n "checking for python extension install directory... " >&6; }
16499 ax_python_prefix=`${PYTHON} -c "import sys; print sys.prefix"`
16500 ax_python_execprefix=`${PYTHON} -c "import sys; print sys.exec_prefix"`
16501 PYTHON_PREFIX="${ax_python_prefix}"
16503 PYTHON_EXECPREFIX="${ax_python_execprefix}"
16505 PYTHON_EXECDIR=`$PYTHON -c "import distutils.sysconfig; \
16506 print distutils.sysconfig.get_python_lib();"`
16508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_EXECDIR" >&5
16509 $as_echo "$PYTHON_EXECDIR" >&6; }
16511 elif test "$withval" = "no"
16513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16514 $as_echo "no" >&6; }
16515 az_python_use=false
16516 if test x"$az_python_use" = x"true"; then
16518 PYTHON_USE_FALSE='#'
16520 PYTHON_USE_TRUE='#'
16525 # $withval must be the executable path then.
16526 PYTHON="${withval}"
16528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
16529 $as_echo "$withval" >&6; }
16531 if test x"$az_python_use" = x"true"; then
16533 PYTHON_USE_FALSE='#'
16535 PYTHON_USE_TRUE='#'
16541 if test -n "$PYTHON"
16543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python include directory" >&5
16544 $as_echo_n "checking for python include directory... " >&6; }
16545 az_python_prefix=`${PYTHON} -c "import sys; print sys.prefix"`
16546 if test -z "$az_python_prefix"
16548 as_fn_error $? "Python Prefix is not known" "$LINENO" 5
16551 az_python_execprefix=`${PYTHON} -c "import sys; print sys.exec_prefix"`
16552 az_python_version=`$PYTHON -c "import sys; print sys.version[:3]"`
16553 az_python_includespec="-I`$PYTHON -c 'import distutils.sysconfig; print distutils.sysconfig.get_python_inc();'`"
16554 if test x"$python_prefix" != x"$python_execprefix"; then
16555 az_python_execspec="-I${az_python_execprefix}/include/python${az_python_version}"
16556 az_python_includespec="${az_python_includespec} $az_python_execspec"
16558 az_python_ccshared=`${PYTHON} -c "import distutils.sysconfig; print distutils.sysconfig.get_config_var('CFLAGSFORSHARED')"`
16559 az_python_cspec="${az_python_ccshared} ${az_python_includespec}"
16560 PYTHON_CSPEC=${az_python_cspec}
16562 PYTHON_CPPFLAGS=${az_python_includespec}
16564 PYTHON_SHORTVERSION="${az_python_version}"
16566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_CPPFLAGS" >&5
16567 $as_echo "$PYTHON_CPPFLAGS" >&6; }
16572 if test -n "$PYTHON"
16574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python linker flags" >&5
16575 $as_echo_n "checking for python linker flags... " >&6; }
16578 if test -z "$PYTHON"
16580 as_fn_error $? "Python Executable not found" "$LINENO" 5
16582 cat >conftest.py <<_ACEOF
16585 import distutils.sysconfig
16586 strUseFrameWork = "--enable-framework"
16587 dictConfig = distutils.sysconfig.get_config_vars( )
16588 strConfigArgs = dictConfig.get("CONFIG_ARGS")
16589 strLinkSpec = dictConfig.get('LDFLAGS')
16590 if -1 == strConfigArgs.find(strUseFrameWork):
16591 strLibPL = dictConfig.get("LIBPL")
16592 if strLibPL and (strLibPL != ""):
16593 strLinkSpec += " -L%s" % (strLibPL)
16594 strSys = dictConfig.get("SYSLIBS")
16595 if strSys and (strSys != ""):
16596 strLinkSpec += " %s" % (strSys)
16597 strSHL = dictConfig.get("SHLIBS")
16598 if strSHL and (strSHL != ""):
16599 strLinkSpec += " %s" % (strSHL)
16600 # Construct the Python Library Name.
16601 strTmplte = " -lpython%d.%d"
16602 if (sys.platform == "win32") or (sys.platform == "os2emx"):
16603 strTmplte = " -lpython%d%d"
16604 strWrk = strTmplte % ( (sys.hexversion >> 24),
16605 ((sys.hexversion >> 16) & 0xff))
16606 strLinkSpec += strWrk
16608 # This is not ideal since it changes the search path
16609 # for Frameworks which could have side-effects on
16610 # other included Frameworks. However, it is necessary
16611 # where someone has installed more than one frameworked
16612 # Python. Frameworks are really only used in MacOSX.
16613 strLibFW = dictConfig.get("PYTHONFRAMEWORKPREFIX")
16614 if strLibFW and (strLibFW != ""):
16615 strLinkSpec += " -F%s" % (strLibFW)
16616 strLinkSpec += " %s" % (dictConfig.get('LINKFORSHARED'))
16620 az_python_output=`$PYTHON conftest.py`
16623 if test -f "conftest.pyc"
16629 PYTHON_LSPEC=${az_python_output}
16631 az_python_ldflags=`${PYTHON} -c "import distutils.sysconfig; \
16632 print '-L' + distutils.sysconfig.get_python_lib(), '-lpython' + \
16633 distutils.sysconfig.get_config_var('VERSION');"`
16634 PYTHON_LDFLAGS=${az_python_ldflags}
16636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_LDFLAGS" >&5
16637 $as_echo "$PYTHON_LDFLAGS" >&6; }
16641 if test -z "$PYTHON"
16643 as_fn_error $? "Python Executable Path is not known" "$LINENO" 5
16645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python extension install directory" >&5
16646 $as_echo_n "checking for python extension install directory... " >&6; }
16647 ax_python_prefix=`${PYTHON} -c "import sys; print sys.prefix"`
16648 ax_python_execprefix=`${PYTHON} -c "import sys; print sys.exec_prefix"`
16649 PYTHON_PREFIX="${ax_python_prefix}"
16651 PYTHON_EXECPREFIX="${ax_python_execprefix}"
16653 PYTHON_EXECDIR=`$PYTHON -c "import distutils.sysconfig; \
16654 print distutils.sysconfig.get_python_lib();"`
16656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_EXECDIR" >&5
16657 $as_echo "$PYTHON_EXECDIR" >&6; }
16663 # --with-python was not specified.
16664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16665 $as_echo "no" >&6; }
16666 az_python_use=false
16667 if test x"$az_python_use" = x"true"; then
16669 PYTHON_USE_FALSE='#'
16671 PYTHON_USE_TRUE='#'
16682 if test "$PYTHON" != :; then
16684 HAVE_PYTHON_FALSE='#'
16686 HAVE_PYTHON_TRUE='#'
16690 # Check whether --enable-freedist was given.
16691 if test "${enable_freedist+set}" = set; then :
16692 enableval=$enable_freedist; case "${enableval}" in
16694 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: BSD licensed ASDCPlib creation ENABLED." >&5
16695 $as_echo "$as_me: WARNING: BSD licensed ASDCPlib creation ENABLED." >&2;} ;;
16696 no) freedist=false ;;
16697 *) as_fn_error $? "bad value ${enableval} for --enable-freedist" "$LINENO" 5 ;;
16703 if test x$freedist = xtrue; then
16711 # Check whether --enable-dev-headers was given.
16712 if test "${enable_dev_headers+set}" = set; then :
16713 enableval=$enable_dev_headers; case "${enableval}" in
16714 yes) dev_headers=true ;;
16715 no) dev_headers=false ;;
16716 *) as_fn_error $? "bad value ${enableval} for --enable-dev-headers" "$LINENO" 5 ;;
16722 if test x$dev_headers = xtrue; then
16724 DEV_HEADERS_FALSE='#'
16726 DEV_HEADERS_TRUE='#'
16730 # Check whether --enable-random-case-UUID was given.
16731 if test "${enable_random_case_UUID+set}" = set; then :
16732 enableval=$enable_random_case_UUID; case "${enableval}" in
16733 yes) random_case_UUID=true ;;
16734 no) random_case_UUID=false ;;
16735 *) as_fn_error $? "bad value ${enableval} for --enable-random-case-UUID" "$LINENO" 5 ;;
16738 random_case_UUID=false
16741 if test x$random_case_UUID = xtrue; then
16742 ENABLE_RANDOM_UUID_TRUE=
16743 ENABLE_RANDOM_UUID_FALSE='#'
16745 ENABLE_RANDOM_UUID_TRUE='#'
16746 ENABLE_RANDOM_UUID_FALSE=
16749 # Check whether --enable-as-02 was given.
16750 if test "${enable_as_02+set}" = set; then :
16751 enableval=$enable_as_02; case "${enableval}" in
16752 yes) as_02_use=true ;;
16753 no) as_02_use=false ;;
16754 *) as_fn_error $? "bad value ${enableval} for --enable-as-02" "$LINENO" 5 ;;
16760 if test x$as_02_use = xtrue; then
16762 USE_AS_02_FALSE='#'
16768 # Check whether --enable-phdr was given.
16769 if test "${enable_phdr+set}" = set; then :
16770 enableval=$enable_phdr; case "${enableval}" in
16771 yes) phdr_use=true ;;
16772 no) phdr_use=false ;;
16773 *) as_fn_error $? "bad value ${enableval} for --enable-phdr" "$LINENO" 5 ;;
16779 if test x$phdr_use = xtrue; then
16788 # Checks for libraries.
16789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
16790 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
16791 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
16792 $as_echo_n "(cached) " >&6
16794 ac_check_lib_save_LIBS=$LIBS
16795 LIBS="-lpthread $LIBS"
16796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16797 /* end confdefs.h. */
16799 /* Override any GCC internal prototype to avoid an error.
16800 Use char because int might match the return type of a GCC
16801 builtin and then its argument prototype would still apply. */
16805 char pthread_create ();
16809 return pthread_create ();
16814 if ac_fn_c_try_link "$LINENO"; then :
16815 ac_cv_lib_pthread_pthread_create=yes
16817 ac_cv_lib_pthread_pthread_create=no
16819 rm -f core conftest.err conftest.$ac_objext \
16820 conftest$ac_exeext conftest.$ac_ext
16821 LIBS=$ac_check_lib_save_LIBS
16823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
16824 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
16825 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
16826 cat >>confdefs.h <<_ACEOF
16827 #define HAVE_LIBPTHREAD 1
16830 LIBS="-lpthread $LIBS"
16835 # Checks for header files.
16838 #AC_CHECK_HEADERS([arpa/inet.h fcntl.h limits.h netinet/in.h stdlib.h string.h sys/socket.h unistd.h wchar.h])
16840 # Checks for typedefs, structures, and compiler characteristics.
16847 # Checks for library functions.
16848 #AC_FUNC_CLOSEDIR_VOID
16852 #AC_CHECK_FUNCS([getcwd memset regcomp strchr strerror strrchr strstr strtol])
16854 ac_config_files="$ac_config_files Makefile src/Makefile win32/Makefile win32/Makefile.mak:win32/Makefile.wmk"
16856 cat >confcache <<\_ACEOF
16857 # This file is a shell script that caches the results of configure
16858 # tests run on this system so they can be shared between configure
16859 # scripts and configure runs, see configure's option --config-cache.
16860 # It is not useful on other systems. If it contains results you don't
16861 # want to keep, you may remove or edit it.
16863 # config.status only pays attention to the cache file if you give it
16864 # the --recheck option to rerun configure.
16866 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16867 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16868 # following values.
16872 # The following way of writing the cache mishandles newlines in values,
16873 # but we know of no workaround that is simple, portable, and efficient.
16874 # So, we kill variables containing newlines.
16875 # Ultrix sh set writes to stderr and can't be redirected directly,
16876 # and sets the high bit in the cache file unless we assign to the vars.
16878 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16879 eval ac_val=\$$ac_var
16883 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16884 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16887 _ | IFS | as_nl) ;; #(
16888 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16889 *) { eval $ac_var=; unset $ac_var;} ;;
16895 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16896 *${as_nl}ac_space=\ *)
16897 # `set' does not quote correctly, so add quotes: double-quote
16898 # substitution turns \\\\ into \\, and sed turns \\ into \.
16901 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16904 # `set' quotes correctly as required by POSIX, so do not add quotes.
16905 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16914 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16916 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16918 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16919 if test -w "$cache_file"; then
16920 if test "x$cache_file" != "x/dev/null"; then
16921 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16922 $as_echo "$as_me: updating cache $cache_file" >&6;}
16923 if test ! -f "$cache_file" || test -h "$cache_file"; then
16924 cat confcache >"$cache_file"
16926 case $cache_file in #(
16928 mv -f confcache "$cache_file"$$ &&
16929 mv -f "$cache_file"$$ "$cache_file" ;; #(
16931 mv -f confcache "$cache_file" ;;
16936 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16937 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16942 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16943 # Let make expand exec_prefix.
16944 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16946 # Transform confdefs.h into DEFS.
16947 # Protect against shell expansion while executing Makefile rules.
16948 # Protect against Makefile macro expansion.
16950 # If the first sed substitution is executed (which looks for macros that
16951 # take arguments), then branch to the quote section. Otherwise,
16952 # look for a macro that doesn't take arguments.
16962 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
16964 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
16968 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
16981 DEFS=`sed -n "$ac_script" confdefs.h`
16987 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16988 # 1. Remove the extension, and $U if already installed.
16989 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16990 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16991 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16992 # will be set to the directory where LIBOBJS objects are built.
16993 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16994 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16996 LIBOBJS=$ac_libobjs
16998 LTLIBOBJS=$ac_ltlibobjs
17001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
17002 $as_echo_n "checking that generated files are newer than configure... " >&6; }
17003 if test -n "$am_sleep_pid"; then
17004 # Hide warnings about reused PIDs.
17005 wait $am_sleep_pid 2>/dev/null
17007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
17008 $as_echo "done" >&6; }
17009 if test -n "$EXEEXT"; then
17011 am__EXEEXT_FALSE='#'
17013 am__EXEEXT_TRUE='#'
17017 if test -z "${OPENBSD_HOST_TRUE}" && test -z "${OPENBSD_HOST_FALSE}"; then
17018 as_fn_error $? "conditional \"OPENBSD_HOST\" was never defined.
17019 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17021 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17022 as_fn_error $? "conditional \"AMDEP\" was never defined.
17023 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17025 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17026 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17027 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17029 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
17030 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
17031 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17033 if test -z "${PYTHON_USE_TRUE}" && test -z "${PYTHON_USE_FALSE}"; then
17034 as_fn_error $? "conditional \"PYTHON_USE\" was never defined.
17035 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17037 if test -z "${PYTHON_USE_TRUE}" && test -z "${PYTHON_USE_FALSE}"; then
17038 as_fn_error $? "conditional \"PYTHON_USE\" was never defined.
17039 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17041 if test -z "${PYTHON_USE_TRUE}" && test -z "${PYTHON_USE_FALSE}"; then
17042 as_fn_error $? "conditional \"PYTHON_USE\" was never defined.
17043 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17045 if test -z "${PYTHON_USE_TRUE}" && test -z "${PYTHON_USE_FALSE}"; then
17046 as_fn_error $? "conditional \"PYTHON_USE\" was never defined.
17047 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17049 if test -z "${PYTHON_USE_TRUE}" && test -z "${PYTHON_USE_FALSE}"; then
17050 as_fn_error $? "conditional \"PYTHON_USE\" was never defined.
17051 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17053 if test -z "${HAVE_PYTHON_TRUE}" && test -z "${HAVE_PYTHON_FALSE}"; then
17054 as_fn_error $? "conditional \"HAVE_PYTHON\" was never defined.
17055 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17057 if test -z "${FREEDIST_TRUE}" && test -z "${FREEDIST_FALSE}"; then
17058 as_fn_error $? "conditional \"FREEDIST\" was never defined.
17059 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17061 if test -z "${DEV_HEADERS_TRUE}" && test -z "${DEV_HEADERS_FALSE}"; then
17062 as_fn_error $? "conditional \"DEV_HEADERS\" was never defined.
17063 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17065 if test -z "${ENABLE_RANDOM_UUID_TRUE}" && test -z "${ENABLE_RANDOM_UUID_FALSE}"; then
17066 as_fn_error $? "conditional \"ENABLE_RANDOM_UUID\" was never defined.
17067 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17069 if test -z "${USE_AS_02_TRUE}" && test -z "${USE_AS_02_FALSE}"; then
17070 as_fn_error $? "conditional \"USE_AS_02\" was never defined.
17071 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17073 if test -z "${USE_PHDR_TRUE}" && test -z "${USE_PHDR_FALSE}"; then
17074 as_fn_error $? "conditional \"USE_PHDR\" was never defined.
17075 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17078 : "${CONFIG_STATUS=./config.status}"
17080 ac_clean_files_save=$ac_clean_files
17081 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17082 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17083 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17085 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17087 # Generated by $as_me.
17088 # Run this file to recreate the current configuration.
17089 # Compiler output produced by configure, useful for debugging
17090 # configure, is in config.log if it exists.
17093 ac_cs_recheck=false
17096 SHELL=\${CONFIG_SHELL-$SHELL}
17099 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17100 ## -------------------- ##
17101 ## M4sh Initialization. ##
17102 ## -------------------- ##
17104 # Be more Bourne compatible
17105 DUALCASE=1; export DUALCASE # for MKS sh
17106 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17109 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17110 # is contrary to our usage. Disable this feature.
17111 alias -g '${1+"$@"}'='"$@"'
17112 setopt NO_GLOB_SUBST
17114 case `(set -o) 2>/dev/null` in #(
17126 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17127 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17128 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17129 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17130 # Prefer a ksh shell builtin over an external printf program on Solaris,
17131 # but without wasting forks for bash or zsh.
17132 if test -z "$BASH_VERSION$ZSH_VERSION" \
17133 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17134 as_echo='print -r --'
17135 as_echo_n='print -rn --'
17136 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17137 as_echo='printf %s\n'
17138 as_echo_n='printf %s'
17140 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17141 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17142 as_echo_n='/usr/ucb/echo -n'
17144 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17145 as_echo_n_body='eval
17149 expr "X$arg" : "X\\(.*\\)$as_nl";
17150 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17152 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17154 export as_echo_n_body
17155 as_echo_n='sh -c $as_echo_n_body as_echo'
17157 export as_echo_body
17158 as_echo='sh -c $as_echo_body as_echo'
17161 # The user is always right.
17162 if test "${PATH_SEPARATOR+set}" != set; then
17164 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17165 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17172 # We need space, tab and new line, in precisely that order. Quoting is
17173 # there to prevent editors from complaining about space-tab.
17174 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17175 # splitting by setting IFS to empty value.)
17178 # Find who we are. Look in the path if we contain no directory separator.
17181 *[\\/]* ) as_myself=$0 ;;
17182 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17183 for as_dir in $PATH
17186 test -z "$as_dir" && as_dir=.
17187 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17193 # We did not find ourselves, most probably we were run as `sh COMMAND'
17194 # in which case we are not to be found in the path.
17195 if test "x$as_myself" = x; then
17198 if test ! -f "$as_myself"; then
17199 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17203 # Unset variables that we do not need and which cause bugs (e.g. in
17204 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17205 # suppresses any "Segmentation fault" message there. '((' could
17206 # trigger a bug in pdksh 5.2.14.
17207 for as_var in BASH_ENV ENV MAIL MAILPATH
17208 do eval test x\${$as_var+set} = xset \
17209 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17222 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17225 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17226 # ----------------------------------------
17227 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17228 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17229 # script with STATUS, using 1 if that was 0.
17232 as_status=$1; test $as_status -eq 0 && as_status=1
17234 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17235 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17237 $as_echo "$as_me: error: $2" >&2
17238 as_fn_exit $as_status
17242 # as_fn_set_status STATUS
17243 # -----------------------
17244 # Set $? to STATUS, without forking.
17245 as_fn_set_status ()
17248 } # as_fn_set_status
17250 # as_fn_exit STATUS
17251 # -----------------
17252 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17256 as_fn_set_status $1
17262 # Portably unset VAR.
17265 { eval $1=; unset $1;}
17267 as_unset=as_fn_unset
17268 # as_fn_append VAR VALUE
17269 # ----------------------
17270 # Append the text in VALUE to the end of the definition contained in VAR. Take
17271 # advantage of any shell optimizations that allow amortized linear growth over
17272 # repeated appends, instead of the typical quadratic growth present in naive
17274 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17275 eval 'as_fn_append ()
17286 # as_fn_arith ARG...
17287 # ------------------
17288 # Perform arithmetic evaluation on the ARGs, and store the result in the
17289 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17290 # must be portable across $(()) and expr.
17291 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17292 eval 'as_fn_arith ()
17299 as_val=`expr "$@" || test $? -eq 1`
17304 if expr a : '\(a\)' >/dev/null 2>&1 &&
17305 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17311 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17312 as_basename=basename
17317 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17323 as_me=`$as_basename -- "$0" ||
17324 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17325 X"$0" : 'X\(//\)$' \| \
17326 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17328 sed '/^.*\/\([^/][^/]*\)\/*$/{
17342 # Avoid depending upon Character Ranges.
17343 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17344 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17345 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17346 as_cr_digits='0123456789'
17347 as_cr_alnum=$as_cr_Letters$as_cr_digits
17349 ECHO_C= ECHO_N= ECHO_T=
17350 case `echo -n x` in #(((((
17352 case `echo 'xy\c'` in
17353 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17355 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17362 rm -f conf$$ conf$$.exe conf$$.file
17363 if test -d conf$$.dir; then
17364 rm -f conf$$.dir/conf$$.file
17367 mkdir conf$$.dir 2>/dev/null
17369 if (echo >conf$$.file) 2>/dev/null; then
17370 if ln -s conf$$.file conf$$ 2>/dev/null; then
17372 # ... but there are two gotchas:
17373 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17374 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17375 # In both cases, we have to default to `cp -pR'.
17376 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17378 elif ln conf$$.file conf$$ 2>/dev/null; then
17386 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17387 rmdir conf$$.dir 2>/dev/null
17392 # Create "$as_dir" as a directory, including parents if necessary.
17397 -*) as_dir=./$as_dir;;
17399 test -d "$as_dir" || eval $as_mkdir_p || {
17403 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17404 *) as_qdir=$as_dir;;
17406 as_dirs="'$as_qdir' $as_dirs"
17407 as_dir=`$as_dirname -- "$as_dir" ||
17408 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17409 X"$as_dir" : 'X\(//\)[^/]' \| \
17410 X"$as_dir" : 'X\(//\)$' \| \
17411 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17412 $as_echo X"$as_dir" |
17413 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17417 /^X\(\/\/\)[^/].*/{
17430 test -d "$as_dir" && break
17432 test -z "$as_dirs" || eval "mkdir $as_dirs"
17433 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17437 if mkdir -p . 2>/dev/null; then
17438 as_mkdir_p='mkdir -p "$as_dir"'
17440 test -d ./-p && rmdir ./-p
17445 # as_fn_executable_p FILE
17446 # -----------------------
17447 # Test if FILE is an executable regular file.
17448 as_fn_executable_p ()
17450 test -f "$1" && test -x "$1"
17451 } # as_fn_executable_p
17452 as_test_x='test -x'
17453 as_executable_p=as_fn_executable_p
17455 # Sed expression to map a string onto a valid CPP name.
17456 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17458 # Sed expression to map a string onto a valid variable name.
17459 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17463 ## ----------------------------------- ##
17464 ## Main body of $CONFIG_STATUS script. ##
17465 ## ----------------------------------- ##
17467 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17469 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17470 # Save the log message, to keep $0 and so on meaningful, and to
17471 # report actual input values of CONFIG_FILES etc. instead of their
17472 # values after options handling.
17474 This file was extended by asdcplib $as_me 2.5.11, which was
17475 generated by GNU Autoconf 2.69. Invocation command line was
17477 CONFIG_FILES = $CONFIG_FILES
17478 CONFIG_HEADERS = $CONFIG_HEADERS
17479 CONFIG_LINKS = $CONFIG_LINKS
17480 CONFIG_COMMANDS = $CONFIG_COMMANDS
17483 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17488 case $ac_config_files in *"
17489 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17494 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17495 # Files that config.status was made for.
17496 config_files="$ac_config_files"
17497 config_commands="$ac_config_commands"
17501 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17503 \`$as_me' instantiates files and other configuration actions
17504 from templates according to the current configuration. Unless the files
17505 and actions are specified as TAGs, all are instantiated by default.
17507 Usage: $0 [OPTION]... [TAG]...
17509 -h, --help print this help, then exit
17510 -V, --version print version number and configuration settings, then exit
17511 --config print configuration, then exit
17512 -q, --quiet, --silent
17513 do not print progress messages
17514 -d, --debug don't remove temporary files
17515 --recheck update $as_me by reconfiguring in the same conditions
17516 --file=FILE[:TEMPLATE]
17517 instantiate the configuration file FILE
17519 Configuration files:
17522 Configuration commands:
17525 Report bugs to <asdcplib@cinecert.com>."
17528 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17529 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17531 asdcplib config.status 2.5.11
17532 configured by $0, generated by GNU Autoconf 2.69,
17533 with options \\"\$ac_cs_config\\"
17535 Copyright (C) 2012 Free Software Foundation, Inc.
17536 This config.status script is free software; the Free Software Foundation
17537 gives unlimited permission to copy, distribute and modify it."
17544 test -n "\$AWK" || AWK=awk
17547 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17548 # The default lists apply if the user does not specify any file.
17554 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17555 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17559 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17571 # Handling of the options.
17572 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17574 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17575 $as_echo "$ac_cs_version"; exit ;;
17576 --config | --confi | --conf | --con | --co | --c )
17577 $as_echo "$ac_cs_config"; exit ;;
17578 --debug | --debu | --deb | --de | --d | -d )
17580 --file | --fil | --fi | --f )
17583 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17584 '') as_fn_error $? "missing file argument" ;;
17586 as_fn_append CONFIG_FILES " '$ac_optarg'"
17587 ac_need_defaults=false;;
17588 --he | --h | --help | --hel | -h )
17589 $as_echo "$ac_cs_usage"; exit ;;
17590 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17591 | -silent | --silent | --silen | --sile | --sil | --si | --s)
17594 # This is an error.
17595 -*) as_fn_error $? "unrecognized option: \`$1'
17596 Try \`$0 --help' for more information." ;;
17598 *) as_fn_append ac_config_targets " $1"
17599 ac_need_defaults=false ;;
17605 ac_configure_extra_args=
17607 if $ac_cs_silent; then
17609 ac_configure_extra_args="$ac_configure_extra_args --silent"
17613 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17614 if \$ac_cs_recheck; then
17615 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17617 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17618 CONFIG_SHELL='$SHELL'
17619 export CONFIG_SHELL
17624 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17628 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17629 ## Running $as_me. ##
17635 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17639 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17642 # The HP-UX ksh and POSIX shell print the target directory to stdout
17643 # if CDPATH is set.
17644 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17646 sed_quote_subst='$sed_quote_subst'
17647 double_quote_subst='$double_quote_subst'
17648 delay_variable_subst='$delay_variable_subst'
17649 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17650 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17651 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17652 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17653 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17654 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17655 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17656 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17657 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17658 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17659 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17660 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17661 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17662 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17663 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17664 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17665 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17666 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17667 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17668 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17669 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17670 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17671 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17672 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17673 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17674 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17675 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17676 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17677 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17678 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17679 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17680 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17681 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17682 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17683 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17684 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17685 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17686 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17687 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17688 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17689 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17690 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17691 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17692 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17693 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17694 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17695 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17696 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17697 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17698 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17699 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17700 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17701 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17702 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17703 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17704 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17705 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"`'
17706 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17707 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17708 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17709 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17710 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17711 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17712 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17713 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17714 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17715 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17716 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17717 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17718 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17719 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17720 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17721 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17722 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17723 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17724 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17725 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17726 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17727 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17728 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17729 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17730 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17731 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17732 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17733 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17734 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17735 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17736 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17737 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17738 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17739 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17740 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17741 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17742 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17743 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17744 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17745 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17746 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17747 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17748 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17749 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17750 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17751 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17752 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17753 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17754 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17755 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17756 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17757 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17758 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17759 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17760 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17761 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17762 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17763 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17764 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17765 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17766 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17767 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17768 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17769 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17770 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17771 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17772 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17773 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17774 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17775 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17776 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17777 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17778 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17779 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
17780 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
17781 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
17782 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
17783 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
17784 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
17785 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
17786 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
17787 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17788 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17789 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
17790 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
17791 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
17792 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
17793 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
17794 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
17795 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
17796 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
17797 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
17798 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17799 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17800 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
17801 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17802 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17803 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17804 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17805 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17806 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17807 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
17808 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17809 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17810 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17811 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
17812 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
17813 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
17814 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
17815 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
17816 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
17817 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
17818 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
17819 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
17820 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17821 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17822 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17823 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17824 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17825 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
17826 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
17827 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
17828 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17829 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17830 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
17831 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
17832 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
17835 LTCFLAGS='$LTCFLAGS'
17836 compiler='$compiler_DEFAULT'
17838 # A function that is used when there is no print builtin or printf.
17839 func_fallback_echo ()
17841 eval 'cat <<_LTECHO_EOF
17846 # Quote evaled strings.
17861 deplibs_check_method \
17866 sharedlib_from_linklib_cmd \
17869 archiver_list_spec \
17875 lt_cv_sys_global_symbol_pipe \
17876 lt_cv_sys_global_symbol_to_cdecl \
17877 lt_cv_sys_global_symbol_to_c_name_address \
17878 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17879 nm_file_list_spec \
17880 lt_prog_compiler_no_builtin_flag \
17881 lt_prog_compiler_pic \
17882 lt_prog_compiler_wl \
17883 lt_prog_compiler_static \
17884 lt_cv_prog_compiler_c_o \
17893 export_dynamic_flag_spec \
17894 whole_archive_flag_spec \
17895 compiler_needs_object \
17897 allow_undefined_flag \
17898 no_undefined_flag \
17899 hardcode_libdir_flag_spec \
17900 hardcode_libdir_separator \
17904 variables_saved_for_relink \
17906 library_names_spec \
17908 install_override_mode \
17912 compiler_lib_search_dirs \
17917 compiler_lib_search_path \
17921 lt_prog_compiler_no_builtin_flag_CXX \
17922 lt_prog_compiler_pic_CXX \
17923 lt_prog_compiler_wl_CXX \
17924 lt_prog_compiler_static_CXX \
17925 lt_cv_prog_compiler_c_o_CXX \
17926 export_dynamic_flag_spec_CXX \
17927 whole_archive_flag_spec_CXX \
17928 compiler_needs_object_CXX \
17930 allow_undefined_flag_CXX \
17931 no_undefined_flag_CXX \
17932 hardcode_libdir_flag_spec_CXX \
17933 hardcode_libdir_separator_CXX \
17934 exclude_expsyms_CXX \
17935 include_expsyms_CXX \
17936 file_list_spec_CXX \
17937 compiler_lib_search_dirs_CXX \
17938 predep_objects_CXX \
17939 postdep_objects_CXX \
17942 compiler_lib_search_path_CXX; do
17943 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17944 *[\\\\\\\`\\"\\\$]*)
17945 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17948 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17953 # Double-quote double-evaled strings.
17954 for var in reload_cmds \
17955 old_postinstall_cmds \
17956 old_postuninstall_cmds \
17958 extract_expsyms_cmds \
17959 old_archive_from_new_cmds \
17960 old_archive_from_expsyms_cmds \
17962 archive_expsym_cmds \
17964 module_expsym_cmds \
17965 export_symbols_cmds \
17969 postuninstall_cmds \
17971 sys_lib_search_path_spec \
17972 sys_lib_dlsearch_path_spec \
17974 old_archive_cmds_CXX \
17975 old_archive_from_new_cmds_CXX \
17976 old_archive_from_expsyms_cmds_CXX \
17978 archive_expsym_cmds_CXX \
17980 module_expsym_cmds_CXX \
17981 export_symbols_cmds_CXX \
17983 postlink_cmds_CXX; do
17984 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17985 *[\\\\\\\`\\"\\\$]*)
17986 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17989 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17994 ac_aux_dir='$ac_aux_dir'
17995 xsi_shell='$xsi_shell'
17996 lt_shell_append='$lt_shell_append'
17998 # See if we are running on zsh, and set the options which allow our
17999 # commands through without removal of \ escapes INIT.
18000 if test -n "\${ZSH_VERSION+set}" ; then
18001 setopt NO_GLOB_SUBST
18007 TIMESTAMP='$TIMESTAMP'
18018 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18020 # Handling of arguments.
18021 for ac_config_target in $ac_config_targets
18023 case $ac_config_target in
18024 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
18025 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
18026 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
18027 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
18028 "win32/Makefile") CONFIG_FILES="$CONFIG_FILES win32/Makefile" ;;
18029 "win32/Makefile.mak") CONFIG_FILES="$CONFIG_FILES win32/Makefile.mak:win32/Makefile.wmk" ;;
18031 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18036 # If the user did not use the arguments to specify the items to instantiate,
18037 # then the envvar interface is used. Set only those that are not.
18038 # We use the long form for the default assignment because of an extremely
18039 # bizarre bug on SunOS 4.1.3.
18040 if $ac_need_defaults; then
18041 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18042 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18045 # Have a temporary directory for convenience. Make it in the build tree
18046 # simply because there is no reason against having it here, and in addition,
18047 # creating and moving files from /tmp can sometimes cause problems.
18048 # Hook for its removal unless debugging.
18049 # Note that there is a small window in which the directory will not be cleaned:
18050 # after its creation but before its name has been assigned to `$tmp'.
18054 trap 'exit_status=$?
18055 : "${ac_tmp:=$tmp}"
18056 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18058 trap 'as_fn_exit 1' 1 2 13 15
18060 # Create a (secure) tmp directory for tmp files.
18063 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18067 tmp=./conf$$-$RANDOM
18068 (umask 077 && mkdir "$tmp")
18069 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18072 # Set up the scripts for CONFIG_FILES section.
18073 # No need to generate them if there are no CONFIG_FILES.
18074 # This happens for instance with `./config.status config.h'.
18075 if test -n "$CONFIG_FILES"; then
18078 ac_cr=`echo X | tr X '\015'`
18079 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18080 # But we know of no other shell where ac_cr would be empty at this
18081 # point, so we can use a bashism as a fallback.
18082 if test "x$ac_cr" = x; then
18083 eval ac_cr=\$\'\\r\'
18085 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18086 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18089 ac_cs_awk_cr=$ac_cr
18092 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18097 echo "cat >conf$$subs.awk <<_ACEOF" &&
18098 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18100 } >conf$$subs.sh ||
18101 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18102 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18104 for ac_last_try in false false false false false :; do
18105 . ./conf$$subs.sh ||
18106 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18108 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18109 if test $ac_delim_n = $ac_delim_num; then
18111 elif $ac_last_try; then
18112 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18114 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18117 rm -f conf$$subs.sh
18119 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18120 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18124 s/^/S["/; s/!.*/"]=/
18134 s/\(.\{148\}\)..*/\1/
18136 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18141 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18148 s/\(.\{148\}\)..*/\1/
18150 s/["\\]/\\&/g; s/^/"/; s/$/"/
18154 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18159 ' <conf$$subs.awk | sed '
18164 ' >>$CONFIG_STATUS || ac_write_fail=1
18165 rm -f conf$$subs.awk
18166 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18168 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18169 for (key in S) S_is_set[key] = 1
18175 nfields = split(line, field, "@")
18177 len = length(field[1])
18178 for (i = 2; i < nfields; i++) {
18180 keylen = length(key)
18181 if (S_is_set[key]) {
18183 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18184 len += length(value) + length(field[++i])
18195 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18196 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18197 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18200 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18201 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18204 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18205 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18206 # trailing colons and then remove the whole line if VPATH becomes empty
18207 # (actually we leave an empty line to preserve line numbers).
18208 if test "x$srcdir" = x.; then
18209 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18227 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18228 fi # test -n "$CONFIG_FILES"
18231 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
18236 :[FHLC]) ac_mode=$ac_tag; continue;;
18238 case $ac_mode$ac_tag in
18240 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18241 :[FH]-) ac_tag=-:-;;
18242 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18259 -) ac_f="$ac_tmp/stdin";;
18260 *) # Look for the file first in the build tree, then in the source tree
18261 # (if the path is not absolute). The absolute path cannot be DOS-style,
18262 # because $ac_f cannot contain `:'.
18266 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18268 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18270 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18271 as_fn_append ac_file_inputs " '$ac_f'"
18274 # Let's still pretend it is `configure' which instantiates (i.e., don't
18275 # use $as_me), people would be surprised to read:
18276 # /* config.h. Generated by config.status. */
18277 configure_input='Generated from '`
18278 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18280 if test x"$ac_file" != x-; then
18281 configure_input="$ac_file. $configure_input"
18282 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18283 $as_echo "$as_me: creating $ac_file" >&6;}
18285 # Neutralize special characters interpreted by sed in replacement strings.
18286 case $configure_input in #(
18287 *\&* | *\|* | *\\* )
18288 ac_sed_conf_input=`$as_echo "$configure_input" |
18289 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18290 *) ac_sed_conf_input=$configure_input;;
18294 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18295 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18300 ac_dir=`$as_dirname -- "$ac_file" ||
18301 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18302 X"$ac_file" : 'X\(//\)[^/]' \| \
18303 X"$ac_file" : 'X\(//\)$' \| \
18304 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18305 $as_echo X"$ac_file" |
18306 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18310 /^X\(\/\/\)[^/].*/{
18323 as_dir="$ac_dir"; as_fn_mkdir_p
18327 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18329 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18330 # A ".." for each directory in $ac_dir_suffix.
18331 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18332 case $ac_top_builddir_sub in
18333 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18334 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18337 ac_abs_top_builddir=$ac_pwd
18338 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18339 # for backward compatibility:
18340 ac_top_builddir=$ac_top_build_prefix
18343 .) # We are building in place.
18345 ac_top_srcdir=$ac_top_builddir_sub
18346 ac_abs_top_srcdir=$ac_pwd ;;
18347 [\\/]* | ?:[\\/]* ) # Absolute name.
18348 ac_srcdir=$srcdir$ac_dir_suffix;
18349 ac_top_srcdir=$srcdir
18350 ac_abs_top_srcdir=$srcdir ;;
18351 *) # Relative name.
18352 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18353 ac_top_srcdir=$ac_top_build_prefix$srcdir
18354 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18356 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18366 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18367 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18369 ac_MKDIR_P=$MKDIR_P
18371 [\\/$]* | ?:[\\/]* ) ;;
18372 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18376 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18377 # If the template does not know about datarootdir, expand it.
18378 # FIXME: This hack should be removed a few years after 2.60.
18379 ac_datarootdir_hack=; ac_datarootdir_seen=
18390 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18391 *datarootdir*) ac_datarootdir_seen=yes;;
18392 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18393 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18394 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18396 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18397 ac_datarootdir_hack='
18398 s&@datadir@&$datadir&g
18399 s&@docdir@&$docdir&g
18400 s&@infodir@&$infodir&g
18401 s&@localedir@&$localedir&g
18402 s&@mandir@&$mandir&g
18403 s&\\\${datarootdir}&$datarootdir&g' ;;
18407 # Neutralize VPATH when `$srcdir' = `.'.
18408 # Shell code in configure.ac might set extrasub.
18409 # FIXME: do we really want to maintain this feature?
18410 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18411 ac_sed_extra="$ac_vpsub
18414 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18416 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18417 s|@configure_input@|$ac_sed_conf_input|;t t
18418 s&@top_builddir@&$ac_top_builddir_sub&;t t
18419 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18420 s&@srcdir@&$ac_srcdir&;t t
18421 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18422 s&@top_srcdir@&$ac_top_srcdir&;t t
18423 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18424 s&@builddir@&$ac_builddir&;t t
18425 s&@abs_builddir@&$ac_abs_builddir&;t t
18426 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18427 s&@INSTALL@&$ac_INSTALL&;t t
18428 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18429 $ac_datarootdir_hack
18431 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18432 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18434 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18435 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18436 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18437 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18438 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18439 which seems to be undefined. Please make sure it is defined" >&5
18440 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18441 which seems to be undefined. Please make sure it is defined" >&2;}
18443 rm -f "$ac_tmp/stdin"
18445 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18446 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18448 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18452 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18453 $as_echo "$as_me: executing $ac_file commands" >&6;}
18458 case $ac_file$ac_mode in
18459 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18460 # Older Autoconf quotes --file arguments for eval, but not when files
18461 # are listed without --file. Let's play safe and only enable the eval
18462 # if we detect the quoting.
18463 case $CONFIG_FILES in
18464 *\'*) eval set x "$CONFIG_FILES" ;;
18465 *) set x $CONFIG_FILES ;;
18470 # Strip MF so we end up with the name of the file.
18471 mf=`echo "$mf" | sed -e 's/:.*$//'`
18472 # Check whether this is an Automake generated Makefile or not.
18473 # We used to match only the files named 'Makefile.in', but
18474 # some people rename them; so instead we look at the file content.
18475 # Grep'ing the first line is not enough: some people post-process
18476 # each Makefile.in and add a new line on top of each file to say so.
18477 # Grep'ing the whole file is not good either: AIX grep has a line
18478 # limit of 2048, but all sed's we know have understand at least 4000.
18479 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18480 dirpart=`$as_dirname -- "$mf" ||
18481 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18482 X"$mf" : 'X\(//\)[^/]' \| \
18483 X"$mf" : 'X\(//\)$' \| \
18484 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18486 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18490 /^X\(\/\/\)[^/].*/{
18506 # Extract the definition of DEPDIR, am__include, and am__quote
18507 # from the Makefile without running 'make'.
18508 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18509 test -z "$DEPDIR" && continue
18510 am__include=`sed -n 's/^am__include = //p' < "$mf"`
18511 test -z "$am__include" && continue
18512 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18513 # Find all dependency output files, they are included files with
18514 # $(DEPDIR) in their names. We invoke sed twice because it is the
18515 # simplest approach to changing $(DEPDIR) to its actual value in the
18517 for file in `sed -n "
18518 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18519 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
18520 # Make sure the directory exists.
18521 test -f "$dirpart/$file" && continue
18522 fdir=`$as_dirname -- "$file" ||
18523 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18524 X"$file" : 'X\(//\)[^/]' \| \
18525 X"$file" : 'X\(//\)$' \| \
18526 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18527 $as_echo X"$file" |
18528 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18532 /^X\(\/\/\)[^/].*/{
18545 as_dir=$dirpart/$fdir; as_fn_mkdir_p
18546 # echo "creating $dirpart/$file"
18547 echo '# dummy' > "$dirpart/$file"
18554 # See if we are running on zsh, and set the options which allow our
18555 # commands through without removal of \ escapes.
18556 if test -n "${ZSH_VERSION+set}" ; then
18557 setopt NO_GLOB_SUBST
18560 cfgfile="${ofile}T"
18561 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18564 cat <<_LT_EOF >> "$cfgfile"
18567 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18568 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18569 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18570 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18572 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18573 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
18575 # Written by Gordon Matzigkeit, 1996
18577 # This file is part of GNU Libtool.
18579 # GNU Libtool is free software; you can redistribute it and/or
18580 # modify it under the terms of the GNU General Public License as
18581 # published by the Free Software Foundation; either version 2 of
18582 # the License, or (at your option) any later version.
18584 # As a special exception to the GNU General Public License,
18585 # if you distribute this file as part of a program or library that
18586 # is built using GNU Libtool, you may include this file under the
18587 # same distribution terms that you use for the rest of that program.
18589 # GNU Libtool is distributed in the hope that it will be useful,
18590 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18591 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18592 # GNU General Public License for more details.
18594 # You should have received a copy of the GNU General Public License
18595 # along with GNU Libtool; see the file COPYING. If not, a copy
18596 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18597 # obtained by writing to the Free Software Foundation, Inc.,
18598 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18601 # The names of the tagged configurations supported by this script.
18602 available_tags="CXX "
18604 # ### BEGIN LIBTOOL CONFIG
18606 # Which release of libtool.m4 was used?
18607 macro_version=$macro_version
18608 macro_revision=$macro_revision
18610 # Whether or not to build shared libraries.
18611 build_libtool_libs=$enable_shared
18613 # Whether or not to build static libraries.
18614 build_old_libs=$enable_static
18616 # What type of objects to build.
18619 # Whether or not to optimize for fast installation.
18620 fast_install=$enable_fast_install
18622 # Shell to use when invoking shell scripts.
18625 # An echo program that protects backslashes.
18628 # The PATH separator for the build system.
18629 PATH_SEPARATOR=$lt_PATH_SEPARATOR
18632 host_alias=$host_alias
18636 # The build system.
18637 build_alias=$build_alias
18641 # A sed program that does not truncate output.
18644 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18645 Xsed="\$SED -e 1s/^X//"
18647 # A grep program that handles long lines.
18653 # A literal string matcher.
18656 # A BSD- or MS-compatible name lister.
18659 # Whether we need soft or hard links.
18662 # What is the maximum length of a command?
18663 max_cmd_len=$max_cmd_len
18665 # Object file suffix (normally "o").
18668 # Executable file suffix (normally "").
18671 # whether the shell understands "unset".
18674 # turn spaces into newlines.
18677 # turn newlines into spaces.
18680 # convert \$build file names to \$host format.
18681 to_host_file_cmd=$lt_cv_to_host_file_cmd
18683 # convert \$build files to toolchain format.
18684 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18686 # An object symbol dumper.
18687 OBJDUMP=$lt_OBJDUMP
18689 # Method to check whether dependent libraries are shared objects.
18690 deplibs_check_method=$lt_deplibs_check_method
18692 # Command to use when deplibs_check_method = "file_magic".
18693 file_magic_cmd=$lt_file_magic_cmd
18695 # How to find potential files when deplibs_check_method = "file_magic".
18696 file_magic_glob=$lt_file_magic_glob
18698 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18699 want_nocaseglob=$lt_want_nocaseglob
18701 # DLL creation program.
18702 DLLTOOL=$lt_DLLTOOL
18704 # Command to associate shared and link libraries.
18705 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18710 # Flags to create an archive.
18711 AR_FLAGS=$lt_AR_FLAGS
18713 # How to feed a file listing to the archiver.
18714 archiver_list_spec=$lt_archiver_list_spec
18716 # A symbol stripping program.
18719 # Commands used to install an old-style archive.
18721 old_postinstall_cmds=$lt_old_postinstall_cmds
18722 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18724 # Whether to use a lock for old archive extraction.
18725 lock_old_archive_extraction=$lock_old_archive_extraction
18730 # LTCC compiler flags.
18731 LTCFLAGS=$lt_CFLAGS
18733 # Take the output of nm and produce a listing of raw symbols and C names.
18734 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18736 # Transform the output of nm in a proper C declaration.
18737 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18739 # Transform the output of nm in a C name address pair.
18740 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18742 # Transform the output of nm in a C name address pair when lib prefix is needed.
18743 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18745 # Specify filename containing input files for \$NM.
18746 nm_file_list_spec=$lt_nm_file_list_spec
18748 # The root where to search for dependent libraries,and in which our libraries should be installed.
18749 lt_sysroot=$lt_sysroot
18751 # The name of the directory that contains temporary libtool files.
18754 # Used to examine libraries when file_magic_cmd begins with "file".
18755 MAGIC_CMD=$MAGIC_CMD
18757 # Must we lock files when doing compilation?
18758 need_locks=$lt_need_locks
18761 MANIFEST_TOOL=$lt_MANIFEST_TOOL
18763 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18764 DSYMUTIL=$lt_DSYMUTIL
18766 # Tool to change global to local symbols on Mac OS X.
18769 # Tool to manipulate fat objects and archives on Mac OS X.
18772 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18775 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18776 OTOOL64=$lt_OTOOL64
18778 # Old archive suffix (normally "a").
18781 # Shared library suffix (normally ".so").
18782 shrext_cmds=$lt_shrext_cmds
18784 # The commands to extract the exported symbol list from a shared archive.
18785 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18787 # Variables whose values should be saved in libtool wrapper scripts and
18788 # restored at link time.
18789 variables_saved_for_relink=$lt_variables_saved_for_relink
18791 # Do we need the "lib" prefix for modules?
18792 need_lib_prefix=$need_lib_prefix
18794 # Do we need a version for libraries?
18795 need_version=$need_version
18797 # Library versioning type.
18798 version_type=$version_type
18800 # Shared library runtime path variable.
18801 runpath_var=$runpath_var
18803 # Shared library path variable.
18804 shlibpath_var=$shlibpath_var
18806 # Is shlibpath searched before the hard-coded library search path?
18807 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18809 # Format of library name prefix.
18810 libname_spec=$lt_libname_spec
18812 # List of archive names. First name is the real one, the rest are links.
18813 # The last name is the one that the linker finds with -lNAME
18814 library_names_spec=$lt_library_names_spec
18816 # The coded name of the library, if different from the real name.
18817 soname_spec=$lt_soname_spec
18819 # Permission mode override for installation of shared libraries.
18820 install_override_mode=$lt_install_override_mode
18822 # Command to use after installation of a shared archive.
18823 postinstall_cmds=$lt_postinstall_cmds
18825 # Command to use after uninstallation of a shared archive.
18826 postuninstall_cmds=$lt_postuninstall_cmds
18828 # Commands used to finish a libtool library installation in a directory.
18829 finish_cmds=$lt_finish_cmds
18831 # As "finish_cmds", except a single script fragment to be evaled but
18833 finish_eval=$lt_finish_eval
18835 # Whether we should hardcode library paths into libraries.
18836 hardcode_into_libs=$hardcode_into_libs
18838 # Compile-time system search path for libraries.
18839 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18841 # Run-time system search path for libraries.
18842 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18844 # Whether dlopen is supported.
18845 dlopen_support=$enable_dlopen
18847 # Whether dlopen of programs is supported.
18848 dlopen_self=$enable_dlopen_self
18850 # Whether dlopen of statically linked programs is supported.
18851 dlopen_self_static=$enable_dlopen_self_static
18853 # Commands to strip libraries.
18854 old_striplib=$lt_old_striplib
18855 striplib=$lt_striplib
18858 # The linker used to build libraries.
18861 # How to create reloadable object files.
18862 reload_flag=$lt_reload_flag
18863 reload_cmds=$lt_reload_cmds
18865 # Commands used to build an old-style archive.
18866 old_archive_cmds=$lt_old_archive_cmds
18868 # A language specific compiler.
18871 # Is the compiler the GNU compiler?
18874 # Compiler flag to turn off builtin functions.
18875 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18877 # Additional compiler flags for building library objects.
18878 pic_flag=$lt_lt_prog_compiler_pic
18880 # How to pass a linker flag through the compiler.
18881 wl=$lt_lt_prog_compiler_wl
18883 # Compiler flag to prevent dynamic linking.
18884 link_static_flag=$lt_lt_prog_compiler_static
18886 # Does compiler simultaneously support -c and -o options?
18887 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18889 # Whether or not to add -lc for building shared libraries.
18890 build_libtool_need_lc=$archive_cmds_need_lc
18892 # Whether or not to disallow shared libs when runtime libs are static.
18893 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18895 # Compiler flag to allow reflexive dlopens.
18896 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18898 # Compiler flag to generate shared objects directly from archives.
18899 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18901 # Whether the compiler copes with passing no objects directly.
18902 compiler_needs_object=$lt_compiler_needs_object
18904 # Create an old-style archive from a shared archive.
18905 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18907 # Create a temporary old-style archive to link instead of a shared archive.
18908 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18910 # Commands used to build a shared archive.
18911 archive_cmds=$lt_archive_cmds
18912 archive_expsym_cmds=$lt_archive_expsym_cmds
18914 # Commands used to build a loadable module if different from building
18915 # a shared archive.
18916 module_cmds=$lt_module_cmds
18917 module_expsym_cmds=$lt_module_expsym_cmds
18919 # Whether we are building with GNU ld or not.
18920 with_gnu_ld=$lt_with_gnu_ld
18922 # Flag that allows shared libraries with undefined symbols to be built.
18923 allow_undefined_flag=$lt_allow_undefined_flag
18925 # Flag that enforces no undefined symbols.
18926 no_undefined_flag=$lt_no_undefined_flag
18928 # Flag to hardcode \$libdir into a binary during linking.
18929 # This must work even if \$libdir does not exist
18930 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18932 # Whether we need a single "-rpath" flag with a separated argument.
18933 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18935 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18936 # DIR into the resulting binary.
18937 hardcode_direct=$hardcode_direct
18939 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18940 # DIR into the resulting binary and the resulting library dependency is
18941 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18942 # library is relocated.
18943 hardcode_direct_absolute=$hardcode_direct_absolute
18945 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18946 # into the resulting binary.
18947 hardcode_minus_L=$hardcode_minus_L
18949 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18950 # into the resulting binary.
18951 hardcode_shlibpath_var=$hardcode_shlibpath_var
18953 # Set to "yes" if building a shared library automatically hardcodes DIR
18954 # into the library and all subsequent libraries and executables linked
18956 hardcode_automatic=$hardcode_automatic
18958 # Set to yes if linker adds runtime paths of dependent libraries
18959 # to runtime path list.
18960 inherit_rpath=$inherit_rpath
18962 # Whether libtool must link a program against all its dependency libraries.
18963 link_all_deplibs=$link_all_deplibs
18965 # Set to "yes" if exported symbols are required.
18966 always_export_symbols=$always_export_symbols
18968 # The commands to list exported symbols.
18969 export_symbols_cmds=$lt_export_symbols_cmds
18971 # Symbols that should not be listed in the preloaded symbols.
18972 exclude_expsyms=$lt_exclude_expsyms
18974 # Symbols that must always be exported.
18975 include_expsyms=$lt_include_expsyms
18977 # Commands necessary for linking programs (against libraries) with templates.
18978 prelink_cmds=$lt_prelink_cmds
18980 # Commands necessary for finishing linking programs.
18981 postlink_cmds=$lt_postlink_cmds
18983 # Specify filename containing input files.
18984 file_list_spec=$lt_file_list_spec
18986 # How to hardcode a shared library path into an executable.
18987 hardcode_action=$hardcode_action
18989 # The directories searched by this compiler when creating a shared library.
18990 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
18992 # Dependencies to place before and after the objects being linked to
18993 # create a shared library.
18994 predep_objects=$lt_predep_objects
18995 postdep_objects=$lt_postdep_objects
18996 predeps=$lt_predeps
18997 postdeps=$lt_postdeps
18999 # The library search path used internally by the compiler when linking
19000 # a shared library.
19001 compiler_lib_search_path=$lt_compiler_lib_search_path
19003 # ### END LIBTOOL CONFIG
19009 cat <<\_LT_EOF >> "$cfgfile"
19010 # AIX sometimes has problems with the GCC collect2 program. For some
19011 # reason, if we set the COLLECT_NAMES environment variable, the problems
19012 # vanish in a puff of smoke.
19013 if test "X${COLLECT_NAMES+set}" != Xset; then
19015 export COLLECT_NAMES
19022 ltmain="$ac_aux_dir/ltmain.sh"
19025 # We use sed instead of cat because bash on DJGPP gets confused if
19026 # if finds mixed CR/LF and LF-only lines. Since sed operates in
19027 # text mode, it properly converts lines to CR/LF. This bash problem
19028 # is reportedly fixed, but why not run on old versions too?
19029 sed '$q' "$ltmain" >> "$cfgfile" \
19030 || (rm -f "$cfgfile"; exit 1)
19032 if test x"$xsi_shell" = xyes; then
19033 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
19037 \ */*) func_dirname_result="${1%/*}${2}" ;;\
19038 \ * ) func_dirname_result="${3}" ;;\
19040 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
19041 && mv -f "$cfgfile.tmp" "$cfgfile" \
19042 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19043 test 0 -eq $? || _lt_function_replace_fail=:
19046 sed -e '/^func_basename ()$/,/^} # func_basename /c\
19049 \ func_basename_result="${1##*/}"\
19050 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
19051 && mv -f "$cfgfile.tmp" "$cfgfile" \
19052 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19053 test 0 -eq $? || _lt_function_replace_fail=:
19056 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
19057 func_dirname_and_basename ()\
19060 \ */*) func_dirname_result="${1%/*}${2}" ;;\
19061 \ * ) func_dirname_result="${3}" ;;\
19063 \ func_basename_result="${1##*/}"\
19064 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
19065 && mv -f "$cfgfile.tmp" "$cfgfile" \
19066 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19067 test 0 -eq $? || _lt_function_replace_fail=:
19070 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
19073 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
19074 \ # positional parameters, so assign one to ordinary parameter first.\
19075 \ func_stripname_result=${3}\
19076 \ func_stripname_result=${func_stripname_result#"${1}"}\
19077 \ func_stripname_result=${func_stripname_result%"${2}"}\
19078 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
19079 && mv -f "$cfgfile.tmp" "$cfgfile" \
19080 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19081 test 0 -eq $? || _lt_function_replace_fail=:
19084 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
19085 func_split_long_opt ()\
19087 \ func_split_long_opt_name=${1%%=*}\
19088 \ func_split_long_opt_arg=${1#*=}\
19089 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
19090 && mv -f "$cfgfile.tmp" "$cfgfile" \
19091 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19092 test 0 -eq $? || _lt_function_replace_fail=:
19095 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
19096 func_split_short_opt ()\
19098 \ func_split_short_opt_arg=${1#??}\
19099 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
19100 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
19101 && mv -f "$cfgfile.tmp" "$cfgfile" \
19102 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19103 test 0 -eq $? || _lt_function_replace_fail=:
19106 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
19110 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
19111 \ *) func_lo2o_result=${1} ;;\
19113 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
19114 && mv -f "$cfgfile.tmp" "$cfgfile" \
19115 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19116 test 0 -eq $? || _lt_function_replace_fail=:
19119 sed -e '/^func_xform ()$/,/^} # func_xform /c\
19122 func_xform_result=${1%.*}.lo\
19123 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
19124 && mv -f "$cfgfile.tmp" "$cfgfile" \
19125 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19126 test 0 -eq $? || _lt_function_replace_fail=:
19129 sed -e '/^func_arith ()$/,/^} # func_arith /c\
19132 func_arith_result=$(( $* ))\
19133 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
19134 && mv -f "$cfgfile.tmp" "$cfgfile" \
19135 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19136 test 0 -eq $? || _lt_function_replace_fail=:
19139 sed -e '/^func_len ()$/,/^} # func_len /c\
19142 func_len_result=${#1}\
19143 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
19144 && mv -f "$cfgfile.tmp" "$cfgfile" \
19145 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19146 test 0 -eq $? || _lt_function_replace_fail=:
19150 if test x"$lt_shell_append" = xyes; then
19151 sed -e '/^func_append ()$/,/^} # func_append /c\
19154 eval "${1}+=\\${2}"\
19155 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
19156 && mv -f "$cfgfile.tmp" "$cfgfile" \
19157 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19158 test 0 -eq $? || _lt_function_replace_fail=:
19161 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
19162 func_append_quoted ()\
19164 \ func_quote_for_eval "${2}"\
19165 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
19166 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
19167 && mv -f "$cfgfile.tmp" "$cfgfile" \
19168 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19169 test 0 -eq $? || _lt_function_replace_fail=:
19172 # Save a `func_append' function call where possible by direct use of '+='
19173 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
19174 && mv -f "$cfgfile.tmp" "$cfgfile" \
19175 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19176 test 0 -eq $? || _lt_function_replace_fail=:
19178 # Save a `func_append' function call even when '+=' is not available
19179 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
19180 && mv -f "$cfgfile.tmp" "$cfgfile" \
19181 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19182 test 0 -eq $? || _lt_function_replace_fail=:
19185 if test x"$_lt_function_replace_fail" = x":"; then
19186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
19187 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
19191 mv -f "$cfgfile" "$ofile" ||
19192 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19196 cat <<_LT_EOF >> "$ofile"
19198 # ### BEGIN LIBTOOL TAG CONFIG: CXX
19200 # The linker used to build libraries.
19203 # How to create reloadable object files.
19204 reload_flag=$lt_reload_flag_CXX
19205 reload_cmds=$lt_reload_cmds_CXX
19207 # Commands used to build an old-style archive.
19208 old_archive_cmds=$lt_old_archive_cmds_CXX
19210 # A language specific compiler.
19211 CC=$lt_compiler_CXX
19213 # Is the compiler the GNU compiler?
19216 # Compiler flag to turn off builtin functions.
19217 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
19219 # Additional compiler flags for building library objects.
19220 pic_flag=$lt_lt_prog_compiler_pic_CXX
19222 # How to pass a linker flag through the compiler.
19223 wl=$lt_lt_prog_compiler_wl_CXX
19225 # Compiler flag to prevent dynamic linking.
19226 link_static_flag=$lt_lt_prog_compiler_static_CXX
19228 # Does compiler simultaneously support -c and -o options?
19229 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
19231 # Whether or not to add -lc for building shared libraries.
19232 build_libtool_need_lc=$archive_cmds_need_lc_CXX
19234 # Whether or not to disallow shared libs when runtime libs are static.
19235 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
19237 # Compiler flag to allow reflexive dlopens.
19238 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
19240 # Compiler flag to generate shared objects directly from archives.
19241 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
19243 # Whether the compiler copes with passing no objects directly.
19244 compiler_needs_object=$lt_compiler_needs_object_CXX
19246 # Create an old-style archive from a shared archive.
19247 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
19249 # Create a temporary old-style archive to link instead of a shared archive.
19250 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
19252 # Commands used to build a shared archive.
19253 archive_cmds=$lt_archive_cmds_CXX
19254 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
19256 # Commands used to build a loadable module if different from building
19257 # a shared archive.
19258 module_cmds=$lt_module_cmds_CXX
19259 module_expsym_cmds=$lt_module_expsym_cmds_CXX
19261 # Whether we are building with GNU ld or not.
19262 with_gnu_ld=$lt_with_gnu_ld_CXX
19264 # Flag that allows shared libraries with undefined symbols to be built.
19265 allow_undefined_flag=$lt_allow_undefined_flag_CXX
19267 # Flag that enforces no undefined symbols.
19268 no_undefined_flag=$lt_no_undefined_flag_CXX
19270 # Flag to hardcode \$libdir into a binary during linking.
19271 # This must work even if \$libdir does not exist
19272 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
19274 # Whether we need a single "-rpath" flag with a separated argument.
19275 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
19277 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19278 # DIR into the resulting binary.
19279 hardcode_direct=$hardcode_direct_CXX
19281 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19282 # DIR into the resulting binary and the resulting library dependency is
19283 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19284 # library is relocated.
19285 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
19287 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19288 # into the resulting binary.
19289 hardcode_minus_L=$hardcode_minus_L_CXX
19291 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19292 # into the resulting binary.
19293 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
19295 # Set to "yes" if building a shared library automatically hardcodes DIR
19296 # into the library and all subsequent libraries and executables linked
19298 hardcode_automatic=$hardcode_automatic_CXX
19300 # Set to yes if linker adds runtime paths of dependent libraries
19301 # to runtime path list.
19302 inherit_rpath=$inherit_rpath_CXX
19304 # Whether libtool must link a program against all its dependency libraries.
19305 link_all_deplibs=$link_all_deplibs_CXX
19307 # Set to "yes" if exported symbols are required.
19308 always_export_symbols=$always_export_symbols_CXX
19310 # The commands to list exported symbols.
19311 export_symbols_cmds=$lt_export_symbols_cmds_CXX
19313 # Symbols that should not be listed in the preloaded symbols.
19314 exclude_expsyms=$lt_exclude_expsyms_CXX
19316 # Symbols that must always be exported.
19317 include_expsyms=$lt_include_expsyms_CXX
19319 # Commands necessary for linking programs (against libraries) with templates.
19320 prelink_cmds=$lt_prelink_cmds_CXX
19322 # Commands necessary for finishing linking programs.
19323 postlink_cmds=$lt_postlink_cmds_CXX
19325 # Specify filename containing input files.
19326 file_list_spec=$lt_file_list_spec_CXX
19328 # How to hardcode a shared library path into an executable.
19329 hardcode_action=$hardcode_action_CXX
19331 # The directories searched by this compiler when creating a shared library.
19332 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
19334 # Dependencies to place before and after the objects being linked to
19335 # create a shared library.
19336 predep_objects=$lt_predep_objects_CXX
19337 postdep_objects=$lt_postdep_objects_CXX
19338 predeps=$lt_predeps_CXX
19339 postdeps=$lt_postdeps_CXX
19341 # The library search path used internally by the compiler when linking
19342 # a shared library.
19343 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19345 # ### END LIBTOOL TAG CONFIG: CXX
19356 ac_clean_files=$ac_clean_files_save
19358 test $ac_write_fail = 0 ||
19359 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19362 # configure is writing to config.log, and then calls config.status.
19363 # config.status does its own redirection, appending to config.log.
19364 # Unfortunately, on DOS this fails, as config.log is still kept open
19365 # by configure, so config.status won't be able to write to it; its
19366 # output is simply discarded. So we exec the FD to /dev/null,
19367 # effectively closing config.log, so it can be properly (re)opened and
19368 # appended to by config.status. When coming back to configure, we
19369 # need to make the FD available again.
19370 if test "$no_create" != yes; then
19372 ac_config_status_args=
19373 test "$silent" = yes &&
19374 ac_config_status_args="$ac_config_status_args --quiet"
19376 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19378 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19379 # would make configure fail if this is the last instruction.
19380 $ac_cs_success || as_fn_exit 1
19382 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19383 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19384 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}