2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for asdcplib 1.9.45.
5 # Report bugs to <asdcplib@cinecert.com>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
178 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182 PATH=/empty FPATH=/empty; export PATH FPATH
183 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185 test \$(( 1 + 1 )) = 2 || exit 1"
186 if (eval "$as_required") 2>/dev/null; then :
191 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
199 test -z "$as_dir" && as_dir=.
203 for as_base in sh bash ksh sh5; do
204 # Try only shells that exist, to save several forks.
205 as_shell=$as_dir/$as_base
206 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 CONFIG_SHELL=$as_shell as_have_required=yes
209 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219 CONFIG_SHELL=$SHELL as_have_required=yes
224 if test "x$CONFIG_SHELL" != x; then :
225 # We cannot yet assume a decent shell, so we have to provide a
226 # neutralization value for shells without unset; and this also
227 # works around shells that cannot unset nonexistent variables.
228 # Preserve -v and -x to the replacement shell.
231 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
234 *v*x* | *x*v* ) as_opts=-vx ;;
239 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
242 if test x$as_have_required = xno; then :
243 $as_echo "$0: This script requires a shell more modern than all"
244 $as_echo "$0: the shells that I found on your system."
245 if test x${ZSH_VERSION+set} = xset ; then
246 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
249 $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: asdcplib@cinecert.com about your system, including any
251 $0: error possibly output before this message. Then install
252 $0: a modern shell, or manually run the script under such a
253 $0: shell if you do have one."
259 SHELL=${CONFIG_SHELL-/bin/sh}
261 # Unset more variables known to interfere with behavior of common tools.
262 CLICOLOR_FORCE= GREP_OPTIONS=
263 unset CLICOLOR_FORCE GREP_OPTIONS
265 ## --------------------- ##
266 ## M4sh Shell Functions. ##
267 ## --------------------- ##
270 # Portably unset VAR.
273 { eval $1=; unset $1;}
277 # as_fn_set_status STATUS
278 # -----------------------
279 # Set $? to STATUS, without forking.
287 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
297 # Create "$as_dir" as a directory, including parents if necessary.
302 -*) as_dir=./$as_dir;;
304 test -d "$as_dir" || eval $as_mkdir_p || {
308 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
311 as_dirs="'$as_qdir' $as_dirs"
312 as_dir=`$as_dirname -- "$as_dir" ||
313 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
314 X"$as_dir" : 'X\(//\)[^/]' \| \
315 X"$as_dir" : 'X\(//\)$' \| \
316 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
317 $as_echo X"$as_dir" |
318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335 test -d "$as_dir" && break
337 test -z "$as_dirs" || eval "mkdir $as_dirs"
338 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
342 # as_fn_append VAR VALUE
343 # ----------------------
344 # Append the text in VALUE to the end of the definition contained in VAR. Take
345 # advantage of any shell optimizations that allow amortized linear growth over
346 # repeated appends, instead of the typical quadratic growth present in naive
348 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
349 eval 'as_fn_append ()
362 # Perform arithmetic evaluation on the ARGs, and store the result in the
363 # global $as_val. Take advantage of shells that can avoid forks. The arguments
364 # must be portable across $(()) and expr.
365 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
373 as_val=`expr "$@" || test $? -eq 1`
378 # as_fn_error STATUS ERROR [LINENO LOG_FD]
379 # ----------------------------------------
380 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
381 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
382 # script with STATUS, using 1 if that was 0.
385 as_status=$1; test $as_status -eq 0 && as_status=1
387 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
388 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
390 $as_echo "$as_me: error: $2" >&2
391 as_fn_exit $as_status
394 if expr a : '\(a\)' >/dev/null 2>&1 &&
395 test "X`expr 00001 : '.*\(...\)'`" = X001; then
401 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
407 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
413 as_me=`$as_basename -- "$0" ||
414 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
415 X"$0" : 'X\(//\)$' \| \
416 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
418 sed '/^.*\/\([^/][^/]*\)\/*$/{
432 # Avoid depending upon Character Ranges.
433 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
434 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
435 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
436 as_cr_digits='0123456789'
437 as_cr_alnum=$as_cr_Letters$as_cr_digits
440 as_lineno_1=$LINENO as_lineno_1a=$LINENO
441 as_lineno_2=$LINENO as_lineno_2a=$LINENO
442 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
443 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
444 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
456 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
460 chmod +x "$as_me.lineno" ||
461 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
463 # Don't try to exec as it changes $[0], causing all sort of problems
464 # (the dirname of $[0] is not the place where we might find the
465 # original and so on. Autoconf is especially sensitive to this).
467 # Exit status is that of the last command.
471 ECHO_C= ECHO_N= ECHO_T=
472 case `echo -n x` in #(((((
474 case `echo 'xy\c'` in
475 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
477 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
484 rm -f conf$$ conf$$.exe conf$$.file
485 if test -d conf$$.dir; then
486 rm -f conf$$.dir/conf$$.file
489 mkdir conf$$.dir 2>/dev/null
491 if (echo >conf$$.file) 2>/dev/null; then
492 if ln -s conf$$.file conf$$ 2>/dev/null; then
494 # ... but there are two gotchas:
495 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497 # In both cases, we have to default to `cp -p'.
498 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
500 elif ln conf$$.file conf$$ 2>/dev/null; then
508 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509 rmdir conf$$.dir 2>/dev/null
511 if mkdir -p . 2>/dev/null; then
512 as_mkdir_p='mkdir -p "$as_dir"'
514 test -d ./-p && rmdir ./-p
518 if test -x / >/dev/null 2>&1; then
521 if ls -dL / >/dev/null 2>&1; then
528 if test -d "$1"; then
534 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
535 ???[sx]*):;;*)false;;esac;fi
539 as_executable_p=$as_test_x
541 # Sed expression to map a string onto a valid CPP name.
542 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
544 # Sed expression to map a string onto a valid variable name.
545 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
547 SHELL=${CONFIG_SHELL-/bin/sh}
550 test -n "$DJDIR" || exec 7<&0 </dev/null
554 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
555 # so uname gets run too.
556 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561 ac_default_prefix=/usr/local
563 ac_config_libobj_dir=.
570 # Identity of this package.
571 PACKAGE_NAME='asdcplib'
572 PACKAGE_TARNAME='asdcplib'
573 PACKAGE_VERSION='1.9.45'
574 PACKAGE_STRING='asdcplib 1.9.45'
575 PACKAGE_BUGREPORT='asdcplib@cinecert.com'
578 ac_unique_file="src/KM_error.h"
579 # Factoring default headers for most tests.
580 ac_includes_default="\
582 #ifdef HAVE_SYS_TYPES_H
583 # include <sys/types.h>
585 #ifdef HAVE_SYS_STAT_H
586 # include <sys/stat.h>
592 # ifdef HAVE_STDLIB_H
597 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 #ifdef HAVE_STRINGS_H
603 # include <strings.h>
605 #ifdef HAVE_INTTYPES_H
606 # include <inttypes.h>
615 ac_subst_vars='am__EXEEXT_FALSE
619 ENABLE_RANDOM_UUID_FALSE
620 ENABLE_RANDOM_UUID_TRUE
713 INSTALL_STRIP_PROGRAM
755 program_transform_name
768 enable_option_checking
769 enable_dependency_tracking
788 enable_random_case_UUID
790 ac_precious_vars='build_alias
806 # Initialize some variables set by options.
808 ac_init_version=false
809 ac_unrecognized_opts=
811 # The variables have the same names as the options, with
812 # dashes changed to underlines.
820 program_transform_name=s,x,x,
828 # Installation directory options.
829 # These are left unexpanded so users can "make install exec_prefix=/foo"
830 # and all the variables that are supposed to be based on exec_prefix
831 # by default will actually change.
832 # Use braces instead of parens because sh, perl, etc. also accept them.
833 # (The list follows the same order as the GNU Coding Standards.)
834 bindir='${exec_prefix}/bin'
835 sbindir='${exec_prefix}/sbin'
836 libexecdir='${exec_prefix}/libexec'
837 datarootdir='${prefix}/share'
838 datadir='${datarootdir}'
839 sysconfdir='${prefix}/etc'
840 sharedstatedir='${prefix}/com'
841 localstatedir='${prefix}/var'
842 includedir='${prefix}/include'
843 oldincludedir='/usr/include'
844 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
845 infodir='${datarootdir}/info'
850 libdir='${exec_prefix}/lib'
851 localedir='${datarootdir}/locale'
852 mandir='${datarootdir}/man'
858 # If the previous option needs an argument, assign it.
859 if test -n "$ac_prev"; then
860 eval $ac_prev=\$ac_option
866 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
871 # Accept the important Cygnus configure options, so we can diagnose typos.
873 case $ac_dashdash$ac_option in
877 -bindir | --bindir | --bindi | --bind | --bin | --bi)
879 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
882 -build | --build | --buil | --bui | --bu)
883 ac_prev=build_alias ;;
884 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
885 build_alias=$ac_optarg ;;
887 -cache-file | --cache-file | --cache-fil | --cache-fi \
888 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
889 ac_prev=cache_file ;;
890 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
891 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
892 cache_file=$ac_optarg ;;
895 cache_file=config.cache ;;
897 -datadir | --datadir | --datadi | --datad)
899 -datadir=* | --datadir=* | --datadi=* | --datad=*)
900 datadir=$ac_optarg ;;
902 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
903 | --dataroo | --dataro | --datar)
904 ac_prev=datarootdir ;;
905 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
906 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
907 datarootdir=$ac_optarg ;;
909 -disable-* | --disable-*)
910 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
911 # Reject names that are not valid shell variable names.
912 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
913 as_fn_error $? "invalid feature name: $ac_useropt"
914 ac_useropt_orig=$ac_useropt
915 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
916 case $ac_user_opts in
920 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
921 ac_unrecognized_sep=', ';;
923 eval enable_$ac_useropt=no ;;
925 -docdir | --docdir | --docdi | --doc | --do)
927 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
930 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
932 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
935 -enable-* | --enable-*)
936 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
937 # Reject names that are not valid shell variable names.
938 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
939 as_fn_error $? "invalid feature name: $ac_useropt"
940 ac_useropt_orig=$ac_useropt
941 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
942 case $ac_user_opts in
946 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
947 ac_unrecognized_sep=', ';;
949 eval enable_$ac_useropt=\$ac_optarg ;;
951 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
952 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
953 | --exec | --exe | --ex)
954 ac_prev=exec_prefix ;;
955 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
956 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
957 | --exec=* | --exe=* | --ex=*)
958 exec_prefix=$ac_optarg ;;
960 -gas | --gas | --ga | --g)
961 # Obsolete; use --with-gas.
964 -help | --help | --hel | --he | -h)
966 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
967 ac_init_help=recursive ;;
968 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
969 ac_init_help=short ;;
971 -host | --host | --hos | --ho)
972 ac_prev=host_alias ;;
973 -host=* | --host=* | --hos=* | --ho=*)
974 host_alias=$ac_optarg ;;
976 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
978 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
980 htmldir=$ac_optarg ;;
982 -includedir | --includedir | --includedi | --included | --include \
983 | --includ | --inclu | --incl | --inc)
984 ac_prev=includedir ;;
985 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
986 | --includ=* | --inclu=* | --incl=* | --inc=*)
987 includedir=$ac_optarg ;;
989 -infodir | --infodir | --infodi | --infod | --info | --inf)
991 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
992 infodir=$ac_optarg ;;
994 -libdir | --libdir | --libdi | --libd)
996 -libdir=* | --libdir=* | --libdi=* | --libd=*)
999 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1000 | --libexe | --libex | --libe)
1001 ac_prev=libexecdir ;;
1002 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1003 | --libexe=* | --libex=* | --libe=*)
1004 libexecdir=$ac_optarg ;;
1006 -localedir | --localedir | --localedi | --localed | --locale)
1007 ac_prev=localedir ;;
1008 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1009 localedir=$ac_optarg ;;
1011 -localstatedir | --localstatedir | --localstatedi | --localstated \
1012 | --localstate | --localstat | --localsta | --localst | --locals)
1013 ac_prev=localstatedir ;;
1014 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1015 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1016 localstatedir=$ac_optarg ;;
1018 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1020 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1021 mandir=$ac_optarg ;;
1023 -nfp | --nfp | --nf)
1024 # Obsolete; use --without-fp.
1027 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1028 | --no-cr | --no-c | -n)
1031 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1032 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1035 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1036 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1037 | --oldin | --oldi | --old | --ol | --o)
1038 ac_prev=oldincludedir ;;
1039 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1040 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1041 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1042 oldincludedir=$ac_optarg ;;
1044 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1046 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1047 prefix=$ac_optarg ;;
1049 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1050 | --program-pre | --program-pr | --program-p)
1051 ac_prev=program_prefix ;;
1052 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1053 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1054 program_prefix=$ac_optarg ;;
1056 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1057 | --program-suf | --program-su | --program-s)
1058 ac_prev=program_suffix ;;
1059 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1060 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1061 program_suffix=$ac_optarg ;;
1063 -program-transform-name | --program-transform-name \
1064 | --program-transform-nam | --program-transform-na \
1065 | --program-transform-n | --program-transform- \
1066 | --program-transform | --program-transfor \
1067 | --program-transfo | --program-transf \
1068 | --program-trans | --program-tran \
1069 | --progr-tra | --program-tr | --program-t)
1070 ac_prev=program_transform_name ;;
1071 -program-transform-name=* | --program-transform-name=* \
1072 | --program-transform-nam=* | --program-transform-na=* \
1073 | --program-transform-n=* | --program-transform-=* \
1074 | --program-transform=* | --program-transfor=* \
1075 | --program-transfo=* | --program-transf=* \
1076 | --program-trans=* | --program-tran=* \
1077 | --progr-tra=* | --program-tr=* | --program-t=*)
1078 program_transform_name=$ac_optarg ;;
1080 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1082 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1083 pdfdir=$ac_optarg ;;
1085 -psdir | --psdir | --psdi | --psd | --ps)
1087 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1090 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1091 | -silent | --silent | --silen | --sile | --sil)
1094 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1096 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1098 sbindir=$ac_optarg ;;
1100 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1101 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1102 | --sharedst | --shareds | --shared | --share | --shar \
1104 ac_prev=sharedstatedir ;;
1105 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1106 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1107 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1109 sharedstatedir=$ac_optarg ;;
1111 -site | --site | --sit)
1113 -site=* | --site=* | --sit=*)
1116 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1118 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1119 srcdir=$ac_optarg ;;
1121 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1122 | --syscon | --sysco | --sysc | --sys | --sy)
1123 ac_prev=sysconfdir ;;
1124 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1125 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1126 sysconfdir=$ac_optarg ;;
1128 -target | --target | --targe | --targ | --tar | --ta | --t)
1129 ac_prev=target_alias ;;
1130 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1131 target_alias=$ac_optarg ;;
1133 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1136 -version | --version | --versio | --versi | --vers | -V)
1137 ac_init_version=: ;;
1140 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1141 # Reject names that are not valid shell variable names.
1142 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1143 as_fn_error $? "invalid package name: $ac_useropt"
1144 ac_useropt_orig=$ac_useropt
1145 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1146 case $ac_user_opts in
1150 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1151 ac_unrecognized_sep=', ';;
1153 eval with_$ac_useropt=\$ac_optarg ;;
1155 -without-* | --without-*)
1156 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1157 # Reject names that are not valid shell variable names.
1158 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1159 as_fn_error $? "invalid package name: $ac_useropt"
1160 ac_useropt_orig=$ac_useropt
1161 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1162 case $ac_user_opts in
1166 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1167 ac_unrecognized_sep=', ';;
1169 eval with_$ac_useropt=no ;;
1172 # Obsolete; use --with-x.
1175 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1176 | --x-incl | --x-inc | --x-in | --x-i)
1177 ac_prev=x_includes ;;
1178 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1179 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1180 x_includes=$ac_optarg ;;
1182 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1183 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1184 ac_prev=x_libraries ;;
1185 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1186 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1187 x_libraries=$ac_optarg ;;
1189 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1190 Try \`$0 --help' for more information"
1194 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1195 # Reject names that are not valid shell variable names.
1196 case $ac_envvar in #(
1197 '' | [0-9]* | *[!_$as_cr_alnum]* )
1198 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1200 eval $ac_envvar=\$ac_optarg
1201 export $ac_envvar ;;
1204 # FIXME: should be removed in autoconf 3.0.
1205 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1206 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1207 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1208 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1214 if test -n "$ac_prev"; then
1215 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1216 as_fn_error $? "missing argument to $ac_option"
1219 if test -n "$ac_unrecognized_opts"; then
1220 case $enable_option_checking in
1222 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1223 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1227 # Check all directory arguments for consistency.
1228 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1229 datadir sysconfdir sharedstatedir localstatedir includedir \
1230 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1231 libdir localedir mandir
1233 eval ac_val=\$$ac_var
1234 # Remove trailing slashes.
1237 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1238 eval $ac_var=\$ac_val;;
1240 # Be sure to have absolute directory names.
1242 [\\/$]* | ?:[\\/]* ) continue;;
1243 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1245 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1248 # There might be people who depend on the old broken behavior: `$host'
1249 # used to hold the argument of --host etc.
1250 # FIXME: To remove some day.
1253 target=$target_alias
1255 # FIXME: To remove some day.
1256 if test "x$host_alias" != x; then
1257 if test "x$build_alias" = x; then
1258 cross_compiling=maybe
1259 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1260 If a cross compiler is detected then cross compile mode will be used" >&2
1261 elif test "x$build_alias" != "x$host_alias"; then
1267 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1269 test "$silent" = yes && exec 6>/dev/null
1272 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1273 ac_ls_di=`ls -di .` &&
1274 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1275 as_fn_error $? "working directory cannot be determined"
1276 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1277 as_fn_error $? "pwd does not report name of working directory"
1280 # Find the source files, if location was not specified.
1281 if test -z "$srcdir"; then
1282 ac_srcdir_defaulted=yes
1283 # Try the directory containing this script, then the parent directory.
1284 ac_confdir=`$as_dirname -- "$as_myself" ||
1285 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1286 X"$as_myself" : 'X\(//\)[^/]' \| \
1287 X"$as_myself" : 'X\(//\)$' \| \
1288 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1289 $as_echo X"$as_myself" |
1290 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1308 if test ! -r "$srcdir/$ac_unique_file"; then
1312 ac_srcdir_defaulted=no
1314 if test ! -r "$srcdir/$ac_unique_file"; then
1315 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1316 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1318 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1320 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1322 # When building in place, set srcdir=.
1323 if test "$ac_abs_confdir" = "$ac_pwd"; then
1326 # Remove unnecessary trailing slashes from srcdir.
1327 # Double slashes in file names in object file debugging info
1328 # mess up M-x gdb in Emacs.
1330 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1332 for ac_var in $ac_precious_vars; do
1333 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1334 eval ac_env_${ac_var}_value=\$${ac_var}
1335 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1336 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1340 # Report the --help message.
1342 if test "$ac_init_help" = "long"; then
1343 # Omit some internal or obsolete options to make the list less imposing.
1344 # This message is too long to be a string in the A/UX 3.1 sh.
1346 \`configure' configures asdcplib 1.9.45 to adapt to many kinds of systems.
1348 Usage: $0 [OPTION]... [VAR=VALUE]...
1350 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1351 VAR=VALUE. See below for descriptions of some of the useful variables.
1353 Defaults for the options are specified in brackets.
1356 -h, --help display this help and exit
1357 --help=short display options specific to this package
1358 --help=recursive display the short help of all the included packages
1359 -V, --version display version information and exit
1360 -q, --quiet, --silent do not print \`checking ...' messages
1361 --cache-file=FILE cache test results in FILE [disabled]
1362 -C, --config-cache alias for \`--cache-file=config.cache'
1363 -n, --no-create do not create output files
1364 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1366 Installation directories:
1367 --prefix=PREFIX install architecture-independent files in PREFIX
1368 [$ac_default_prefix]
1369 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1372 By default, \`make install' will install all the files in
1373 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1374 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1375 for instance \`--prefix=\$HOME'.
1377 For better control, use the options below.
1379 Fine tuning of the installation directories:
1380 --bindir=DIR user executables [EPREFIX/bin]
1381 --sbindir=DIR system admin executables [EPREFIX/sbin]
1382 --libexecdir=DIR program executables [EPREFIX/libexec]
1383 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1384 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1385 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1386 --libdir=DIR object code libraries [EPREFIX/lib]
1387 --includedir=DIR C header files [PREFIX/include]
1388 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1389 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1390 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1391 --infodir=DIR info documentation [DATAROOTDIR/info]
1392 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1393 --mandir=DIR man documentation [DATAROOTDIR/man]
1394 --docdir=DIR documentation root [DATAROOTDIR/doc/asdcplib]
1395 --htmldir=DIR html documentation [DOCDIR]
1396 --dvidir=DIR dvi documentation [DOCDIR]
1397 --pdfdir=DIR pdf documentation [DOCDIR]
1398 --psdir=DIR ps documentation [DOCDIR]
1404 --program-prefix=PREFIX prepend PREFIX to installed program names
1405 --program-suffix=SUFFIX append SUFFIX to installed program names
1406 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1409 --build=BUILD configure for building on BUILD [guessed]
1410 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1414 if test -n "$ac_init_help"; then
1415 case $ac_init_help in
1416 short | recursive ) echo "Configuration of asdcplib 1.9.45:";;
1421 --disable-option-checking ignore unrecognized --enable/--with options
1422 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1423 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1424 --disable-dependency-tracking speeds up one-time build
1425 --enable-dependency-tracking do not reject slow dependency extractors
1426 --enable-shared[=PKGS] build shared libraries [default=yes]
1427 --enable-static[=PKGS] build static libraries [default=yes]
1428 --enable-fast-install[=PKGS]
1429 optimize for fast installation [default=yes]
1430 --disable-libtool-lock avoid locking (might break parallel builds)
1431 --disable-largefile omit support for large files
1432 --enable-freedist ensure source distribution is of BSD-licensed code
1433 --enable-dev-headers install development headers
1434 --enable-random-case-UUID allow randomly cased UUID headers when the environment variable KM_USE_RANDOM_UUID is set
1437 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1438 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1439 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1441 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1442 --with-sysroot=DIR Search for dependent libraries within DIR
1443 (or the compiler's sysroot if not specified).
1444 --with-openssl=[ARG] use OpenSSL from given prefix (ARG=path); check
1445 standard prefixes (ARG=yes); disable (ARG=no)
1446 --with-expat=[ARG] use Expat XML Parser from given prefix (ARG=path);
1447 check standard prefixes (ARG=yes); disable (ARG=no)
1448 --with-expat-inc=[DIR] path to Expat XML Parser headers
1449 --with-expat-lib=[ARG] link options for Expat XML Parser libraries
1450 --with-xerces=[ARG] use Xerces C++ Parser from given prefix (ARG=path);
1451 check standard prefixes (ARG=yes); disable (ARG=no)
1452 --with-xerces-inc=[DIR] path to Xerces C++ Parser headers
1453 --with-xerces-lib=[ARG] link options for Xerces C++ Parser libraries
1454 --with-python[=PYTHON] absolute path name of Python executable
1456 Some influential environment variables:
1457 CC C compiler command
1458 CFLAGS C compiler flags
1459 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1460 nonstandard directory <lib dir>
1461 LIBS libraries to pass to the linker, e.g. -l<library>
1462 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1463 you have headers in a nonstandard directory <include dir>
1464 CXX C++ compiler command
1465 CXXFLAGS C++ compiler flags
1467 CXXCPP C++ preprocessor
1468 PYTHON Python Executable Path
1470 Use these variables to override the choices made by `configure' or to help
1471 it to find libraries and programs with nonstandard names/locations.
1473 Report bugs to <asdcplib@cinecert.com>.
1478 if test "$ac_init_help" = "recursive"; then
1479 # If there are subdirs, report their specific --help.
1480 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1481 test -d "$ac_dir" ||
1482 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1487 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1489 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1490 # A ".." for each directory in $ac_dir_suffix.
1491 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1492 case $ac_top_builddir_sub in
1493 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1494 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1497 ac_abs_top_builddir=$ac_pwd
1498 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1499 # for backward compatibility:
1500 ac_top_builddir=$ac_top_build_prefix
1503 .) # We are building in place.
1505 ac_top_srcdir=$ac_top_builddir_sub
1506 ac_abs_top_srcdir=$ac_pwd ;;
1507 [\\/]* | ?:[\\/]* ) # Absolute name.
1508 ac_srcdir=$srcdir$ac_dir_suffix;
1509 ac_top_srcdir=$srcdir
1510 ac_abs_top_srcdir=$srcdir ;;
1512 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1513 ac_top_srcdir=$ac_top_build_prefix$srcdir
1514 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1516 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1518 cd "$ac_dir" || { ac_status=$?; continue; }
1519 # Check for guested configure.
1520 if test -f "$ac_srcdir/configure.gnu"; then
1522 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1523 elif test -f "$ac_srcdir/configure"; then
1525 $SHELL "$ac_srcdir/configure" --help=recursive
1527 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1529 cd "$ac_pwd" || { ac_status=$?; break; }
1533 test -n "$ac_init_help" && exit $ac_status
1534 if $ac_init_version; then
1536 asdcplib configure 1.9.45
1537 generated by GNU Autoconf 2.68
1539 Copyright (C) 2010 Free Software Foundation, Inc.
1540 This configure script is free software; the Free Software Foundation
1541 gives unlimited permission to copy, distribute and modify it.
1546 ## ------------------------ ##
1547 ## Autoconf initialization. ##
1548 ## ------------------------ ##
1550 # ac_fn_c_try_compile LINENO
1551 # --------------------------
1552 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1553 ac_fn_c_try_compile ()
1555 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1556 rm -f conftest.$ac_objext
1557 if { { ac_try="$ac_compile"
1559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1560 *) ac_try_echo=$ac_try;;
1562 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1563 $as_echo "$ac_try_echo"; } >&5
1564 (eval "$ac_compile") 2>conftest.err
1566 if test -s conftest.err; then
1567 grep -v '^ *+' conftest.err >conftest.er1
1568 cat conftest.er1 >&5
1569 mv -f conftest.er1 conftest.err
1571 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1572 test $ac_status = 0; } && {
1573 test -z "$ac_c_werror_flag" ||
1574 test ! -s conftest.err
1575 } && test -s conftest.$ac_objext; then :
1578 $as_echo "$as_me: failed program was:" >&5
1579 sed 's/^/| /' conftest.$ac_ext >&5
1583 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1584 as_fn_set_status $ac_retval
1586 } # ac_fn_c_try_compile
1588 # ac_fn_cxx_try_compile LINENO
1589 # ----------------------------
1590 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1591 ac_fn_cxx_try_compile ()
1593 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1594 rm -f conftest.$ac_objext
1595 if { { ac_try="$ac_compile"
1597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1598 *) ac_try_echo=$ac_try;;
1600 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1601 $as_echo "$ac_try_echo"; } >&5
1602 (eval "$ac_compile") 2>conftest.err
1604 if test -s conftest.err; then
1605 grep -v '^ *+' conftest.err >conftest.er1
1606 cat conftest.er1 >&5
1607 mv -f conftest.er1 conftest.err
1609 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1610 test $ac_status = 0; } && {
1611 test -z "$ac_cxx_werror_flag" ||
1612 test ! -s conftest.err
1613 } && test -s conftest.$ac_objext; then :
1616 $as_echo "$as_me: failed program was:" >&5
1617 sed 's/^/| /' conftest.$ac_ext >&5
1621 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1622 as_fn_set_status $ac_retval
1624 } # ac_fn_cxx_try_compile
1626 # ac_fn_c_try_link LINENO
1627 # -----------------------
1628 # Try to link conftest.$ac_ext, and return whether this succeeded.
1631 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1632 rm -f conftest.$ac_objext conftest$ac_exeext
1633 if { { ac_try="$ac_link"
1635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1636 *) ac_try_echo=$ac_try;;
1638 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1639 $as_echo "$ac_try_echo"; } >&5
1640 (eval "$ac_link") 2>conftest.err
1642 if test -s conftest.err; then
1643 grep -v '^ *+' conftest.err >conftest.er1
1644 cat conftest.er1 >&5
1645 mv -f conftest.er1 conftest.err
1647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1648 test $ac_status = 0; } && {
1649 test -z "$ac_c_werror_flag" ||
1650 test ! -s conftest.err
1651 } && test -s conftest$ac_exeext && {
1652 test "$cross_compiling" = yes ||
1653 $as_test_x conftest$ac_exeext
1657 $as_echo "$as_me: failed program was:" >&5
1658 sed 's/^/| /' conftest.$ac_ext >&5
1662 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1663 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1664 # interfere with the next link command; also delete a directory that is
1665 # left behind by Apple's compiler. We do this before executing the actions.
1666 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1667 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1668 as_fn_set_status $ac_retval
1670 } # ac_fn_c_try_link
1672 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1673 # -------------------------------------------------------
1674 # Tests whether HEADER exists and can be compiled using the include files in
1675 # INCLUDES, setting the cache variable VAR accordingly.
1676 ac_fn_c_check_header_compile ()
1678 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1680 $as_echo_n "checking for $2... " >&6; }
1681 if eval \${$3+:} false; then :
1682 $as_echo_n "(cached) " >&6
1684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1685 /* end confdefs.h. */
1689 if ac_fn_c_try_compile "$LINENO"; then :
1694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1698 $as_echo "$ac_res" >&6; }
1699 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1701 } # ac_fn_c_check_header_compile
1703 # ac_fn_c_try_cpp LINENO
1704 # ----------------------
1705 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1708 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1709 if { { ac_try="$ac_cpp conftest.$ac_ext"
1711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1712 *) ac_try_echo=$ac_try;;
1714 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1715 $as_echo "$ac_try_echo"; } >&5
1716 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1718 if test -s conftest.err; then
1719 grep -v '^ *+' conftest.err >conftest.er1
1720 cat conftest.er1 >&5
1721 mv -f conftest.er1 conftest.err
1723 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1724 test $ac_status = 0; } > conftest.i && {
1725 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1726 test ! -s conftest.err
1730 $as_echo "$as_me: failed program was:" >&5
1731 sed 's/^/| /' conftest.$ac_ext >&5
1735 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1736 as_fn_set_status $ac_retval
1740 # ac_fn_c_try_run LINENO
1741 # ----------------------
1742 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1743 # that executables *can* be run.
1746 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1747 if { { ac_try="$ac_link"
1749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1750 *) ac_try_echo=$ac_try;;
1752 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1753 $as_echo "$ac_try_echo"; } >&5
1754 (eval "$ac_link") 2>&5
1756 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1757 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1758 { { case "(($ac_try" in
1759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1760 *) ac_try_echo=$ac_try;;
1762 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1763 $as_echo "$ac_try_echo"; } >&5
1764 (eval "$ac_try") 2>&5
1766 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1767 test $ac_status = 0; }; }; then :
1770 $as_echo "$as_me: program exited with status $ac_status" >&5
1771 $as_echo "$as_me: failed program was:" >&5
1772 sed 's/^/| /' conftest.$ac_ext >&5
1774 ac_retval=$ac_status
1776 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1777 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1778 as_fn_set_status $ac_retval
1782 # ac_fn_c_check_func LINENO FUNC VAR
1783 # ----------------------------------
1784 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1785 ac_fn_c_check_func ()
1787 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1789 $as_echo_n "checking for $2... " >&6; }
1790 if eval \${$3+:} false; then :
1791 $as_echo_n "(cached) " >&6
1793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1794 /* end confdefs.h. */
1795 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1796 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1797 #define $2 innocuous_$2
1799 /* System header to define __stub macros and hopefully few prototypes,
1800 which can conflict with char $2 (); below.
1801 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1802 <limits.h> exists even on freestanding compilers. */
1805 # include <limits.h>
1807 # include <assert.h>
1812 /* Override any GCC internal prototype to avoid an error.
1813 Use char because int might match the return type of a GCC
1814 builtin and then its argument prototype would still apply. */
1819 /* The GNU C library defines this for functions which it implements
1820 to always fail with ENOSYS. Some functions are actually named
1821 something starting with __ and the normal name is an alias. */
1822 #if defined __stub_$2 || defined __stub___$2
1834 if ac_fn_c_try_link "$LINENO"; then :
1839 rm -f core conftest.err conftest.$ac_objext \
1840 conftest$ac_exeext conftest.$ac_ext
1843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1844 $as_echo "$ac_res" >&6; }
1845 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1847 } # ac_fn_c_check_func
1849 # ac_fn_cxx_try_cpp LINENO
1850 # ------------------------
1851 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1852 ac_fn_cxx_try_cpp ()
1854 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1855 if { { ac_try="$ac_cpp conftest.$ac_ext"
1857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1858 *) ac_try_echo=$ac_try;;
1860 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1861 $as_echo "$ac_try_echo"; } >&5
1862 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1864 if test -s conftest.err; then
1865 grep -v '^ *+' conftest.err >conftest.er1
1866 cat conftest.er1 >&5
1867 mv -f conftest.er1 conftest.err
1869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1870 test $ac_status = 0; } > conftest.i && {
1871 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1872 test ! -s conftest.err
1876 $as_echo "$as_me: failed program was:" >&5
1877 sed 's/^/| /' conftest.$ac_ext >&5
1881 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1882 as_fn_set_status $ac_retval
1884 } # ac_fn_cxx_try_cpp
1886 # ac_fn_cxx_try_link LINENO
1887 # -------------------------
1888 # Try to link conftest.$ac_ext, and return whether this succeeded.
1889 ac_fn_cxx_try_link ()
1891 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1892 rm -f conftest.$ac_objext conftest$ac_exeext
1893 if { { ac_try="$ac_link"
1895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1896 *) ac_try_echo=$ac_try;;
1898 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1899 $as_echo "$ac_try_echo"; } >&5
1900 (eval "$ac_link") 2>conftest.err
1902 if test -s conftest.err; then
1903 grep -v '^ *+' conftest.err >conftest.er1
1904 cat conftest.er1 >&5
1905 mv -f conftest.er1 conftest.err
1907 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1908 test $ac_status = 0; } && {
1909 test -z "$ac_cxx_werror_flag" ||
1910 test ! -s conftest.err
1911 } && test -s conftest$ac_exeext && {
1912 test "$cross_compiling" = yes ||
1913 $as_test_x conftest$ac_exeext
1917 $as_echo "$as_me: failed program was:" >&5
1918 sed 's/^/| /' conftest.$ac_ext >&5
1922 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1923 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1924 # interfere with the next link command; also delete a directory that is
1925 # left behind by Apple's compiler. We do this before executing the actions.
1926 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1927 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1928 as_fn_set_status $ac_retval
1930 } # ac_fn_cxx_try_link
1931 cat >config.log <<_ACEOF
1932 This file contains any messages produced by compilers while
1933 running configure, to aid debugging if configure makes a mistake.
1935 It was created by asdcplib $as_me 1.9.45, which was
1936 generated by GNU Autoconf 2.68. Invocation command line was
1948 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1949 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1950 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1951 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1952 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1954 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1955 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1957 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1958 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1959 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1960 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1961 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1962 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1963 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1971 test -z "$as_dir" && as_dir=.
1972 $as_echo "PATH: $as_dir"
1988 # Keep a trace of the command line.
1989 # Strip out --no-create and --no-recursion so they do not pile up.
1990 # Strip out --silent because we don't want to record it for future runs.
1991 # Also quote any args containing shell meta-characters.
1992 # Make two passes to allow for proper duplicate-argument suppression.
1996 ac_must_keep_next=false
2002 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2003 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2004 | -silent | --silent | --silen | --sile | --sil)
2007 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2010 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2012 as_fn_append ac_configure_args1 " '$ac_arg'"
2013 if test $ac_must_keep_next = true; then
2014 ac_must_keep_next=false # Got value, back to normal.
2017 *=* | --config-cache | -C | -disable-* | --disable-* \
2018 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2019 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2020 | -with-* | --with-* | -without-* | --without-* | --x)
2021 case "$ac_configure_args0 " in
2022 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2025 -* ) ac_must_keep_next=true ;;
2028 as_fn_append ac_configure_args " '$ac_arg'"
2033 { ac_configure_args0=; unset ac_configure_args0;}
2034 { ac_configure_args1=; unset ac_configure_args1;}
2036 # When interrupted or exit'd, cleanup temporary files, and complete
2037 # config.log. We remove comments because anyway the quotes in there
2038 # would cause problems or look ugly.
2039 # WARNING: Use '\'' to represent an apostrophe within the trap.
2040 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2041 trap 'exit_status=$?
2042 # Save into config.log some information that might help in debugging.
2046 $as_echo "## ---------------- ##
2047 ## Cache variables. ##
2048 ## ---------------- ##"
2050 # The following way of writing the cache mishandles newlines in values,
2052 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2053 eval ac_val=\$$ac_var
2057 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2058 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2061 _ | IFS | as_nl) ;; #(
2062 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2063 *) { eval $ac_var=; unset $ac_var;} ;;
2068 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2069 *${as_nl}ac_space=\ *)
2071 "s/'\''/'\''\\\\'\'''\''/g;
2072 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2075 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2082 $as_echo "## ----------------- ##
2083 ## Output variables. ##
2084 ## ----------------- ##"
2086 for ac_var in $ac_subst_vars
2088 eval ac_val=\$$ac_var
2090 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2092 $as_echo "$ac_var='\''$ac_val'\''"
2096 if test -n "$ac_subst_files"; then
2097 $as_echo "## ------------------- ##
2098 ## File substitutions. ##
2099 ## ------------------- ##"
2101 for ac_var in $ac_subst_files
2103 eval ac_val=\$$ac_var
2105 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2107 $as_echo "$ac_var='\''$ac_val'\''"
2112 if test -s confdefs.h; then
2113 $as_echo "## ----------- ##
2120 test "$ac_signal" != 0 &&
2121 $as_echo "$as_me: caught signal $ac_signal"
2122 $as_echo "$as_me: exit $exit_status"
2124 rm -f core *.core core.conftest.* &&
2125 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2128 for ac_signal in 1 2 13 15; do
2129 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2133 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2134 rm -f -r conftest* confdefs.h
2136 $as_echo "/* confdefs.h */" > confdefs.h
2138 # Predefined preprocessor variables.
2140 cat >>confdefs.h <<_ACEOF
2141 #define PACKAGE_NAME "$PACKAGE_NAME"
2144 cat >>confdefs.h <<_ACEOF
2145 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2148 cat >>confdefs.h <<_ACEOF
2149 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2152 cat >>confdefs.h <<_ACEOF
2153 #define PACKAGE_STRING "$PACKAGE_STRING"
2156 cat >>confdefs.h <<_ACEOF
2157 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2160 cat >>confdefs.h <<_ACEOF
2161 #define PACKAGE_URL "$PACKAGE_URL"
2165 # Let the site file select an alternate cache file if it wants to.
2166 # Prefer an explicitly selected file to automatically selected ones.
2169 if test -n "$CONFIG_SITE"; then
2170 # We do not want a PATH search for config.site.
2171 case $CONFIG_SITE in #((
2172 -*) ac_site_file1=./$CONFIG_SITE;;
2173 */*) ac_site_file1=$CONFIG_SITE;;
2174 *) ac_site_file1=./$CONFIG_SITE;;
2176 elif test "x$prefix" != xNONE; then
2177 ac_site_file1=$prefix/share/config.site
2178 ac_site_file2=$prefix/etc/config.site
2180 ac_site_file1=$ac_default_prefix/share/config.site
2181 ac_site_file2=$ac_default_prefix/etc/config.site
2183 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2185 test "x$ac_site_file" = xNONE && continue
2186 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2188 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2189 sed 's/^/| /' "$ac_site_file" >&5
2191 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2192 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2193 as_fn_error $? "failed to load site script $ac_site_file
2194 See \`config.log' for more details" "$LINENO" 5; }
2198 if test -r "$cache_file"; then
2199 # Some versions of bash will fail to source /dev/null (special files
2200 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2201 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2203 $as_echo "$as_me: loading cache $cache_file" >&6;}
2205 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2206 *) . "./$cache_file";;
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2211 $as_echo "$as_me: creating cache $cache_file" >&6;}
2215 # Check that the precious variables saved in the cache have kept the same
2217 ac_cache_corrupted=false
2218 for ac_var in $ac_precious_vars; do
2219 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2220 eval ac_new_set=\$ac_env_${ac_var}_set
2221 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2222 eval ac_new_val=\$ac_env_${ac_var}_value
2223 case $ac_old_set,$ac_new_set in
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2226 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2227 ac_cache_corrupted=: ;;
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2230 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2231 ac_cache_corrupted=: ;;
2234 if test "x$ac_old_val" != "x$ac_new_val"; then
2235 # differences in whitespace do not lead to failure.
2236 ac_old_val_w=`echo x $ac_old_val`
2237 ac_new_val_w=`echo x $ac_new_val`
2238 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2239 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2240 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2241 ac_cache_corrupted=:
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2244 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2245 eval $ac_var=\$ac_old_val
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2248 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2250 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2253 # Pass precious variables to config.status.
2254 if test "$ac_new_set" = set; then
2256 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2257 *) ac_arg=$ac_var=$ac_new_val ;;
2259 case " $ac_configure_args " in
2260 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2261 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2265 if $ac_cache_corrupted; then
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2267 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2269 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2270 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2272 ## -------------------- ##
2273 ## Main body of script. ##
2274 ## -------------------- ##
2277 ac_cpp='$CPP $CPPFLAGS'
2278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2285 for ac_dir in build-aux "$srcdir"/build-aux; do
2286 if test -f "$ac_dir/install-sh"; then
2288 ac_install_sh="$ac_aux_dir/install-sh -c"
2290 elif test -f "$ac_dir/install.sh"; then
2292 ac_install_sh="$ac_aux_dir/install.sh -c"
2294 elif test -f "$ac_dir/shtool"; then
2296 ac_install_sh="$ac_aux_dir/shtool install -c"
2300 if test -z "$ac_aux_dir"; then
2301 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2304 # These three variables are undocumented and unsupported,
2305 # and are intended to be withdrawn in a future Autoconf release.
2306 # They can cause serious problems if a builder's source tree is in a directory
2307 # whose full name contains unusual characters.
2308 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2309 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2310 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2314 #AC_CONFIG_HEADER([src/config.h])
2315 am__api_version='1.11'
2317 # Find a good install program. We prefer a C program (faster),
2318 # so one script is as good as another. But avoid the broken or
2319 # incompatible versions:
2320 # SysV /etc/install, /usr/sbin/install
2321 # SunOS /usr/etc/install
2322 # IRIX /sbin/install
2324 # AmigaOS /C/install, which installs bootblocks on floppy discs
2325 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2326 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2327 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2328 # OS/2's system install, which has a completely different semantic
2329 # ./install, which can be erroneously created by make from ./install.sh.
2330 # Reject install programs that cannot install multiple files.
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2332 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2333 if test -z "$INSTALL"; then
2334 if ${ac_cv_path_install+:} false; then :
2335 $as_echo_n "(cached) " >&6
2337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2341 test -z "$as_dir" && as_dir=.
2342 # Account for people who put trailing slashes in PATH elements.
2343 case $as_dir/ in #((
2344 ./ | .// | /[cC]/* | \
2345 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2346 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2349 # OSF1 and SCO ODT 3.0 have their own names for install.
2350 # Don't use installbsd from OSF since it installs stuff as root
2352 for ac_prog in ginstall scoinst install; do
2353 for ac_exec_ext in '' $ac_executable_extensions; do
2354 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2355 if test $ac_prog = install &&
2356 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2357 # AIX install. It has an incompatible calling convention.
2359 elif test $ac_prog = install &&
2360 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2361 # program-specific install script used by HP pwplus--don't use.
2364 rm -rf conftest.one conftest.two conftest.dir
2365 echo one > conftest.one
2366 echo two > conftest.two
2368 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2369 test -s conftest.one && test -s conftest.two &&
2370 test -s conftest.dir/conftest.one &&
2371 test -s conftest.dir/conftest.two
2373 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2386 rm -rf conftest.one conftest.two conftest.dir
2389 if test "${ac_cv_path_install+set}" = set; then
2390 INSTALL=$ac_cv_path_install
2392 # As a last resort, use the slow shell script. Don't cache a
2393 # value for INSTALL within a source directory, because that will
2394 # break other packages using the cache if that directory is
2395 # removed, or if the value is a relative name.
2396 INSTALL=$ac_install_sh
2399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2400 $as_echo "$INSTALL" >&6; }
2402 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2403 # It thinks the first close brace ends the variable substitution.
2404 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2406 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2408 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2411 $as_echo_n "checking whether build environment is sane... " >&6; }
2414 echo timestamp > conftest.file
2415 # Reject unsafe characters in $srcdir or the absolute working directory
2416 # name. Accept space and tab only in the latter.
2420 *[\\\"\#\$\&\'\`$am_lf]*)
2421 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2424 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2425 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2428 # Do `set' in a subshell so we don't clobber the current shell's
2429 # arguments. Must try -L first in case configure is actually a
2430 # symlink; some systems play weird games with the mod time of symlinks
2431 # (eg FreeBSD returns the mod time of the symlink's containing
2434 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2435 if test "$*" = "X"; then
2437 set X `ls -t "$srcdir/configure" conftest.file`
2440 if test "$*" != "X $srcdir/configure conftest.file" \
2441 && test "$*" != "X conftest.file $srcdir/configure"; then
2443 # If neither matched, then we have a broken ls. This can happen
2444 # if, for instance, CONFIG_SHELL is bash and it inherits a
2445 # broken ls alias from the environment. This has actually
2446 # happened. Such a system could not be considered "sane".
2447 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2448 alias in your environment" "$LINENO" 5
2451 test "$2" = conftest.file
2457 as_fn_error $? "newly created file is older than distributed files!
2458 Check your system clock" "$LINENO" 5
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2461 $as_echo "yes" >&6; }
2462 test "$program_prefix" != NONE &&
2463 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2464 # Use a double $ so make ignores it.
2465 test "$program_suffix" != NONE &&
2466 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2467 # Double any \ or $.
2468 # By default was `s,x,x', remove it if useless.
2469 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2470 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2472 # expand $ac_aux_dir to an absolute path
2473 am_aux_dir=`cd $ac_aux_dir && pwd`
2475 if test x"${MISSING+set}" != xset; then
2478 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2480 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2483 # Use eval to expand $SHELL
2484 if eval "$MISSING --run true"; then
2485 am_missing_run="$MISSING --run "
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2489 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2492 if test x"${install_sh}" != xset; then
2495 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2497 install_sh="\${SHELL} $am_aux_dir/install-sh"
2501 # Installed binaries are usually stripped using `strip' when the user
2502 # run `make install-strip'. However `strip' might not be the right
2503 # tool to use in cross-compilation environments, therefore Automake
2504 # will honor the `STRIP' environment variable to overrule this program.
2505 if test "$cross_compiling" != no; then
2506 if test -n "$ac_tool_prefix"; then
2507 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2508 set dummy ${ac_tool_prefix}strip; ac_word=$2
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2510 $as_echo_n "checking for $ac_word... " >&6; }
2511 if ${ac_cv_prog_STRIP+:} false; then :
2512 $as_echo_n "(cached) " >&6
2514 if test -n "$STRIP"; then
2515 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2521 test -z "$as_dir" && as_dir=.
2522 for ac_exec_ext in '' $ac_executable_extensions; do
2523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2524 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2534 STRIP=$ac_cv_prog_STRIP
2535 if test -n "$STRIP"; then
2536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2537 $as_echo "$STRIP" >&6; }
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2540 $as_echo "no" >&6; }
2545 if test -z "$ac_cv_prog_STRIP"; then
2547 # Extract the first word of "strip", so it can be a program name with args.
2548 set dummy strip; ac_word=$2
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2550 $as_echo_n "checking for $ac_word... " >&6; }
2551 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2552 $as_echo_n "(cached) " >&6
2554 if test -n "$ac_ct_STRIP"; then
2555 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2561 test -z "$as_dir" && as_dir=.
2562 for ac_exec_ext in '' $ac_executable_extensions; do
2563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2564 ac_cv_prog_ac_ct_STRIP="strip"
2565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2574 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2575 if test -n "$ac_ct_STRIP"; then
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2577 $as_echo "$ac_ct_STRIP" >&6; }
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2580 $as_echo "no" >&6; }
2583 if test "x$ac_ct_STRIP" = x; then
2586 case $cross_compiling:$ac_tool_warned in
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2589 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2590 ac_tool_warned=yes ;;
2595 STRIP="$ac_cv_prog_STRIP"
2599 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2602 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2603 if test -z "$MKDIR_P"; then
2604 if ${ac_cv_path_mkdir+:} false; then :
2605 $as_echo_n "(cached) " >&6
2607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2608 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2611 test -z "$as_dir" && as_dir=.
2612 for ac_prog in mkdir gmkdir; do
2613 for ac_exec_ext in '' $ac_executable_extensions; do
2614 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2615 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2616 'mkdir (GNU coreutils) '* | \
2617 'mkdir (coreutils) '* | \
2618 'mkdir (fileutils) '4.1*)
2619 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2629 test -d ./--version && rmdir ./--version
2630 if test "${ac_cv_path_mkdir+set}" = set; then
2631 MKDIR_P="$ac_cv_path_mkdir -p"
2633 # As a last resort, use the slow shell script. Don't cache a
2634 # value for MKDIR_P within a source directory, because that will
2635 # break other packages using the cache if that directory is
2636 # removed, or if the value is a relative name.
2637 MKDIR_P="$ac_install_sh -d"
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2641 $as_echo "$MKDIR_P" >&6; }
2645 [\\/$]* | ?:[\\/]*) ;;
2646 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2649 for ac_prog in gawk mawk nawk awk
2651 # Extract the first word of "$ac_prog", so it can be a program name with args.
2652 set dummy $ac_prog; ac_word=$2
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2654 $as_echo_n "checking for $ac_word... " >&6; }
2655 if ${ac_cv_prog_AWK+:} false; then :
2656 $as_echo_n "(cached) " >&6
2658 if test -n "$AWK"; then
2659 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2665 test -z "$as_dir" && as_dir=.
2666 for ac_exec_ext in '' $ac_executable_extensions; do
2667 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2668 ac_cv_prog_AWK="$ac_prog"
2669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2679 if test -n "$AWK"; then
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2681 $as_echo "$AWK" >&6; }
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2684 $as_echo "no" >&6; }
2688 test -n "$AWK" && break
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2692 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2694 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2695 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2696 $as_echo_n "(cached) " >&6
2698 cat >conftest.make <<\_ACEOF
2701 @echo '@@@%%%=$(MAKE)=@@@%%%'
2703 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2704 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2706 eval ac_cv_prog_make_${ac_make}_set=yes;;
2708 eval ac_cv_prog_make_${ac_make}_set=no;;
2712 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2714 $as_echo "yes" >&6; }
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2718 $as_echo "no" >&6; }
2719 SET_MAKE="MAKE=${MAKE-make}"
2722 rm -rf .tst 2>/dev/null
2723 mkdir .tst 2>/dev/null
2724 if test -d .tst; then
2729 rmdir .tst 2>/dev/null
2731 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2732 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2733 # is not polluted with repeated "-I."
2734 am__isrc=' -I$(srcdir)'
2735 # test to see if srcdir already configured
2736 if test -f $srcdir/config.status; then
2737 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2741 # test whether we have cygpath
2742 if test -z "$CYGPATH_W"; then
2743 if (cygpath --version) >/dev/null 2>/dev/null; then
2744 CYGPATH_W='cygpath -w'
2751 # Define the identity of the package.
2756 cat >>confdefs.h <<_ACEOF
2757 #define PACKAGE "$PACKAGE"
2761 cat >>confdefs.h <<_ACEOF
2762 #define VERSION "$VERSION"
2765 # Some tools Automake needs.
2767 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2770 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2773 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2776 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2779 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2781 # We need awk for the "check" target. The system "awk" is bad on
2783 # Always define AMTAR for backward compatibility. Yes, it's still used
2784 # in the wild :-( We should find a proper way to deprecate it ...
2787 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2794 # Checks for programs.
2795 # Make sure we can run config.sub.
2796 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2797 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2800 $as_echo_n "checking build system type... " >&6; }
2801 if ${ac_cv_build+:} false; then :
2802 $as_echo_n "(cached) " >&6
2804 ac_build_alias=$build_alias
2805 test "x$ac_build_alias" = x &&
2806 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2807 test "x$ac_build_alias" = x &&
2808 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2809 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2810 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2814 $as_echo "$ac_cv_build" >&6; }
2815 case $ac_cv_build in
2817 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2820 ac_save_IFS=$IFS; IFS='-'
2826 # Remember, the first character of IFS is used to create $*,
2827 # except with old shells:
2830 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2834 $as_echo_n "checking host system type... " >&6; }
2835 if ${ac_cv_host+:} false; then :
2836 $as_echo_n "(cached) " >&6
2838 if test "x$host_alias" = x; then
2839 ac_cv_host=$ac_cv_build
2841 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2842 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2847 $as_echo "$ac_cv_host" >&6; }
2850 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2853 ac_save_IFS=$IFS; IFS='-'
2859 # Remember, the first character of IFS is used to create $*,
2860 # except with old shells:
2863 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2867 openbsd*) openbsd_host=true ;;
2868 *) openbsd_host=false ;;
2870 if test x$openbsd_host = xtrue; then
2872 OPENBSD_HOST_FALSE='#'
2874 OPENBSD_HOST_TRUE='#'
2879 ac_cpp='$CPP $CPPFLAGS'
2880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2883 if test -n "$ac_tool_prefix"; then
2884 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2885 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2887 $as_echo_n "checking for $ac_word... " >&6; }
2888 if ${ac_cv_prog_CC+:} false; then :
2889 $as_echo_n "(cached) " >&6
2891 if test -n "$CC"; then
2892 ac_cv_prog_CC="$CC" # Let the user override the test.
2894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2898 test -z "$as_dir" && as_dir=.
2899 for ac_exec_ext in '' $ac_executable_extensions; do
2900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2901 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2912 if test -n "$CC"; then
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2914 $as_echo "$CC" >&6; }
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2917 $as_echo "no" >&6; }
2922 if test -z "$ac_cv_prog_CC"; then
2924 # Extract the first word of "gcc", so it can be a program name with args.
2925 set dummy gcc; ac_word=$2
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2927 $as_echo_n "checking for $ac_word... " >&6; }
2928 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2929 $as_echo_n "(cached) " >&6
2931 if test -n "$ac_ct_CC"; then
2932 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2938 test -z "$as_dir" && as_dir=.
2939 for ac_exec_ext in '' $ac_executable_extensions; do
2940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2941 ac_cv_prog_ac_ct_CC="gcc"
2942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2951 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2952 if test -n "$ac_ct_CC"; then
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2954 $as_echo "$ac_ct_CC" >&6; }
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2957 $as_echo "no" >&6; }
2960 if test "x$ac_ct_CC" = x; then
2963 case $cross_compiling:$ac_tool_warned in
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2966 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2967 ac_tool_warned=yes ;;
2975 if test -z "$CC"; then
2976 if test -n "$ac_tool_prefix"; then
2977 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2978 set dummy ${ac_tool_prefix}cc; ac_word=$2
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2980 $as_echo_n "checking for $ac_word... " >&6; }
2981 if ${ac_cv_prog_CC+:} false; then :
2982 $as_echo_n "(cached) " >&6
2984 if test -n "$CC"; then
2985 ac_cv_prog_CC="$CC" # Let the user override the test.
2987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2991 test -z "$as_dir" && as_dir=.
2992 for ac_exec_ext in '' $ac_executable_extensions; do
2993 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2994 ac_cv_prog_CC="${ac_tool_prefix}cc"
2995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3005 if test -n "$CC"; then
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3007 $as_echo "$CC" >&6; }
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3010 $as_echo "no" >&6; }
3016 if test -z "$CC"; then
3017 # Extract the first word of "cc", so it can be a program name with args.
3018 set dummy cc; ac_word=$2
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3020 $as_echo_n "checking for $ac_word... " >&6; }
3021 if ${ac_cv_prog_CC+:} false; then :
3022 $as_echo_n "(cached) " >&6
3024 if test -n "$CC"; then
3025 ac_cv_prog_CC="$CC" # Let the user override the test.
3028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3032 test -z "$as_dir" && as_dir=.
3033 for ac_exec_ext in '' $ac_executable_extensions; do
3034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3035 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3036 ac_prog_rejected=yes
3040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3047 if test $ac_prog_rejected = yes; then
3048 # We found a bogon in the path, so make sure we never use it.
3049 set dummy $ac_cv_prog_CC
3051 if test $# != 0; then
3052 # We chose a different compiler from the bogus one.
3053 # However, it has the same basename, so the bogon will be chosen
3054 # first if we set CC to just the basename; use the full file name.
3056 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3062 if test -n "$CC"; then
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3064 $as_echo "$CC" >&6; }
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3067 $as_echo "no" >&6; }
3072 if test -z "$CC"; then
3073 if test -n "$ac_tool_prefix"; then
3074 for ac_prog in cl.exe
3076 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3077 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3079 $as_echo_n "checking for $ac_word... " >&6; }
3080 if ${ac_cv_prog_CC+:} false; then :
3081 $as_echo_n "(cached) " >&6
3083 if test -n "$CC"; then
3084 ac_cv_prog_CC="$CC" # Let the user override the test.
3086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3090 test -z "$as_dir" && as_dir=.
3091 for ac_exec_ext in '' $ac_executable_extensions; do
3092 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3093 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3094 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3104 if test -n "$CC"; then
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3106 $as_echo "$CC" >&6; }
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3109 $as_echo "no" >&6; }
3113 test -n "$CC" && break
3116 if test -z "$CC"; then
3118 for ac_prog in cl.exe
3120 # Extract the first word of "$ac_prog", so it can be a program name with args.
3121 set dummy $ac_prog; ac_word=$2
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3123 $as_echo_n "checking for $ac_word... " >&6; }
3124 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3125 $as_echo_n "(cached) " >&6
3127 if test -n "$ac_ct_CC"; then
3128 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3134 test -z "$as_dir" && as_dir=.
3135 for ac_exec_ext in '' $ac_executable_extensions; do
3136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3137 ac_cv_prog_ac_ct_CC="$ac_prog"
3138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3147 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3148 if test -n "$ac_ct_CC"; then
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3150 $as_echo "$ac_ct_CC" >&6; }
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3153 $as_echo "no" >&6; }
3157 test -n "$ac_ct_CC" && break
3160 if test "x$ac_ct_CC" = x; then
3163 case $cross_compiling:$ac_tool_warned in
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3166 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3167 ac_tool_warned=yes ;;
3176 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3177 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3178 as_fn_error $? "no acceptable C compiler found in \$PATH
3179 See \`config.log' for more details" "$LINENO" 5; }
3181 # Provide some information about the compiler.
3182 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3185 for ac_option in --version -v -V -qversion; do
3186 { { ac_try="$ac_compiler $ac_option >&5"
3188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3189 *) ac_try_echo=$ac_try;;
3191 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3192 $as_echo "$ac_try_echo"; } >&5
3193 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3195 if test -s conftest.err; then
3197 ... rest of stderr output deleted ...
3198 10q' conftest.err >conftest.er1
3199 cat conftest.er1 >&5
3201 rm -f conftest.er1 conftest.err
3202 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3203 test $ac_status = 0; }
3206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3207 /* end confdefs.h. */
3217 ac_clean_files_save=$ac_clean_files
3218 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3219 # Try to create an executable without -o first, disregard a.out.
3220 # It will help us diagnose broken compilers, and finding out an intuition
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3223 $as_echo_n "checking whether the C compiler works... " >&6; }
3224 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3226 # The possible output files:
3227 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3230 for ac_file in $ac_files
3233 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3234 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3239 if { { ac_try="$ac_link_default"
3241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3242 *) ac_try_echo=$ac_try;;
3244 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3245 $as_echo "$ac_try_echo"; } >&5
3246 (eval "$ac_link_default") 2>&5
3248 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3249 test $ac_status = 0; }; then :
3250 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3251 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3252 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3253 # so that the user can short-circuit this test for compilers unknown to
3255 for ac_file in $ac_files ''
3257 test -f "$ac_file" || continue
3259 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3262 # We found the default executable, but exeext='' is most
3266 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3268 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3270 # We set ac_cv_exeext here because the later test for it is not
3271 # safe: cross compilers may not add the suffix if given an `-o'
3272 # argument, so we may need to know it at that point already.
3273 # Even if this section looks crufty: it has the advantage of
3280 test "$ac_cv_exeext" = no && ac_cv_exeext=
3285 if test -z "$ac_file"; then :
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3287 $as_echo "no" >&6; }
3288 $as_echo "$as_me: failed program was:" >&5
3289 sed 's/^/| /' conftest.$ac_ext >&5
3291 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3292 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3293 as_fn_error 77 "C compiler cannot create executables
3294 See \`config.log' for more details" "$LINENO" 5; }
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3297 $as_echo "yes" >&6; }
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3300 $as_echo_n "checking for C compiler default output file name... " >&6; }
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3302 $as_echo "$ac_file" >&6; }
3303 ac_exeext=$ac_cv_exeext
3305 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3306 ac_clean_files=$ac_clean_files_save
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3308 $as_echo_n "checking for suffix of executables... " >&6; }
3309 if { { ac_try="$ac_link"
3311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3312 *) ac_try_echo=$ac_try;;
3314 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3315 $as_echo "$ac_try_echo"; } >&5
3316 (eval "$ac_link") 2>&5
3318 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3319 test $ac_status = 0; }; then :
3320 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3321 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3322 # work properly (i.e., refer to `conftest.exe'), while it won't with
3324 for ac_file in conftest.exe conftest conftest.*; do
3325 test -f "$ac_file" || continue
3327 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3328 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3334 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3335 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3336 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3337 See \`config.log' for more details" "$LINENO" 5; }
3339 rm -f conftest conftest$ac_cv_exeext
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3341 $as_echo "$ac_cv_exeext" >&6; }
3343 rm -f conftest.$ac_ext
3344 EXEEXT=$ac_cv_exeext
3346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3347 /* end confdefs.h. */
3352 FILE *f = fopen ("conftest.out", "w");
3353 return ferror (f) || fclose (f) != 0;
3359 ac_clean_files="$ac_clean_files conftest.out"
3360 # Check that the compiler produces executables we can run. If not, either
3361 # the compiler is broken, or we cross compile.
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3363 $as_echo_n "checking whether we are cross compiling... " >&6; }
3364 if test "$cross_compiling" != yes; then
3365 { { ac_try="$ac_link"
3367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3368 *) ac_try_echo=$ac_try;;
3370 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3371 $as_echo "$ac_try_echo"; } >&5
3372 (eval "$ac_link") 2>&5
3374 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3375 test $ac_status = 0; }
3376 if { ac_try='./conftest$ac_cv_exeext'
3377 { { case "(($ac_try" in
3378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3379 *) ac_try_echo=$ac_try;;
3381 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3382 $as_echo "$ac_try_echo"; } >&5
3383 (eval "$ac_try") 2>&5
3385 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3386 test $ac_status = 0; }; }; then
3389 if test "$cross_compiling" = maybe; then
3392 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3393 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3394 as_fn_error $? "cannot run C compiled programs.
3395 If you meant to cross compile, use \`--host'.
3396 See \`config.log' for more details" "$LINENO" 5; }
3400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3401 $as_echo "$cross_compiling" >&6; }
3403 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3404 ac_clean_files=$ac_clean_files_save
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3406 $as_echo_n "checking for suffix of object files... " >&6; }
3407 if ${ac_cv_objext+:} false; then :
3408 $as_echo_n "(cached) " >&6
3410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3411 /* end confdefs.h. */
3421 rm -f conftest.o conftest.obj
3422 if { { ac_try="$ac_compile"
3424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3425 *) ac_try_echo=$ac_try;;
3427 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3428 $as_echo "$ac_try_echo"; } >&5
3429 (eval "$ac_compile") 2>&5
3431 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3432 test $ac_status = 0; }; then :
3433 for ac_file in conftest.o conftest.obj conftest.*; do
3434 test -f "$ac_file" || continue;
3436 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3437 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3442 $as_echo "$as_me: failed program was:" >&5
3443 sed 's/^/| /' conftest.$ac_ext >&5
3445 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3446 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3447 as_fn_error $? "cannot compute suffix of object files: cannot compile
3448 See \`config.log' for more details" "$LINENO" 5; }
3450 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3453 $as_echo "$ac_cv_objext" >&6; }
3454 OBJEXT=$ac_cv_objext
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3457 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3458 if ${ac_cv_c_compiler_gnu+:} false; then :
3459 $as_echo_n "(cached) " >&6
3461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3462 /* end confdefs.h. */
3475 if ac_fn_c_try_compile "$LINENO"; then :
3480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3481 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3485 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3486 if test $ac_compiler_gnu = yes; then
3491 ac_test_CFLAGS=${CFLAGS+set}
3492 ac_save_CFLAGS=$CFLAGS
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3494 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3495 if ${ac_cv_prog_cc_g+:} false; then :
3496 $as_echo_n "(cached) " >&6
3498 ac_save_c_werror_flag=$ac_c_werror_flag
3499 ac_c_werror_flag=yes
3502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3503 /* end confdefs.h. */
3513 if ac_fn_c_try_compile "$LINENO"; then :
3517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3518 /* end confdefs.h. */
3528 if ac_fn_c_try_compile "$LINENO"; then :
3531 ac_c_werror_flag=$ac_save_c_werror_flag
3533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3534 /* end confdefs.h. */
3544 if ac_fn_c_try_compile "$LINENO"; then :
3547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3552 ac_c_werror_flag=$ac_save_c_werror_flag
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3555 $as_echo "$ac_cv_prog_cc_g" >&6; }
3556 if test "$ac_test_CFLAGS" = set; then
3557 CFLAGS=$ac_save_CFLAGS
3558 elif test $ac_cv_prog_cc_g = yes; then
3559 if test "$GCC" = yes; then
3565 if test "$GCC" = yes; then
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3572 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3573 if ${ac_cv_prog_cc_c89+:} false; then :
3574 $as_echo_n "(cached) " >&6
3576 ac_cv_prog_cc_c89=no
3578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3579 /* end confdefs.h. */
3582 #include <sys/types.h>
3583 #include <sys/stat.h>
3584 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3585 struct buf { int x; };
3586 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3587 static char *e (p, i)
3593 static char *f (char * (*g) (char **, int), char **p, ...)
3598 s = g (p, va_arg (v,int));
3603 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3604 function prototypes and stuff, but not '\xHH' hex character constants.
3605 These don't provoke an error unfortunately, instead are silently treated
3606 as 'x'. The following induces an error, until -std is added to get
3607 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3608 array size at least. It's necessary to write '\x00'==0 to get something
3609 that's true only with -std. */
3610 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3612 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3613 inside strings and character constants. */
3615 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3617 int test (int i, double x);
3618 struct s1 {int (*f) (int a);};
3619 struct s2 {int (*f) (double a);};
3620 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3626 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3631 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3632 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3634 CC="$ac_save_CC $ac_arg"
3635 if ac_fn_c_try_compile "$LINENO"; then :
3636 ac_cv_prog_cc_c89=$ac_arg
3638 rm -f core conftest.err conftest.$ac_objext
3639 test "x$ac_cv_prog_cc_c89" != "xno" && break
3641 rm -f conftest.$ac_ext
3646 case "x$ac_cv_prog_cc_c89" in
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3649 $as_echo "none needed" >&6; } ;;
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3652 $as_echo "unsupported" >&6; } ;;
3654 CC="$CC $ac_cv_prog_cc_c89"
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3656 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3658 if test "x$ac_cv_prog_cc_c89" != xno; then :
3663 ac_cpp='$CPP $CPPFLAGS'
3664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3667 DEPDIR="${am__leading_dot}deps"
3669 ac_config_commands="$ac_config_commands depfiles"
3672 am_make=${MAKE-make}
3673 cat > confinc << 'END'
3675 @echo this is the am__doit target
3678 # If we don't find an include directive, just comment out the code.
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3680 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3684 # First try GNU make style include.
3685 echo "include confinc" > confmf
3686 # Ignore all kinds of additional output from `make'.
3687 case `$am_make -s -f confmf 2> /dev/null` in #(
3688 *the\ am__doit\ target*)
3694 # Now try BSD make style include.
3695 if test "$am__include" = "#"; then
3696 echo '.include "confinc"' > confmf
3697 case `$am_make -s -f confmf 2> /dev/null` in #(
3698 *the\ am__doit\ target*)
3699 am__include=.include
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3708 $as_echo "$_am_result" >&6; }
3709 rm -f confinc confmf
3711 # Check whether --enable-dependency-tracking was given.
3712 if test "${enable_dependency_tracking+set}" = set; then :
3713 enableval=$enable_dependency_tracking;
3716 if test "x$enable_dependency_tracking" != xno; then
3717 am_depcomp="$ac_aux_dir/depcomp"
3721 if test "x$enable_dependency_tracking" != xno; then
3731 depcc="$CC" am_compiler_list=
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3734 $as_echo_n "checking dependency style of $depcc... " >&6; }
3735 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3736 $as_echo_n "(cached) " >&6
3738 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3739 # We make a subdir and do the tests there. Otherwise we can end up
3740 # making bogus files that we don't know about and never remove. For
3741 # instance it was reported that on HP-UX the gcc test will end up
3742 # making a dummy file named `D' -- because `-MD' means `put the output
3746 # Copy depcomp to subdir because otherwise we won't find it if we're
3747 # using a relative directory.
3748 cp "$am_depcomp" conftest.dir
3750 # We will build objects and dependencies in a subdirectory because
3751 # it helps to detect inapplicable dependency modes. For instance
3752 # both Tru64's cc and ICC support -MD to output dependencies as a
3753 # side effect of compilation, but ICC will put the dependencies in
3754 # the current directory while Tru64 will put them in the object
3758 am_cv_CC_dependencies_compiler_type=none
3759 if test "$am_compiler_list" = ""; then
3760 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3763 case " $depcc " in #(
3764 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3767 for depmode in $am_compiler_list; do
3768 # Setup a source with many dependencies, because some compilers
3769 # like to wrap large dependency lists on column 80 (with \), and
3770 # we should not choose a depcomp mode which is confused by this.
3772 # We need to recreate these files for each test, as the compiler may
3773 # overwrite some of them when testing with obscure command lines.
3774 # This happens at least with the AIX C compiler.
3776 for i in 1 2 3 4 5 6; do
3777 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3778 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3779 # Solaris 8's {/usr,}/bin/sh.
3780 touch sub/conftst$i.h
3782 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3784 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3785 # mode. It turns out that the SunPro C++ compiler does not properly
3786 # handle `-M -o', and we need to detect this. Also, some Intel
3787 # versions had trouble with output in subdirs
3788 am__obj=sub/conftest.${OBJEXT-o}
3789 am__minus_obj="-o $am__obj"
3792 # This depmode causes a compiler race in universal mode.
3793 test "$am__universal" = false || continue
3796 # after this tag, mechanisms are not by side-effect, so they'll
3797 # only be used when explicitly requested
3798 if test "x$enable_dependency_tracking" = xyes; then
3804 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3805 # This compiler won't grok `-c -o', but also, the minuso test has
3806 # not run yet. These depmodes are late enough in the game, and
3807 # so weak that their functioning should not be impacted.
3808 am__obj=conftest.${OBJEXT-o}
3813 if depmode=$depmode \
3814 source=sub/conftest.c object=$am__obj \
3815 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3816 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3817 >/dev/null 2>conftest.err &&
3818 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3819 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3820 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3821 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3822 # icc doesn't choke on unknown options, it will just issue warnings
3823 # or remarks (even with -Werror). So we grep stderr for any message
3824 # that says an option was ignored or not supported.
3825 # When given -MP, icc 7.0 and 7.1 complain thusly:
3826 # icc: Command line warning: ignoring option '-M'; no argument required
3827 # The diagnosis changed in icc 8.0:
3828 # icc: Command line remark: option '-MP' not supported
3829 if (grep 'ignoring option' conftest.err ||
3830 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3831 am_cv_CC_dependencies_compiler_type=$depmode
3840 am_cv_CC_dependencies_compiler_type=none
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3845 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3846 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3849 test "x$enable_dependency_tracking" != xno \
3850 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3852 am__fastdepCC_FALSE='#'
3854 am__fastdepCC_TRUE='#'
3855 am__fastdepCC_FALSE=
3860 ac_cpp='$CXXCPP $CPPFLAGS'
3861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3864 if test -z "$CXX"; then
3865 if test -n "$CCC"; then
3868 if test -n "$ac_tool_prefix"; then
3869 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3871 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3872 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3874 $as_echo_n "checking for $ac_word... " >&6; }
3875 if ${ac_cv_prog_CXX+:} false; then :
3876 $as_echo_n "(cached) " >&6
3878 if test -n "$CXX"; then
3879 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3885 test -z "$as_dir" && as_dir=.
3886 for ac_exec_ext in '' $ac_executable_extensions; do
3887 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3888 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3889 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3899 if test -n "$CXX"; then
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3901 $as_echo "$CXX" >&6; }
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3904 $as_echo "no" >&6; }
3908 test -n "$CXX" && break
3911 if test -z "$CXX"; then
3913 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3915 # Extract the first word of "$ac_prog", so it can be a program name with args.
3916 set dummy $ac_prog; ac_word=$2
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3918 $as_echo_n "checking for $ac_word... " >&6; }
3919 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3920 $as_echo_n "(cached) " >&6
3922 if test -n "$ac_ct_CXX"; then
3923 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3929 test -z "$as_dir" && as_dir=.
3930 for ac_exec_ext in '' $ac_executable_extensions; do
3931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3932 ac_cv_prog_ac_ct_CXX="$ac_prog"
3933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3942 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3943 if test -n "$ac_ct_CXX"; then
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3945 $as_echo "$ac_ct_CXX" >&6; }
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3948 $as_echo "no" >&6; }
3952 test -n "$ac_ct_CXX" && break
3955 if test "x$ac_ct_CXX" = x; then
3958 case $cross_compiling:$ac_tool_warned in
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3961 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3962 ac_tool_warned=yes ;;
3970 # Provide some information about the compiler.
3971 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3974 for ac_option in --version -v -V -qversion; do
3975 { { ac_try="$ac_compiler $ac_option >&5"
3977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3978 *) ac_try_echo=$ac_try;;
3980 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3981 $as_echo "$ac_try_echo"; } >&5
3982 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3984 if test -s conftest.err; then
3986 ... rest of stderr output deleted ...
3987 10q' conftest.err >conftest.er1
3988 cat conftest.er1 >&5
3990 rm -f conftest.er1 conftest.err
3991 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3992 test $ac_status = 0; }
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3996 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3997 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3998 $as_echo_n "(cached) " >&6
4000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4001 /* end confdefs.h. */
4014 if ac_fn_cxx_try_compile "$LINENO"; then :
4019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4020 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4024 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4025 if test $ac_compiler_gnu = yes; then
4030 ac_test_CXXFLAGS=${CXXFLAGS+set}
4031 ac_save_CXXFLAGS=$CXXFLAGS
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4033 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4034 if ${ac_cv_prog_cxx_g+:} false; then :
4035 $as_echo_n "(cached) " >&6
4037 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4038 ac_cxx_werror_flag=yes
4041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4042 /* end confdefs.h. */
4052 if ac_fn_cxx_try_compile "$LINENO"; then :
4053 ac_cv_prog_cxx_g=yes
4056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4057 /* end confdefs.h. */
4067 if ac_fn_cxx_try_compile "$LINENO"; then :
4070 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4073 /* end confdefs.h. */
4083 if ac_fn_cxx_try_compile "$LINENO"; then :
4084 ac_cv_prog_cxx_g=yes
4086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4091 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4094 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4095 if test "$ac_test_CXXFLAGS" = set; then
4096 CXXFLAGS=$ac_save_CXXFLAGS
4097 elif test $ac_cv_prog_cxx_g = yes; then
4098 if test "$GXX" = yes; then
4104 if test "$GXX" = yes; then
4111 ac_cpp='$CPP $CPPFLAGS'
4112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4116 depcc="$CXX" am_compiler_list=
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4119 $as_echo_n "checking dependency style of $depcc... " >&6; }
4120 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
4121 $as_echo_n "(cached) " >&6
4123 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4124 # We make a subdir and do the tests there. Otherwise we can end up
4125 # making bogus files that we don't know about and never remove. For
4126 # instance it was reported that on HP-UX the gcc test will end up
4127 # making a dummy file named `D' -- because `-MD' means `put the output
4131 # Copy depcomp to subdir because otherwise we won't find it if we're
4132 # using a relative directory.
4133 cp "$am_depcomp" conftest.dir
4135 # We will build objects and dependencies in a subdirectory because
4136 # it helps to detect inapplicable dependency modes. For instance
4137 # both Tru64's cc and ICC support -MD to output dependencies as a
4138 # side effect of compilation, but ICC will put the dependencies in
4139 # the current directory while Tru64 will put them in the object
4143 am_cv_CXX_dependencies_compiler_type=none
4144 if test "$am_compiler_list" = ""; then
4145 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4148 case " $depcc " in #(
4149 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4152 for depmode in $am_compiler_list; do
4153 # Setup a source with many dependencies, because some compilers
4154 # like to wrap large dependency lists on column 80 (with \), and
4155 # we should not choose a depcomp mode which is confused by this.
4157 # We need to recreate these files for each test, as the compiler may
4158 # overwrite some of them when testing with obscure command lines.
4159 # This happens at least with the AIX C compiler.
4161 for i in 1 2 3 4 5 6; do
4162 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4163 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4164 # Solaris 8's {/usr,}/bin/sh.
4165 touch sub/conftst$i.h
4167 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4169 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4170 # mode. It turns out that the SunPro C++ compiler does not properly
4171 # handle `-M -o', and we need to detect this. Also, some Intel
4172 # versions had trouble with output in subdirs
4173 am__obj=sub/conftest.${OBJEXT-o}
4174 am__minus_obj="-o $am__obj"
4177 # This depmode causes a compiler race in universal mode.
4178 test "$am__universal" = false || continue
4181 # after this tag, mechanisms are not by side-effect, so they'll
4182 # only be used when explicitly requested
4183 if test "x$enable_dependency_tracking" = xyes; then
4189 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4190 # This compiler won't grok `-c -o', but also, the minuso test has
4191 # not run yet. These depmodes are late enough in the game, and
4192 # so weak that their functioning should not be impacted.
4193 am__obj=conftest.${OBJEXT-o}
4198 if depmode=$depmode \
4199 source=sub/conftest.c object=$am__obj \
4200 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4201 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4202 >/dev/null 2>conftest.err &&
4203 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4204 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4205 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4206 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4207 # icc doesn't choke on unknown options, it will just issue warnings
4208 # or remarks (even with -Werror). So we grep stderr for any message
4209 # that says an option was ignored or not supported.
4210 # When given -MP, icc 7.0 and 7.1 complain thusly:
4211 # icc: Command line warning: ignoring option '-M'; no argument required
4212 # The diagnosis changed in icc 8.0:
4213 # icc: Command line remark: option '-MP' not supported
4214 if (grep 'ignoring option' conftest.err ||
4215 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4216 am_cv_CXX_dependencies_compiler_type=$depmode
4225 am_cv_CXX_dependencies_compiler_type=none
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4230 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4231 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4234 test "x$enable_dependency_tracking" != xno \
4235 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4236 am__fastdepCXX_TRUE=
4237 am__fastdepCXX_FALSE='#'
4239 am__fastdepCXX_TRUE='#'
4240 am__fastdepCXX_FALSE=
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4247 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4252 macro_version='2.4.2'
4253 macro_revision='1.3337'
4267 ltmain="$ac_aux_dir/ltmain.sh"
4269 # Backslashify metacharacters that are still active within
4270 # double-quoted strings.
4271 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4273 # Same as above, but do not quote variable references.
4274 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4276 # Sed substitution to delay expansion of an escaped shell variable in a
4277 # double_quote_subst'ed string.
4278 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4280 # Sed substitution to delay expansion of an escaped single quote.
4281 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4283 # Sed substitution to avoid accidental globbing in evaled expressions
4284 no_glob_subst='s/\*/\\\*/g'
4286 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4287 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4288 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4291 $as_echo_n "checking how to print strings... " >&6; }
4292 # Test print first, because it will be a builtin if present.
4293 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4294 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4296 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4299 # Use this function as a fallback that always works.
4300 func_fallback_echo ()
4302 eval 'cat <<_LTECHO_EOF
4306 ECHO='func_fallback_echo'
4309 # func_echo_all arg...
4310 # Invoke $ECHO with all args, space-separated.
4317 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4318 $as_echo "printf" >&6; } ;;
4319 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4320 $as_echo "print -r" >&6; } ;;
4321 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4322 $as_echo "cat" >&6; } ;;
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4339 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4340 if ${ac_cv_path_SED+:} false; then :
4341 $as_echo_n "(cached) " >&6
4343 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4344 for ac_i in 1 2 3 4 5 6 7; do
4345 ac_script="$ac_script$as_nl$ac_script"
4347 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4348 { ac_script=; unset ac_script;}
4349 if test -z "$SED"; then
4350 ac_path_SED_found=false
4351 # Loop through the user's path and test for each of PROGNAME-LIST
4352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4356 test -z "$as_dir" && as_dir=.
4357 for ac_prog in sed gsed; do
4358 for ac_exec_ext in '' $ac_executable_extensions; do
4359 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4360 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4361 # Check for GNU ac_path_SED and select it if it is found.
4362 # Check for GNU $ac_path_SED
4363 case `"$ac_path_SED" --version 2>&1` in
4365 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4368 $as_echo_n 0123456789 >"conftest.in"
4371 cat "conftest.in" "conftest.in" >"conftest.tmp"
4372 mv "conftest.tmp" "conftest.in"
4373 cp "conftest.in" "conftest.nl"
4374 $as_echo '' >> "conftest.nl"
4375 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4376 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4377 as_fn_arith $ac_count + 1 && ac_count=$as_val
4378 if test $ac_count -gt ${ac_path_SED_max-0}; then
4379 # Best one so far, save it but keep looking for a better one
4380 ac_cv_path_SED="$ac_path_SED"
4381 ac_path_SED_max=$ac_count
4383 # 10*(2^10) chars as input seems more than enough
4384 test $ac_count -gt 10 && break
4386 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4389 $ac_path_SED_found && break 3
4394 if test -z "$ac_cv_path_SED"; then
4395 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4403 $as_echo "$ac_cv_path_SED" >&6; }
4404 SED="$ac_cv_path_SED"
4407 test -z "$SED" && SED=sed
4408 Xsed="$SED -e 1s/^X//"
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4421 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4422 if ${ac_cv_path_GREP+:} false; then :
4423 $as_echo_n "(cached) " >&6
4425 if test -z "$GREP"; then
4426 ac_path_GREP_found=false
4427 # Loop through the user's path and test for each of PROGNAME-LIST
4428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4429 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4432 test -z "$as_dir" && as_dir=.
4433 for ac_prog in grep ggrep; do
4434 for ac_exec_ext in '' $ac_executable_extensions; do
4435 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4436 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4437 # Check for GNU ac_path_GREP and select it if it is found.
4438 # Check for GNU $ac_path_GREP
4439 case `"$ac_path_GREP" --version 2>&1` in
4441 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4444 $as_echo_n 0123456789 >"conftest.in"
4447 cat "conftest.in" "conftest.in" >"conftest.tmp"
4448 mv "conftest.tmp" "conftest.in"
4449 cp "conftest.in" "conftest.nl"
4450 $as_echo 'GREP' >> "conftest.nl"
4451 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4452 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4453 as_fn_arith $ac_count + 1 && ac_count=$as_val
4454 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4455 # Best one so far, save it but keep looking for a better one
4456 ac_cv_path_GREP="$ac_path_GREP"
4457 ac_path_GREP_max=$ac_count
4459 # 10*(2^10) chars as input seems more than enough
4460 test $ac_count -gt 10 && break
4462 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4465 $ac_path_GREP_found && break 3
4470 if test -z "$ac_cv_path_GREP"; then
4471 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4474 ac_cv_path_GREP=$GREP
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4479 $as_echo "$ac_cv_path_GREP" >&6; }
4480 GREP="$ac_cv_path_GREP"
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4484 $as_echo_n "checking for egrep... " >&6; }
4485 if ${ac_cv_path_EGREP+:} false; then :
4486 $as_echo_n "(cached) " >&6
4488 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4489 then ac_cv_path_EGREP="$GREP -E"
4491 if test -z "$EGREP"; then
4492 ac_path_EGREP_found=false
4493 # Loop through the user's path and test for each of PROGNAME-LIST
4494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4495 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4498 test -z "$as_dir" && as_dir=.
4499 for ac_prog in egrep; do
4500 for ac_exec_ext in '' $ac_executable_extensions; do
4501 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4502 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4503 # Check for GNU ac_path_EGREP and select it if it is found.
4504 # Check for GNU $ac_path_EGREP
4505 case `"$ac_path_EGREP" --version 2>&1` in
4507 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4510 $as_echo_n 0123456789 >"conftest.in"
4513 cat "conftest.in" "conftest.in" >"conftest.tmp"
4514 mv "conftest.tmp" "conftest.in"
4515 cp "conftest.in" "conftest.nl"
4516 $as_echo 'EGREP' >> "conftest.nl"
4517 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4518 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4519 as_fn_arith $ac_count + 1 && ac_count=$as_val
4520 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4521 # Best one so far, save it but keep looking for a better one
4522 ac_cv_path_EGREP="$ac_path_EGREP"
4523 ac_path_EGREP_max=$ac_count
4525 # 10*(2^10) chars as input seems more than enough
4526 test $ac_count -gt 10 && break
4528 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4531 $ac_path_EGREP_found && break 3
4536 if test -z "$ac_cv_path_EGREP"; then
4537 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4540 ac_cv_path_EGREP=$EGREP
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4546 $as_echo "$ac_cv_path_EGREP" >&6; }
4547 EGREP="$ac_cv_path_EGREP"
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4551 $as_echo_n "checking for fgrep... " >&6; }
4552 if ${ac_cv_path_FGREP+:} false; then :
4553 $as_echo_n "(cached) " >&6
4555 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4556 then ac_cv_path_FGREP="$GREP -F"
4558 if test -z "$FGREP"; then
4559 ac_path_FGREP_found=false
4560 # Loop through the user's path and test for each of PROGNAME-LIST
4561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4562 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4565 test -z "$as_dir" && as_dir=.
4566 for ac_prog in fgrep; do
4567 for ac_exec_ext in '' $ac_executable_extensions; do
4568 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4569 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4570 # Check for GNU ac_path_FGREP and select it if it is found.
4571 # Check for GNU $ac_path_FGREP
4572 case `"$ac_path_FGREP" --version 2>&1` in
4574 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4577 $as_echo_n 0123456789 >"conftest.in"
4580 cat "conftest.in" "conftest.in" >"conftest.tmp"
4581 mv "conftest.tmp" "conftest.in"
4582 cp "conftest.in" "conftest.nl"
4583 $as_echo 'FGREP' >> "conftest.nl"
4584 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4585 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4586 as_fn_arith $ac_count + 1 && ac_count=$as_val
4587 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4588 # Best one so far, save it but keep looking for a better one
4589 ac_cv_path_FGREP="$ac_path_FGREP"
4590 ac_path_FGREP_max=$ac_count
4592 # 10*(2^10) chars as input seems more than enough
4593 test $ac_count -gt 10 && break
4595 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4598 $ac_path_FGREP_found && break 3
4603 if test -z "$ac_cv_path_FGREP"; then
4604 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4607 ac_cv_path_FGREP=$FGREP
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4613 $as_echo "$ac_cv_path_FGREP" >&6; }
4614 FGREP="$ac_cv_path_FGREP"
4617 test -z "$GREP" && GREP=grep
4637 # Check whether --with-gnu-ld was given.
4638 if test "${with_gnu_ld+set}" = set; then :
4639 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4645 if test "$GCC" = yes; then
4646 # Check if gcc -print-prog-name=ld gives a path.
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4648 $as_echo_n "checking for ld used by $CC... " >&6; }
4651 # gcc leaves a trailing carriage return which upsets mingw
4652 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4654 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4657 # Accept absolute paths.
4659 re_direlt='/[^/][^/]*/\.\./'
4660 # Canonicalize the pathname of ld
4661 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4662 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4663 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4665 test -z "$LD" && LD="$ac_prog"
4668 # If it fails, then pretend we aren't using GCC.
4672 # If it is relative, then search for the first ld in PATH.
4676 elif test "$with_gnu_ld" = yes; then
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4678 $as_echo_n "checking for GNU ld... " >&6; }
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4681 $as_echo_n "checking for non-GNU ld... " >&6; }
4683 if ${lt_cv_path_LD+:} false; then :
4684 $as_echo_n "(cached) " >&6
4686 if test -z "$LD"; then
4687 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4688 for ac_dir in $PATH; do
4690 test -z "$ac_dir" && ac_dir=.
4691 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4692 lt_cv_path_LD="$ac_dir/$ac_prog"
4693 # Check to see if the program is GNU ld. I'd rather use --version,
4694 # but apparently some variants of GNU ld only accept -v.
4695 # Break only if it was the GNU/non-GNU ld that we prefer.
4696 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4697 *GNU* | *'with BFD'*)
4698 test "$with_gnu_ld" != no && break
4701 test "$with_gnu_ld" != yes && break
4708 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4713 if test -n "$LD"; then
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4715 $as_echo "$LD" >&6; }
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4718 $as_echo "no" >&6; }
4720 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4722 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4723 if ${lt_cv_prog_gnu_ld+:} false; then :
4724 $as_echo_n "(cached) " >&6
4726 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4727 case `$LD -v 2>&1 </dev/null` in
4728 *GNU* | *'with BFD'*)
4729 lt_cv_prog_gnu_ld=yes
4732 lt_cv_prog_gnu_ld=no
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4737 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4738 with_gnu_ld=$lt_cv_prog_gnu_ld
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4749 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4750 if ${lt_cv_path_NM+:} false; then :
4751 $as_echo_n "(cached) " >&6
4753 if test -n "$NM"; then
4754 # Let the user override the test.
4757 lt_nm_to_check="${ac_tool_prefix}nm"
4758 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4759 lt_nm_to_check="$lt_nm_to_check nm"
4761 for lt_tmp_nm in $lt_nm_to_check; do
4762 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4763 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4765 test -z "$ac_dir" && ac_dir=.
4766 tmp_nm="$ac_dir/$lt_tmp_nm"
4767 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4768 # Check to see if the nm accepts a BSD-compat flag.
4769 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4770 # nm: unknown option "B" ignored
4771 # Tru64's nm complains that /dev/null is an invalid object file
4772 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4773 */dev/null* | *'Invalid file or object type'*)
4774 lt_cv_path_NM="$tmp_nm -B"
4778 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4780 lt_cv_path_NM="$tmp_nm -p"
4784 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4785 continue # so that we can try to find one that supports BSD flags
4794 : ${lt_cv_path_NM=no}
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4798 $as_echo "$lt_cv_path_NM" >&6; }
4799 if test "$lt_cv_path_NM" != "no"; then
4802 # Didn't find any BSD compatible name lister, look for dumpbin.
4803 if test -n "$DUMPBIN"; then :
4804 # Let the user override the test.
4806 if test -n "$ac_tool_prefix"; then
4807 for ac_prog in dumpbin "link -dump"
4809 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4810 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4812 $as_echo_n "checking for $ac_word... " >&6; }
4813 if ${ac_cv_prog_DUMPBIN+:} false; then :
4814 $as_echo_n "(cached) " >&6
4816 if test -n "$DUMPBIN"; then
4817 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4823 test -z "$as_dir" && as_dir=.
4824 for ac_exec_ext in '' $ac_executable_extensions; do
4825 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4826 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4836 DUMPBIN=$ac_cv_prog_DUMPBIN
4837 if test -n "$DUMPBIN"; then
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4839 $as_echo "$DUMPBIN" >&6; }
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4842 $as_echo "no" >&6; }
4846 test -n "$DUMPBIN" && break
4849 if test -z "$DUMPBIN"; then
4850 ac_ct_DUMPBIN=$DUMPBIN
4851 for ac_prog in dumpbin "link -dump"
4853 # Extract the first word of "$ac_prog", so it can be a program name with args.
4854 set dummy $ac_prog; ac_word=$2
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4856 $as_echo_n "checking for $ac_word... " >&6; }
4857 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4858 $as_echo_n "(cached) " >&6
4860 if test -n "$ac_ct_DUMPBIN"; then
4861 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4867 test -z "$as_dir" && as_dir=.
4868 for ac_exec_ext in '' $ac_executable_extensions; do
4869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4870 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4880 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4881 if test -n "$ac_ct_DUMPBIN"; then
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4883 $as_echo "$ac_ct_DUMPBIN" >&6; }
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4886 $as_echo "no" >&6; }
4890 test -n "$ac_ct_DUMPBIN" && break
4893 if test "x$ac_ct_DUMPBIN" = x; then
4896 case $cross_compiling:$ac_tool_warned in
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4899 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4900 ac_tool_warned=yes ;;
4902 DUMPBIN=$ac_ct_DUMPBIN
4906 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4908 DUMPBIN="$DUMPBIN -symbols"
4916 if test "$DUMPBIN" != ":"; then
4920 test -z "$NM" && NM=nm
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4928 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4929 if ${lt_cv_nm_interface+:} false; then :
4930 $as_echo_n "(cached) " >&6
4932 lt_cv_nm_interface="BSD nm"
4933 echo "int some_variable = 0;" > conftest.$ac_ext
4934 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4935 (eval "$ac_compile" 2>conftest.err)
4936 cat conftest.err >&5
4937 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4938 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4939 cat conftest.err >&5
4940 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4941 cat conftest.out >&5
4942 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4943 lt_cv_nm_interface="MS dumpbin"
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4948 $as_echo "$lt_cv_nm_interface" >&6; }
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4951 $as_echo_n "checking whether ln -s works... " >&6; }
4953 if test "$LN_S" = "ln -s"; then
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4955 $as_echo "yes" >&6; }
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4958 $as_echo "no, using $LN_S" >&6; }
4961 # find the maximum length of command line arguments
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4963 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4964 if ${lt_cv_sys_max_cmd_len+:} false; then :
4965 $as_echo_n "(cached) " >&6
4972 # On DJGPP, this test can blow up pretty badly due to problems in libc
4973 # (any single argument exceeding 2000 bytes causes a buffer overrun
4974 # during glob expansion). Even if it were fixed, the result of this
4975 # check would be larger than it should be.
4976 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4980 # Under GNU Hurd, this test is not required because there is
4981 # no limit to the length of command line arguments.
4982 # Libtool will interpret -1 as no limit whatsoever
4983 lt_cv_sys_max_cmd_len=-1;
4986 cygwin* | mingw* | cegcc*)
4987 # On Win9x/ME, this test blows up -- it succeeds, but takes
4988 # about 5 minutes as the teststring grows exponentially.
4989 # Worse, since 9x/ME are not pre-emptively multitasking,
4990 # you end up with a "frozen" computer, even though with patience
4991 # the test eventually succeeds (with a max line length of 256k).
4992 # Instead, let's just punt: use the minimum linelength reported by
4993 # all of the supported platforms: 8192 (on NT/2K/XP).
4994 lt_cv_sys_max_cmd_len=8192;
4998 # On MiNT this can take a long time and run out of memory.
4999 lt_cv_sys_max_cmd_len=8192;
5003 # On AmigaOS with pdksh, this test takes hours, literally.
5004 # So we just punt and use a minimum line length of 8192.
5005 lt_cv_sys_max_cmd_len=8192;
5008 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5009 # This has been around since 386BSD, at least. Likely further.
5010 if test -x /sbin/sysctl; then
5011 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5012 elif test -x /usr/sbin/sysctl; then
5013 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5015 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5017 # And add a safety zone
5018 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5019 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5023 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5024 lt_cv_sys_max_cmd_len=196608
5028 # The test takes a long time on OS/2.
5029 lt_cv_sys_max_cmd_len=8192
5033 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5034 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5035 # nice to cause kernel panics so lets avoid the loop below.
5036 # First set a reasonable default.
5037 lt_cv_sys_max_cmd_len=16384
5039 if test -x /sbin/sysconfig; then
5040 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5041 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5046 lt_cv_sys_max_cmd_len=102400
5048 sysv5* | sco5v6* | sysv4.2uw2*)
5049 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5050 if test -n "$kargmax"; then
5051 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5053 lt_cv_sys_max_cmd_len=32768
5057 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5058 if test -n "$lt_cv_sys_max_cmd_len"; then
5059 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5060 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5062 # Make teststring a little bigger before we do anything with it.
5063 # a 1K string should be a reasonable start.
5064 for i in 1 2 3 4 5 6 7 8 ; do
5065 teststring=$teststring$teststring
5067 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5068 # If test is not a shell built-in, we'll probably end up computing a
5069 # maximum length that is only half of the actual maximum length, but
5071 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5072 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5073 test $i != 17 # 1/2 MB should be enough
5076 teststring=$teststring$teststring
5078 # Only check the string length outside the loop.
5079 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5081 # Add a significant safety factor because C++ compilers can tack on
5082 # massive amounts of additional arguments before passing them to the
5083 # linker. It appears as though 1/2 is a usable value.
5084 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5091 if test -n $lt_cv_sys_max_cmd_len ; then
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5093 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5096 $as_echo "none" >&6; }
5098 max_cmd_len=$lt_cv_sys_max_cmd_len
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5110 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5111 # Try some XSI features
5114 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5116 && eval 'test $(( 1 + 1 )) -eq 2 \
5117 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5120 $as_echo "$xsi_shell" >&6; }
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5124 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5126 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5128 && lt_shell_append=yes
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5130 $as_echo "$lt_shell_append" >&6; }
5133 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5143 # test EBCDIC or ASCII
5144 case `echo X|tr X '\101'` in
5145 A) # ASCII based system
5146 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5147 lt_SP2NL='tr \040 \012'
5148 lt_NL2SP='tr \015\012 \040\040'
5150 *) # EBCDIC based system
5151 lt_SP2NL='tr \100 \n'
5152 lt_NL2SP='tr \r\n \100\100'
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5165 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5166 if ${lt_cv_to_host_file_cmd+:} false; then :
5167 $as_echo_n "(cached) " >&6
5172 *-*-mingw* ) # actually msys
5173 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5176 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5178 * ) # otherwise, assume *nix
5179 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5185 *-*-mingw* ) # actually msys
5186 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5189 lt_cv_to_host_file_cmd=func_convert_file_noop
5191 * ) # otherwise, assume *nix
5192 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5196 * ) # unhandled hosts (and "normal" native builds)
5197 lt_cv_to_host_file_cmd=func_convert_file_noop
5203 to_host_file_cmd=$lt_cv_to_host_file_cmd
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5205 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5212 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5213 if ${lt_cv_to_tool_file_cmd+:} false; then :
5214 $as_echo_n "(cached) " >&6
5216 #assume ordinary cross tools, or native build.
5217 lt_cv_to_tool_file_cmd=func_convert_file_noop
5221 *-*-mingw* ) # actually msys
5222 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5230 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5232 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5239 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5240 if ${lt_cv_ld_reload_flag+:} false; then :
5241 $as_echo_n "(cached) " >&6
5243 lt_cv_ld_reload_flag='-r'
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5246 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5247 reload_flag=$lt_cv_ld_reload_flag
5248 case $reload_flag in
5250 *) reload_flag=" $reload_flag" ;;
5252 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5254 cygwin* | mingw* | pw32* | cegcc*)
5255 if test "$GCC" != yes; then
5260 if test "$GCC" = yes; then
5261 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5263 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5276 if test -n "$ac_tool_prefix"; then
5277 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5278 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5280 $as_echo_n "checking for $ac_word... " >&6; }
5281 if ${ac_cv_prog_OBJDUMP+:} false; then :
5282 $as_echo_n "(cached) " >&6
5284 if test -n "$OBJDUMP"; then
5285 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5291 test -z "$as_dir" && as_dir=.
5292 for ac_exec_ext in '' $ac_executable_extensions; do
5293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5294 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5295 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5304 OBJDUMP=$ac_cv_prog_OBJDUMP
5305 if test -n "$OBJDUMP"; then
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5307 $as_echo "$OBJDUMP" >&6; }
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5310 $as_echo "no" >&6; }
5315 if test -z "$ac_cv_prog_OBJDUMP"; then
5316 ac_ct_OBJDUMP=$OBJDUMP
5317 # Extract the first word of "objdump", so it can be a program name with args.
5318 set dummy objdump; ac_word=$2
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5320 $as_echo_n "checking for $ac_word... " >&6; }
5321 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5322 $as_echo_n "(cached) " >&6
5324 if test -n "$ac_ct_OBJDUMP"; then
5325 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5331 test -z "$as_dir" && as_dir=.
5332 for ac_exec_ext in '' $ac_executable_extensions; do
5333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5334 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5344 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5345 if test -n "$ac_ct_OBJDUMP"; then
5346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5347 $as_echo "$ac_ct_OBJDUMP" >&6; }
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5350 $as_echo "no" >&6; }
5353 if test "x$ac_ct_OBJDUMP" = x; then
5356 case $cross_compiling:$ac_tool_warned in
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5359 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5360 ac_tool_warned=yes ;;
5362 OBJDUMP=$ac_ct_OBJDUMP
5365 OBJDUMP="$ac_cv_prog_OBJDUMP"
5368 test -z "$OBJDUMP" && OBJDUMP=objdump
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5379 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5380 if ${lt_cv_deplibs_check_method+:} false; then :
5381 $as_echo_n "(cached) " >&6
5383 lt_cv_file_magic_cmd='$MAGIC_CMD'
5384 lt_cv_file_magic_test_file=
5385 lt_cv_deplibs_check_method='unknown'
5386 # Need to set the preceding variable on all platforms that support
5387 # interlibrary dependencies.
5388 # 'none' -- dependencies not supported.
5389 # `unknown' -- same as none, but documents that we really don't know.
5390 # 'pass_all' -- all dependencies passed with no checks.
5391 # 'test_compile' -- check by making test program.
5392 # 'file_magic [[regex]]' -- check by looking for files in library path
5393 # which responds to the $file_magic_cmd with a given extended regex.
5394 # If you have `file' or equivalent on your system and you're not sure
5395 # whether `pass_all' will *always* work, you probably want this one.
5399 lt_cv_deplibs_check_method=pass_all
5403 lt_cv_deplibs_check_method=pass_all
5407 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5408 lt_cv_file_magic_cmd='/usr/bin/file -L'
5409 lt_cv_file_magic_test_file=/shlib/libc.so
5413 # func_win32_libid is a shell function defined in ltmain.sh
5414 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5415 lt_cv_file_magic_cmd='func_win32_libid'
5419 # Base MSYS/MinGW do not provide the 'file' command needed by
5420 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5421 # unless we find 'file', for example because we are cross-compiling.
5422 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5423 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5424 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5425 lt_cv_file_magic_cmd='func_win32_libid'
5427 # Keep this pattern in sync with the one in func_win32_libid.
5428 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5429 lt_cv_file_magic_cmd='$OBJDUMP -f'
5434 # use the weaker test based on 'objdump'. See mingw*.
5435 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5436 lt_cv_file_magic_cmd='$OBJDUMP -f'
5439 darwin* | rhapsody*)
5440 lt_cv_deplibs_check_method=pass_all
5443 freebsd* | dragonfly*)
5444 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5447 # Not sure whether the presence of OpenBSD here was a mistake.
5448 # Let's accept both of them until this is cleared up.
5449 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5450 lt_cv_file_magic_cmd=/usr/bin/file
5451 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5455 lt_cv_deplibs_check_method=pass_all
5460 lt_cv_deplibs_check_method=pass_all
5464 lt_cv_deplibs_check_method=pass_all
5467 hpux10.20* | hpux11*)
5468 lt_cv_file_magic_cmd=/usr/bin/file
5471 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5472 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5475 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]'
5476 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5479 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5480 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5486 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5487 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5490 irix5* | irix6* | nonstopux*)
5492 *-32|*"-32 ") libmagic=32-bit;;
5493 *-n32|*"-n32 ") libmagic=N32;;
5494 *-64|*"-64 ") libmagic=64-bit;;
5495 *) libmagic=never-match;;
5497 lt_cv_deplibs_check_method=pass_all
5500 # This must be glibc/ELF.
5501 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5502 lt_cv_deplibs_check_method=pass_all
5506 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5507 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5509 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5514 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5515 lt_cv_file_magic_cmd=/usr/bin/file
5516 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5520 lt_cv_deplibs_check_method=pass_all
5524 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5525 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5527 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5531 osf3* | osf4* | osf5*)
5532 lt_cv_deplibs_check_method=pass_all
5536 lt_cv_deplibs_check_method=pass_all
5540 lt_cv_deplibs_check_method=pass_all
5543 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5544 lt_cv_deplibs_check_method=pass_all
5548 case $host_vendor in
5550 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]'
5551 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5554 lt_cv_deplibs_check_method=pass_all
5557 lt_cv_file_magic_cmd='/bin/file'
5558 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5561 lt_cv_file_magic_cmd='/bin/file'
5562 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5563 lt_cv_file_magic_test_file=/lib/libc.so
5566 lt_cv_deplibs_check_method=pass_all
5569 lt_cv_deplibs_check_method=pass_all
5575 lt_cv_deplibs_check_method=pass_all
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5581 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5585 if test "$build" = "$host"; then
5588 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5591 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5597 file_magic_cmd=$lt_cv_file_magic_cmd
5598 deplibs_check_method=$lt_cv_deplibs_check_method
5599 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5622 if test -n "$ac_tool_prefix"; then
5623 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5624 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5626 $as_echo_n "checking for $ac_word... " >&6; }
5627 if ${ac_cv_prog_DLLTOOL+:} false; then :
5628 $as_echo_n "(cached) " >&6
5630 if test -n "$DLLTOOL"; then
5631 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5637 test -z "$as_dir" && as_dir=.
5638 for ac_exec_ext in '' $ac_executable_extensions; do
5639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5640 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5650 DLLTOOL=$ac_cv_prog_DLLTOOL
5651 if test -n "$DLLTOOL"; then
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5653 $as_echo "$DLLTOOL" >&6; }
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5656 $as_echo "no" >&6; }
5661 if test -z "$ac_cv_prog_DLLTOOL"; then
5662 ac_ct_DLLTOOL=$DLLTOOL
5663 # Extract the first word of "dlltool", so it can be a program name with args.
5664 set dummy dlltool; ac_word=$2
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5666 $as_echo_n "checking for $ac_word... " >&6; }
5667 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5668 $as_echo_n "(cached) " >&6
5670 if test -n "$ac_ct_DLLTOOL"; then
5671 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5677 test -z "$as_dir" && as_dir=.
5678 for ac_exec_ext in '' $ac_executable_extensions; do
5679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5680 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5690 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5691 if test -n "$ac_ct_DLLTOOL"; then
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5693 $as_echo "$ac_ct_DLLTOOL" >&6; }
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5696 $as_echo "no" >&6; }
5699 if test "x$ac_ct_DLLTOOL" = x; then
5702 case $cross_compiling:$ac_tool_warned in
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5705 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5706 ac_tool_warned=yes ;;
5708 DLLTOOL=$ac_ct_DLLTOOL
5711 DLLTOOL="$ac_cv_prog_DLLTOOL"
5714 test -z "$DLLTOOL" && DLLTOOL=dlltool
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5726 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5727 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5728 $as_echo_n "(cached) " >&6
5730 lt_cv_sharedlib_from_linklib_cmd='unknown'
5733 cygwin* | mingw* | pw32* | cegcc*)
5734 # two different shell functions defined in ltmain.sh
5735 # decide which to use based on capabilities of $DLLTOOL
5736 case `$DLLTOOL --help 2>&1` in
5737 *--identify-strict*)
5738 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5741 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5746 # fallback: assume linklib IS sharedlib
5747 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5753 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5754 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5755 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5764 if test -n "$ac_tool_prefix"; then
5767 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5768 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5770 $as_echo_n "checking for $ac_word... " >&6; }
5771 if ${ac_cv_prog_AR+:} false; then :
5772 $as_echo_n "(cached) " >&6
5774 if test -n "$AR"; then
5775 ac_cv_prog_AR="$AR" # Let the user override the test.
5777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5781 test -z "$as_dir" && as_dir=.
5782 for ac_exec_ext in '' $ac_executable_extensions; do
5783 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5784 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5795 if test -n "$AR"; then
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5797 $as_echo "$AR" >&6; }
5799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5800 $as_echo "no" >&6; }
5804 test -n "$AR" && break
5807 if test -z "$AR"; then
5811 # Extract the first word of "$ac_prog", so it can be a program name with args.
5812 set dummy $ac_prog; ac_word=$2
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5814 $as_echo_n "checking for $ac_word... " >&6; }
5815 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5816 $as_echo_n "(cached) " >&6
5818 if test -n "$ac_ct_AR"; then
5819 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5825 test -z "$as_dir" && as_dir=.
5826 for ac_exec_ext in '' $ac_executable_extensions; do
5827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5828 ac_cv_prog_ac_ct_AR="$ac_prog"
5829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5838 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5839 if test -n "$ac_ct_AR"; then
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5841 $as_echo "$ac_ct_AR" >&6; }
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5844 $as_echo "no" >&6; }
5848 test -n "$ac_ct_AR" && break
5851 if test "x$ac_ct_AR" = x; then
5854 case $cross_compiling:$ac_tool_warned in
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5857 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5858 ac_tool_warned=yes ;;
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5878 $as_echo_n "checking for archiver @FILE support... " >&6; }
5879 if ${lt_cv_ar_at_file+:} false; then :
5880 $as_echo_n "(cached) " >&6
5883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5884 /* end confdefs.h. */
5894 if ac_fn_c_try_compile "$LINENO"; then :
5895 echo conftest.$ac_objext > conftest.lst
5896 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5897 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5898 (eval $lt_ar_try) 2>&5
5900 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5901 test $ac_status = 0; }
5902 if test "$ac_status" -eq 0; then
5903 # Ensure the archiver fails upon bogus file names.
5904 rm -f conftest.$ac_objext libconftest.a
5905 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5906 (eval $lt_ar_try) 2>&5
5908 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5909 test $ac_status = 0; }
5910 if test "$ac_status" -ne 0; then
5914 rm -f conftest.* libconftest.a
5917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5921 $as_echo "$lt_cv_ar_at_file" >&6; }
5923 if test "x$lt_cv_ar_at_file" = xno; then
5926 archiver_list_spec=$lt_cv_ar_at_file
5935 if test -n "$ac_tool_prefix"; then
5936 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5937 set dummy ${ac_tool_prefix}strip; ac_word=$2
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5939 $as_echo_n "checking for $ac_word... " >&6; }
5940 if ${ac_cv_prog_STRIP+:} false; then :
5941 $as_echo_n "(cached) " >&6
5943 if test -n "$STRIP"; then
5944 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5950 test -z "$as_dir" && as_dir=.
5951 for ac_exec_ext in '' $ac_executable_extensions; do
5952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5953 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5963 STRIP=$ac_cv_prog_STRIP
5964 if test -n "$STRIP"; then
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5966 $as_echo "$STRIP" >&6; }
5968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5969 $as_echo "no" >&6; }
5974 if test -z "$ac_cv_prog_STRIP"; then
5976 # Extract the first word of "strip", so it can be a program name with args.
5977 set dummy strip; ac_word=$2
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5979 $as_echo_n "checking for $ac_word... " >&6; }
5980 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5981 $as_echo_n "(cached) " >&6
5983 if test -n "$ac_ct_STRIP"; then
5984 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5990 test -z "$as_dir" && as_dir=.
5991 for ac_exec_ext in '' $ac_executable_extensions; do
5992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5993 ac_cv_prog_ac_ct_STRIP="strip"
5994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6003 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6004 if test -n "$ac_ct_STRIP"; then
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6006 $as_echo "$ac_ct_STRIP" >&6; }
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6009 $as_echo "no" >&6; }
6012 if test "x$ac_ct_STRIP" = x; then
6015 case $cross_compiling:$ac_tool_warned in
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6018 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6019 ac_tool_warned=yes ;;
6024 STRIP="$ac_cv_prog_STRIP"
6027 test -z "$STRIP" && STRIP=:
6034 if test -n "$ac_tool_prefix"; then
6035 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6036 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6038 $as_echo_n "checking for $ac_word... " >&6; }
6039 if ${ac_cv_prog_RANLIB+:} false; then :
6040 $as_echo_n "(cached) " >&6
6042 if test -n "$RANLIB"; then
6043 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6049 test -z "$as_dir" && as_dir=.
6050 for ac_exec_ext in '' $ac_executable_extensions; do
6051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6052 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6062 RANLIB=$ac_cv_prog_RANLIB
6063 if test -n "$RANLIB"; then
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6065 $as_echo "$RANLIB" >&6; }
6067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6068 $as_echo "no" >&6; }
6073 if test -z "$ac_cv_prog_RANLIB"; then
6074 ac_ct_RANLIB=$RANLIB
6075 # Extract the first word of "ranlib", so it can be a program name with args.
6076 set dummy ranlib; ac_word=$2
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6078 $as_echo_n "checking for $ac_word... " >&6; }
6079 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6080 $as_echo_n "(cached) " >&6
6082 if test -n "$ac_ct_RANLIB"; then
6083 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6089 test -z "$as_dir" && as_dir=.
6090 for ac_exec_ext in '' $ac_executable_extensions; do
6091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6092 ac_cv_prog_ac_ct_RANLIB="ranlib"
6093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6102 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6103 if test -n "$ac_ct_RANLIB"; then
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6105 $as_echo "$ac_ct_RANLIB" >&6; }
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6108 $as_echo "no" >&6; }
6111 if test "x$ac_ct_RANLIB" = x; then
6114 case $cross_compiling:$ac_tool_warned in
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6117 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6118 ac_tool_warned=yes ;;
6120 RANLIB=$ac_ct_RANLIB
6123 RANLIB="$ac_cv_prog_RANLIB"
6126 test -z "$RANLIB" && RANLIB=:
6133 # Determine commands to create old-style static archives.
6134 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6135 old_postinstall_cmds='chmod 644 $oldlib'
6136 old_postuninstall_cmds=
6138 if test -n "$RANLIB"; then
6141 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6144 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6147 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6152 lock_old_archive_extraction=yes ;;
6154 lock_old_archive_extraction=no ;;
6195 # If no C compiler was specified, use CC.
6198 # If no C compiler flags were specified, use CFLAGS.
6199 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6201 # Allow CC to be a program name with arguments.
6205 # Check for command to grab the raw symbol name followed by C symbol from nm.
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6207 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6208 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6209 $as_echo_n "(cached) " >&6
6212 # These are sane defaults that work on at least a few old systems.
6213 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6215 # Character class describing NM global symbol codes.
6216 symcode='[BCDEGRST]'
6218 # Regexp to match symbols that can be accessed directly from C.
6219 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6221 # Define system-specific variables.
6226 cygwin* | mingw* | pw32* | cegcc*)
6227 symcode='[ABCDGISTW]'
6230 if test "$host_cpu" = ia64; then
6231 symcode='[ABCDEGRST]'
6235 symcode='[BCDEGRST]'
6238 symcode='[BCDEGQRST]'
6249 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6257 # If we're using GNU nm, then use its standard symbol codes.
6258 case `$NM -V 2>&1` in
6259 *GNU* | *'with BFD'*)
6260 symcode='[ABCDGIRSTW]' ;;
6263 # Transform an extracted symbol line into a proper C declaration.
6264 # Some systems (esp. on ia64) link data and code symbols differently,
6265 # so use this general approach.
6266 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6268 # Transform an extracted symbol line into symbol name and symbol address
6269 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6270 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'"
6272 # Handle CRLF in mingw tool chain
6276 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6280 # Try without a prefix underscore, then with it.
6281 for ac_symprfx in "" "_"; do
6283 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6284 symxfrm="\\1 $ac_symprfx\\2 \\2"
6286 # Write the raw and C identifiers.
6287 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6288 # Fake it for dumpbin and say T for any non-static function
6289 # and D for any global variable.
6290 # Also find C++ and __fastcall symbols from MSVC++,
6291 # which start with @ or ?.
6292 lt_cv_sys_global_symbol_pipe="$AWK '"\
6293 " {last_section=section; section=\$ 3};"\
6294 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6295 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6296 " \$ 0!~/External *\|/{next};"\
6297 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6298 " {if(hide[section]) next};"\
6299 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6300 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6301 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6302 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6303 " ' prfx=^$ac_symprfx"
6305 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6307 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6309 # Check to see that the pipe works correctly.
6313 cat > conftest.$ac_ext <<_LT_EOF
6318 void nm_test_func(void);
6319 void nm_test_func(void){}
6323 int main(){nm_test_var='a';nm_test_func();return(0);}
6326 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6327 (eval $ac_compile) 2>&5
6329 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6330 test $ac_status = 0; }; then
6331 # Now try to grab the symbols.
6333 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6334 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6336 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6337 test $ac_status = 0; } && test -s "$nlist"; then
6338 # Try sorting and uniquifying the output.
6339 if sort "$nlist" | uniq > "$nlist"T; then
6340 mv -f "$nlist"T "$nlist"
6345 # Make sure that we snagged all the symbols we need.
6346 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6347 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6348 cat <<_LT_EOF > conftest.$ac_ext
6349 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6350 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6351 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6352 relocations are performed -- see ld's documentation on pseudo-relocs. */
6353 # define LT_DLSYM_CONST
6354 #elif defined(__osf__)
6355 /* This system does not cope well with relocations in const data. */
6356 # define LT_DLSYM_CONST
6358 # define LT_DLSYM_CONST const
6366 # Now generate the symbol file.
6367 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6369 cat <<_LT_EOF >> conftest.$ac_ext
6371 /* The mapping between symbol names and symbols. */
6372 LT_DLSYM_CONST struct {
6376 lt__PROGRAM__LTX_preloaded_symbols[] =
6378 { "@PROGRAM@", (void *) 0 },
6380 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6381 cat <<\_LT_EOF >> conftest.$ac_ext
6385 /* This works around a problem in FreeBSD linker */
6386 #ifdef FREEBSD_WORKAROUND
6387 static const void *lt_preloaded_setup() {
6388 return lt__PROGRAM__LTX_preloaded_symbols;
6396 # Now try linking the two files.
6397 mv conftest.$ac_objext conftstm.$ac_objext
6398 lt_globsym_save_LIBS=$LIBS
6399 lt_globsym_save_CFLAGS=$CFLAGS
6400 LIBS="conftstm.$ac_objext"
6401 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6402 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6403 (eval $ac_link) 2>&5
6405 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6406 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6409 LIBS=$lt_globsym_save_LIBS
6410 CFLAGS=$lt_globsym_save_CFLAGS
6412 echo "cannot find nm_test_func in $nlist" >&5
6415 echo "cannot find nm_test_var in $nlist" >&5
6418 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6421 echo "$progname: failed program was:" >&5
6422 cat conftest.$ac_ext >&5
6424 rm -rf conftest* conftst*
6426 # Do not use the global_symbol_pipe unless it works.
6427 if test "$pipe_works" = yes; then
6430 lt_cv_sys_global_symbol_pipe=
6436 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6437 lt_cv_sys_global_symbol_to_cdecl=
6439 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6441 $as_echo "failed" >&6; }
6443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6444 $as_echo "ok" >&6; }
6447 # Response file support.
6448 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6449 nm_file_list_spec='@'
6450 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6451 nm_file_list_spec='@'
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6481 $as_echo_n "checking for sysroot... " >&6; }
6483 # Check whether --with-sysroot was given.
6484 if test "${with_sysroot+set}" = set; then :
6485 withval=$with_sysroot;
6492 case ${with_sysroot} in #(
6494 if test "$GCC" = yes; then
6495 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6499 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6505 $as_echo "${with_sysroot}" >&6; }
6506 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6511 $as_echo "${lt_sysroot:-no}" >&6; }
6517 # Check whether --enable-libtool-lock was given.
6518 if test "${enable_libtool_lock+set}" = set; then :
6519 enableval=$enable_libtool_lock;
6522 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6524 # Some flags need to be propagated to the compiler or linker for good
6528 # Find out which ABI we are using.
6529 echo 'int i;' > conftest.$ac_ext
6530 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6531 (eval $ac_compile) 2>&5
6533 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6534 test $ac_status = 0; }; then
6535 case `/usr/bin/file conftest.$ac_objext` in
6547 # Find out which ABI we are using.
6548 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6549 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6550 (eval $ac_compile) 2>&5
6552 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6553 test $ac_status = 0; }; then
6554 if test "$lt_cv_prog_gnu_ld" = yes; then
6555 case `/usr/bin/file conftest.$ac_objext` in
6557 LD="${LD-ld} -melf32bsmip"
6560 LD="${LD-ld} -melf32bmipn32"
6563 LD="${LD-ld} -melf64bmip"
6567 case `/usr/bin/file conftest.$ac_objext` in
6583 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6584 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6585 # Find out which ABI we are using.
6586 echo 'int i;' > conftest.$ac_ext
6587 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6588 (eval $ac_compile) 2>&5
6590 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6591 test $ac_status = 0; }; then
6592 case `/usr/bin/file conftest.o` in
6595 x86_64-*kfreebsd*-gnu)
6596 LD="${LD-ld} -m elf_i386_fbsd"
6599 LD="${LD-ld} -m elf_i386"
6601 ppc64-*linux*|powerpc64-*linux*)
6602 LD="${LD-ld} -m elf32ppclinux"
6605 LD="${LD-ld} -m elf_s390"
6608 LD="${LD-ld} -m elf32_sparc"
6614 x86_64-*kfreebsd*-gnu)
6615 LD="${LD-ld} -m elf_x86_64_fbsd"
6618 LD="${LD-ld} -m elf_x86_64"
6620 ppc*-*linux*|powerpc*-*linux*)
6621 LD="${LD-ld} -m elf64ppc"
6623 s390*-*linux*|s390*-*tpf*)
6624 LD="${LD-ld} -m elf64_s390"
6627 LD="${LD-ld} -m elf64_sparc"
6637 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6638 SAVE_CFLAGS="$CFLAGS"
6639 CFLAGS="$CFLAGS -belf"
6640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6641 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6642 if ${lt_cv_cc_needs_belf+:} false; then :
6643 $as_echo_n "(cached) " >&6
6646 ac_cpp='$CPP $CPPFLAGS'
6647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6652 /* end confdefs.h. */
6662 if ac_fn_c_try_link "$LINENO"; then :
6663 lt_cv_cc_needs_belf=yes
6665 lt_cv_cc_needs_belf=no
6667 rm -f core conftest.err conftest.$ac_objext \
6668 conftest$ac_exeext conftest.$ac_ext
6670 ac_cpp='$CPP $CPPFLAGS'
6671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6677 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6678 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6679 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6680 CFLAGS="$SAVE_CFLAGS"
6684 # Find out which ABI we are using.
6685 echo 'int i;' > conftest.$ac_ext
6686 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6687 (eval $ac_compile) 2>&5
6689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6690 test $ac_status = 0; }; then
6691 case `/usr/bin/file conftest.o` in
6693 case $lt_cv_prog_gnu_ld in
6697 LD="${LD-ld} -m elf_x86_64"
6700 LD="${LD-ld} -m elf64_sparc"
6703 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6704 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6709 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6721 need_locks="$enable_libtool_lock"
6723 if test -n "$ac_tool_prefix"; then
6724 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6725 set dummy ${ac_tool_prefix}mt; ac_word=$2
6726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6727 $as_echo_n "checking for $ac_word... " >&6; }
6728 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6729 $as_echo_n "(cached) " >&6
6731 if test -n "$MANIFEST_TOOL"; then
6732 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6738 test -z "$as_dir" && as_dir=.
6739 for ac_exec_ext in '' $ac_executable_extensions; do
6740 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6741 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6751 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6752 if test -n "$MANIFEST_TOOL"; then
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6754 $as_echo "$MANIFEST_TOOL" >&6; }
6756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6757 $as_echo "no" >&6; }
6762 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6763 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6764 # Extract the first word of "mt", so it can be a program name with args.
6765 set dummy mt; ac_word=$2
6766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6767 $as_echo_n "checking for $ac_word... " >&6; }
6768 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6769 $as_echo_n "(cached) " >&6
6771 if test -n "$ac_ct_MANIFEST_TOOL"; then
6772 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6778 test -z "$as_dir" && as_dir=.
6779 for ac_exec_ext in '' $ac_executable_extensions; do
6780 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6781 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6782 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6791 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6792 if test -n "$ac_ct_MANIFEST_TOOL"; then
6793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6794 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6797 $as_echo "no" >&6; }
6800 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6803 case $cross_compiling:$ac_tool_warned in
6805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6806 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6807 ac_tool_warned=yes ;;
6809 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6812 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6815 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6817 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6818 if ${lt_cv_path_mainfest_tool+:} false; then :
6819 $as_echo_n "(cached) " >&6
6821 lt_cv_path_mainfest_tool=no
6822 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6823 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6824 cat conftest.err >&5
6825 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6826 lt_cv_path_mainfest_tool=yes
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6831 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6832 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6842 rhapsody* | darwin*)
6843 if test -n "$ac_tool_prefix"; then
6844 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6845 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6847 $as_echo_n "checking for $ac_word... " >&6; }
6848 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6849 $as_echo_n "(cached) " >&6
6851 if test -n "$DSYMUTIL"; then
6852 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6858 test -z "$as_dir" && as_dir=.
6859 for ac_exec_ext in '' $ac_executable_extensions; do
6860 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6861 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6871 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6872 if test -n "$DSYMUTIL"; then
6873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6874 $as_echo "$DSYMUTIL" >&6; }
6876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6877 $as_echo "no" >&6; }
6882 if test -z "$ac_cv_prog_DSYMUTIL"; then
6883 ac_ct_DSYMUTIL=$DSYMUTIL
6884 # Extract the first word of "dsymutil", so it can be a program name with args.
6885 set dummy dsymutil; ac_word=$2
6886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6887 $as_echo_n "checking for $ac_word... " >&6; }
6888 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6889 $as_echo_n "(cached) " >&6
6891 if test -n "$ac_ct_DSYMUTIL"; then
6892 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6898 test -z "$as_dir" && as_dir=.
6899 for ac_exec_ext in '' $ac_executable_extensions; do
6900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6901 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6911 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6912 if test -n "$ac_ct_DSYMUTIL"; then
6913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6914 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6917 $as_echo "no" >&6; }
6920 if test "x$ac_ct_DSYMUTIL" = x; then
6923 case $cross_compiling:$ac_tool_warned in
6925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6926 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6927 ac_tool_warned=yes ;;
6929 DSYMUTIL=$ac_ct_DSYMUTIL
6932 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6935 if test -n "$ac_tool_prefix"; then
6936 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6937 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6939 $as_echo_n "checking for $ac_word... " >&6; }
6940 if ${ac_cv_prog_NMEDIT+:} false; then :
6941 $as_echo_n "(cached) " >&6
6943 if test -n "$NMEDIT"; then
6944 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6950 test -z "$as_dir" && as_dir=.
6951 for ac_exec_ext in '' $ac_executable_extensions; do
6952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6953 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6963 NMEDIT=$ac_cv_prog_NMEDIT
6964 if test -n "$NMEDIT"; then
6965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6966 $as_echo "$NMEDIT" >&6; }
6968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6969 $as_echo "no" >&6; }
6974 if test -z "$ac_cv_prog_NMEDIT"; then
6975 ac_ct_NMEDIT=$NMEDIT
6976 # Extract the first word of "nmedit", so it can be a program name with args.
6977 set dummy nmedit; ac_word=$2
6978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6979 $as_echo_n "checking for $ac_word... " >&6; }
6980 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6981 $as_echo_n "(cached) " >&6
6983 if test -n "$ac_ct_NMEDIT"; then
6984 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6990 test -z "$as_dir" && as_dir=.
6991 for ac_exec_ext in '' $ac_executable_extensions; do
6992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6993 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7003 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7004 if test -n "$ac_ct_NMEDIT"; then
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7006 $as_echo "$ac_ct_NMEDIT" >&6; }
7008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7009 $as_echo "no" >&6; }
7012 if test "x$ac_ct_NMEDIT" = x; then
7015 case $cross_compiling:$ac_tool_warned in
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7018 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7019 ac_tool_warned=yes ;;
7021 NMEDIT=$ac_ct_NMEDIT
7024 NMEDIT="$ac_cv_prog_NMEDIT"
7027 if test -n "$ac_tool_prefix"; then
7028 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7029 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7031 $as_echo_n "checking for $ac_word... " >&6; }
7032 if ${ac_cv_prog_LIPO+:} false; then :
7033 $as_echo_n "(cached) " >&6
7035 if test -n "$LIPO"; then
7036 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7042 test -z "$as_dir" && as_dir=.
7043 for ac_exec_ext in '' $ac_executable_extensions; do
7044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7045 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7055 LIPO=$ac_cv_prog_LIPO
7056 if test -n "$LIPO"; then
7057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7058 $as_echo "$LIPO" >&6; }
7060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7061 $as_echo "no" >&6; }
7066 if test -z "$ac_cv_prog_LIPO"; then
7068 # Extract the first word of "lipo", so it can be a program name with args.
7069 set dummy lipo; ac_word=$2
7070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7071 $as_echo_n "checking for $ac_word... " >&6; }
7072 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7073 $as_echo_n "(cached) " >&6
7075 if test -n "$ac_ct_LIPO"; then
7076 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7082 test -z "$as_dir" && as_dir=.
7083 for ac_exec_ext in '' $ac_executable_extensions; do
7084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7085 ac_cv_prog_ac_ct_LIPO="lipo"
7086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7095 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7096 if test -n "$ac_ct_LIPO"; then
7097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7098 $as_echo "$ac_ct_LIPO" >&6; }
7100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7101 $as_echo "no" >&6; }
7104 if test "x$ac_ct_LIPO" = x; then
7107 case $cross_compiling:$ac_tool_warned in
7109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7110 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7111 ac_tool_warned=yes ;;
7116 LIPO="$ac_cv_prog_LIPO"
7119 if test -n "$ac_tool_prefix"; then
7120 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7121 set dummy ${ac_tool_prefix}otool; ac_word=$2
7122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7123 $as_echo_n "checking for $ac_word... " >&6; }
7124 if ${ac_cv_prog_OTOOL+:} false; then :
7125 $as_echo_n "(cached) " >&6
7127 if test -n "$OTOOL"; then
7128 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7134 test -z "$as_dir" && as_dir=.
7135 for ac_exec_ext in '' $ac_executable_extensions; do
7136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7137 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7147 OTOOL=$ac_cv_prog_OTOOL
7148 if test -n "$OTOOL"; then
7149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7150 $as_echo "$OTOOL" >&6; }
7152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7153 $as_echo "no" >&6; }
7158 if test -z "$ac_cv_prog_OTOOL"; then
7160 # Extract the first word of "otool", so it can be a program name with args.
7161 set dummy otool; ac_word=$2
7162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7163 $as_echo_n "checking for $ac_word... " >&6; }
7164 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7165 $as_echo_n "(cached) " >&6
7167 if test -n "$ac_ct_OTOOL"; then
7168 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7174 test -z "$as_dir" && as_dir=.
7175 for ac_exec_ext in '' $ac_executable_extensions; do
7176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7177 ac_cv_prog_ac_ct_OTOOL="otool"
7178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7187 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7188 if test -n "$ac_ct_OTOOL"; then
7189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7190 $as_echo "$ac_ct_OTOOL" >&6; }
7192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7193 $as_echo "no" >&6; }
7196 if test "x$ac_ct_OTOOL" = x; then
7199 case $cross_compiling:$ac_tool_warned in
7201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7202 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7203 ac_tool_warned=yes ;;
7208 OTOOL="$ac_cv_prog_OTOOL"
7211 if test -n "$ac_tool_prefix"; then
7212 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7213 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7215 $as_echo_n "checking for $ac_word... " >&6; }
7216 if ${ac_cv_prog_OTOOL64+:} false; then :
7217 $as_echo_n "(cached) " >&6
7219 if test -n "$OTOOL64"; then
7220 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7226 test -z "$as_dir" && as_dir=.
7227 for ac_exec_ext in '' $ac_executable_extensions; do
7228 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7229 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7230 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7239 OTOOL64=$ac_cv_prog_OTOOL64
7240 if test -n "$OTOOL64"; then
7241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7242 $as_echo "$OTOOL64" >&6; }
7244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7245 $as_echo "no" >&6; }
7250 if test -z "$ac_cv_prog_OTOOL64"; then
7251 ac_ct_OTOOL64=$OTOOL64
7252 # Extract the first word of "otool64", so it can be a program name with args.
7253 set dummy otool64; ac_word=$2
7254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7255 $as_echo_n "checking for $ac_word... " >&6; }
7256 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7257 $as_echo_n "(cached) " >&6
7259 if test -n "$ac_ct_OTOOL64"; then
7260 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7266 test -z "$as_dir" && as_dir=.
7267 for ac_exec_ext in '' $ac_executable_extensions; do
7268 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7269 ac_cv_prog_ac_ct_OTOOL64="otool64"
7270 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7279 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7280 if test -n "$ac_ct_OTOOL64"; then
7281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7282 $as_echo "$ac_ct_OTOOL64" >&6; }
7284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7285 $as_echo "no" >&6; }
7288 if test "x$ac_ct_OTOOL64" = x; then
7291 case $cross_compiling:$ac_tool_warned in
7293 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7294 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7295 ac_tool_warned=yes ;;
7297 OTOOL64=$ac_ct_OTOOL64
7300 OTOOL64="$ac_cv_prog_OTOOL64"
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7330 $as_echo_n "checking for -single_module linker flag... " >&6; }
7331 if ${lt_cv_apple_cc_single_mod+:} false; then :
7332 $as_echo_n "(cached) " >&6
7334 lt_cv_apple_cc_single_mod=no
7335 if test -z "${LT_MULTI_MODULE}"; then
7336 # By default we will add the -single_module flag. You can override
7337 # by either setting the environment variable LT_MULTI_MODULE
7338 # non-empty at configure time, or by adding -multi_module to the
7340 rm -rf libconftest.dylib*
7341 echo "int foo(void){return 1;}" > conftest.c
7342 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7343 -dynamiclib -Wl,-single_module conftest.c" >&5
7344 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7345 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7347 # If there is a non-empty error log, and "single_module"
7348 # appears in it, assume the flag caused a linker warning
7349 if test -s conftest.err && $GREP single_module conftest.err; then
7350 cat conftest.err >&5
7351 # Otherwise, if the output was created with a 0 exit code from
7352 # the compiler, it worked.
7353 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7354 lt_cv_apple_cc_single_mod=yes
7356 cat conftest.err >&5
7358 rm -rf libconftest.dylib*
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7363 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7366 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7367 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7368 $as_echo_n "(cached) " >&6
7370 lt_cv_ld_exported_symbols_list=no
7371 save_LDFLAGS=$LDFLAGS
7372 echo "_main" > conftest.sym
7373 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7375 /* end confdefs.h. */
7385 if ac_fn_c_try_link "$LINENO"; then :
7386 lt_cv_ld_exported_symbols_list=yes
7388 lt_cv_ld_exported_symbols_list=no
7390 rm -f core conftest.err conftest.$ac_objext \
7391 conftest$ac_exeext conftest.$ac_ext
7392 LDFLAGS="$save_LDFLAGS"
7395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7396 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7399 $as_echo_n "checking for -force_load linker flag... " >&6; }
7400 if ${lt_cv_ld_force_load+:} false; then :
7401 $as_echo_n "(cached) " >&6
7403 lt_cv_ld_force_load=no
7404 cat > conftest.c << _LT_EOF
7405 int forced_loaded() { return 2;}
7407 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7408 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7409 echo "$AR cru libconftest.a conftest.o" >&5
7410 $AR cru libconftest.a conftest.o 2>&5
7411 echo "$RANLIB libconftest.a" >&5
7412 $RANLIB libconftest.a 2>&5
7413 cat > conftest.c << _LT_EOF
7414 int main() { return 0;}
7416 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7417 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7419 if test -s conftest.err && $GREP force_load conftest.err; then
7420 cat conftest.err >&5
7421 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7422 lt_cv_ld_force_load=yes
7424 cat conftest.err >&5
7426 rm -f conftest.err libconftest.a conftest conftest.c
7427 rm -rf conftest.dSYM
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7431 $as_echo "$lt_cv_ld_force_load" >&6; }
7433 rhapsody* | darwin1.[012])
7434 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7436 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7437 darwin*) # darwin 5.x on
7438 # if running on 10.5 or later, the deployment target defaults
7439 # to the OS version, if on x86, and 10.4, the deployment
7440 # target defaults to 10.4. Don't you love it?
7441 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7442 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7443 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7445 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7447 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7451 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7452 _lt_dar_single_mod='$single_module'
7454 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7455 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7457 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7459 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7460 _lt_dsymutil='~$DSYMUTIL $lib || :'
7468 ac_cpp='$CPP $CPPFLAGS'
7469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7473 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7474 # On Suns, sometimes $CPP names a directory.
7475 if test -n "$CPP" && test -d "$CPP"; then
7478 if test -z "$CPP"; then
7479 if ${ac_cv_prog_CPP+:} false; then :
7480 $as_echo_n "(cached) " >&6
7482 # Double quotes because CPP needs to be expanded
7483 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7486 for ac_c_preproc_warn_flag in '' yes
7488 # Use a header file that comes with gcc, so configuring glibc
7489 # with a fresh cross-compiler works.
7490 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7491 # <limits.h> exists even on freestanding compilers.
7492 # On the NeXT, cc -E runs the code through the compiler's parser,
7493 # not just through cpp. "Syntax error" is here to catch this case.
7494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7495 /* end confdefs.h. */
7497 # include <limits.h>
7499 # include <assert.h>
7503 if ac_fn_c_try_cpp "$LINENO"; then :
7506 # Broken: fails on valid input.
7509 rm -f conftest.err conftest.i conftest.$ac_ext
7511 # OK, works on sane cases. Now check whether nonexistent headers
7512 # can be detected and how.
7513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7514 /* end confdefs.h. */
7515 #include <ac_nonexistent.h>
7517 if ac_fn_c_try_cpp "$LINENO"; then :
7518 # Broken: success on invalid input.
7521 # Passes both tests.
7525 rm -f conftest.err conftest.i conftest.$ac_ext
7528 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7529 rm -f conftest.i conftest.err conftest.$ac_ext
7530 if $ac_preproc_ok; then :
7542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7543 $as_echo "$CPP" >&6; }
7545 for ac_c_preproc_warn_flag in '' yes
7547 # Use a header file that comes with gcc, so configuring glibc
7548 # with a fresh cross-compiler works.
7549 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7550 # <limits.h> exists even on freestanding compilers.
7551 # On the NeXT, cc -E runs the code through the compiler's parser,
7552 # not just through cpp. "Syntax error" is here to catch this case.
7553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7554 /* end confdefs.h. */
7556 # include <limits.h>
7558 # include <assert.h>
7562 if ac_fn_c_try_cpp "$LINENO"; then :
7565 # Broken: fails on valid input.
7568 rm -f conftest.err conftest.i conftest.$ac_ext
7570 # OK, works on sane cases. Now check whether nonexistent headers
7571 # can be detected and how.
7572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7573 /* end confdefs.h. */
7574 #include <ac_nonexistent.h>
7576 if ac_fn_c_try_cpp "$LINENO"; then :
7577 # Broken: success on invalid input.
7580 # Passes both tests.
7584 rm -f conftest.err conftest.i conftest.$ac_ext
7587 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7588 rm -f conftest.i conftest.err conftest.$ac_ext
7589 if $ac_preproc_ok; then :
7592 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7593 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7594 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7595 See \`config.log' for more details" "$LINENO" 5; }
7599 ac_cpp='$CPP $CPPFLAGS'
7600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7606 $as_echo_n "checking for ANSI C header files... " >&6; }
7607 if ${ac_cv_header_stdc+:} false; then :
7608 $as_echo_n "(cached) " >&6
7610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7611 /* end confdefs.h. */
7625 if ac_fn_c_try_compile "$LINENO"; then :
7626 ac_cv_header_stdc=yes
7628 ac_cv_header_stdc=no
7630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7632 if test $ac_cv_header_stdc = yes; then
7633 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7635 /* end confdefs.h. */
7639 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7640 $EGREP "memchr" >/dev/null 2>&1; then :
7643 ac_cv_header_stdc=no
7649 if test $ac_cv_header_stdc = yes; then
7650 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7652 /* end confdefs.h. */
7656 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7657 $EGREP "free" >/dev/null 2>&1; then :
7660 ac_cv_header_stdc=no
7666 if test $ac_cv_header_stdc = yes; then
7667 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7668 if test "$cross_compiling" = yes; then :
7671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7672 /* end confdefs.h. */
7675 #if ((' ' & 0x0FF) == 0x020)
7676 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7677 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7679 # define ISLOWER(c) \
7680 (('a' <= (c) && (c) <= 'i') \
7681 || ('j' <= (c) && (c) <= 'r') \
7682 || ('s' <= (c) && (c) <= 'z'))
7683 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7686 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7691 for (i = 0; i < 256; i++)
7692 if (XOR (islower (i), ISLOWER (i))
7693 || toupper (i) != TOUPPER (i))
7698 if ac_fn_c_try_run "$LINENO"; then :
7701 ac_cv_header_stdc=no
7703 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7704 conftest.$ac_objext conftest.beam conftest.$ac_ext
7709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7710 $as_echo "$ac_cv_header_stdc" >&6; }
7711 if test $ac_cv_header_stdc = yes; then
7713 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7717 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7718 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7719 inttypes.h stdint.h unistd.h
7721 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7722 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7724 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7725 cat >>confdefs.h <<_ACEOF
7726 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7734 for ac_header in dlfcn.h
7736 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7738 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7739 cat >>confdefs.h <<_ACEOF
7740 #define HAVE_DLFCN_H 1
7750 func_stripname_cnf ()
7753 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
7754 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
7756 } # func_stripname_cnf
7772 # Check whether --enable-shared was given.
7773 if test "${enable_shared+set}" = set; then :
7774 enableval=$enable_shared; p=${PACKAGE-default}
7776 yes) enable_shared=yes ;;
7777 no) enable_shared=no ;;
7780 # Look at the argument we got. We use all the common list separators.
7781 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7782 for pkg in $enableval; do
7784 if test "X$pkg" = "X$p"; then
7803 # Check whether --enable-static was given.
7804 if test "${enable_static+set}" = set; then :
7805 enableval=$enable_static; p=${PACKAGE-default}
7807 yes) enable_static=yes ;;
7808 no) enable_static=no ;;
7811 # Look at the argument we got. We use all the common list separators.
7812 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7813 for pkg in $enableval; do
7815 if test "X$pkg" = "X$p"; then
7835 # Check whether --with-pic was given.
7836 if test "${with_pic+set}" = set; then :
7837 withval=$with_pic; lt_p=${PACKAGE-default}
7839 yes|no) pic_mode=$withval ;;
7842 # Look at the argument we got. We use all the common list separators.
7843 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7844 for lt_pkg in $withval; do
7846 if test "X$lt_pkg" = "X$lt_p"; then
7858 test -z "$pic_mode" && pic_mode=default
7866 # Check whether --enable-fast-install was given.
7867 if test "${enable_fast_install+set}" = set; then :
7868 enableval=$enable_fast_install; p=${PACKAGE-default}
7870 yes) enable_fast_install=yes ;;
7871 no) enable_fast_install=no ;;
7873 enable_fast_install=no
7874 # Look at the argument we got. We use all the common list separators.
7875 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7876 for pkg in $enableval; do
7878 if test "X$pkg" = "X$p"; then
7879 enable_fast_install=yes
7886 enable_fast_install=yes
7899 # This can be used to rebuild libtool when needed
7900 LIBTOOL_DEPS="$ltmain"
7902 # Always use our own libtool.
7903 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7934 test -z "$LN_S" && LN_S="ln -s"
7949 if test -n "${ZSH_VERSION+set}" ; then
7950 setopt NO_GLOB_SUBST
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7954 $as_echo_n "checking for objdir... " >&6; }
7955 if ${lt_cv_objdir+:} false; then :
7956 $as_echo_n "(cached) " >&6
7958 rm -f .libs 2>/dev/null
7959 mkdir .libs 2>/dev/null
7960 if test -d .libs; then
7963 # MS-DOS does not allow filenames that begin with a dot.
7966 rmdir .libs 2>/dev/null
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7969 $as_echo "$lt_cv_objdir" >&6; }
7970 objdir=$lt_cv_objdir
7976 cat >>confdefs.h <<_ACEOF
7977 #define LT_OBJDIR "$lt_cv_objdir/"
7985 # AIX sometimes has problems with the GCC collect2 program. For some
7986 # reason, if we set the COLLECT_NAMES environment variable, the problems
7987 # vanish in a puff of smoke.
7988 if test "X${COLLECT_NAMES+set}" != Xset; then
7990 export COLLECT_NAMES
7997 can_build_shared=yes
7999 # All known linkers require a `.a' archive for static linking (except MSVC,
8000 # which needs '.lib').
8003 with_gnu_ld="$lt_cv_prog_gnu_ld"
8006 old_CFLAGS="$CFLAGS"
8008 # Set sane defaults for various variables
8009 test -z "$CC" && CC=cc
8010 test -z "$LTCC" && LTCC=$CC
8011 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8012 test -z "$LD" && LD=ld
8013 test -z "$ac_objext" && ac_objext=o
8015 for cc_temp in $compiler""; do
8017 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8018 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8023 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8026 # Only perform the check for file, if the check method requires it
8027 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8028 case $deplibs_check_method in
8030 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8032 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8033 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8034 $as_echo_n "(cached) " >&6
8038 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8041 lt_save_MAGIC_CMD="$MAGIC_CMD"
8042 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8043 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8044 for ac_dir in $ac_dummy; do
8046 test -z "$ac_dir" && ac_dir=.
8047 if test -f $ac_dir/${ac_tool_prefix}file; then
8048 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8049 if test -n "$file_magic_test_file"; then
8050 case $deplibs_check_method in
8052 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8053 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8054 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8055 $EGREP "$file_magic_regex" > /dev/null; then
8060 *** Warning: the command libtool uses to detect shared libraries,
8061 *** $file_magic_cmd, produces output that libtool cannot recognize.
8062 *** The result is that libtool may fail to recognize shared libraries
8063 *** as such. This will affect the creation of libtool libraries that
8064 *** depend on shared libraries, but programs linked with such libtool
8065 *** libraries will work regardless of this problem. Nevertheless, you
8066 *** may want to report the problem to your system manager and/or to
8067 *** bug-libtool@gnu.org
8077 MAGIC_CMD="$lt_save_MAGIC_CMD"
8082 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8083 if test -n "$MAGIC_CMD"; then
8084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8085 $as_echo "$MAGIC_CMD" >&6; }
8087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8088 $as_echo "no" >&6; }
8095 if test -z "$lt_cv_path_MAGIC_CMD"; then
8096 if test -n "$ac_tool_prefix"; then
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8098 $as_echo_n "checking for file... " >&6; }
8099 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8100 $as_echo_n "(cached) " >&6
8104 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8107 lt_save_MAGIC_CMD="$MAGIC_CMD"
8108 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8109 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8110 for ac_dir in $ac_dummy; do
8112 test -z "$ac_dir" && ac_dir=.
8113 if test -f $ac_dir/file; then
8114 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8115 if test -n "$file_magic_test_file"; then
8116 case $deplibs_check_method in
8118 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8119 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8120 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8121 $EGREP "$file_magic_regex" > /dev/null; then
8126 *** Warning: the command libtool uses to detect shared libraries,
8127 *** $file_magic_cmd, produces output that libtool cannot recognize.
8128 *** The result is that libtool may fail to recognize shared libraries
8129 *** as such. This will affect the creation of libtool libraries that
8130 *** depend on shared libraries, but programs linked with such libtool
8131 *** libraries will work regardless of this problem. Nevertheless, you
8132 *** may want to report the problem to your system manager and/or to
8133 *** bug-libtool@gnu.org
8143 MAGIC_CMD="$lt_save_MAGIC_CMD"
8148 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8149 if test -n "$MAGIC_CMD"; then
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8151 $as_echo "$MAGIC_CMD" >&6; }
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8154 $as_echo "no" >&6; }
8167 # Use C for the default configuration in the libtool script
8171 ac_cpp='$CPP $CPPFLAGS'
8172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8177 # Source file extension for C test sources.
8180 # Object file extension for compiled C test sources.
8184 # Code to be used in simple compile tests
8185 lt_simple_compile_test_code="int some_variable = 0;"
8187 # Code to be used in simple link tests
8188 lt_simple_link_test_code='int main(){return(0);}'
8196 # If no C compiler was specified, use CC.
8199 # If no C compiler flags were specified, use CFLAGS.
8200 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8202 # Allow CC to be a program name with arguments.
8205 # Save the default compiler, since it gets overwritten when the other
8206 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8207 compiler_DEFAULT=$CC
8209 # save warnings/boilerplate of simple test code
8210 ac_outfile=conftest.$ac_objext
8211 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8212 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8213 _lt_compiler_boilerplate=`cat conftest.err`
8216 ac_outfile=conftest.$ac_objext
8217 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8218 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8219 _lt_linker_boilerplate=`cat conftest.err`
8224 ## There is no encapsulation within the following macros, do not change
8225 ## the running order or otherwise move them around unless you know exactly
8226 ## what you are doing...
8227 if test -n "$compiler"; then
8229 lt_prog_compiler_no_builtin_flag=
8231 if test "$GCC" = yes; then
8232 case $cc_basename in
8234 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8236 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8240 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8241 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8242 $as_echo_n "(cached) " >&6
8244 lt_cv_prog_compiler_rtti_exceptions=no
8245 ac_outfile=conftest.$ac_objext
8246 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8247 lt_compiler_flag="-fno-rtti -fno-exceptions"
8248 # Insert the option either (1) after the last *FLAGS variable, or
8249 # (2) before a word containing "conftest.", or (3) at the end.
8250 # Note that $ac_compile itself does not contain backslashes and begins
8251 # with a dollar sign (not a hyphen), so the echo should work correctly.
8252 # The option is referenced via a variable to avoid confusing sed.
8253 lt_compile=`echo "$ac_compile" | $SED \
8254 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8255 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8256 -e 's:$: $lt_compiler_flag:'`
8257 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8258 (eval "$lt_compile" 2>conftest.err)
8260 cat conftest.err >&5
8261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8262 if (exit $ac_status) && test -s "$ac_outfile"; then
8263 # The compiler can only warn and ignore the option if not recognized
8264 # So say no if there are warnings other than the usual output.
8265 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8266 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8267 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8268 lt_cv_prog_compiler_rtti_exceptions=yes
8274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8275 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8277 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8278 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8290 lt_prog_compiler_wl=
8291 lt_prog_compiler_pic=
8292 lt_prog_compiler_static=
8295 if test "$GCC" = yes; then
8296 lt_prog_compiler_wl='-Wl,'
8297 lt_prog_compiler_static='-static'
8301 # All AIX code is PIC.
8302 if test "$host_cpu" = ia64; then
8303 # AIX 5 now supports IA64 processor
8304 lt_prog_compiler_static='-Bstatic'
8311 # see comment about AmigaOS4 .so support
8312 lt_prog_compiler_pic='-fPIC'
8315 # FIXME: we need at least 68020 code to build shared libraries, but
8316 # adding the `-m68020' flag to GCC prevents building anything better,
8318 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8323 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8324 # PIC is the default for these OSes.
8327 mingw* | cygwin* | pw32* | os2* | cegcc*)
8328 # This hack is so that the source file can tell whether it is being
8329 # built for inclusion in a dll (and should export symbols for example).
8330 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8331 # (--disable-auto-import) libraries
8332 lt_prog_compiler_pic='-DDLL_EXPORT'
8335 darwin* | rhapsody*)
8336 # PIC is the default on this platform
8337 # Common symbols not allowed in MH_DYLIB files
8338 lt_prog_compiler_pic='-fno-common'
8342 # PIC is the default for Haiku.
8343 # The "-static" flag exists, but is broken.
8344 lt_prog_compiler_static=
8348 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8349 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8350 # sets the default TLS model and affects inlining.
8356 lt_prog_compiler_pic='-fPIC'
8362 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8363 # Instead, we relocate shared libraries at runtime.
8367 # Just because we use GCC doesn't mean we suddenly get shared libraries
8368 # on systems that don't support them.
8369 lt_prog_compiler_can_build_shared=no
8374 # QNX uses GNU C++, but need to define -shared option too, otherwise
8376 lt_prog_compiler_pic='-fPIC -shared'
8380 if test -d /usr/nec; then
8381 lt_prog_compiler_pic=-Kconform_pic
8386 lt_prog_compiler_pic='-fPIC'
8390 case $cc_basename in
8391 nvcc*) # Cuda Compiler Driver 2.2
8392 lt_prog_compiler_wl='-Xlinker '
8393 if test -n "$lt_prog_compiler_pic"; then
8394 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8399 # PORTME Check for flag to pass linker flags through the system compiler.
8402 lt_prog_compiler_wl='-Wl,'
8403 if test "$host_cpu" = ia64; then
8404 # AIX 5 now supports IA64 processor
8405 lt_prog_compiler_static='-Bstatic'
8407 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8411 mingw* | cygwin* | pw32* | os2* | cegcc*)
8412 # This hack is so that the source file can tell whether it is being
8413 # built for inclusion in a dll (and should export symbols for example).
8414 lt_prog_compiler_pic='-DDLL_EXPORT'
8417 hpux9* | hpux10* | hpux11*)
8418 lt_prog_compiler_wl='-Wl,'
8419 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8426 lt_prog_compiler_pic='+Z'
8429 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8430 lt_prog_compiler_static='${wl}-a ${wl}archive'
8433 irix5* | irix6* | nonstopux*)
8434 lt_prog_compiler_wl='-Wl,'
8435 # PIC (with -KPIC) is the default.
8436 lt_prog_compiler_static='-non_shared'
8439 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8440 case $cc_basename in
8441 # old Intel for x86_64 which still supported -KPIC.
8443 lt_prog_compiler_wl='-Wl,'
8444 lt_prog_compiler_pic='-KPIC'
8445 lt_prog_compiler_static='-static'
8447 # icc used to be incompatible with GCC.
8448 # ICC 10 doesn't accept -KPIC any more.
8450 lt_prog_compiler_wl='-Wl,'
8451 lt_prog_compiler_pic='-fPIC'
8452 lt_prog_compiler_static='-static'
8454 # Lahey Fortran 8.1.
8456 lt_prog_compiler_wl='-Wl,'
8457 lt_prog_compiler_pic='--shared'
8458 lt_prog_compiler_static='--static'
8461 # NAG Fortran compiler
8462 lt_prog_compiler_wl='-Wl,-Wl,,'
8463 lt_prog_compiler_pic='-PIC'
8464 lt_prog_compiler_static='-Bstatic'
8466 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8467 # Portland Group compilers (*not* the Pentium gcc compiler,
8468 # which looks to be a dead project)
8469 lt_prog_compiler_wl='-Wl,'
8470 lt_prog_compiler_pic='-fpic'
8471 lt_prog_compiler_static='-Bstatic'
8474 lt_prog_compiler_wl='-Wl,'
8475 # All Alpha code is PIC.
8476 lt_prog_compiler_static='-non_shared'
8478 xl* | bgxl* | bgf* | mpixl*)
8479 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8480 lt_prog_compiler_wl='-Wl,'
8481 lt_prog_compiler_pic='-qpic'
8482 lt_prog_compiler_static='-qstaticlink'
8485 case `$CC -V 2>&1 | sed 5q` in
8486 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8487 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8488 lt_prog_compiler_pic='-KPIC'
8489 lt_prog_compiler_static='-Bstatic'
8490 lt_prog_compiler_wl=''
8492 *Sun\ F* | *Sun*Fortran*)
8493 lt_prog_compiler_pic='-KPIC'
8494 lt_prog_compiler_static='-Bstatic'
8495 lt_prog_compiler_wl='-Qoption ld '
8499 lt_prog_compiler_pic='-KPIC'
8500 lt_prog_compiler_static='-Bstatic'
8501 lt_prog_compiler_wl='-Wl,'
8503 *Intel*\ [CF]*Compiler*)
8504 lt_prog_compiler_wl='-Wl,'
8505 lt_prog_compiler_pic='-fPIC'
8506 lt_prog_compiler_static='-static'
8509 lt_prog_compiler_wl='-Wl,'
8510 lt_prog_compiler_pic='-fpic'
8511 lt_prog_compiler_static='-Bstatic'
8519 lt_prog_compiler_pic='-KPIC'
8520 lt_prog_compiler_static='-Bstatic'
8524 # QNX uses GNU C++, but need to define -shared option too, otherwise
8526 lt_prog_compiler_pic='-fPIC -shared'
8529 osf3* | osf4* | osf5*)
8530 lt_prog_compiler_wl='-Wl,'
8531 # All OSF/1 code is PIC.
8532 lt_prog_compiler_static='-non_shared'
8536 lt_prog_compiler_static='-non_shared'
8540 lt_prog_compiler_pic='-KPIC'
8541 lt_prog_compiler_static='-Bstatic'
8542 case $cc_basename in
8543 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8544 lt_prog_compiler_wl='-Qoption ld ';;
8546 lt_prog_compiler_wl='-Wl,';;
8551 lt_prog_compiler_wl='-Qoption ld '
8552 lt_prog_compiler_pic='-PIC'
8553 lt_prog_compiler_static='-Bstatic'
8556 sysv4 | sysv4.2uw2* | sysv4.3*)
8557 lt_prog_compiler_wl='-Wl,'
8558 lt_prog_compiler_pic='-KPIC'
8559 lt_prog_compiler_static='-Bstatic'
8563 if test -d /usr/nec ;then
8564 lt_prog_compiler_pic='-Kconform_pic'
8565 lt_prog_compiler_static='-Bstatic'
8569 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8570 lt_prog_compiler_wl='-Wl,'
8571 lt_prog_compiler_pic='-KPIC'
8572 lt_prog_compiler_static='-Bstatic'
8576 lt_prog_compiler_wl='-Wl,'
8577 lt_prog_compiler_can_build_shared=no
8581 lt_prog_compiler_pic='-pic'
8582 lt_prog_compiler_static='-Bstatic'
8586 lt_prog_compiler_can_build_shared=no
8592 # For platforms which do not support PIC, -DPIC is meaningless:
8594 lt_prog_compiler_pic=
8597 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8602 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8603 if ${lt_cv_prog_compiler_pic+:} false; then :
8604 $as_echo_n "(cached) " >&6
8606 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8609 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8610 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8613 # Check to make sure the PIC flag actually works.
8615 if test -n "$lt_prog_compiler_pic"; then
8616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8617 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8618 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8619 $as_echo_n "(cached) " >&6
8621 lt_cv_prog_compiler_pic_works=no
8622 ac_outfile=conftest.$ac_objext
8623 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8624 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8625 # Insert the option either (1) after the last *FLAGS variable, or
8626 # (2) before a word containing "conftest.", or (3) at the end.
8627 # Note that $ac_compile itself does not contain backslashes and begins
8628 # with a dollar sign (not a hyphen), so the echo should work correctly.
8629 # The option is referenced via a variable to avoid confusing sed.
8630 lt_compile=`echo "$ac_compile" | $SED \
8631 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8632 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8633 -e 's:$: $lt_compiler_flag:'`
8634 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8635 (eval "$lt_compile" 2>conftest.err)
8637 cat conftest.err >&5
8638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8639 if (exit $ac_status) && test -s "$ac_outfile"; then
8640 # The compiler can only warn and ignore the option if not recognized
8641 # So say no if there are warnings other than the usual output.
8642 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8643 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8644 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8645 lt_cv_prog_compiler_pic_works=yes
8651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8652 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8654 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8655 case $lt_prog_compiler_pic in
8657 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8660 lt_prog_compiler_pic=
8661 lt_prog_compiler_can_build_shared=no
8677 # Check to make sure the static flag actually works.
8679 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8681 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8682 if ${lt_cv_prog_compiler_static_works+:} false; then :
8683 $as_echo_n "(cached) " >&6
8685 lt_cv_prog_compiler_static_works=no
8686 save_LDFLAGS="$LDFLAGS"
8687 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8688 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8689 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8690 # The linker can only warn and ignore the option if not recognized
8691 # So say no if there are warnings
8692 if test -s conftest.err; then
8693 # Append any errors to the config.log.
8694 cat conftest.err 1>&5
8695 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8696 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8697 if diff conftest.exp conftest.er2 >/dev/null; then
8698 lt_cv_prog_compiler_static_works=yes
8701 lt_cv_prog_compiler_static_works=yes
8705 LDFLAGS="$save_LDFLAGS"
8708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8709 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8711 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8714 lt_prog_compiler_static=
8723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8724 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8725 if ${lt_cv_prog_compiler_c_o+:} false; then :
8726 $as_echo_n "(cached) " >&6
8728 lt_cv_prog_compiler_c_o=no
8729 $RM -r conftest 2>/dev/null
8733 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8735 lt_compiler_flag="-o out/conftest2.$ac_objext"
8736 # Insert the option either (1) after the last *FLAGS variable, or
8737 # (2) before a word containing "conftest.", or (3) at the end.
8738 # Note that $ac_compile itself does not contain backslashes and begins
8739 # with a dollar sign (not a hyphen), so the echo should work correctly.
8740 lt_compile=`echo "$ac_compile" | $SED \
8741 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8742 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8743 -e 's:$: $lt_compiler_flag:'`
8744 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8745 (eval "$lt_compile" 2>out/conftest.err)
8747 cat out/conftest.err >&5
8748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8749 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8751 # The compiler can only warn and ignore the option if not recognized
8752 # So say no if there are warnings
8753 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8754 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8755 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8756 lt_cv_prog_compiler_c_o=yes
8761 # SGI C++ compiler will create directory out/ii_files/ for
8762 # template instantiation
8763 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8764 $RM out/* && rmdir out
8770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8771 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8779 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8780 if ${lt_cv_prog_compiler_c_o+:} false; then :
8781 $as_echo_n "(cached) " >&6
8783 lt_cv_prog_compiler_c_o=no
8784 $RM -r conftest 2>/dev/null
8788 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8790 lt_compiler_flag="-o out/conftest2.$ac_objext"
8791 # Insert the option either (1) after the last *FLAGS variable, or
8792 # (2) before a word containing "conftest.", or (3) at the end.
8793 # Note that $ac_compile itself does not contain backslashes and begins
8794 # with a dollar sign (not a hyphen), so the echo should work correctly.
8795 lt_compile=`echo "$ac_compile" | $SED \
8796 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8797 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8798 -e 's:$: $lt_compiler_flag:'`
8799 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8800 (eval "$lt_compile" 2>out/conftest.err)
8802 cat out/conftest.err >&5
8803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8804 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8806 # The compiler can only warn and ignore the option if not recognized
8807 # So say no if there are warnings
8808 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8809 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8810 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8811 lt_cv_prog_compiler_c_o=yes
8816 # SGI C++ compiler will create directory out/ii_files/ for
8817 # template instantiation
8818 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8819 $RM out/* && rmdir out
8825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8826 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8831 hard_links="nottested"
8832 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8833 # do not overwrite the value of need_locks provided by the user
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8835 $as_echo_n "checking if we can lock with hard links... " >&6; }
8838 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8840 ln conftest.a conftest.b 2>&5 || hard_links=no
8841 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8843 $as_echo "$hard_links" >&6; }
8844 if test "$hard_links" = no; then
8845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8846 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8859 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8862 allow_undefined_flag=
8863 always_export_symbols=no
8865 archive_expsym_cmds=
8866 compiler_needs_object=no
8867 enable_shared_with_static_runtimes=no
8868 export_dynamic_flag_spec=
8869 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8870 hardcode_automatic=no
8872 hardcode_direct_absolute=no
8873 hardcode_libdir_flag_spec=
8874 hardcode_libdir_separator=
8876 hardcode_shlibpath_var=unsupported
8878 link_all_deplibs=unknown
8881 old_archive_from_new_cmds=
8882 old_archive_from_expsyms_cmds=
8883 thread_safe_flag_spec=
8884 whole_archive_flag_spec=
8885 # include_expsyms should be a list of space-separated symbols to be *always*
8886 # included in the symbol list
8888 # exclude_expsyms can be an extended regexp of symbols to exclude
8889 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8890 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8891 # as well as any symbol that contains `d'.
8892 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8893 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8894 # platforms (ab)use it in PIC code, but their linkers get confused if
8895 # the symbol is explicitly referenced. Since portable code cannot
8896 # rely on this symbol name, it's probably fine to never include it in
8897 # preloaded symbol tables.
8898 # Exclude shared library initialization/finalization symbols.
8899 extract_expsyms_cmds=
8902 cygwin* | mingw* | pw32* | cegcc*)
8903 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8904 # When not using gcc, we currently assume that we are using
8905 # Microsoft Visual C++.
8906 if test "$GCC" != yes; then
8911 # we just hope/assume this is gcc and not c89 (= MSVC++)
8921 # On some targets, GNU ld is compatible enough with the native linker
8922 # that we're better off using the native interface for both.
8923 lt_use_gnu_ld_interface=no
8924 if test "$with_gnu_ld" = yes; then
8927 # The AIX port of GNU ld has always aspired to compatibility
8928 # with the native linker. However, as the warning in the GNU ld
8929 # block says, versions before 2.19.5* couldn't really create working
8930 # shared libraries, regardless of the interface used.
8931 case `$LD -v 2>&1` in
8932 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8933 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8934 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8936 lt_use_gnu_ld_interface=yes
8941 lt_use_gnu_ld_interface=yes
8946 if test "$lt_use_gnu_ld_interface" = yes; then
8947 # If archive_cmds runs LD, not CC, wlarc should be empty
8950 # Set some defaults for GNU ld with shared library support. These
8951 # are reset later if shared libraries are not supported. Putting them
8952 # here allows them to be overridden if necessary.
8953 runpath_var=LD_RUN_PATH
8954 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8955 export_dynamic_flag_spec='${wl}--export-dynamic'
8956 # ancient GNU ld didn't support --whole-archive et. al.
8957 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8958 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8960 whole_archive_flag_spec=
8962 supports_anon_versioning=no
8963 case `$LD -v 2>&1` in
8964 *GNU\ gold*) supports_anon_versioning=yes ;;
8965 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8966 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8967 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8968 *\ 2.11.*) ;; # other 2.11 versions
8969 *) supports_anon_versioning=yes ;;
8972 # See if GNU ld supports shared libraries.
8975 # On AIX/PPC, the GNU linker is very broken
8976 if test "$host_cpu" != ia64; then
8980 *** Warning: the GNU linker, at least up to release 2.19, is reported
8981 *** to be unable to reliably create shared libraries on AIX.
8982 *** Therefore, libtool is disabling shared libraries support. If you
8983 *** really care for shared libraries, you may want to install binutils
8984 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8985 *** You will then need to restart the configuration process.
8994 # see comment about AmigaOS4 .so support
8995 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8996 archive_expsym_cmds=''
8999 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)'
9000 hardcode_libdir_flag_spec='-L$libdir'
9001 hardcode_minus_L=yes
9007 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9008 allow_undefined_flag=unsupported
9009 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9010 # support --undefined. This deserves some investigation. FIXME
9011 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9017 cygwin* | mingw* | pw32* | cegcc*)
9018 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9019 # as there is no search path for DLLs.
9020 hardcode_libdir_flag_spec='-L$libdir'
9021 export_dynamic_flag_spec='${wl}--export-all-symbols'
9022 allow_undefined_flag=unsupported
9023 always_export_symbols=no
9024 enable_shared_with_static_runtimes=yes
9025 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'
9026 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9028 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9029 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9030 # If the export-symbols file already is a .def file (1st line
9031 # is EXPORTS), use it as is; otherwise, prepend...
9032 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9033 cp $export_symbols $output_objdir/$soname.def;
9035 echo EXPORTS > $output_objdir/$soname.def;
9036 cat $export_symbols >> $output_objdir/$soname.def;
9038 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9045 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9046 link_all_deplibs=yes
9051 hardcode_shlibpath_var=no
9052 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9053 export_dynamic_flag_spec='${wl}-E'
9054 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9055 # Instead, shared libraries are loaded at an image base (0x10000000 by
9056 # default) and relocated if they conflict, which is a slow very memory
9057 # consuming and fragmenting process. To avoid this, we pick a random,
9058 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9059 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9060 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9061 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'
9064 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9066 if test "$host_os" = linux-dietlibc; then
9067 case $cc_basename in
9068 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9071 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9072 && test "$tmp_diet" = no
9074 tmp_addflag=' $pic_flag'
9075 tmp_sharedflag='-shared'
9076 case $cc_basename,$host_cpu in
9077 pgcc*) # Portland Group C compiler
9078 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'
9079 tmp_addflag=' $pic_flag'
9081 pgf77* | pgf90* | pgf95* | pgfortran*)
9082 # Portland Group f77 and f90 compilers
9083 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'
9084 tmp_addflag=' $pic_flag -Mnomain' ;;
9085 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9086 tmp_addflag=' -i_dynamic' ;;
9087 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9088 tmp_addflag=' -i_dynamic -nofor_main' ;;
9089 ifc* | ifort*) # Intel Fortran compiler
9090 tmp_addflag=' -nofor_main' ;;
9091 lf95*) # Lahey Fortran 8.1
9092 whole_archive_flag_spec=
9093 tmp_sharedflag='--shared' ;;
9094 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9095 tmp_sharedflag='-qmkshrobj'
9097 nvcc*) # Cuda Compiler Driver 2.2
9098 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'
9099 compiler_needs_object=yes
9102 case `$CC -V 2>&1 | sed 5q` in
9103 *Sun\ C*) # Sun C 5.9
9104 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'
9105 compiler_needs_object=yes
9106 tmp_sharedflag='-G' ;;
9107 *Sun\ F*) # Sun Fortran 8.3
9108 tmp_sharedflag='-G' ;;
9110 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9112 if test "x$supports_anon_versioning" = xyes; then
9113 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9114 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9115 echo "local: *; };" >> $output_objdir/$libname.ver~
9116 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9119 case $cc_basename in
9120 xlf* | bgf* | bgxlf* | mpixlf*)
9121 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9122 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9123 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9124 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9125 if test "x$supports_anon_versioning" = xyes; then
9126 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9127 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9128 echo "local: *; };" >> $output_objdir/$libname.ver~
9129 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9139 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9140 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9143 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9144 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9149 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9153 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9154 *** create shared libraries on Solaris systems. Therefore, libtool
9155 *** is disabling shared libraries support. We urge you to upgrade GNU
9156 *** binutils to release 2.9.1 or newer. Another option is to modify
9157 *** your PATH or compiler configuration so that the native linker is
9158 *** used, and then restart.
9161 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9162 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9163 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9169 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9170 case `$LD -v 2>&1` in
9171 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9175 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9176 *** reliably create shared libraries on SCO systems. Therefore, libtool
9177 *** is disabling shared libraries support. We urge you to upgrade GNU
9178 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9179 *** your PATH or compiler configuration so that the native linker is
9180 *** used, and then restart.
9185 # For security reasons, it is highly recommended that you always
9186 # use absolute paths for naming shared libraries, and exclude the
9187 # DT_RUNPATH tag from executables and libraries. But doing so
9188 # requires that you compile everything twice, which is a pain.
9189 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9190 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9191 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9192 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9201 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9204 hardcode_shlibpath_var=no
9208 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9209 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9210 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9217 if test "$ld_shlibs" = no; then
9219 hardcode_libdir_flag_spec=
9220 export_dynamic_flag_spec=
9221 whole_archive_flag_spec=
9224 # PORTME fill in a description of your system's linker (not GNU ld)
9227 allow_undefined_flag=unsupported
9228 always_export_symbols=yes
9229 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'
9230 # Note: this linker hardcodes the directories in LIBPATH if there
9231 # are no directories specified by -L.
9232 hardcode_minus_L=yes
9233 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9234 # Neither direct hardcoding nor static linking is supported with a
9236 hardcode_direct=unsupported
9241 if test "$host_cpu" = ia64; then
9242 # On IA64, the linker does run time linking by default, so we don't
9243 # have to do anything special.
9244 aix_use_runtimelinking=no
9245 exp_sym_flag='-Bexport'
9248 # If we're using GNU nm, then we don't want the "-C" option.
9249 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9250 # Also, AIX nm treats weak defined symbols like other global
9251 # defined symbols, whereas GNU nm marks them as "W".
9252 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9253 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'
9255 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'
9257 aix_use_runtimelinking=no
9259 # Test if we are trying to use run time linking or normal
9260 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9261 # need to do runtime linking.
9262 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9263 for ld_flag in $LDFLAGS; do
9264 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9265 aix_use_runtimelinking=yes
9272 exp_sym_flag='-bexport'
9273 no_entry_flag='-bnoentry'
9276 # When large executables or shared objects are built, AIX ld can
9277 # have problems creating the table of contents. If linking a library
9278 # or program results in "error TOC overflow" add -mminimal-toc to
9279 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9280 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9284 hardcode_direct_absolute=yes
9285 hardcode_libdir_separator=':'
9286 link_all_deplibs=yes
9287 file_list_spec='${wl}-f,'
9289 if test "$GCC" = yes; then
9290 case $host_os in aix4.[012]|aix4.[012].*)
9291 # We only want to do this on AIX 4.2 and lower, the check
9292 # below for broken collect2 doesn't work under 4.3+
9293 collect2name=`${CC} -print-prog-name=collect2`
9294 if test -f "$collect2name" &&
9295 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9297 # We have reworked collect2
9300 # We have old collect2
9301 hardcode_direct=unsupported
9302 # It fails to find uninstalled libraries when the uninstalled
9303 # path is not listed in the libpath. Setting hardcode_minus_L
9304 # to unsupported forces relinking
9305 hardcode_minus_L=yes
9306 hardcode_libdir_flag_spec='-L$libdir'
9307 hardcode_libdir_separator=
9311 shared_flag='-shared'
9312 if test "$aix_use_runtimelinking" = yes; then
9313 shared_flag="$shared_flag "'${wl}-G'
9317 if test "$host_cpu" = ia64; then
9318 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9319 # chokes on -Wl,-G. The following line is correct:
9322 if test "$aix_use_runtimelinking" = yes; then
9323 shared_flag='${wl}-G'
9325 shared_flag='${wl}-bM:SRE'
9330 export_dynamic_flag_spec='${wl}-bexpall'
9331 # It seems that -bexpall does not export symbols beginning with
9332 # underscore (_), so it is better to generate a list of symbols to export.
9333 always_export_symbols=yes
9334 if test "$aix_use_runtimelinking" = yes; then
9335 # Warning - without using the other runtime loading flags (-brtl),
9336 # -berok will link without error, but may produce a broken library.
9337 allow_undefined_flag='-berok'
9338 # Determine the default libpath from the value encoded in an
9340 if test "${lt_cv_aix_libpath+set}" = set; then
9341 aix_libpath=$lt_cv_aix_libpath
9343 if ${lt_cv_aix_libpath_+:} false; then :
9344 $as_echo_n "(cached) " >&6
9346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9347 /* end confdefs.h. */
9357 if ac_fn_c_try_link "$LINENO"; then :
9359 lt_aix_libpath_sed='
9360 /Import File Strings/,/^$/ {
9362 s/^0 *\([^ ]*\) *$/\1/
9366 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9367 # Check for a 64-bit object if we didn't find anything.
9368 if test -z "$lt_cv_aix_libpath_"; then
9369 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9372 rm -f core conftest.err conftest.$ac_objext \
9373 conftest$ac_exeext conftest.$ac_ext
9374 if test -z "$lt_cv_aix_libpath_"; then
9375 lt_cv_aix_libpath_="/usr/lib:/lib"
9380 aix_libpath=$lt_cv_aix_libpath_
9383 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9384 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"
9386 if test "$host_cpu" = ia64; then
9387 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9388 allow_undefined_flag="-z nodefs"
9389 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"
9391 # Determine the default libpath from the value encoded in an
9393 if test "${lt_cv_aix_libpath+set}" = set; then
9394 aix_libpath=$lt_cv_aix_libpath
9396 if ${lt_cv_aix_libpath_+:} false; then :
9397 $as_echo_n "(cached) " >&6
9399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9400 /* end confdefs.h. */
9410 if ac_fn_c_try_link "$LINENO"; then :
9412 lt_aix_libpath_sed='
9413 /Import File Strings/,/^$/ {
9415 s/^0 *\([^ ]*\) *$/\1/
9419 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9420 # Check for a 64-bit object if we didn't find anything.
9421 if test -z "$lt_cv_aix_libpath_"; then
9422 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9425 rm -f core conftest.err conftest.$ac_objext \
9426 conftest$ac_exeext conftest.$ac_ext
9427 if test -z "$lt_cv_aix_libpath_"; then
9428 lt_cv_aix_libpath_="/usr/lib:/lib"
9433 aix_libpath=$lt_cv_aix_libpath_
9436 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9437 # Warning - without using the other run time loading flags,
9438 # -berok will link without error, but may produce a broken library.
9439 no_undefined_flag=' ${wl}-bernotok'
9440 allow_undefined_flag=' ${wl}-berok'
9441 if test "$with_gnu_ld" = yes; then
9442 # We only use this code for GNU lds that support --whole-archive.
9443 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9445 # Exported symbols can be pulled into shared objects from archives
9446 whole_archive_flag_spec='$convenience'
9448 archive_cmds_need_lc=yes
9449 # This is similar to how AIX traditionally builds its shared libraries.
9450 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'
9458 # see comment about AmigaOS4 .so support
9459 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9460 archive_expsym_cmds=''
9463 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)'
9464 hardcode_libdir_flag_spec='-L$libdir'
9465 hardcode_minus_L=yes
9471 export_dynamic_flag_spec=-rdynamic
9474 cygwin* | mingw* | pw32* | cegcc*)
9475 # When not using gcc, we currently assume that we are using
9476 # Microsoft Visual C++.
9477 # hardcode_libdir_flag_spec is actually meaningless, as there is
9478 # no search path for DLLs.
9479 case $cc_basename in
9482 hardcode_libdir_flag_spec=' '
9483 allow_undefined_flag=unsupported
9484 always_export_symbols=yes
9486 # Tell ltmain to make .lib files, not .a files.
9488 # Tell ltmain to make .dll files, not .so files.
9490 # FIXME: Setting linknames here is a bad hack.
9491 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9492 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9493 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9495 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9497 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9499 # The linker will not automatically build a static lib if we build a DLL.
9500 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9501 enable_shared_with_static_runtimes=yes
9502 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9503 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9505 old_postinstall_cmds='chmod 644 $oldlib'
9506 postlink_cmds='lt_outputfile="@OUTPUT@"~
9507 lt_tool_outputfile="@TOOL_OUTPUT@"~
9508 case $lt_outputfile in
9511 lt_outputfile="$lt_outputfile.exe"
9512 lt_tool_outputfile="$lt_tool_outputfile.exe"
9515 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9516 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9517 $RM "$lt_outputfile.manifest";
9521 # Assume MSVC wrapper
9522 hardcode_libdir_flag_spec=' '
9523 allow_undefined_flag=unsupported
9524 # Tell ltmain to make .lib files, not .a files.
9526 # Tell ltmain to make .dll files, not .so files.
9528 # FIXME: Setting linknames here is a bad hack.
9529 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9530 # The linker will automatically build a .lib file if we build a DLL.
9531 old_archive_from_new_cmds='true'
9532 # FIXME: Should let the user specify the lib program.
9533 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9534 enable_shared_with_static_runtimes=yes
9539 darwin* | rhapsody*)
9542 archive_cmds_need_lc=no
9544 hardcode_automatic=yes
9545 hardcode_shlibpath_var=unsupported
9546 if test "$lt_cv_ld_force_load" = "yes"; then
9547 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\"`'
9550 whole_archive_flag_spec=''
9552 link_all_deplibs=yes
9553 allow_undefined_flag="$_lt_dar_allow_undefined"
9554 case $cc_basename in
9555 ifort*) _lt_dar_can_shared=yes ;;
9556 *) _lt_dar_can_shared=$GCC ;;
9558 if test "$_lt_dar_can_shared" = "yes"; then
9559 output_verbose_link_cmd=func_echo_all
9560 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9561 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9562 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}"
9563 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}"
9572 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9573 hardcode_libdir_flag_spec='-L$libdir'
9574 hardcode_shlibpath_var=no
9577 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9578 # support. Future versions do this automatically, but an explicit c++rt0.o
9579 # does not break anything, and helps significantly (at the cost of a little
9582 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9583 hardcode_libdir_flag_spec='-R$libdir'
9585 hardcode_shlibpath_var=no
9588 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9590 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9592 hardcode_minus_L=yes
9593 hardcode_shlibpath_var=no
9596 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9597 freebsd* | dragonfly*)
9598 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9599 hardcode_libdir_flag_spec='-R$libdir'
9601 hardcode_shlibpath_var=no
9605 if test "$GCC" = yes; then
9606 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'
9608 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'
9610 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9611 hardcode_libdir_separator=:
9614 # hardcode_minus_L: Not really in the search PATH,
9615 # but as the default location of the library.
9616 hardcode_minus_L=yes
9617 export_dynamic_flag_spec='${wl}-E'
9621 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9622 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9624 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9626 if test "$with_gnu_ld" = no; then
9627 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9628 hardcode_libdir_separator=:
9630 hardcode_direct_absolute=yes
9631 export_dynamic_flag_spec='${wl}-E'
9632 # hardcode_minus_L: Not really in the search PATH,
9633 # but as the default location of the library.
9634 hardcode_minus_L=yes
9639 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9642 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9645 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9648 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9654 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9657 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9661 # Older versions of the 11.00 compiler do not understand -b yet
9662 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9664 $as_echo_n "checking if $CC understands -b... " >&6; }
9665 if ${lt_cv_prog_compiler__b+:} false; then :
9666 $as_echo_n "(cached) " >&6
9668 lt_cv_prog_compiler__b=no
9669 save_LDFLAGS="$LDFLAGS"
9670 LDFLAGS="$LDFLAGS -b"
9671 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9672 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9673 # The linker can only warn and ignore the option if not recognized
9674 # So say no if there are warnings
9675 if test -s conftest.err; then
9676 # Append any errors to the config.log.
9677 cat conftest.err 1>&5
9678 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9679 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9680 if diff conftest.exp conftest.er2 >/dev/null; then
9681 lt_cv_prog_compiler__b=yes
9684 lt_cv_prog_compiler__b=yes
9688 LDFLAGS="$save_LDFLAGS"
9691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9692 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9694 if test x"$lt_cv_prog_compiler__b" = xyes; then
9695 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9697 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9703 if test "$with_gnu_ld" = no; then
9704 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9705 hardcode_libdir_separator=:
9710 hardcode_shlibpath_var=no
9714 hardcode_direct_absolute=yes
9715 export_dynamic_flag_spec='${wl}-E'
9717 # hardcode_minus_L: Not really in the search PATH,
9718 # but as the default location of the library.
9719 hardcode_minus_L=yes
9725 irix5* | irix6* | nonstopux*)
9726 if test "$GCC" = yes; then
9727 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'
9728 # Try to use the -exported_symbol ld option, if it does not
9729 # work, assume that -exports_file does not work either and
9730 # implicitly export all symbols.
9731 # This should be the same for all languages, so no per-tag cache variable.
9732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9733 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9734 if ${lt_cv_irix_exported_symbol+:} false; then :
9735 $as_echo_n "(cached) " >&6
9737 save_LDFLAGS="$LDFLAGS"
9738 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9740 /* end confdefs.h. */
9741 int foo (void) { return 0; }
9743 if ac_fn_c_try_link "$LINENO"; then :
9744 lt_cv_irix_exported_symbol=yes
9746 lt_cv_irix_exported_symbol=no
9748 rm -f core conftest.err conftest.$ac_objext \
9749 conftest$ac_exeext conftest.$ac_ext
9750 LDFLAGS="$save_LDFLAGS"
9752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9753 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9754 if test "$lt_cv_irix_exported_symbol" = yes; then
9755 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'
9758 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'
9759 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'
9761 archive_cmds_need_lc='no'
9762 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9763 hardcode_libdir_separator=:
9765 link_all_deplibs=yes
9769 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9770 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9772 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9774 hardcode_libdir_flag_spec='-R$libdir'
9776 hardcode_shlibpath_var=no
9780 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9782 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9783 hardcode_libdir_separator=:
9784 hardcode_shlibpath_var=no
9791 if test -f /usr/libexec/ld.so; then
9793 hardcode_shlibpath_var=no
9794 hardcode_direct_absolute=yes
9795 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9796 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9797 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9798 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9799 export_dynamic_flag_spec='${wl}-E'
9802 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9803 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9804 hardcode_libdir_flag_spec='-R$libdir'
9807 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9808 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9818 hardcode_libdir_flag_spec='-L$libdir'
9819 hardcode_minus_L=yes
9820 allow_undefined_flag=unsupported
9821 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'
9822 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9826 if test "$GCC" = yes; then
9827 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9828 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'
9830 allow_undefined_flag=' -expect_unresolved \*'
9831 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'
9833 archive_cmds_need_lc='no'
9834 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9835 hardcode_libdir_separator=:
9838 osf4* | osf5*) # as osf3* with the addition of -msym flag
9839 if test "$GCC" = yes; then
9840 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9841 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'
9842 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9844 allow_undefined_flag=' -expect_unresolved \*'
9845 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'
9846 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~
9847 $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'
9849 # Both c and cxx compiler support -rpath directly
9850 hardcode_libdir_flag_spec='-rpath $libdir'
9852 archive_cmds_need_lc='no'
9853 hardcode_libdir_separator=:
9857 no_undefined_flag=' -z defs'
9858 if test "$GCC" = yes; then
9860 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9861 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9862 $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'
9864 case `$CC -V 2>&1` in
9867 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9868 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9869 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9873 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9874 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9875 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9879 hardcode_libdir_flag_spec='-R$libdir'
9880 hardcode_shlibpath_var=no
9882 solaris2.[0-5] | solaris2.[0-5].*) ;;
9884 # The compiler driver will combine and reorder linker options,
9885 # but understands `-z linker_flag'. GCC discards it without `$wl',
9886 # but is careful enough not to reorder.
9887 # Supported since Solaris 2.6 (maybe 2.5.1?)
9888 if test "$GCC" = yes; then
9889 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9891 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9895 link_all_deplibs=yes
9899 if test "x$host_vendor" = xsequent; then
9900 # Use $CC to link under sequent, because it throws in some extra .o
9901 # files that make .init and .fini sections work.
9902 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9904 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9906 hardcode_libdir_flag_spec='-L$libdir'
9908 hardcode_minus_L=yes
9909 hardcode_shlibpath_var=no
9913 case $host_vendor in
9915 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9916 hardcode_direct=yes # is this really true???
9919 ## LD is ld it makes a PLAMLIB
9920 ## CC just makes a GrossModule.
9921 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9922 reload_cmds='$CC -r -o $output$reload_objs'
9926 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9927 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9930 runpath_var='LD_RUN_PATH'
9931 hardcode_shlibpath_var=no
9935 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9936 hardcode_shlibpath_var=no
9937 export_dynamic_flag_spec='-Bexport'
9941 if test -d /usr/nec; then
9942 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9943 hardcode_shlibpath_var=no
9944 runpath_var=LD_RUN_PATH
9945 hardcode_runpath_var=yes
9950 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9951 no_undefined_flag='${wl}-z,text'
9952 archive_cmds_need_lc=no
9953 hardcode_shlibpath_var=no
9954 runpath_var='LD_RUN_PATH'
9956 if test "$GCC" = yes; then
9957 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9958 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9960 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9961 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9965 sysv5* | sco3.2v5* | sco5v6*)
9966 # Note: We can NOT use -z defs as we might desire, because we do not
9967 # link with -lc, and that would cause any symbols used from libc to
9968 # always be unresolved, which means just about no library would
9969 # ever link correctly. If we're not using GNU ld we use -z text
9970 # though, which does catch some bad symbols but isn't as heavy-handed
9972 no_undefined_flag='${wl}-z,text'
9973 allow_undefined_flag='${wl}-z,nodefs'
9974 archive_cmds_need_lc=no
9975 hardcode_shlibpath_var=no
9976 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9977 hardcode_libdir_separator=':'
9978 link_all_deplibs=yes
9979 export_dynamic_flag_spec='${wl}-Bexport'
9980 runpath_var='LD_RUN_PATH'
9982 if test "$GCC" = yes; then
9983 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9984 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9986 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9987 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9992 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9993 hardcode_libdir_flag_spec='-L$libdir'
9994 hardcode_shlibpath_var=no
10002 if test x$host_vendor = xsni; then
10004 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10005 export_dynamic_flag_spec='${wl}-Blargedynsym'
10011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10012 $as_echo "$ld_shlibs" >&6; }
10013 test "$ld_shlibs" = no && can_build_shared=no
10015 with_gnu_ld=$with_gnu_ld
10032 # Do we need to explicitly link libc?
10034 case "x$archive_cmds_need_lc" in
10036 # Assume -lc should be added
10037 archive_cmds_need_lc=yes
10039 if test "$enable_shared" = yes && test "$GCC" = yes; then
10040 case $archive_cmds in
10042 # FIXME: we may have to deal with multi-command sequences.
10045 # Test whether the compiler implicitly links with -lc since on some
10046 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10047 # to ld, don't add -lc before -lgcc.
10048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10049 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10050 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10051 $as_echo_n "(cached) " >&6
10054 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10056 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10057 (eval $ac_compile) 2>&5
10059 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10060 test $ac_status = 0; } 2>conftest.err; then
10063 libobjs=conftest.$ac_objext
10065 wl=$lt_prog_compiler_wl
10066 pic_flag=$lt_prog_compiler_pic
10072 lt_save_allow_undefined_flag=$allow_undefined_flag
10073 allow_undefined_flag=
10074 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10075 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10077 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10078 test $ac_status = 0; }
10080 lt_cv_archive_cmds_need_lc=no
10082 lt_cv_archive_cmds_need_lc=yes
10084 allow_undefined_flag=$lt_save_allow_undefined_flag
10086 cat conftest.err 1>&5
10091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10092 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10093 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10252 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10254 if test "$GCC" = yes; then
10256 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10257 *) lt_awk_arg="/^libraries:/" ;;
10260 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10261 *) lt_sed_strip_eq="s,=/,/,g" ;;
10263 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10264 case $lt_search_path_spec in
10266 # if the path contains ";" then we assume it to be the separator
10267 # otherwise default to the standard path separator (i.e. ":") - it is
10268 # assumed that no part of a normal pathname contains ";" but that should
10269 # okay in the real world where ";" in dirpaths is itself problematic.
10270 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10273 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10276 # Ok, now we have the path, separated by spaces, we can step through it
10277 # and add multilib dir if necessary.
10278 lt_tmp_lt_search_path_spec=
10279 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10280 for lt_sys_path in $lt_search_path_spec; do
10281 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10282 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10284 test -d "$lt_sys_path" && \
10285 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10288 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10289 BEGIN {RS=" "; FS="/|\n";} {
10292 for (lt_i = NF; lt_i > 0; lt_i--) {
10293 if ($lt_i != "" && $lt_i != ".") {
10294 if ($lt_i == "..") {
10297 if (lt_count == 0) {
10298 lt_foo="/" $lt_i lt_foo;
10305 if (lt_foo != "") { lt_freq[lt_foo]++; }
10306 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10308 # AWK program above erroneously prepends '/' to C:/dos/paths
10311 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10312 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10314 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10316 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10318 library_names_spec=
10319 libname_spec='lib$name'
10323 postuninstall_cmds=
10327 shlibpath_overrides_runpath=unknown
10329 dynamic_linker="$host_os ld.so"
10330 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10331 need_lib_prefix=unknown
10332 hardcode_into_libs=no
10334 # when you set need_version to no, make sure it does not cause -set_version
10335 # flags to be left without arguments
10336 need_version=unknown
10340 version_type=linux # correct to gnu/linux during the next big refactor
10341 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10342 shlibpath_var=LIBPATH
10344 # AIX 3 has no versioning support, so we append a major version to the name.
10345 soname_spec='${libname}${release}${shared_ext}$major'
10349 version_type=linux # correct to gnu/linux during the next big refactor
10352 hardcode_into_libs=yes
10353 if test "$host_cpu" = ia64; then
10354 # AIX 5 supports IA64
10355 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10356 shlibpath_var=LD_LIBRARY_PATH
10358 # With GCC up to 2.95.x, collect2 would create an import file
10359 # for dependence libraries. The import file would start with
10360 # the line `#! .'. This would cause the generated library to
10361 # depend on `.', always an invalid library. This was fixed in
10362 # development snapshots of GCC prior to 3.0.
10364 aix4 | aix4.[01] | aix4.[01].*)
10365 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10367 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10370 can_build_shared=no
10374 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10375 # soname into executable. Probably we can add versioning support to
10376 # collect2, so additional links can be useful in future.
10377 if test "$aix_use_runtimelinking" = yes; then
10378 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10379 # instead of lib<name>.a to let people know that these are not
10380 # typical AIX shared libraries.
10381 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10383 # We preserve .a as extension for shared libraries through AIX4.2
10384 # and later when we are not doing run time linking.
10385 library_names_spec='${libname}${release}.a $libname.a'
10386 soname_spec='${libname}${release}${shared_ext}$major'
10388 shlibpath_var=LIBPATH
10395 # Since July 2007 AmigaOS4 officially supports .so libraries.
10396 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10397 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10400 library_names_spec='$libname.ixlibrary $libname.a'
10401 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10402 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'
10408 library_names_spec='${libname}${shared_ext}'
10409 dynamic_linker="$host_os ld.so"
10410 shlibpath_var=LIBRARY_PATH
10414 version_type=linux # correct to gnu/linux during the next big refactor
10416 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10417 soname_spec='${libname}${release}${shared_ext}$major'
10418 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10419 shlibpath_var=LD_LIBRARY_PATH
10420 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10421 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10422 # the default ld.so.conf also contains /usr/contrib/lib and
10423 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10424 # libtool to hard-code these into programs
10427 cygwin* | mingw* | pw32* | cegcc*)
10428 version_type=windows
10433 case $GCC,$cc_basename in
10436 library_names_spec='$libname.dll.a'
10437 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10438 postinstall_cmds='base_file=`basename \${file}`~
10439 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10440 dldir=$destdir/`dirname \$dlpath`~
10441 test -d \$dldir || mkdir -p \$dldir~
10442 $install_prog $dir/$dlname \$dldir/$dlname~
10443 chmod a+x \$dldir/$dlname~
10444 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10445 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10447 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10448 dlpath=$dir/\$dldll~
10450 shlibpath_overrides_runpath=yes
10454 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10455 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10457 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10460 # MinGW DLLs use traditional 'lib' prefix
10461 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10464 # pw32 DLLs use 'pw' prefix rather than 'lib'
10465 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10468 dynamic_linker='Win32 ld.exe'
10473 libname_spec='$name'
10474 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10475 library_names_spec='${libname}.dll.lib'
10479 sys_lib_search_path_spec=
10482 for lt_path in $LIB
10485 # Let DOS variable expansion print the short 8.3 style file name.
10486 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10487 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10490 # Convert to MSYS style.
10491 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10494 # Convert to unix form, then to dos form, then back to unix form
10495 # but this time dos style (no spaces!) so that the unix form looks
10496 # like /cygdrive/c/PROGRA~1:/cygdr...
10497 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10498 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10499 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10502 sys_lib_search_path_spec="$LIB"
10503 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10504 # It is most probably a Windows format PATH.
10505 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10507 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10509 # FIXME: find the short name or the path components, as spaces are
10510 # common. (e.g. "Program Files" -> "PROGRA~1")
10514 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10515 postinstall_cmds='base_file=`basename \${file}`~
10516 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10517 dldir=$destdir/`dirname \$dlpath`~
10518 test -d \$dldir || mkdir -p \$dldir~
10519 $install_prog $dir/$dlname \$dldir/$dlname'
10520 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10521 dlpath=$dir/\$dldll~
10523 shlibpath_overrides_runpath=yes
10524 dynamic_linker='Win32 link.exe'
10528 # Assume MSVC wrapper
10529 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10530 dynamic_linker='Win32 ld.exe'
10533 # FIXME: first we should search . and the directory the executable is in
10537 darwin* | rhapsody*)
10538 dynamic_linker="$host_os dyld"
10539 version_type=darwin
10542 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10543 soname_spec='${libname}${release}${major}$shared_ext'
10544 shlibpath_overrides_runpath=yes
10545 shlibpath_var=DYLD_LIBRARY_PATH
10546 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10548 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10549 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10553 version_type=linux # correct to gnu/linux during the next big refactor
10556 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10557 soname_spec='${libname}${release}${shared_ext}$major'
10558 shlibpath_var=LD_LIBRARY_PATH
10561 freebsd* | dragonfly*)
10562 # DragonFly does not have aout. When/if they implement a new
10563 # versioning mechanism, adjust this.
10564 if test -x /usr/bin/objformat; then
10565 objformat=`/usr/bin/objformat`
10568 freebsd[23].*) objformat=aout ;;
10569 *) objformat=elf ;;
10572 version_type=freebsd-$objformat
10573 case $version_type in
10575 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10580 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10584 shlibpath_var=LD_LIBRARY_PATH
10587 shlibpath_overrides_runpath=yes
10589 freebsd3.[01]* | freebsdelf3.[01]*)
10590 shlibpath_overrides_runpath=yes
10591 hardcode_into_libs=yes
10593 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10594 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10595 shlibpath_overrides_runpath=no
10596 hardcode_into_libs=yes
10598 *) # from 4.6 on, and DragonFly
10599 shlibpath_overrides_runpath=yes
10600 hardcode_into_libs=yes
10606 version_type=linux # correct to gnu/linux during the next big refactor
10609 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10610 soname_spec='${libname}${release}${shared_ext}$major'
10611 shlibpath_var=LD_LIBRARY_PATH
10612 shlibpath_overrides_runpath=no
10613 hardcode_into_libs=yes
10617 version_type=linux # correct to gnu/linux during the next big refactor
10620 dynamic_linker="$host_os runtime_loader"
10621 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10622 soname_spec='${libname}${release}${shared_ext}$major'
10623 shlibpath_var=LIBRARY_PATH
10624 shlibpath_overrides_runpath=yes
10625 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10626 hardcode_into_libs=yes
10629 hpux9* | hpux10* | hpux11*)
10630 # Give a soname corresponding to the major version so that dld.sl refuses to
10631 # link against other versions.
10638 hardcode_into_libs=yes
10639 dynamic_linker="$host_os dld.so"
10640 shlibpath_var=LD_LIBRARY_PATH
10641 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10642 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10643 soname_spec='${libname}${release}${shared_ext}$major'
10644 if test "X$HPUX_IA64_MODE" = X32; then
10645 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10647 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10649 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10653 hardcode_into_libs=yes
10654 dynamic_linker="$host_os dld.sl"
10655 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10656 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10657 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10658 soname_spec='${libname}${release}${shared_ext}$major'
10659 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10660 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10664 dynamic_linker="$host_os dld.sl"
10665 shlibpath_var=SHLIB_PATH
10666 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10667 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10668 soname_spec='${libname}${release}${shared_ext}$major'
10671 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10672 postinstall_cmds='chmod 555 $lib'
10673 # or fails outright, so override atomically:
10674 install_override_mode=555
10678 version_type=linux # correct to gnu/linux during the next big refactor
10681 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10682 soname_spec='${libname}${release}${shared_ext}$major'
10683 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10684 shlibpath_var=LD_LIBRARY_PATH
10685 shlibpath_overrides_runpath=no
10686 hardcode_into_libs=yes
10689 irix5* | irix6* | nonstopux*)
10691 nonstopux*) version_type=nonstopux ;;
10693 if test "$lt_cv_prog_gnu_ld" = yes; then
10694 version_type=linux # correct to gnu/linux during the next big refactor
10701 soname_spec='${libname}${release}${shared_ext}$major'
10702 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10704 irix5* | nonstopux*)
10705 libsuff= shlibsuff=
10708 case $LD in # libtool.m4 will add one of these switches to LD
10709 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10710 libsuff= shlibsuff= libmagic=32-bit;;
10711 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10712 libsuff=32 shlibsuff=N32 libmagic=N32;;
10713 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10714 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10715 *) libsuff= shlibsuff= libmagic=never-match;;
10719 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10720 shlibpath_overrides_runpath=no
10721 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10722 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10723 hardcode_into_libs=yes
10726 # No shared lib support for Linux oldld, aout, or coff.
10727 linux*oldld* | linux*aout* | linux*coff*)
10731 # This must be glibc/ELF.
10732 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10733 version_type=linux # correct to gnu/linux during the next big refactor
10736 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10737 soname_spec='${libname}${release}${shared_ext}$major'
10738 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10739 shlibpath_var=LD_LIBRARY_PATH
10740 shlibpath_overrides_runpath=no
10742 # Some binutils ld are patched to set DT_RUNPATH
10743 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10744 $as_echo_n "(cached) " >&6
10746 lt_cv_shlibpath_overrides_runpath=no
10747 save_LDFLAGS=$LDFLAGS
10748 save_libdir=$libdir
10749 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10750 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10752 /* end confdefs.h. */
10762 if ac_fn_c_try_link "$LINENO"; then :
10763 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10764 lt_cv_shlibpath_overrides_runpath=yes
10767 rm -f core conftest.err conftest.$ac_objext \
10768 conftest$ac_exeext conftest.$ac_ext
10769 LDFLAGS=$save_LDFLAGS
10770 libdir=$save_libdir
10774 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10776 # This implies no fast_install, which is unacceptable.
10777 # Some rework will be needed to allow for fast_install
10778 # before this can be enabled.
10779 hardcode_into_libs=yes
10781 # Append ld.so.conf contents to the search path
10782 if test -f /etc/ld.so.conf; then
10783 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' ' '`
10784 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10787 # We used to test for /lib/ld.so.1 and disable shared libraries on
10788 # powerpc, because MkLinux only supported shared libraries with the
10789 # GNU dynamic linker. Since this was broken with cross compilers,
10790 # most powerpc-linux boxes support dynamic linking these days and
10791 # people can always --disable-shared, the test was removed, and we
10792 # assume the GNU/Linux dynamic linker is in use.
10793 dynamic_linker='GNU/Linux ld.so'
10800 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10801 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10802 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10803 dynamic_linker='NetBSD (a.out) ld.so'
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 dynamic_linker='NetBSD ld.elf_so'
10809 shlibpath_var=LD_LIBRARY_PATH
10810 shlibpath_overrides_runpath=yes
10811 hardcode_into_libs=yes
10815 version_type=linux # correct to gnu/linux during the next big refactor
10816 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10817 shlibpath_var=LD_LIBRARY_PATH
10818 shlibpath_overrides_runpath=yes
10825 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10826 soname_spec='${libname}${release}${shared_ext}$major'
10827 shlibpath_var=LD_LIBRARY_PATH
10828 shlibpath_overrides_runpath=no
10829 hardcode_into_libs=yes
10830 dynamic_linker='ldqnx.so'
10835 sys_lib_dlsearch_path_spec="/usr/lib"
10837 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10839 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10840 *) need_version=no ;;
10842 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10843 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10844 shlibpath_var=LD_LIBRARY_PATH
10845 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10847 openbsd2.[89] | openbsd2.[89].*)
10848 shlibpath_overrides_runpath=no
10851 shlibpath_overrides_runpath=yes
10855 shlibpath_overrides_runpath=yes
10860 libname_spec='$name'
10863 library_names_spec='$libname${shared_ext} $libname.a'
10864 dynamic_linker='OS/2 ld.exe'
10865 shlibpath_var=LIBPATH
10868 osf3* | osf4* | osf5*)
10872 soname_spec='${libname}${release}${shared_ext}$major'
10873 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10874 shlibpath_var=LD_LIBRARY_PATH
10875 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10876 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10884 version_type=linux # correct to gnu/linux during the next big refactor
10887 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10888 soname_spec='${libname}${release}${shared_ext}$major'
10889 shlibpath_var=LD_LIBRARY_PATH
10890 shlibpath_overrides_runpath=yes
10891 hardcode_into_libs=yes
10892 # ldd complains unless libraries are executable
10893 postinstall_cmds='chmod +x $lib'
10898 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10899 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10900 shlibpath_var=LD_LIBRARY_PATH
10901 shlibpath_overrides_runpath=yes
10902 if test "$with_gnu_ld" = yes; then
10909 version_type=linux # correct to gnu/linux during the next big refactor
10910 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10911 soname_spec='${libname}${release}${shared_ext}$major'
10912 shlibpath_var=LD_LIBRARY_PATH
10913 case $host_vendor in
10915 shlibpath_overrides_runpath=no
10917 runpath_var=LD_RUN_PATH
10925 shlibpath_overrides_runpath=no
10926 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10932 if test -d /usr/nec ;then
10933 version_type=linux # correct to gnu/linux during the next big refactor
10934 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10935 soname_spec='$libname${shared_ext}.$major'
10936 shlibpath_var=LD_LIBRARY_PATH
10940 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10941 version_type=freebsd-elf
10944 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10945 soname_spec='${libname}${release}${shared_ext}$major'
10946 shlibpath_var=LD_LIBRARY_PATH
10947 shlibpath_overrides_runpath=yes
10948 hardcode_into_libs=yes
10949 if test "$with_gnu_ld" = yes; then
10950 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10952 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10955 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10959 sys_lib_dlsearch_path_spec='/usr/lib'
10963 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10964 version_type=linux # correct to gnu/linux during the next big refactor
10967 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10968 shlibpath_var=LD_LIBRARY_PATH
10969 shlibpath_overrides_runpath=no
10970 hardcode_into_libs=yes
10974 version_type=linux # correct to gnu/linux during the next big refactor
10975 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10976 soname_spec='${libname}${release}${shared_ext}$major'
10977 shlibpath_var=LD_LIBRARY_PATH
10984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10985 $as_echo "$dynamic_linker" >&6; }
10986 test "$dynamic_linker" = no && can_build_shared=no
10988 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10989 if test "$GCC" = yes; then
10990 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10993 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10994 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10996 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10997 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11092 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11094 if test -n "$hardcode_libdir_flag_spec" ||
11095 test -n "$runpath_var" ||
11096 test "X$hardcode_automatic" = "Xyes" ; then
11098 # We can hardcode non-existent directories.
11099 if test "$hardcode_direct" != no &&
11100 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11101 # have to relink, otherwise we might link with an installed library
11102 # when we should be linking with a yet-to-be-installed one
11103 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11104 test "$hardcode_minus_L" != no; then
11105 # Linking always hardcodes the temporary library directory.
11106 hardcode_action=relink
11108 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11109 hardcode_action=immediate
11112 # We cannot hardcode anything, or else we can only hardcode existing
11114 hardcode_action=unsupported
11116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11117 $as_echo "$hardcode_action" >&6; }
11119 if test "$hardcode_action" = relink ||
11120 test "$inherit_rpath" = yes; then
11121 # Fast installation is not supported
11122 enable_fast_install=no
11123 elif test "$shlibpath_overrides_runpath" = yes ||
11124 test "$enable_shared" = no; then
11125 # Fast installation is not necessary
11126 enable_fast_install=needless
11134 if test "x$enable_dlopen" != xyes; then
11135 enable_dlopen=unknown
11136 enable_dlopen_self=unknown
11137 enable_dlopen_self_static=unknown
11144 lt_cv_dlopen="load_add_on"
11146 lt_cv_dlopen_self=yes
11149 mingw* | pw32* | cegcc*)
11150 lt_cv_dlopen="LoadLibrary"
11155 lt_cv_dlopen="dlopen"
11160 # if libdl is installed we need to link against it
11161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11162 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11163 if ${ac_cv_lib_dl_dlopen+:} false; then :
11164 $as_echo_n "(cached) " >&6
11166 ac_check_lib_save_LIBS=$LIBS
11168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11169 /* end confdefs.h. */
11171 /* Override any GCC internal prototype to avoid an error.
11172 Use char because int might match the return type of a GCC
11173 builtin and then its argument prototype would still apply. */
11186 if ac_fn_c_try_link "$LINENO"; then :
11187 ac_cv_lib_dl_dlopen=yes
11189 ac_cv_lib_dl_dlopen=no
11191 rm -f core conftest.err conftest.$ac_objext \
11192 conftest$ac_exeext conftest.$ac_ext
11193 LIBS=$ac_check_lib_save_LIBS
11195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11196 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11197 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11198 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11201 lt_cv_dlopen="dyld"
11203 lt_cv_dlopen_self=yes
11210 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11211 if test "x$ac_cv_func_shl_load" = xyes; then :
11212 lt_cv_dlopen="shl_load"
11214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11215 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11216 if ${ac_cv_lib_dld_shl_load+:} false; then :
11217 $as_echo_n "(cached) " >&6
11219 ac_check_lib_save_LIBS=$LIBS
11221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11222 /* end confdefs.h. */
11224 /* Override any GCC internal prototype to avoid an error.
11225 Use char because int might match the return type of a GCC
11226 builtin and then its argument prototype would still apply. */
11234 return shl_load ();
11239 if ac_fn_c_try_link "$LINENO"; then :
11240 ac_cv_lib_dld_shl_load=yes
11242 ac_cv_lib_dld_shl_load=no
11244 rm -f core conftest.err conftest.$ac_objext \
11245 conftest$ac_exeext conftest.$ac_ext
11246 LIBS=$ac_check_lib_save_LIBS
11248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11249 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11250 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11251 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11253 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11254 if test "x$ac_cv_func_dlopen" = xyes; then :
11255 lt_cv_dlopen="dlopen"
11257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11258 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11259 if ${ac_cv_lib_dl_dlopen+:} false; then :
11260 $as_echo_n "(cached) " >&6
11262 ac_check_lib_save_LIBS=$LIBS
11264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11265 /* end confdefs.h. */
11267 /* Override any GCC internal prototype to avoid an error.
11268 Use char because int might match the return type of a GCC
11269 builtin and then its argument prototype would still apply. */
11282 if ac_fn_c_try_link "$LINENO"; then :
11283 ac_cv_lib_dl_dlopen=yes
11285 ac_cv_lib_dl_dlopen=no
11287 rm -f core conftest.err conftest.$ac_objext \
11288 conftest$ac_exeext conftest.$ac_ext
11289 LIBS=$ac_check_lib_save_LIBS
11291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11292 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11293 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11294 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11297 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11298 if ${ac_cv_lib_svld_dlopen+:} false; then :
11299 $as_echo_n "(cached) " >&6
11301 ac_check_lib_save_LIBS=$LIBS
11302 LIBS="-lsvld $LIBS"
11303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11304 /* end confdefs.h. */
11306 /* Override any GCC internal prototype to avoid an error.
11307 Use char because int might match the return type of a GCC
11308 builtin and then its argument prototype would still apply. */
11321 if ac_fn_c_try_link "$LINENO"; then :
11322 ac_cv_lib_svld_dlopen=yes
11324 ac_cv_lib_svld_dlopen=no
11326 rm -f core conftest.err conftest.$ac_objext \
11327 conftest$ac_exeext conftest.$ac_ext
11328 LIBS=$ac_check_lib_save_LIBS
11330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11331 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11332 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11333 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11336 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11337 if ${ac_cv_lib_dld_dld_link+:} false; then :
11338 $as_echo_n "(cached) " >&6
11340 ac_check_lib_save_LIBS=$LIBS
11342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11343 /* end confdefs.h. */
11345 /* Override any GCC internal prototype to avoid an error.
11346 Use char because int might match the return type of a GCC
11347 builtin and then its argument prototype would still apply. */
11355 return dld_link ();
11360 if ac_fn_c_try_link "$LINENO"; then :
11361 ac_cv_lib_dld_dld_link=yes
11363 ac_cv_lib_dld_dld_link=no
11365 rm -f core conftest.err conftest.$ac_objext \
11366 conftest$ac_exeext conftest.$ac_ext
11367 LIBS=$ac_check_lib_save_LIBS
11369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11370 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11371 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11372 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11393 if test "x$lt_cv_dlopen" != xno; then
11399 case $lt_cv_dlopen in
11401 save_CPPFLAGS="$CPPFLAGS"
11402 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11404 save_LDFLAGS="$LDFLAGS"
11405 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11408 LIBS="$lt_cv_dlopen_libs $LIBS"
11410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11411 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11412 if ${lt_cv_dlopen_self+:} false; then :
11413 $as_echo_n "(cached) " >&6
11415 if test "$cross_compiling" = yes; then :
11416 lt_cv_dlopen_self=cross
11418 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11419 lt_status=$lt_dlunknown
11420 cat > conftest.$ac_ext <<_LT_EOF
11421 #line $LINENO "configure"
11422 #include "confdefs.h"
11431 # define LT_DLGLOBAL RTLD_GLOBAL
11434 # define LT_DLGLOBAL DL_GLOBAL
11436 # define LT_DLGLOBAL 0
11440 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11441 find out it does not work in some platform. */
11442 #ifndef LT_DLLAZY_OR_NOW
11444 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11447 # define LT_DLLAZY_OR_NOW DL_LAZY
11450 # define LT_DLLAZY_OR_NOW RTLD_NOW
11453 # define LT_DLLAZY_OR_NOW DL_NOW
11455 # define LT_DLLAZY_OR_NOW 0
11462 /* When -fvisbility=hidden is used, assume the code has been annotated
11463 correspondingly for the symbols needed. */
11464 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11465 int fnord () __attribute__((visibility("default")));
11468 int fnord () { return 42; }
11471 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11472 int status = $lt_dlunknown;
11476 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11479 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11480 else puts (dlerror ());
11482 /* dlclose (self); */
11490 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11491 (eval $ac_link) 2>&5
11493 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11494 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11495 (./conftest; exit; ) >&5 2>/dev/null
11497 case x$lt_status in
11498 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11499 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11500 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11503 # compilation failed
11504 lt_cv_dlopen_self=no
11511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11512 $as_echo "$lt_cv_dlopen_self" >&6; }
11514 if test "x$lt_cv_dlopen_self" = xyes; then
11515 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11517 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11518 if ${lt_cv_dlopen_self_static+:} false; then :
11519 $as_echo_n "(cached) " >&6
11521 if test "$cross_compiling" = yes; then :
11522 lt_cv_dlopen_self_static=cross
11524 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11525 lt_status=$lt_dlunknown
11526 cat > conftest.$ac_ext <<_LT_EOF
11527 #line $LINENO "configure"
11528 #include "confdefs.h"
11537 # define LT_DLGLOBAL RTLD_GLOBAL
11540 # define LT_DLGLOBAL DL_GLOBAL
11542 # define LT_DLGLOBAL 0
11546 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11547 find out it does not work in some platform. */
11548 #ifndef LT_DLLAZY_OR_NOW
11550 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11553 # define LT_DLLAZY_OR_NOW DL_LAZY
11556 # define LT_DLLAZY_OR_NOW RTLD_NOW
11559 # define LT_DLLAZY_OR_NOW DL_NOW
11561 # define LT_DLLAZY_OR_NOW 0
11568 /* When -fvisbility=hidden is used, assume the code has been annotated
11569 correspondingly for the symbols needed. */
11570 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11571 int fnord () __attribute__((visibility("default")));
11574 int fnord () { return 42; }
11577 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11578 int status = $lt_dlunknown;
11582 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11585 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11586 else puts (dlerror ());
11588 /* dlclose (self); */
11596 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11597 (eval $ac_link) 2>&5
11599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11600 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11601 (./conftest; exit; ) >&5 2>/dev/null
11603 case x$lt_status in
11604 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11605 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11606 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11609 # compilation failed
11610 lt_cv_dlopen_self_static=no
11617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11618 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11621 CPPFLAGS="$save_CPPFLAGS"
11622 LDFLAGS="$save_LDFLAGS"
11627 case $lt_cv_dlopen_self in
11628 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11629 *) enable_dlopen_self=unknown ;;
11632 case $lt_cv_dlopen_self_static in
11633 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11634 *) enable_dlopen_self_static=unknown ;;
11656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11657 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11658 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11659 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11660 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11662 $as_echo "yes" >&6; }
11664 # FIXME - insert some real tests, host_os isn't really good enough
11667 if test -n "$STRIP" ; then
11668 striplib="$STRIP -x"
11669 old_striplib="$STRIP -S"
11670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11671 $as_echo "yes" >&6; }
11673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11674 $as_echo "no" >&6; }
11678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11679 $as_echo "no" >&6; }
11695 # Report which library types will actually be built
11696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11697 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11699 $as_echo "$can_build_shared" >&6; }
11701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11702 $as_echo_n "checking whether to build shared libraries... " >&6; }
11703 test "$can_build_shared" = "no" && enable_shared=no
11705 # On AIX, shared libraries and static libraries use the same namespace, and
11706 # are all built from PIC.
11709 test "$enable_shared" = yes && enable_static=no
11710 if test -n "$RANLIB"; then
11711 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11712 postinstall_cmds='$RANLIB $lib'
11717 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11718 test "$enable_shared" = yes && enable_static=no
11722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11723 $as_echo "$enable_shared" >&6; }
11725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11726 $as_echo_n "checking whether to build static libraries... " >&6; }
11727 # Make sure either enable_shared or enable_static is yes.
11728 test "$enable_shared" = yes || enable_static=yes
11729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11730 $as_echo "$enable_static" >&6; }
11737 ac_cpp='$CPP $CPPFLAGS'
11738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11744 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11745 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11746 (test "X$CXX" != "Xg++"))) ; then
11748 ac_cpp='$CXXCPP $CPPFLAGS'
11749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11753 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11754 if test -z "$CXXCPP"; then
11755 if ${ac_cv_prog_CXXCPP+:} false; then :
11756 $as_echo_n "(cached) " >&6
11758 # Double quotes because CXXCPP needs to be expanded
11759 for CXXCPP in "$CXX -E" "/lib/cpp"
11761 ac_preproc_ok=false
11762 for ac_cxx_preproc_warn_flag in '' yes
11764 # Use a header file that comes with gcc, so configuring glibc
11765 # with a fresh cross-compiler works.
11766 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11767 # <limits.h> exists even on freestanding compilers.
11768 # On the NeXT, cc -E runs the code through the compiler's parser,
11769 # not just through cpp. "Syntax error" is here to catch this case.
11770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11771 /* end confdefs.h. */
11773 # include <limits.h>
11775 # include <assert.h>
11779 if ac_fn_cxx_try_cpp "$LINENO"; then :
11782 # Broken: fails on valid input.
11785 rm -f conftest.err conftest.i conftest.$ac_ext
11787 # OK, works on sane cases. Now check whether nonexistent headers
11788 # can be detected and how.
11789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11790 /* end confdefs.h. */
11791 #include <ac_nonexistent.h>
11793 if ac_fn_cxx_try_cpp "$LINENO"; then :
11794 # Broken: success on invalid input.
11797 # Passes both tests.
11801 rm -f conftest.err conftest.i conftest.$ac_ext
11804 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11805 rm -f conftest.i conftest.err conftest.$ac_ext
11806 if $ac_preproc_ok; then :
11811 ac_cv_prog_CXXCPP=$CXXCPP
11814 CXXCPP=$ac_cv_prog_CXXCPP
11816 ac_cv_prog_CXXCPP=$CXXCPP
11818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11819 $as_echo "$CXXCPP" >&6; }
11820 ac_preproc_ok=false
11821 for ac_cxx_preproc_warn_flag in '' yes
11823 # Use a header file that comes with gcc, so configuring glibc
11824 # with a fresh cross-compiler works.
11825 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11826 # <limits.h> exists even on freestanding compilers.
11827 # On the NeXT, cc -E runs the code through the compiler's parser,
11828 # not just through cpp. "Syntax error" is here to catch this case.
11829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11830 /* end confdefs.h. */
11832 # include <limits.h>
11834 # include <assert.h>
11838 if ac_fn_cxx_try_cpp "$LINENO"; then :
11841 # Broken: fails on valid input.
11844 rm -f conftest.err conftest.i conftest.$ac_ext
11846 # OK, works on sane cases. Now check whether nonexistent headers
11847 # can be detected and how.
11848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11849 /* end confdefs.h. */
11850 #include <ac_nonexistent.h>
11852 if ac_fn_cxx_try_cpp "$LINENO"; then :
11853 # Broken: success on invalid input.
11856 # Passes both tests.
11860 rm -f conftest.err conftest.i conftest.$ac_ext
11863 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11864 rm -f conftest.i conftest.err conftest.$ac_ext
11865 if $ac_preproc_ok; then :
11868 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11869 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11870 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
11871 See \`config.log' for more details" "$LINENO" 5; }
11875 ac_cpp='$CPP $CPPFLAGS'
11876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11881 _lt_caught_CXX_error=yes
11885 ac_cpp='$CXXCPP $CPPFLAGS'
11886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11890 archive_cmds_need_lc_CXX=no
11891 allow_undefined_flag_CXX=
11892 always_export_symbols_CXX=no
11893 archive_expsym_cmds_CXX=
11894 compiler_needs_object_CXX=no
11895 export_dynamic_flag_spec_CXX=
11896 hardcode_direct_CXX=no
11897 hardcode_direct_absolute_CXX=no
11898 hardcode_libdir_flag_spec_CXX=
11899 hardcode_libdir_separator_CXX=
11900 hardcode_minus_L_CXX=no
11901 hardcode_shlibpath_var_CXX=unsupported
11902 hardcode_automatic_CXX=no
11903 inherit_rpath_CXX=no
11905 module_expsym_cmds_CXX=
11906 link_all_deplibs_CXX=unknown
11907 old_archive_cmds_CXX=$old_archive_cmds
11908 reload_flag_CXX=$reload_flag
11909 reload_cmds_CXX=$reload_cmds
11910 no_undefined_flag_CXX=
11911 whole_archive_flag_spec_CXX=
11912 enable_shared_with_static_runtimes_CXX=no
11914 # Source file extension for C++ test sources.
11917 # Object file extension for compiled C++ test sources.
11921 # No sense in running all these tests if we already determined that
11922 # the CXX compiler isn't working. Some variables (like enable_shared)
11923 # are currently assumed to apply to all compilers on this platform,
11924 # and will be corrupted by setting them based on a non-working compiler.
11925 if test "$_lt_caught_CXX_error" != yes; then
11926 # Code to be used in simple compile tests
11927 lt_simple_compile_test_code="int some_variable = 0;"
11929 # Code to be used in simple link tests
11930 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11932 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11939 # If no C compiler was specified, use CC.
11942 # If no C compiler flags were specified, use CFLAGS.
11943 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11945 # Allow CC to be a program name with arguments.
11949 # save warnings/boilerplate of simple test code
11950 ac_outfile=conftest.$ac_objext
11951 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11952 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11953 _lt_compiler_boilerplate=`cat conftest.err`
11956 ac_outfile=conftest.$ac_objext
11957 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11958 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11959 _lt_linker_boilerplate=`cat conftest.err`
11963 # Allow CC to be a program name with arguments.
11965 lt_save_CFLAGS=$CFLAGS
11969 lt_save_with_gnu_ld=$with_gnu_ld
11970 lt_save_path_LD=$lt_cv_path_LD
11971 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11972 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11974 $as_unset lt_cv_prog_gnu_ld
11976 if test -n "${lt_cv_path_LDCXX+set}"; then
11977 lt_cv_path_LD=$lt_cv_path_LDCXX
11979 $as_unset lt_cv_path_LD
11981 test -z "${LDCXX+set}" || LD=$LDCXX
11986 for cc_temp in $compiler""; do
11988 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11989 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11994 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11997 if test -n "$compiler"; then
11998 # We don't want -fno-exception when compiling C++ code, so set the
11999 # no_builtin_flag separately
12000 if test "$GXX" = yes; then
12001 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12003 lt_prog_compiler_no_builtin_flag_CXX=
12006 if test "$GXX" = yes; then
12007 # Set up default GNU C++ configuration
12011 # Check whether --with-gnu-ld was given.
12012 if test "${with_gnu_ld+set}" = set; then :
12013 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12019 if test "$GCC" = yes; then
12020 # Check if gcc -print-prog-name=ld gives a path.
12021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12022 $as_echo_n "checking for ld used by $CC... " >&6; }
12025 # gcc leaves a trailing carriage return which upsets mingw
12026 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12028 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12031 # Accept absolute paths.
12033 re_direlt='/[^/][^/]*/\.\./'
12034 # Canonicalize the pathname of ld
12035 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12036 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12037 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12039 test -z "$LD" && LD="$ac_prog"
12042 # If it fails, then pretend we aren't using GCC.
12046 # If it is relative, then search for the first ld in PATH.
12047 with_gnu_ld=unknown
12050 elif test "$with_gnu_ld" = yes; then
12051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12052 $as_echo_n "checking for GNU ld... " >&6; }
12054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12055 $as_echo_n "checking for non-GNU ld... " >&6; }
12057 if ${lt_cv_path_LD+:} false; then :
12058 $as_echo_n "(cached) " >&6
12060 if test -z "$LD"; then
12061 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12062 for ac_dir in $PATH; do
12064 test -z "$ac_dir" && ac_dir=.
12065 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12066 lt_cv_path_LD="$ac_dir/$ac_prog"
12067 # Check to see if the program is GNU ld. I'd rather use --version,
12068 # but apparently some variants of GNU ld only accept -v.
12069 # Break only if it was the GNU/non-GNU ld that we prefer.
12070 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12071 *GNU* | *'with BFD'*)
12072 test "$with_gnu_ld" != no && break
12075 test "$with_gnu_ld" != yes && break
12082 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12086 LD="$lt_cv_path_LD"
12087 if test -n "$LD"; then
12088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12089 $as_echo "$LD" >&6; }
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12092 $as_echo "no" >&6; }
12094 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12096 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12097 if ${lt_cv_prog_gnu_ld+:} false; then :
12098 $as_echo_n "(cached) " >&6
12100 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12101 case `$LD -v 2>&1 </dev/null` in
12102 *GNU* | *'with BFD'*)
12103 lt_cv_prog_gnu_ld=yes
12106 lt_cv_prog_gnu_ld=no
12110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12111 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12112 with_gnu_ld=$lt_cv_prog_gnu_ld
12120 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12121 # archiving commands below assume that GNU ld is being used.
12122 if test "$with_gnu_ld" = yes; then
12123 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12124 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'
12126 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12127 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12129 # If archive_cmds runs LD, not CC, wlarc should be empty
12130 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12131 # investigate it a little bit more. (MM)
12134 # ancient GNU ld didn't support --whole-archive et. al.
12135 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12136 $GREP 'no-whole-archive' > /dev/null; then
12137 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12139 whole_archive_flag_spec_CXX=
12145 # A generic and very simple default shared library creation
12146 # command for GNU C++ for the case where it uses the native
12147 # linker, instead of GNU ld. If possible, this setting should
12148 # overridden to take advantage of the native linker features on
12149 # the platform it is being used on.
12150 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12153 # Commands to make compiler produce verbose output that lists
12154 # what "hidden" libraries, object files and flags are used when
12155 # linking a shared library.
12156 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12164 # PORTME: fill in a description of your system's C++ link characteristics
12165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12166 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12170 # FIXME: insert proper C++ library support
12174 if test "$host_cpu" = ia64; then
12175 # On IA64, the linker does run time linking by default, so we don't
12176 # have to do anything special.
12177 aix_use_runtimelinking=no
12178 exp_sym_flag='-Bexport'
12181 aix_use_runtimelinking=no
12183 # Test if we are trying to use run time linking or normal
12184 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12185 # need to do runtime linking.
12186 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12187 for ld_flag in $LDFLAGS; do
12190 aix_use_runtimelinking=yes
12198 exp_sym_flag='-bexport'
12199 no_entry_flag='-bnoentry'
12202 # When large executables or shared objects are built, AIX ld can
12203 # have problems creating the table of contents. If linking a library
12204 # or program results in "error TOC overflow" add -mminimal-toc to
12205 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12206 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12208 archive_cmds_CXX=''
12209 hardcode_direct_CXX=yes
12210 hardcode_direct_absolute_CXX=yes
12211 hardcode_libdir_separator_CXX=':'
12212 link_all_deplibs_CXX=yes
12213 file_list_spec_CXX='${wl}-f,'
12215 if test "$GXX" = yes; then
12216 case $host_os in aix4.[012]|aix4.[012].*)
12217 # We only want to do this on AIX 4.2 and lower, the check
12218 # below for broken collect2 doesn't work under 4.3+
12219 collect2name=`${CC} -print-prog-name=collect2`
12220 if test -f "$collect2name" &&
12221 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12223 # We have reworked collect2
12226 # We have old collect2
12227 hardcode_direct_CXX=unsupported
12228 # It fails to find uninstalled libraries when the uninstalled
12229 # path is not listed in the libpath. Setting hardcode_minus_L
12230 # to unsupported forces relinking
12231 hardcode_minus_L_CXX=yes
12232 hardcode_libdir_flag_spec_CXX='-L$libdir'
12233 hardcode_libdir_separator_CXX=
12236 shared_flag='-shared'
12237 if test "$aix_use_runtimelinking" = yes; then
12238 shared_flag="$shared_flag "'${wl}-G'
12242 if test "$host_cpu" = ia64; then
12243 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12244 # chokes on -Wl,-G. The following line is correct:
12247 if test "$aix_use_runtimelinking" = yes; then
12248 shared_flag='${wl}-G'
12250 shared_flag='${wl}-bM:SRE'
12255 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12256 # It seems that -bexpall does not export symbols beginning with
12257 # underscore (_), so it is better to generate a list of symbols to
12259 always_export_symbols_CXX=yes
12260 if test "$aix_use_runtimelinking" = yes; then
12261 # Warning - without using the other runtime loading flags (-brtl),
12262 # -berok will link without error, but may produce a broken library.
12263 allow_undefined_flag_CXX='-berok'
12264 # Determine the default libpath from the value encoded in an empty
12266 if test "${lt_cv_aix_libpath+set}" = set; then
12267 aix_libpath=$lt_cv_aix_libpath
12269 if ${lt_cv_aix_libpath__CXX+:} false; then :
12270 $as_echo_n "(cached) " >&6
12272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12273 /* end confdefs.h. */
12283 if ac_fn_cxx_try_link "$LINENO"; then :
12285 lt_aix_libpath_sed='
12286 /Import File Strings/,/^$/ {
12288 s/^0 *\([^ ]*\) *$/\1/
12292 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12293 # Check for a 64-bit object if we didn't find anything.
12294 if test -z "$lt_cv_aix_libpath__CXX"; then
12295 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12298 rm -f core conftest.err conftest.$ac_objext \
12299 conftest$ac_exeext conftest.$ac_ext
12300 if test -z "$lt_cv_aix_libpath__CXX"; then
12301 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
12306 aix_libpath=$lt_cv_aix_libpath__CXX
12309 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12311 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"
12313 if test "$host_cpu" = ia64; then
12314 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12315 allow_undefined_flag_CXX="-z nodefs"
12316 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"
12318 # Determine the default libpath from the value encoded in an
12319 # empty executable.
12320 if test "${lt_cv_aix_libpath+set}" = set; then
12321 aix_libpath=$lt_cv_aix_libpath
12323 if ${lt_cv_aix_libpath__CXX+:} false; then :
12324 $as_echo_n "(cached) " >&6
12326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12327 /* end confdefs.h. */
12337 if ac_fn_cxx_try_link "$LINENO"; then :
12339 lt_aix_libpath_sed='
12340 /Import File Strings/,/^$/ {
12342 s/^0 *\([^ ]*\) *$/\1/
12346 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12347 # Check for a 64-bit object if we didn't find anything.
12348 if test -z "$lt_cv_aix_libpath__CXX"; then
12349 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12352 rm -f core conftest.err conftest.$ac_objext \
12353 conftest$ac_exeext conftest.$ac_ext
12354 if test -z "$lt_cv_aix_libpath__CXX"; then
12355 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
12360 aix_libpath=$lt_cv_aix_libpath__CXX
12363 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12364 # Warning - without using the other run time loading flags,
12365 # -berok will link without error, but may produce a broken library.
12366 no_undefined_flag_CXX=' ${wl}-bernotok'
12367 allow_undefined_flag_CXX=' ${wl}-berok'
12368 if test "$with_gnu_ld" = yes; then
12369 # We only use this code for GNU lds that support --whole-archive.
12370 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12372 # Exported symbols can be pulled into shared objects from archives
12373 whole_archive_flag_spec_CXX='$convenience'
12375 archive_cmds_need_lc_CXX=yes
12376 # This is similar to how AIX traditionally builds its shared
12378 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'
12384 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12385 allow_undefined_flag_CXX=unsupported
12386 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12387 # support --undefined. This deserves some investigation. FIXME
12388 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12395 case $cc_basename in
12397 # FIXME: insert proper C++ library support
12403 cygwin* | mingw* | pw32* | cegcc*)
12404 case $GXX,$cc_basename in
12407 # hardcode_libdir_flag_spec is actually meaningless, as there is
12408 # no search path for DLLs.
12409 hardcode_libdir_flag_spec_CXX=' '
12410 allow_undefined_flag_CXX=unsupported
12411 always_export_symbols_CXX=yes
12412 file_list_spec_CXX='@'
12413 # Tell ltmain to make .lib files, not .a files.
12415 # Tell ltmain to make .dll files, not .so files.
12417 # FIXME: Setting linknames here is a bad hack.
12418 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
12419 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12420 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
12422 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
12424 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12426 # The linker will not automatically build a static lib if we build a DLL.
12427 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
12428 enable_shared_with_static_runtimes_CXX=yes
12430 old_postinstall_cmds_CXX='chmod 644 $oldlib'
12431 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
12432 lt_tool_outputfile="@TOOL_OUTPUT@"~
12433 case $lt_outputfile in
12436 lt_outputfile="$lt_outputfile.exe"
12437 lt_tool_outputfile="$lt_tool_outputfile.exe"
12440 func_to_tool_file "$lt_outputfile"~
12441 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
12442 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12443 $RM "$lt_outputfile.manifest";
12448 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12449 # as there is no search path for DLLs.
12450 hardcode_libdir_flag_spec_CXX='-L$libdir'
12451 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12452 allow_undefined_flag_CXX=unsupported
12453 always_export_symbols_CXX=no
12454 enable_shared_with_static_runtimes_CXX=yes
12456 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12457 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'
12458 # If the export-symbols file already is a .def file (1st line
12459 # is EXPORTS), use it as is; otherwise, prepend...
12460 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12461 cp $export_symbols $output_objdir/$soname.def;
12463 echo EXPORTS > $output_objdir/$soname.def;
12464 cat $export_symbols >> $output_objdir/$soname.def;
12466 $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'
12473 darwin* | rhapsody*)
12476 archive_cmds_need_lc_CXX=no
12477 hardcode_direct_CXX=no
12478 hardcode_automatic_CXX=yes
12479 hardcode_shlibpath_var_CXX=unsupported
12480 if test "$lt_cv_ld_force_load" = "yes"; then
12481 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\"`'
12484 whole_archive_flag_spec_CXX=''
12486 link_all_deplibs_CXX=yes
12487 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12488 case $cc_basename in
12489 ifort*) _lt_dar_can_shared=yes ;;
12490 *) _lt_dar_can_shared=$GCC ;;
12492 if test "$_lt_dar_can_shared" = "yes"; then
12493 output_verbose_link_cmd=func_echo_all
12494 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}"
12495 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12496 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}"
12497 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}"
12498 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12499 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}"
12500 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}"
12510 case $cc_basename in
12512 # FIXME: insert proper C++ library support
12516 # Green Hills C++ Compiler
12517 # FIXME: insert proper C++ library support
12521 # FIXME: insert proper C++ library support
12528 # C++ shared libraries reported to be fairly broken before
12534 archive_cmds_need_lc_CXX=no
12537 freebsd* | dragonfly*)
12538 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12547 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12548 link_all_deplibs_CXX=yes
12552 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12553 hardcode_libdir_separator_CXX=:
12554 export_dynamic_flag_spec_CXX='${wl}-E'
12555 hardcode_direct_CXX=yes
12556 hardcode_minus_L_CXX=yes # Not in the search PATH,
12557 # but as the default
12558 # location of the library.
12560 case $cc_basename in
12562 # FIXME: insert proper C++ library support
12566 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'
12567 # Commands to make compiler produce verbose output that lists
12568 # what "hidden" libraries, object files and flags are used when
12569 # linking a shared library.
12571 # There doesn't appear to be a way to prevent this compiler from
12572 # explicitly linking system object files so we need to strip them
12573 # from the output so that they don't get included in the library
12575 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"'
12578 if test "$GXX" = yes; then
12579 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'
12581 # FIXME: insert proper C++ library support
12589 if test $with_gnu_ld = no; then
12590 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12591 hardcode_libdir_separator_CXX=:
12597 export_dynamic_flag_spec_CXX='${wl}-E'
12603 hardcode_direct_CXX=no
12604 hardcode_shlibpath_var_CXX=no
12607 hardcode_direct_CXX=yes
12608 hardcode_direct_absolute_CXX=yes
12609 hardcode_minus_L_CXX=yes # Not in the search PATH,
12610 # but as the default
12611 # location of the library.
12615 case $cc_basename in
12617 # FIXME: insert proper C++ library support
12623 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12626 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12629 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12632 # Commands to make compiler produce verbose output that lists
12633 # what "hidden" libraries, object files and flags are used when
12634 # linking a shared library.
12636 # There doesn't appear to be a way to prevent this compiler from
12637 # explicitly linking system object files so we need to strip them
12638 # from the output so that they don't get included in the library
12640 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"'
12643 if test "$GXX" = yes; then
12644 if test $with_gnu_ld = no; then
12647 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12650 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12653 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'
12658 # FIXME: insert proper C++ library support
12666 hardcode_direct_CXX=no
12667 hardcode_shlibpath_var_CXX=no
12668 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12669 export_dynamic_flag_spec_CXX='${wl}-E'
12670 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12671 # Instead, shared libraries are loaded at an image base (0x10000000 by
12672 # default) and relocated if they conflict, which is a slow very memory
12673 # consuming and fragmenting process. To avoid this, we pick a random,
12674 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12675 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12676 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'
12677 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'
12680 case $cc_basename in
12683 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'
12685 # Archives containing C++ object files must be created using
12686 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12687 # necessary to make sure instantiated templates are included
12689 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12692 if test "$GXX" = yes; then
12693 if test "$with_gnu_ld" = no; then
12694 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'
12696 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'
12699 link_all_deplibs_CXX=yes
12702 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12703 hardcode_libdir_separator_CXX=:
12704 inherit_rpath_CXX=yes
12707 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12708 case $cc_basename in
12710 # Kuck and Associates, Inc. (KAI) C++ Compiler
12712 # KCC will only create a shared library if the output file
12713 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12714 # to its proper name (with version) after linking.
12715 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'
12716 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'
12717 # Commands to make compiler produce verbose output that lists
12718 # what "hidden" libraries, object files and flags are used when
12719 # linking a shared library.
12721 # There doesn't appear to be a way to prevent this compiler from
12722 # explicitly linking system object files so we need to strip them
12723 # from the output so that they don't get included in the library
12725 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"'
12727 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12728 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12730 # Archives containing C++ object files must be created using
12731 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12732 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12737 # version 8.0 and above of icpc choke on multiply defined symbols
12738 # if we add $predep_objects and $postdep_objects, however 7.1 and
12739 # earlier do not add the objects themselves.
12740 case `$CC -V 2>&1` in
12742 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12743 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'
12745 *) # Version 8.0 or newer
12748 ia64*) tmp_idyn=' -i_dynamic';;
12750 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12751 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'
12754 archive_cmds_need_lc_CXX=no
12755 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12756 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12757 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12760 # Portland Group C++ compiler
12762 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12763 prelink_cmds_CXX='tpldir=Template.dir~
12765 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12766 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
12767 old_archive_cmds_CXX='tpldir=Template.dir~
12769 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12770 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
12772 archive_cmds_CXX='tpldir=Template.dir~
12774 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12775 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12776 archive_expsym_cmds_CXX='tpldir=Template.dir~
12778 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12779 $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'
12781 *) # Version 6 and above use weak symbols
12782 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12783 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'
12787 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12788 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12789 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'
12793 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12794 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'
12796 runpath_var=LD_RUN_PATH
12797 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12798 hardcode_libdir_separator_CXX=:
12800 # Commands to make compiler produce verbose output that lists
12801 # what "hidden" libraries, object files and flags are used when
12802 # linking a shared library.
12804 # There doesn't appear to be a way to prevent this compiler from
12805 # explicitly linking system object files so we need to strip them
12806 # from the output so that they don't get included in the library
12808 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'
12810 xl* | mpixl* | bgxl*)
12811 # IBM XL 8.0 on PPC, with GNU ld
12812 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12813 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12814 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12815 if test "x$supports_anon_versioning" = xyes; then
12816 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12817 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12818 echo "local: *; };" >> $output_objdir/$libname.ver~
12819 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12823 case `$CC -V 2>&1 | sed 5q` in
12826 no_undefined_flag_CXX=' -zdefs'
12827 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12828 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'
12829 hardcode_libdir_flag_spec_CXX='-R$libdir'
12830 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'
12831 compiler_needs_object_CXX=yes
12833 # Not sure whether something based on
12834 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12836 output_verbose_link_cmd='func_echo_all'
12838 # Archives containing C++ object files must be created using
12839 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12840 # necessary to make sure instantiated templates are included
12842 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12850 # FIXME: insert proper C++ library support
12855 # FIXME: insert proper C++ library support
12860 case $cc_basename in
12862 # FIXME: insert proper C++ library support
12866 # FIXME: insert proper C++ library support
12873 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12874 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12876 hardcode_libdir_flag_spec_CXX='-R$libdir'
12877 hardcode_direct_CXX=yes
12878 hardcode_shlibpath_var_CXX=no
12880 # Workaround some broken pre-1.5 toolchains
12881 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12889 # C++ shared libraries are fairly broken
12894 if test -f /usr/libexec/ld.so; then
12895 hardcode_direct_CXX=yes
12896 hardcode_shlibpath_var_CXX=no
12897 hardcode_direct_absolute_CXX=yes
12898 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12899 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12900 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12901 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12902 export_dynamic_flag_spec_CXX='${wl}-E'
12903 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12905 output_verbose_link_cmd=func_echo_all
12911 osf3* | osf4* | osf5*)
12912 case $cc_basename in
12914 # Kuck and Associates, Inc. (KAI) C++ Compiler
12916 # KCC will only create a shared library if the output file
12917 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12918 # to its proper name (with version) after linking.
12919 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'
12921 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12922 hardcode_libdir_separator_CXX=:
12924 # Archives containing C++ object files must be created using
12925 # the KAI C++ compiler.
12927 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12928 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12932 # Rational C++ 2.4.1
12933 # FIXME: insert proper C++ library support
12939 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12940 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'
12941 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12944 allow_undefined_flag_CXX=' -expect_unresolved \*'
12945 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'
12946 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12947 echo "-hidden">> $lib.exp~
12948 $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~
12950 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12954 hardcode_libdir_separator_CXX=:
12956 # Commands to make compiler produce verbose output that lists
12957 # what "hidden" libraries, object files and flags are used when
12958 # linking a shared library.
12960 # There doesn't appear to be a way to prevent this compiler from
12961 # explicitly linking system object files so we need to strip them
12962 # from the output so that they don't get included in the library
12964 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"'
12967 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12968 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12971 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'
12974 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'
12978 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12979 hardcode_libdir_separator_CXX=:
12981 # Commands to make compiler produce verbose output that lists
12982 # what "hidden" libraries, object files and flags are used when
12983 # linking a shared library.
12984 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12987 # FIXME: insert proper C++ library support
12995 # FIXME: insert proper C++ library support
13000 case $cc_basename in
13003 # FIXME: insert proper C++ library support
13008 # FIXME: insert proper C++ library support
13012 # FIXME: insert proper C++ library support
13019 case $cc_basename in
13021 # Sun C++ 4.2, 5.x and Centerline C++
13022 archive_cmds_need_lc_CXX=yes
13023 no_undefined_flag_CXX=' -zdefs'
13024 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13025 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13026 $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'
13028 hardcode_libdir_flag_spec_CXX='-R$libdir'
13029 hardcode_shlibpath_var_CXX=no
13031 solaris2.[0-5] | solaris2.[0-5].*) ;;
13033 # The compiler driver will combine and reorder linker options,
13034 # but understands `-z linker_flag'.
13035 # Supported since Solaris 2.6 (maybe 2.5.1?)
13036 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13039 link_all_deplibs_CXX=yes
13041 output_verbose_link_cmd='func_echo_all'
13043 # Archives containing C++ object files must be created using
13044 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13045 # necessary to make sure instantiated templates are included
13047 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13050 # Green Hills C++ Compiler
13051 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13053 # The C++ compiler must be used to create the archive.
13054 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13057 # GNU C++ compiler with Solaris linker
13058 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13059 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13060 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13061 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13062 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13063 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13065 # Commands to make compiler produce verbose output that lists
13066 # what "hidden" libraries, object files and flags are used when
13067 # linking a shared library.
13068 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13070 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13072 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13073 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13074 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13076 # Commands to make compiler produce verbose output that lists
13077 # what "hidden" libraries, object files and flags are used when
13078 # linking a shared library.
13079 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13082 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13084 solaris2.[0-5] | solaris2.[0-5].*) ;;
13086 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13094 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13095 no_undefined_flag_CXX='${wl}-z,text'
13096 archive_cmds_need_lc_CXX=no
13097 hardcode_shlibpath_var_CXX=no
13098 runpath_var='LD_RUN_PATH'
13100 case $cc_basename in
13102 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13103 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13106 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13107 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13112 sysv5* | sco3.2v5* | sco5v6*)
13113 # Note: We can NOT use -z defs as we might desire, because we do not
13114 # link with -lc, and that would cause any symbols used from libc to
13115 # always be unresolved, which means just about no library would
13116 # ever link correctly. If we're not using GNU ld we use -z text
13117 # though, which does catch some bad symbols but isn't as heavy-handed
13119 no_undefined_flag_CXX='${wl}-z,text'
13120 allow_undefined_flag_CXX='${wl}-z,nodefs'
13121 archive_cmds_need_lc_CXX=no
13122 hardcode_shlibpath_var_CXX=no
13123 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13124 hardcode_libdir_separator_CXX=':'
13125 link_all_deplibs_CXX=yes
13126 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13127 runpath_var='LD_RUN_PATH'
13129 case $cc_basename in
13131 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13132 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13133 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13134 '"$old_archive_cmds_CXX"
13135 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13136 '"$reload_cmds_CXX"
13139 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13140 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13146 case $cc_basename in
13148 # NonStop-UX NCC 3.20
13149 # FIXME: insert proper C++ library support
13153 # FIXME: insert proper C++ library support
13160 # FIXME: insert proper C++ library support
13165 # FIXME: insert proper C++ library support
13170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13171 $as_echo "$ld_shlibs_CXX" >&6; }
13172 test "$ld_shlibs_CXX" = no && can_build_shared=no
13178 ## There is no encapsulation within the following macros, do not change
13179 ## the running order or otherwise move them around unless you know exactly
13180 ## what you are doing...
13181 # Dependencies to place before and after the object being linked:
13182 predep_objects_CXX=
13183 postdep_objects_CXX=
13186 compiler_lib_search_path_CXX=
13188 cat > conftest.$ac_ext <<_LT_EOF
13192 Foo (void) { a = 0; }
13199 _lt_libdeps_save_CFLAGS=$CFLAGS
13200 case "$CC $CFLAGS " in #(
13201 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
13202 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
13203 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
13206 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13207 (eval $ac_compile) 2>&5
13209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13210 test $ac_status = 0; }; then
13211 # Parse the compiler output and extract the necessary
13212 # objects, libraries and library flags.
13214 # Sentinel used to keep track of whether or not we are before
13215 # the conftest object file.
13216 pre_test_object_deps_done=no
13218 for p in `eval "$output_verbose_link_cmd"`; do
13219 case ${prev}${p} in
13222 # Some compilers place space between "-{L,R}" and the path.
13223 # Remove the space.
13224 if test $p = "-L" ||
13225 test $p = "-R"; then
13230 # Expand the sysroot to ease extracting the directories later.
13231 if test -z "$prev"; then
13233 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
13234 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
13235 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
13239 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
13241 if test "$pre_test_object_deps_done" = no; then
13244 # Internal compiler library paths should come after those
13245 # provided the user. The postdeps already come after the
13246 # user supplied libs so there is no need to process them.
13247 if test -z "$compiler_lib_search_path_CXX"; then
13248 compiler_lib_search_path_CXX="${prev}${p}"
13250 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13253 # The "-l" case would never come before the object being
13254 # linked, so don't bother handling this case.
13257 if test -z "$postdeps_CXX"; then
13258 postdeps_CXX="${prev}${p}"
13260 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13266 *.lto.$objext) ;; # Ignore GCC LTO objects
13268 # This assumes that the test object file only shows up
13269 # once in the compiler output.
13270 if test "$p" = "conftest.$objext"; then
13271 pre_test_object_deps_done=yes
13275 if test "$pre_test_object_deps_done" = no; then
13276 if test -z "$predep_objects_CXX"; then
13277 predep_objects_CXX="$p"
13279 predep_objects_CXX="$predep_objects_CXX $p"
13282 if test -z "$postdep_objects_CXX"; then
13283 postdep_objects_CXX="$p"
13285 postdep_objects_CXX="$postdep_objects_CXX $p"
13290 *) ;; # Ignore the rest.
13298 echo "libtool.m4: error: problem compiling CXX test program"
13301 $RM -f confest.$objext
13302 CFLAGS=$_lt_libdeps_save_CFLAGS
13304 # PORTME: override above test on systems where it is broken
13307 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13308 # hack all around it, let's just trust "g++" to DTRT.
13309 predep_objects_CXX=
13310 postdep_objects_CXX=
13315 case `$CC -V 2>&1 | sed 5q` in
13319 # The more standards-conforming stlport4 library is
13320 # incompatible with the Cstd library. Avoid specifying
13321 # it if it's in CXXFLAGS. Ignore libCrun as
13322 # -library=stlport4 depends on it.
13323 case " $CXX $CXXFLAGS " in
13324 *" -library=stlport4 "*)
13325 solaris_use_stlport4=yes
13329 if test "$solaris_use_stlport4" != yes; then
13330 postdeps_CXX='-library=Cstd -library=Crun'
13337 case $cc_basename in
13339 # The more standards-conforming stlport4 library is
13340 # incompatible with the Cstd library. Avoid specifying
13341 # it if it's in CXXFLAGS. Ignore libCrun as
13342 # -library=stlport4 depends on it.
13343 case " $CXX $CXXFLAGS " in
13344 *" -library=stlport4 "*)
13345 solaris_use_stlport4=yes
13349 # Adding this requires a known-good setup of shared libraries for
13350 # Sun compiler versions before 5.6, else PIC objects from an old
13351 # archive will be linked into the output, leading to subtle bugs.
13352 if test "$solaris_use_stlport4" != yes; then
13353 postdeps_CXX='-library=Cstd -library=Crun'
13361 case " $postdeps_CXX " in
13362 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13364 compiler_lib_search_dirs_CXX=
13365 if test -n "${compiler_lib_search_path_CXX}"; then
13366 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13399 lt_prog_compiler_wl_CXX=
13400 lt_prog_compiler_pic_CXX=
13401 lt_prog_compiler_static_CXX=
13404 # C++ specific cases for pic, static, wl, etc.
13405 if test "$GXX" = yes; then
13406 lt_prog_compiler_wl_CXX='-Wl,'
13407 lt_prog_compiler_static_CXX='-static'
13411 # All AIX code is PIC.
13412 if test "$host_cpu" = ia64; then
13413 # AIX 5 now supports IA64 processor
13414 lt_prog_compiler_static_CXX='-Bstatic'
13421 # see comment about AmigaOS4 .so support
13422 lt_prog_compiler_pic_CXX='-fPIC'
13425 # FIXME: we need at least 68020 code to build shared libraries, but
13426 # adding the `-m68020' flag to GCC prevents building anything better,
13428 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13433 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13434 # PIC is the default for these OSes.
13436 mingw* | cygwin* | os2* | pw32* | cegcc*)
13437 # This hack is so that the source file can tell whether it is being
13438 # built for inclusion in a dll (and should export symbols for example).
13439 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13440 # (--disable-auto-import) libraries
13441 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13443 darwin* | rhapsody*)
13444 # PIC is the default on this platform
13445 # Common symbols not allowed in MH_DYLIB files
13446 lt_prog_compiler_pic_CXX='-fno-common'
13449 # DJGPP does not support shared libraries at all
13450 lt_prog_compiler_pic_CXX=
13453 # PIC is the default for Haiku.
13454 # The "-static" flag exists, but is broken.
13455 lt_prog_compiler_static_CXX=
13458 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13459 # Instead, we relocate shared libraries at runtime.
13462 if test -d /usr/nec; then
13463 lt_prog_compiler_pic_CXX=-Kconform_pic
13467 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13468 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13469 # sets the default TLS model and affects inlining.
13474 lt_prog_compiler_pic_CXX='-fPIC'
13479 # QNX uses GNU C++, but need to define -shared option too, otherwise
13480 # it will coredump.
13481 lt_prog_compiler_pic_CXX='-fPIC -shared'
13484 lt_prog_compiler_pic_CXX='-fPIC'
13490 # All AIX code is PIC.
13491 if test "$host_cpu" = ia64; then
13492 # AIX 5 now supports IA64 processor
13493 lt_prog_compiler_static_CXX='-Bstatic'
13495 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13499 case $cc_basename in
13501 # Green Hills C++ Compiler
13502 # _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"
13506 mingw* | cygwin* | os2* | pw32* | cegcc*)
13507 # This hack is so that the source file can tell whether it is being
13508 # built for inclusion in a dll (and should export symbols for example).
13509 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13512 case $cc_basename in
13514 lt_prog_compiler_pic_CXX='-KPIC'
13517 # Green Hills C++ Compiler
13518 lt_prog_compiler_pic_CXX='-pic'
13524 freebsd* | dragonfly*)
13525 # FreeBSD uses GNU C++
13527 hpux9* | hpux10* | hpux11*)
13528 case $cc_basename in
13530 lt_prog_compiler_wl_CXX='-Wl,'
13531 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13532 if test "$host_cpu" != ia64; then
13533 lt_prog_compiler_pic_CXX='+Z'
13537 lt_prog_compiler_wl_CXX='-Wl,'
13538 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13544 lt_prog_compiler_pic_CXX='+Z'
13553 # This is c89, which is MS Visual C++ (no shared libs)
13554 # Anyone wants to do a port?
13556 irix5* | irix6* | nonstopux*)
13557 case $cc_basename in
13559 lt_prog_compiler_wl_CXX='-Wl,'
13560 lt_prog_compiler_static_CXX='-non_shared'
13561 # CC pic flag -KPIC is the default.
13567 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13568 case $cc_basename in
13571 lt_prog_compiler_wl_CXX='--backend -Wl,'
13572 lt_prog_compiler_pic_CXX='-fPIC'
13575 # old Intel C++ for x86_64 which still supported -KPIC.
13576 lt_prog_compiler_wl_CXX='-Wl,'
13577 lt_prog_compiler_pic_CXX='-KPIC'
13578 lt_prog_compiler_static_CXX='-static'
13581 # Intel C++, used to be incompatible with GCC.
13582 # ICC 10 doesn't accept -KPIC any more.
13583 lt_prog_compiler_wl_CXX='-Wl,'
13584 lt_prog_compiler_pic_CXX='-fPIC'
13585 lt_prog_compiler_static_CXX='-static'
13588 # Portland Group C++ compiler
13589 lt_prog_compiler_wl_CXX='-Wl,'
13590 lt_prog_compiler_pic_CXX='-fpic'
13591 lt_prog_compiler_static_CXX='-Bstatic'
13595 # Make sure the PIC flag is empty. It appears that all Alpha
13596 # Linux and Compaq Tru64 Unix objects are PIC.
13597 lt_prog_compiler_pic_CXX=
13598 lt_prog_compiler_static_CXX='-non_shared'
13600 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13601 # IBM XL 8.0, 9.0 on PPC and BlueGene
13602 lt_prog_compiler_wl_CXX='-Wl,'
13603 lt_prog_compiler_pic_CXX='-qpic'
13604 lt_prog_compiler_static_CXX='-qstaticlink'
13607 case `$CC -V 2>&1 | sed 5q` in
13610 lt_prog_compiler_pic_CXX='-KPIC'
13611 lt_prog_compiler_static_CXX='-Bstatic'
13612 lt_prog_compiler_wl_CXX='-Qoption ld '
13623 case $cc_basename in
13625 lt_prog_compiler_pic_CXX='-W c,exportall'
13634 # QNX uses GNU C++, but need to define -shared option too, otherwise
13635 # it will coredump.
13636 lt_prog_compiler_pic_CXX='-fPIC -shared'
13638 osf3* | osf4* | osf5*)
13639 case $cc_basename in
13641 lt_prog_compiler_wl_CXX='--backend -Wl,'
13644 # Rational C++ 2.4.1
13645 lt_prog_compiler_pic_CXX='-pic'
13648 # Digital/Compaq C++
13649 lt_prog_compiler_wl_CXX='-Wl,'
13650 # Make sure the PIC flag is empty. It appears that all Alpha
13651 # Linux and Compaq Tru64 Unix objects are PIC.
13652 lt_prog_compiler_pic_CXX=
13653 lt_prog_compiler_static_CXX='-non_shared'
13662 case $cc_basename in
13664 # Sun C++ 4.2, 5.x and Centerline C++
13665 lt_prog_compiler_pic_CXX='-KPIC'
13666 lt_prog_compiler_static_CXX='-Bstatic'
13667 lt_prog_compiler_wl_CXX='-Qoption ld '
13670 # Green Hills C++ Compiler
13671 lt_prog_compiler_pic_CXX='-PIC'
13678 case $cc_basename in
13681 lt_prog_compiler_pic_CXX='-pic'
13682 lt_prog_compiler_static_CXX='-Bstatic'
13686 lt_prog_compiler_pic_CXX='-pic'
13692 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13693 case $cc_basename in
13695 lt_prog_compiler_wl_CXX='-Wl,'
13696 lt_prog_compiler_pic_CXX='-KPIC'
13697 lt_prog_compiler_static_CXX='-Bstatic'
13702 case $cc_basename in
13704 # NonStop-UX NCC 3.20
13705 lt_prog_compiler_pic_CXX='-KPIC'
13714 lt_prog_compiler_can_build_shared_CXX=no
13720 # For platforms which do not support PIC, -DPIC is meaningless:
13722 lt_prog_compiler_pic_CXX=
13725 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13730 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13731 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
13732 $as_echo_n "(cached) " >&6
13734 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
13736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
13737 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
13738 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
13741 # Check to make sure the PIC flag actually works.
13743 if test -n "$lt_prog_compiler_pic_CXX"; then
13744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13745 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13746 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
13747 $as_echo_n "(cached) " >&6
13749 lt_cv_prog_compiler_pic_works_CXX=no
13750 ac_outfile=conftest.$ac_objext
13751 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13752 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13753 # Insert the option either (1) after the last *FLAGS variable, or
13754 # (2) before a word containing "conftest.", or (3) at the end.
13755 # Note that $ac_compile itself does not contain backslashes and begins
13756 # with a dollar sign (not a hyphen), so the echo should work correctly.
13757 # The option is referenced via a variable to avoid confusing sed.
13758 lt_compile=`echo "$ac_compile" | $SED \
13759 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13760 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13761 -e 's:$: $lt_compiler_flag:'`
13762 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13763 (eval "$lt_compile" 2>conftest.err)
13765 cat conftest.err >&5
13766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13767 if (exit $ac_status) && test -s "$ac_outfile"; then
13768 # The compiler can only warn and ignore the option if not recognized
13769 # So say no if there are warnings other than the usual output.
13770 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13771 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13772 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13773 lt_cv_prog_compiler_pic_works_CXX=yes
13779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13780 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13782 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13783 case $lt_prog_compiler_pic_CXX in
13785 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13788 lt_prog_compiler_pic_CXX=
13789 lt_prog_compiler_can_build_shared_CXX=no
13799 # Check to make sure the static flag actually works.
13801 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13803 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13804 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
13805 $as_echo_n "(cached) " >&6
13807 lt_cv_prog_compiler_static_works_CXX=no
13808 save_LDFLAGS="$LDFLAGS"
13809 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13810 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13811 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13812 # The linker can only warn and ignore the option if not recognized
13813 # So say no if there are warnings
13814 if test -s conftest.err; then
13815 # Append any errors to the config.log.
13816 cat conftest.err 1>&5
13817 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13818 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13819 if diff conftest.exp conftest.er2 >/dev/null; then
13820 lt_cv_prog_compiler_static_works_CXX=yes
13823 lt_cv_prog_compiler_static_works_CXX=yes
13827 LDFLAGS="$save_LDFLAGS"
13830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13831 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13833 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13836 lt_prog_compiler_static_CXX=
13842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13843 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13844 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
13845 $as_echo_n "(cached) " >&6
13847 lt_cv_prog_compiler_c_o_CXX=no
13848 $RM -r conftest 2>/dev/null
13852 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13854 lt_compiler_flag="-o out/conftest2.$ac_objext"
13855 # Insert the option either (1) after the last *FLAGS variable, or
13856 # (2) before a word containing "conftest.", or (3) at the end.
13857 # Note that $ac_compile itself does not contain backslashes and begins
13858 # with a dollar sign (not a hyphen), so the echo should work correctly.
13859 lt_compile=`echo "$ac_compile" | $SED \
13860 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13861 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13862 -e 's:$: $lt_compiler_flag:'`
13863 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13864 (eval "$lt_compile" 2>out/conftest.err)
13866 cat out/conftest.err >&5
13867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13868 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13870 # The compiler can only warn and ignore the option if not recognized
13871 # So say no if there are warnings
13872 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13873 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13874 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13875 lt_cv_prog_compiler_c_o_CXX=yes
13880 # SGI C++ compiler will create directory out/ii_files/ for
13881 # template instantiation
13882 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13883 $RM out/* && rmdir out
13889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13890 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13895 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13896 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
13897 $as_echo_n "(cached) " >&6
13899 lt_cv_prog_compiler_c_o_CXX=no
13900 $RM -r conftest 2>/dev/null
13904 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13906 lt_compiler_flag="-o out/conftest2.$ac_objext"
13907 # Insert the option either (1) after the last *FLAGS variable, or
13908 # (2) before a word containing "conftest.", or (3) at the end.
13909 # Note that $ac_compile itself does not contain backslashes and begins
13910 # with a dollar sign (not a hyphen), so the echo should work correctly.
13911 lt_compile=`echo "$ac_compile" | $SED \
13912 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13913 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13914 -e 's:$: $lt_compiler_flag:'`
13915 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13916 (eval "$lt_compile" 2>out/conftest.err)
13918 cat out/conftest.err >&5
13919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13920 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13922 # The compiler can only warn and ignore the option if not recognized
13923 # So say no if there are warnings
13924 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13925 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13926 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13927 lt_cv_prog_compiler_c_o_CXX=yes
13932 # SGI C++ compiler will create directory out/ii_files/ for
13933 # template instantiation
13934 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13935 $RM out/* && rmdir out
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13942 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13947 hard_links="nottested"
13948 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13949 # do not overwrite the value of need_locks provided by the user
13950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13951 $as_echo_n "checking if we can lock with hard links... " >&6; }
13954 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13956 ln conftest.a conftest.b 2>&5 || hard_links=no
13957 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13959 $as_echo "$hard_links" >&6; }
13960 if test "$hard_links" = no; then
13961 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13962 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13972 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13974 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13975 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13978 # If we're using GNU nm, then we don't want the "-C" option.
13979 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13980 # Also, AIX nm treats weak defined symbols like other global defined
13981 # symbols, whereas GNU nm marks them as "W".
13982 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13983 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'
13985 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'
13989 export_symbols_cmds_CXX="$ltdll_cmds"
13991 cygwin* | mingw* | cegcc*)
13992 case $cc_basename in
13994 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
13997 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'
13998 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14003 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14008 $as_echo "$ld_shlibs_CXX" >&6; }
14009 test "$ld_shlibs_CXX" = no && can_build_shared=no
14011 with_gnu_ld_CXX=$with_gnu_ld
14019 # Do we need to explicitly link libc?
14021 case "x$archive_cmds_need_lc_CXX" in
14023 # Assume -lc should be added
14024 archive_cmds_need_lc_CXX=yes
14026 if test "$enable_shared" = yes && test "$GCC" = yes; then
14027 case $archive_cmds_CXX in
14029 # FIXME: we may have to deal with multi-command sequences.
14032 # Test whether the compiler implicitly links with -lc since on some
14033 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14034 # to ld, don't add -lc before -lgcc.
14035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14036 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14037 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14038 $as_echo_n "(cached) " >&6
14041 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14043 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14044 (eval $ac_compile) 2>&5
14046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14047 test $ac_status = 0; } 2>conftest.err; then
14050 libobjs=conftest.$ac_objext
14052 wl=$lt_prog_compiler_wl_CXX
14053 pic_flag=$lt_prog_compiler_pic_CXX
14059 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14060 allow_undefined_flag_CXX=
14061 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14062 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14065 test $ac_status = 0; }
14067 lt_cv_archive_cmds_need_lc_CXX=no
14069 lt_cv_archive_cmds_need_lc_CXX=yes
14071 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14073 cat conftest.err 1>&5
14078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14079 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14080 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14149 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14151 library_names_spec=
14152 libname_spec='lib$name'
14156 postuninstall_cmds=
14160 shlibpath_overrides_runpath=unknown
14162 dynamic_linker="$host_os ld.so"
14163 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14164 need_lib_prefix=unknown
14165 hardcode_into_libs=no
14167 # when you set need_version to no, make sure it does not cause -set_version
14168 # flags to be left without arguments
14169 need_version=unknown
14173 version_type=linux # correct to gnu/linux during the next big refactor
14174 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14175 shlibpath_var=LIBPATH
14177 # AIX 3 has no versioning support, so we append a major version to the name.
14178 soname_spec='${libname}${release}${shared_ext}$major'
14182 version_type=linux # correct to gnu/linux during the next big refactor
14185 hardcode_into_libs=yes
14186 if test "$host_cpu" = ia64; then
14187 # AIX 5 supports IA64
14188 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14189 shlibpath_var=LD_LIBRARY_PATH
14191 # With GCC up to 2.95.x, collect2 would create an import file
14192 # for dependence libraries. The import file would start with
14193 # the line `#! .'. This would cause the generated library to
14194 # depend on `.', always an invalid library. This was fixed in
14195 # development snapshots of GCC prior to 3.0.
14197 aix4 | aix4.[01] | aix4.[01].*)
14198 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14200 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14203 can_build_shared=no
14207 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14208 # soname into executable. Probably we can add versioning support to
14209 # collect2, so additional links can be useful in future.
14210 if test "$aix_use_runtimelinking" = yes; then
14211 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14212 # instead of lib<name>.a to let people know that these are not
14213 # typical AIX shared libraries.
14214 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14216 # We preserve .a as extension for shared libraries through AIX4.2
14217 # and later when we are not doing run time linking.
14218 library_names_spec='${libname}${release}.a $libname.a'
14219 soname_spec='${libname}${release}${shared_ext}$major'
14221 shlibpath_var=LIBPATH
14228 # Since July 2007 AmigaOS4 officially supports .so libraries.
14229 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14230 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14233 library_names_spec='$libname.ixlibrary $libname.a'
14234 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14235 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'
14241 library_names_spec='${libname}${shared_ext}'
14242 dynamic_linker="$host_os ld.so"
14243 shlibpath_var=LIBRARY_PATH
14247 version_type=linux # correct to gnu/linux during the next big refactor
14249 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14250 soname_spec='${libname}${release}${shared_ext}$major'
14251 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14252 shlibpath_var=LD_LIBRARY_PATH
14253 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14254 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14255 # the default ld.so.conf also contains /usr/contrib/lib and
14256 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14257 # libtool to hard-code these into programs
14260 cygwin* | mingw* | pw32* | cegcc*)
14261 version_type=windows
14266 case $GCC,$cc_basename in
14269 library_names_spec='$libname.dll.a'
14270 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14271 postinstall_cmds='base_file=`basename \${file}`~
14272 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14273 dldir=$destdir/`dirname \$dlpath`~
14274 test -d \$dldir || mkdir -p \$dldir~
14275 $install_prog $dir/$dlname \$dldir/$dlname~
14276 chmod a+x \$dldir/$dlname~
14277 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14278 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14280 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14281 dlpath=$dir/\$dldll~
14283 shlibpath_overrides_runpath=yes
14287 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14288 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14292 # MinGW DLLs use traditional 'lib' prefix
14293 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14296 # pw32 DLLs use 'pw' prefix rather than 'lib'
14297 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14300 dynamic_linker='Win32 ld.exe'
14305 libname_spec='$name'
14306 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14307 library_names_spec='${libname}.dll.lib'
14311 sys_lib_search_path_spec=
14314 for lt_path in $LIB
14317 # Let DOS variable expansion print the short 8.3 style file name.
14318 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
14319 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
14322 # Convert to MSYS style.
14323 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
14326 # Convert to unix form, then to dos form, then back to unix form
14327 # but this time dos style (no spaces!) so that the unix form looks
14328 # like /cygdrive/c/PROGRA~1:/cygdr...
14329 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
14330 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
14331 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14334 sys_lib_search_path_spec="$LIB"
14335 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14336 # It is most probably a Windows format PATH.
14337 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14339 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14341 # FIXME: find the short name or the path components, as spaces are
14342 # common. (e.g. "Program Files" -> "PROGRA~1")
14346 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14347 postinstall_cmds='base_file=`basename \${file}`~
14348 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14349 dldir=$destdir/`dirname \$dlpath`~
14350 test -d \$dldir || mkdir -p \$dldir~
14351 $install_prog $dir/$dlname \$dldir/$dlname'
14352 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14353 dlpath=$dir/\$dldll~
14355 shlibpath_overrides_runpath=yes
14356 dynamic_linker='Win32 link.exe'
14360 # Assume MSVC wrapper
14361 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14362 dynamic_linker='Win32 ld.exe'
14365 # FIXME: first we should search . and the directory the executable is in
14369 darwin* | rhapsody*)
14370 dynamic_linker="$host_os dyld"
14371 version_type=darwin
14374 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14375 soname_spec='${libname}${release}${major}$shared_ext'
14376 shlibpath_overrides_runpath=yes
14377 shlibpath_var=DYLD_LIBRARY_PATH
14378 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14380 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14384 version_type=linux # correct to gnu/linux during the next big refactor
14387 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14388 soname_spec='${libname}${release}${shared_ext}$major'
14389 shlibpath_var=LD_LIBRARY_PATH
14392 freebsd* | dragonfly*)
14393 # DragonFly does not have aout. When/if they implement a new
14394 # versioning mechanism, adjust this.
14395 if test -x /usr/bin/objformat; then
14396 objformat=`/usr/bin/objformat`
14399 freebsd[23].*) objformat=aout ;;
14400 *) objformat=elf ;;
14403 version_type=freebsd-$objformat
14404 case $version_type in
14406 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14411 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14415 shlibpath_var=LD_LIBRARY_PATH
14418 shlibpath_overrides_runpath=yes
14420 freebsd3.[01]* | freebsdelf3.[01]*)
14421 shlibpath_overrides_runpath=yes
14422 hardcode_into_libs=yes
14424 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14425 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14426 shlibpath_overrides_runpath=no
14427 hardcode_into_libs=yes
14429 *) # from 4.6 on, and DragonFly
14430 shlibpath_overrides_runpath=yes
14431 hardcode_into_libs=yes
14437 version_type=linux # correct to gnu/linux during the next big refactor
14440 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14441 soname_spec='${libname}${release}${shared_ext}$major'
14442 shlibpath_var=LD_LIBRARY_PATH
14443 shlibpath_overrides_runpath=no
14444 hardcode_into_libs=yes
14448 version_type=linux # correct to gnu/linux during the next big refactor
14451 dynamic_linker="$host_os runtime_loader"
14452 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14453 soname_spec='${libname}${release}${shared_ext}$major'
14454 shlibpath_var=LIBRARY_PATH
14455 shlibpath_overrides_runpath=yes
14456 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
14457 hardcode_into_libs=yes
14460 hpux9* | hpux10* | hpux11*)
14461 # Give a soname corresponding to the major version so that dld.sl refuses to
14462 # link against other versions.
14469 hardcode_into_libs=yes
14470 dynamic_linker="$host_os dld.so"
14471 shlibpath_var=LD_LIBRARY_PATH
14472 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14473 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14474 soname_spec='${libname}${release}${shared_ext}$major'
14475 if test "X$HPUX_IA64_MODE" = X32; then
14476 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14478 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14480 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14484 hardcode_into_libs=yes
14485 dynamic_linker="$host_os dld.sl"
14486 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14487 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14488 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14489 soname_spec='${libname}${release}${shared_ext}$major'
14490 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14491 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14495 dynamic_linker="$host_os dld.sl"
14496 shlibpath_var=SHLIB_PATH
14497 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14498 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14499 soname_spec='${libname}${release}${shared_ext}$major'
14502 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14503 postinstall_cmds='chmod 555 $lib'
14504 # or fails outright, so override atomically:
14505 install_override_mode=555
14509 version_type=linux # correct to gnu/linux during the next big refactor
14512 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14513 soname_spec='${libname}${release}${shared_ext}$major'
14514 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14515 shlibpath_var=LD_LIBRARY_PATH
14516 shlibpath_overrides_runpath=no
14517 hardcode_into_libs=yes
14520 irix5* | irix6* | nonstopux*)
14522 nonstopux*) version_type=nonstopux ;;
14524 if test "$lt_cv_prog_gnu_ld" = yes; then
14525 version_type=linux # correct to gnu/linux during the next big refactor
14532 soname_spec='${libname}${release}${shared_ext}$major'
14533 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14535 irix5* | nonstopux*)
14536 libsuff= shlibsuff=
14539 case $LD in # libtool.m4 will add one of these switches to LD
14540 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14541 libsuff= shlibsuff= libmagic=32-bit;;
14542 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14543 libsuff=32 shlibsuff=N32 libmagic=N32;;
14544 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14545 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14546 *) libsuff= shlibsuff= libmagic=never-match;;
14550 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14551 shlibpath_overrides_runpath=no
14552 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14553 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14554 hardcode_into_libs=yes
14557 # No shared lib support for Linux oldld, aout, or coff.
14558 linux*oldld* | linux*aout* | linux*coff*)
14562 # This must be glibc/ELF.
14563 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14564 version_type=linux # correct to gnu/linux during the next big refactor
14567 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14568 soname_spec='${libname}${release}${shared_ext}$major'
14569 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14570 shlibpath_var=LD_LIBRARY_PATH
14571 shlibpath_overrides_runpath=no
14573 # Some binutils ld are patched to set DT_RUNPATH
14574 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
14575 $as_echo_n "(cached) " >&6
14577 lt_cv_shlibpath_overrides_runpath=no
14578 save_LDFLAGS=$LDFLAGS
14579 save_libdir=$libdir
14580 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14581 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14583 /* end confdefs.h. */
14593 if ac_fn_cxx_try_link "$LINENO"; then :
14594 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14595 lt_cv_shlibpath_overrides_runpath=yes
14598 rm -f core conftest.err conftest.$ac_objext \
14599 conftest$ac_exeext conftest.$ac_ext
14600 LDFLAGS=$save_LDFLAGS
14601 libdir=$save_libdir
14605 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14607 # This implies no fast_install, which is unacceptable.
14608 # Some rework will be needed to allow for fast_install
14609 # before this can be enabled.
14610 hardcode_into_libs=yes
14612 # Append ld.so.conf contents to the search path
14613 if test -f /etc/ld.so.conf; then
14614 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' ' '`
14615 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14618 # We used to test for /lib/ld.so.1 and disable shared libraries on
14619 # powerpc, because MkLinux only supported shared libraries with the
14620 # GNU dynamic linker. Since this was broken with cross compilers,
14621 # most powerpc-linux boxes support dynamic linking these days and
14622 # people can always --disable-shared, the test was removed, and we
14623 # assume the GNU/Linux dynamic linker is in use.
14624 dynamic_linker='GNU/Linux ld.so'
14631 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14632 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14633 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14634 dynamic_linker='NetBSD (a.out) ld.so'
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 dynamic_linker='NetBSD ld.elf_so'
14640 shlibpath_var=LD_LIBRARY_PATH
14641 shlibpath_overrides_runpath=yes
14642 hardcode_into_libs=yes
14646 version_type=linux # correct to gnu/linux during the next big refactor
14647 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14648 shlibpath_var=LD_LIBRARY_PATH
14649 shlibpath_overrides_runpath=yes
14656 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14657 soname_spec='${libname}${release}${shared_ext}$major'
14658 shlibpath_var=LD_LIBRARY_PATH
14659 shlibpath_overrides_runpath=no
14660 hardcode_into_libs=yes
14661 dynamic_linker='ldqnx.so'
14666 sys_lib_dlsearch_path_spec="/usr/lib"
14668 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14670 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14671 *) need_version=no ;;
14673 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14674 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14675 shlibpath_var=LD_LIBRARY_PATH
14676 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14678 openbsd2.[89] | openbsd2.[89].*)
14679 shlibpath_overrides_runpath=no
14682 shlibpath_overrides_runpath=yes
14686 shlibpath_overrides_runpath=yes
14691 libname_spec='$name'
14694 library_names_spec='$libname${shared_ext} $libname.a'
14695 dynamic_linker='OS/2 ld.exe'
14696 shlibpath_var=LIBPATH
14699 osf3* | osf4* | osf5*)
14703 soname_spec='${libname}${release}${shared_ext}$major'
14704 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14705 shlibpath_var=LD_LIBRARY_PATH
14706 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14707 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14715 version_type=linux # correct to gnu/linux during the next big refactor
14718 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14719 soname_spec='${libname}${release}${shared_ext}$major'
14720 shlibpath_var=LD_LIBRARY_PATH
14721 shlibpath_overrides_runpath=yes
14722 hardcode_into_libs=yes
14723 # ldd complains unless libraries are executable
14724 postinstall_cmds='chmod +x $lib'
14729 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14730 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14731 shlibpath_var=LD_LIBRARY_PATH
14732 shlibpath_overrides_runpath=yes
14733 if test "$with_gnu_ld" = yes; then
14740 version_type=linux # correct to gnu/linux during the next big refactor
14741 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14742 soname_spec='${libname}${release}${shared_ext}$major'
14743 shlibpath_var=LD_LIBRARY_PATH
14744 case $host_vendor in
14746 shlibpath_overrides_runpath=no
14748 runpath_var=LD_RUN_PATH
14756 shlibpath_overrides_runpath=no
14757 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14763 if test -d /usr/nec ;then
14764 version_type=linux # correct to gnu/linux during the next big refactor
14765 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14766 soname_spec='$libname${shared_ext}.$major'
14767 shlibpath_var=LD_LIBRARY_PATH
14771 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14772 version_type=freebsd-elf
14775 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14776 soname_spec='${libname}${release}${shared_ext}$major'
14777 shlibpath_var=LD_LIBRARY_PATH
14778 shlibpath_overrides_runpath=yes
14779 hardcode_into_libs=yes
14780 if test "$with_gnu_ld" = yes; then
14781 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14783 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14786 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14790 sys_lib_dlsearch_path_spec='/usr/lib'
14794 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14795 version_type=linux # correct to gnu/linux during the next big refactor
14798 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14799 shlibpath_var=LD_LIBRARY_PATH
14800 shlibpath_overrides_runpath=no
14801 hardcode_into_libs=yes
14805 version_type=linux # correct to gnu/linux during the next big refactor
14806 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14807 soname_spec='${libname}${release}${shared_ext}$major'
14808 shlibpath_var=LD_LIBRARY_PATH
14815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14816 $as_echo "$dynamic_linker" >&6; }
14817 test "$dynamic_linker" = no && can_build_shared=no
14819 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14820 if test "$GCC" = yes; then
14821 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14824 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14825 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14827 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14828 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14869 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14870 hardcode_action_CXX=
14871 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14872 test -n "$runpath_var_CXX" ||
14873 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14875 # We can hardcode non-existent directories.
14876 if test "$hardcode_direct_CXX" != no &&
14877 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14878 # have to relink, otherwise we might link with an installed library
14879 # when we should be linking with a yet-to-be-installed one
14880 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14881 test "$hardcode_minus_L_CXX" != no; then
14882 # Linking always hardcodes the temporary library directory.
14883 hardcode_action_CXX=relink
14885 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14886 hardcode_action_CXX=immediate
14889 # We cannot hardcode anything, or else we can only hardcode existing
14891 hardcode_action_CXX=unsupported
14893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14894 $as_echo "$hardcode_action_CXX" >&6; }
14896 if test "$hardcode_action_CXX" = relink ||
14897 test "$inherit_rpath_CXX" = yes; then
14898 # Fast installation is not supported
14899 enable_fast_install=no
14900 elif test "$shlibpath_overrides_runpath" = yes ||
14901 test "$enable_shared" = no; then
14902 # Fast installation is not necessary
14903 enable_fast_install=needless
14912 fi # test -n "$compiler"
14915 CFLAGS=$lt_save_CFLAGS
14919 with_gnu_ld=$lt_save_with_gnu_ld
14920 lt_cv_path_LDCXX=$lt_cv_path_LD
14921 lt_cv_path_LD=$lt_save_path_LD
14922 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14923 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14924 fi # test "$_lt_caught_CXX_error" != yes
14927 ac_cpp='$CPP $CPPFLAGS'
14928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14946 ac_config_commands="$ac_config_commands libtool"
14951 # Only expand once:
14955 if test -n "$ac_tool_prefix"; then
14956 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
14957 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
14958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14959 $as_echo_n "checking for $ac_word... " >&6; }
14960 if ${ac_cv_prog_RANLIB+:} false; then :
14961 $as_echo_n "(cached) " >&6
14963 if test -n "$RANLIB"; then
14964 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
14966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14967 for as_dir in $PATH
14970 test -z "$as_dir" && as_dir=.
14971 for ac_exec_ext in '' $ac_executable_extensions; do
14972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14973 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
14974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14983 RANLIB=$ac_cv_prog_RANLIB
14984 if test -n "$RANLIB"; then
14985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
14986 $as_echo "$RANLIB" >&6; }
14988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14989 $as_echo "no" >&6; }
14994 if test -z "$ac_cv_prog_RANLIB"; then
14995 ac_ct_RANLIB=$RANLIB
14996 # Extract the first word of "ranlib", so it can be a program name with args.
14997 set dummy ranlib; ac_word=$2
14998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14999 $as_echo_n "checking for $ac_word... " >&6; }
15000 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
15001 $as_echo_n "(cached) " >&6
15003 if test -n "$ac_ct_RANLIB"; then
15004 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
15006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15007 for as_dir in $PATH
15010 test -z "$as_dir" && as_dir=.
15011 for ac_exec_ext in '' $ac_executable_extensions; do
15012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15013 ac_cv_prog_ac_ct_RANLIB="ranlib"
15014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15023 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
15024 if test -n "$ac_ct_RANLIB"; then
15025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
15026 $as_echo "$ac_ct_RANLIB" >&6; }
15028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15029 $as_echo "no" >&6; }
15032 if test "x$ac_ct_RANLIB" = x; then
15035 case $cross_compiling:$ac_tool_warned in
15037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15038 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15039 ac_tool_warned=yes ;;
15041 RANLIB=$ac_ct_RANLIB
15044 RANLIB="$ac_cv_prog_RANLIB"
15048 # Check whether --enable-largefile was given.
15049 if test "${enable_largefile+set}" = set; then :
15050 enableval=$enable_largefile;
15053 if test "$enable_largefile" != no; then
15055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
15056 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
15057 if ${ac_cv_sys_largefile_CC+:} false; then :
15058 $as_echo_n "(cached) " >&6
15060 ac_cv_sys_largefile_CC=no
15061 if test "$GCC" != yes; then
15064 # IRIX 6.2 and later do not support large files by default,
15065 # so use the C compiler's -n32 option if that helps.
15066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15067 /* end confdefs.h. */
15068 #include <sys/types.h>
15069 /* Check that off_t can represent 2**63 - 1 correctly.
15070 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15071 since some C++ compilers masquerading as C compilers
15072 incorrectly reject 9223372036854775807. */
15073 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15074 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15075 && LARGE_OFF_T % 2147483647 == 1)
15085 if ac_fn_c_try_compile "$LINENO"; then :
15088 rm -f core conftest.err conftest.$ac_objext
15090 if ac_fn_c_try_compile "$LINENO"; then :
15091 ac_cv_sys_largefile_CC=' -n32'; break
15093 rm -f core conftest.err conftest.$ac_objext
15097 rm -f conftest.$ac_ext
15100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
15101 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
15102 if test "$ac_cv_sys_largefile_CC" != no; then
15103 CC=$CC$ac_cv_sys_largefile_CC
15106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
15107 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
15108 if ${ac_cv_sys_file_offset_bits+:} false; then :
15109 $as_echo_n "(cached) " >&6
15112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15113 /* end confdefs.h. */
15114 #include <sys/types.h>
15115 /* Check that off_t can represent 2**63 - 1 correctly.
15116 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15117 since some C++ compilers masquerading as C compilers
15118 incorrectly reject 9223372036854775807. */
15119 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15120 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15121 && LARGE_OFF_T % 2147483647 == 1)
15131 if ac_fn_c_try_compile "$LINENO"; then :
15132 ac_cv_sys_file_offset_bits=no; break
15134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15136 /* end confdefs.h. */
15137 #define _FILE_OFFSET_BITS 64
15138 #include <sys/types.h>
15139 /* Check that off_t can represent 2**63 - 1 correctly.
15140 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15141 since some C++ compilers masquerading as C compilers
15142 incorrectly reject 9223372036854775807. */
15143 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15144 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15145 && LARGE_OFF_T % 2147483647 == 1)
15155 if ac_fn_c_try_compile "$LINENO"; then :
15156 ac_cv_sys_file_offset_bits=64; break
15158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15159 ac_cv_sys_file_offset_bits=unknown
15163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
15164 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
15165 case $ac_cv_sys_file_offset_bits in #(
15168 cat >>confdefs.h <<_ACEOF
15169 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
15174 if test $ac_cv_sys_file_offset_bits = unknown; then
15175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
15176 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
15177 if ${ac_cv_sys_large_files+:} false; then :
15178 $as_echo_n "(cached) " >&6
15181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15182 /* end confdefs.h. */
15183 #include <sys/types.h>
15184 /* Check that off_t can represent 2**63 - 1 correctly.
15185 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15186 since some C++ compilers masquerading as C compilers
15187 incorrectly reject 9223372036854775807. */
15188 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15189 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15190 && LARGE_OFF_T % 2147483647 == 1)
15200 if ac_fn_c_try_compile "$LINENO"; then :
15201 ac_cv_sys_large_files=no; break
15203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15205 /* end confdefs.h. */
15206 #define _LARGE_FILES 1
15207 #include <sys/types.h>
15208 /* Check that off_t can represent 2**63 - 1 correctly.
15209 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15210 since some C++ compilers masquerading as C compilers
15211 incorrectly reject 9223372036854775807. */
15212 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15213 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15214 && LARGE_OFF_T % 2147483647 == 1)
15224 if ac_fn_c_try_compile "$LINENO"; then :
15225 ac_cv_sys_large_files=1; break
15227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15228 ac_cv_sys_large_files=unknown
15232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
15233 $as_echo "$ac_cv_sys_large_files" >&6; }
15234 case $ac_cv_sys_large_files in #(
15237 cat >>confdefs.h <<_ACEOF
15238 #define _LARGE_FILES $ac_cv_sys_large_files
15246 if test "$ac_cv_sys_largefile_CC" != no; then
15247 CXX=$CXX$ac_cv_sys_largefile_CC
15252 # Check whether --with-openssl was given.
15253 if test "${with_openssl+set}" = set; then :
15254 withval=$with_openssl;
15255 if test "$withval" = "yes"; then
15256 if test -d /var/local/ssl/include ; then
15257 openssl_prefix=/var/local/ssl
15258 elif test -d /var/local/include/openssl ; then
15259 openssl_prefix=/var/local
15260 elif test -d /usr/local/ssl/include ; then
15261 openssl_prefix=/usr/local/ssl
15262 elif test -d /usr/lib/ssl/include ; then
15263 openssl_prefix=/usr/lib/ssl
15264 elif test -d /usr/include/openssl ; then
15265 openssl_prefix=/usr
15269 openssl_requested="yes"
15270 elif test -d "$withval"; then
15271 openssl_prefix="$withval"
15272 openssl_requested="yes"
15275 openssl_requested="no"
15280 if test -d /var/local/ssl/include ; then
15281 openssl_prefix=/var/local/ssl
15282 elif test -d /var/local/include/openssl ; then
15283 openssl_prefix=/var/local
15284 elif test -d /usr/local/ssl/include ; then
15285 openssl_prefix=/usr/local/ssl
15286 elif test -d /usr/lib/ssl/include ; then
15287 openssl_prefix=/usr/lib/ssl
15288 elif test -d /usr/include/openssl ; then
15289 openssl_prefix=/usr
15298 OPENSSL_CPPFLAGS=""
15302 run_openssl_test="no"
15304 if test -n "$openssl_prefix"; then
15305 openssl_include_dir="$openssl_prefix/include"
15306 openssl_ldflags="-L$openssl_prefix/lib64 -L$openssl_prefix/lib"
15307 run_openssl_test="yes"
15308 elif test "$openssl_requested" = "yes"; then
15309 if test -n "$openssl_include_dir" -a -n "$openssl_lib_flags"; then
15310 run_openssl_test="yes"
15313 run_openssl_test="no"
15316 openssl_libs="-lssl -lcrypto"
15318 if test "$run_openssl_test" = "yes"; then
15320 saved_CPPFLAGS="$CPPFLAGS"
15321 CPPFLAGS="$CPPFLAGS -I$openssl_include_dir"
15323 saved_LDFLAGS="$LDFLAGS"
15324 LDFLAGS="$LDFLAGS $openssl_ldflags"
15327 LIBS="$openssl_libs $LIBS"
15329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL headers in $openssl_include_dir" >&5
15330 $as_echo_n "checking for OpenSSL headers in $openssl_include_dir... " >&6; }
15333 ac_cpp='$CPP $CPPFLAGS'
15334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15339 /* end confdefs.h. */
15342 #include <openssl/opensslv.h>
15343 #include <openssl/ssl.h>
15344 #include <openssl/crypto.h>
15355 if ac_fn_c_try_compile "$LINENO"; then :
15357 OPENSSL_CPPFLAGS="-I$openssl_include_dir"
15358 openssl_header_found="yes"
15359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
15360 $as_echo "found" >&6; }
15364 openssl_header_found="no"
15365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15366 $as_echo "not found" >&6; }
15370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15372 ac_cpp='$CPP $CPPFLAGS'
15373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15378 if test "$openssl_header_found" = "yes"; then
15380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL libraries" >&5
15381 $as_echo_n "checking for OpenSSL libraries... " >&6; }
15384 ac_cpp='$CPP $CPPFLAGS'
15385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15390 /* end confdefs.h. */
15393 #include <openssl/opensslv.h>
15394 #include <openssl/ssl.h>
15395 #include <openssl/crypto.h>
15396 #if (OPENSSL_VERSION_NUMBER < 0x0090700f)
15403 SSL_library_init();
15411 if ac_fn_c_try_link "$LINENO"; then :
15413 OPENSSL_LDFLAGS="$openssl_ldflags"
15414 OPENSSL_LIBS="$openssl_libs"
15415 openssl_lib_found="yes"
15416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
15417 $as_echo "found" >&6; }
15421 openssl_lib_found="no"
15422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15423 $as_echo "not found" >&6; }
15427 rm -f core conftest.err conftest.$ac_objext \
15428 conftest$ac_exeext conftest.$ac_ext
15430 ac_cpp='$CPP $CPPFLAGS'
15431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15437 CPPFLAGS="$saved_CPPFLAGS"
15438 LDFLAGS="$saved_LDFLAGS"
15442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL" >&5
15443 $as_echo_n "checking for OpenSSL... " >&6; }
15445 if test "$run_openssl_test" = "yes"; then
15446 if test "$openssl_header_found" = "yes" -a "$openssl_lib_found" = "yes"; then
15457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_OPENSSL" >&5
15458 $as_echo "$HAVE_OPENSSL" >&6; }
15460 if test "$HAVE_OPENSSL" = "yes"; then
15462 openssl_version_req=0.9.7
15464 if test -n "$openssl_version_req"; then
15466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if OpenSSL version is >= $openssl_version_req" >&5
15467 $as_echo_n "checking if OpenSSL version is >= $openssl_version_req... " >&6; }
15469 if test -f "$openssl_include_dir/openssl/opensslv.h"; then
15471 OPENSSL_VERSION=`grep OPENSSL_VERSION_TEXT $openssl_include_dir/openssl/opensslv.h \
15472 | grep -v fips | grep -v PTEXT | cut -f 2 | tr -d \"`
15475 openssl_version_req_major=`expr $openssl_version_req : '\([0-9]*\)'`
15476 openssl_version_req_minor=`expr $openssl_version_req : '[0-9]*\.\([0-9]*\)'`
15477 openssl_version_req_revision=`expr $openssl_version_req : '[0-9]*\.[0-9]*\.\([0-9]*\)'`
15478 openssl_version_req_patch=`expr $openssl_version_req : '[0-9]*\.[0-9]*\.[0-9]*\([a-z]*\)'`
15479 if test "x$openssl_version_req_revision" = "x"; then
15480 openssl_version_req_revision="0"
15482 if test "x$openssl_version_req_patch" = "x"; then
15483 openssl_version_req_patch="\`"
15486 openssl_version_req_number=`expr $openssl_version_req_major \* $((0x10000000)) \
15487 \+ $openssl_version_req_minor \* $((0x100000)) \
15488 \+ $openssl_version_req_revision \* $((0x1000)) \
15489 \+ $((1 + $(printf "%d" \'$openssl_version_req_patch) - $(printf "%d" \'a))) \* $((0x10)) \
15492 openssl_version_number=`expr $(($(grep OPENSSL_VERSION_NUMBER $openssl_include_dir/openssl/opensslv.h | cut -f 2 | tr -d L)))`
15494 openssl_version_check=`expr $openssl_version_number \>\= $openssl_version_req_number`
15495 if test "$openssl_version_check" = "1"; then
15496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15497 $as_echo "yes" >&6; }
15499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15500 $as_echo "no" >&6; }
15501 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Found $OPENSSL_VERSION, which is older than required. Possible compilation failure." >&5
15502 $as_echo "$as_me: WARNING: Found $OPENSSL_VERSION, which is older than required. Possible compilation failure." >&2;}
15505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15506 $as_echo "no" >&6; }
15507 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing header openssl/opensslv.h. Unable to determine OpenSSL version." >&5
15508 $as_echo "$as_me: WARNING: Missing header openssl/opensslv.h. Unable to determine OpenSSL version." >&2;}
15515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_OPENSSL" >&5
15516 $as_echo "$HAVE_OPENSSL" >&6; }
15518 if test "$openssl_requested" = "yes"; then
15519 { $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
15520 $as_echo "$as_me: WARNING: OpenSSL support requested but headers or library not found. Specify valid prefix of OpenSSL using --with-openssl=[DIR]" >&2;}
15523 if test "$HAVE_OPENSSL" = "yes"; then
15524 CPPFLAGS="$CPPFLAGS $OPENSSL_CPPFLAGS -DHAVE_SSL=1"
15525 LDFLAGS="$LDFLAGS $OPENSSL_LDFLAGS $OPENSSL_LIBS"
15530 # Check whether --with-expat was given.
15531 if test "${with_expat+set}" = set; then :
15532 withval=$with_expat;
15533 if test "$withval" = "yes"; then
15534 if test -f /usr/local/include/expat.h ; then
15535 expat_prefix=/usr/local
15536 elif test -f /usr/include/expat.h ; then
15541 expat_requested="yes"
15542 elif test -d "$withval"; then
15543 expat_prefix="$withval"
15544 expat_requested="yes"
15547 expat_requested="no"
15552 # dnl Default behavior is implicit yes
15553 # if test -f /usr/local/include/expat.h ; then
15554 # expat_prefix=/usr/local
15555 # elif test -f /usr/include/expat.h ; then
15556 # expat_prefix=/usr
15561 expat_requested="no"
15568 # Check whether --with-expat-inc was given.
15569 if test "${with_expat_inc+set}" = set; then :
15570 withval=$with_expat_inc; expat_include_dir="$withval"
15572 expat_include_dir=""
15577 # Check whether --with-expat-lib was given.
15578 if test "${with_expat_lib+set}" = set; then :
15579 withval=$with_expat_lib; expat_lib_flags="$withval"
15590 run_expat_test="no"
15592 if test -n "$expat_prefix"; then
15593 expat_include_dir="$expat_prefix/include"
15594 expat_lib_flags="-L$expat_prefix/lib64 -L$expat_prefix/lib -lexpat"
15595 run_expat_test="yes"
15596 elif test "$expat_requested" = "yes"; then
15597 if test -n "$expat_include_dir" -a -n "$expat_lib_flags"; then
15598 run_expat_test="yes"
15601 run_expat_test="no"
15604 if test "$run_expat_test" = "yes"; then
15606 saved_CPPFLAGS="$CPPFLAGS"
15607 CPPFLAGS="$CPPFLAGS -I$expat_include_dir"
15609 saved_LDFLAGS="$LDFLAGS"
15610 LDFLAGS="$LDFLAGS $expat_lib_flags"
15612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Expat XML Parser headers in $expat_include_dir" >&5
15613 $as_echo_n "checking for Expat XML Parser headers in $expat_include_dir... " >&6; }
15616 ac_cpp='$CXXCPP $CPPFLAGS'
15617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15622 /* end confdefs.h. */
15636 if ac_fn_cxx_try_compile "$LINENO"; then :
15638 EXPAT_CFLAGS="-I$expat_include_dir"
15639 expat_header_found="yes"
15640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
15641 $as_echo "found" >&6; }
15645 expat_header_found="no"
15646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15647 $as_echo "not found" >&6; }
15651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15653 ac_cpp='$CPP $CPPFLAGS'
15654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15659 if test "$expat_header_found" = "yes"; then
15661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Expat XML Parser libraries" >&5
15662 $as_echo_n "checking for Expat XML Parser libraries... " >&6; }
15665 ac_cpp='$CXXCPP $CPPFLAGS'
15666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15671 /* end confdefs.h. */
15680 XML_Parser p = XML_ParserCreate(NULL);
15689 if ac_fn_cxx_try_link "$LINENO"; then :
15691 EXPAT_LDFLAGS="$expat_lib_flags"
15692 expat_lib_found="yes"
15693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
15694 $as_echo "found" >&6; }
15698 expat_lib_found="no"
15699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15700 $as_echo "not found" >&6; }
15704 rm -f core conftest.err conftest.$ac_objext \
15705 conftest$ac_exeext conftest.$ac_ext
15707 ac_cpp='$CPP $CPPFLAGS'
15708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15714 CPPFLAGS="$saved_CPPFLAGS"
15715 LDFLAGS="$saved_LDFLAGS"
15718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Expat XML Parser" >&5
15719 $as_echo_n "checking for Expat XML Parser... " >&6; }
15721 if test "$run_expat_test" = "yes"; then
15722 if test "$expat_header_found" = "yes" -a "$expat_lib_found" = "yes"; then
15732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_EXPAT" >&5
15733 $as_echo "$HAVE_EXPAT" >&6; }
15735 if test "$HAVE_EXPAT" = "yes"; then
15739 if test -n "$expat_version_req"; then
15741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Expat XML Parser version is >= $expat_version_req" >&5
15742 $as_echo_n "checking if Expat XML Parser version is >= $expat_version_req... " >&6; }
15744 if test -f "$expat_include_dir/expat.h"; then
15746 expat_major=`cat $expat_include_dir/expat.h | \
15747 grep '^#define.*XML_MAJOR_VERSION.*[0-9]$' | \
15748 sed -e 's/#define XML_MAJOR_VERSION.//'`
15750 expat_minor=`cat $expat_include_dir/expat.h | \
15751 grep '^#define.*XML_MINOR_VERSION.*[0-9]$' | \
15752 sed -e 's/#define XML_MINOR_VERSION.//'`
15754 expat_revision=`cat $expat_include_dir/expat.h | \
15755 grep '^#define.*XML_MICRO_VERSION.*[0-9]$' | \
15756 sed -e 's/#define XML_MICRO_VERSION.//'`
15758 EXPAT_VERSION="$expat_major.$expat_minor.$expat_revision"
15761 expat_version_req_major=`expr $expat_version_req : '\([0-9]*\)'`
15762 expat_version_req_minor=`expr $expat_version_req : '[0-9]*\.\([0-9]*\)'`
15763 expat_version_req_revision=`expr $expat_version_req : '[0-9]*\.[0-9]*\.\([0-9]*\)'`
15764 if test "x$expat_version_req_revision" = "x"; then
15765 expat_version_req_revision="0"
15768 expat_version_req_number=`expr $expat_version_req_major \* 10000 \
15769 \+ $expat_version_req_minor \* 100 \
15770 \+ $expat_version_req_revision`
15772 expat_version_number=`expr $expat_major \* 10000 \
15773 \+ $expat_minor \* 100 \
15774 \+ $expat_revision`
15776 expat_version_check=`expr $expat_version_number \>\= $expat_version_req_number`
15777 if test "$expat_version_check" = "1"; then
15778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15779 $as_echo "yes" >&6; }
15781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15782 $as_echo "no" >&6; }
15783 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Found Expat XML Parser $EXPAT_VERSION, which is older than required. Possible compilation failure." >&5
15784 $as_echo "$as_me: WARNING: Found Expat XML Parser $EXPAT_VERSION, which is older than required. Possible compilation failure." >&2;}
15787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15788 $as_echo "no" >&6; }
15789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing expat.h header. Unable to determine Expat version." >&5
15790 $as_echo "$as_me: WARNING: Missing expat.h header. Unable to determine Expat version." >&2;}
15797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_EXPAT" >&5
15798 $as_echo "$HAVE_EXPAT" >&6; }
15800 if test "$expat_requested" = "yes"; then
15801 { $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
15802 $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;}
15805 if test "$HAVE_EXPAT" = "yes"; then
15806 CPPFLAGS="$CPPFLAGS $EXPAT_CFLAGS -DHAVE_EXPAT=1"
15807 LDFLAGS="$LDFLAGS $EXPAT_LDFLAGS"
15811 # AC_REQUIRE([ACX_PTHREAD])
15814 # Check whether --with-xerces was given.
15815 if test "${with_xerces+set}" = set; then :
15816 withval=$with_xerces;
15817 if test "$withval" = "yes"; then
15818 if test -d /usr/local/include/xercesc ; then
15819 xerces_prefix=/usr/local
15820 elif test -d /usr/include/xercesc ; then
15825 xerces_requested="yes"
15826 elif test -d "$withval"; then
15827 xerces_prefix="$withval"
15828 xerces_requested="yes"
15831 xerces_requested="no"
15836 # dnl Default behavior is implicit yes
15837 # if test -d /usr/local/include/xercesc ; then
15838 # xerces_prefix=/usr/local
15839 # elif test -d /usr/include/xercesc ; then
15840 # xerces_prefix=/usr
15845 xerces_requested="no"
15852 # Check whether --with-xerces-inc was given.
15853 if test "${with_xerces_inc+set}" = set; then :
15854 withval=$with_xerces_inc; xerces_include_dir="$withval"
15856 xerces_include_dir=""
15861 # Check whether --with-xerces-lib was given.
15862 if test "${with_xerces_lib+set}" = set; then :
15863 withval=$with_xerces_lib; xerces_ldflags="$withval"
15874 run_xerces_test="no"
15876 if test -n "$xerces_prefix"; then
15877 xerces_include_dir="$xerces_prefix/include"
15878 xerces_include_dir2="$xerces_prefix/include/xercesc"
15879 xerces_ldflags="-L$xerces_prefix/lib"
15880 run_xerces_test="yes"
15881 elif test "$xerces_requested" = "yes"; then
15882 if test -n "$xerces_include_dir" -a -n "$xerces_lib_flags"; then
15883 xerces_include_dir2="$xerces_include_dir/xercesc"
15884 run_xerces_test="yes"
15887 run_xerces_test="no"
15890 xerces_libs="-lxerces-c"
15892 if test "$run_xerces_test" = "yes"; then
15894 saved_CPPFLAGS="$CPPFLAGS"
15895 CPPFLAGS="$CPPFLAGS -I$xerces_include_dir -I$xerces_include_dir2"
15897 saved_LDFLAGS="$LDFLAGS"
15898 LDFLAGS="$xerces_ldflags $PTHREAD_LDFLAGS $LDFLAGS"
15901 LIBS="$xerces_libs $PTHREAD_LIBS $LIBS"
15903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xerces C++ Parser headers in $xerces_include_dir and $xerces_include_dir2" >&5
15904 $as_echo_n "checking for Xerces C++ Parser headers in $xerces_include_dir and $xerces_include_dir2... " >&6; }
15907 ac_cpp='$CXXCPP $CPPFLAGS'
15908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15913 /* end confdefs.h. */
15916 #include <xercesc/util/XercesDefs.hpp>
15917 #include <xercesc/util/PlatformUtils.hpp>
15928 if ac_fn_cxx_try_compile "$LINENO"; then :
15930 XERCES_CPPFLAGS="-I$xerces_include_dir -I$xerces_include_dir2"
15931 xerces_header_found="yes"
15932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
15933 $as_echo "found" >&6; }
15937 xerces_header_found="no"
15938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15939 $as_echo "not found" >&6; }
15943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15945 ac_cpp='$CPP $CPPFLAGS'
15946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15951 if test "$xerces_header_found" = "yes"; then
15953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xerces C++ Parser libraries" >&5
15954 $as_echo_n "checking for Xerces C++ Parser libraries... " >&6; }
15957 ac_cpp='$CXXCPP $CPPFLAGS'
15958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15963 /* end confdefs.h. */
15966 #include <xercesc/util/XercesDefs.hpp>
15967 #include <xercesc/util/PlatformUtils.hpp>
15968 #if (_XERCES_VERSION >= 20200)
15969 XERCES_CPP_NAMESPACE_USE
15976 XMLPlatformUtils::Initialize();
15983 if ac_fn_cxx_try_link "$LINENO"; then :
15985 XERCES_LDFLAGS="$xerces_ldflags $PTHREAD_LDFLAGS"
15986 XERCES_LIBS="$xerces_libs $PTHREAD_LIBS"
15987 xerces_lib_found="yes"
15988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
15989 $as_echo "found" >&6; }
15993 xerces_lib_found="no"
15994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15995 $as_echo "not found" >&6; }
15999 rm -f core conftest.err conftest.$ac_objext \
16000 conftest$ac_exeext conftest.$ac_ext
16002 ac_cpp='$CPP $CPPFLAGS'
16003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16009 CPPFLAGS="$saved_CPPFLAGS"
16010 LDFLAGS="$saved_LDFLAGS"
16014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xerces C++ Parser" >&5
16015 $as_echo_n "checking for Xerces C++ Parser... " >&6; }
16017 if test "$run_xerces_test" = "yes"; then
16018 if test "$xerces_header_found" = "yes" -a "$xerces_lib_found" = "yes"; then
16029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_XERCES" >&5
16030 $as_echo "$HAVE_XERCES" >&6; }
16032 if test "$HAVE_XERCES" = "yes"; then
16034 xerces_version_req=
16036 if test -n "$xerces_version_req"; then
16038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xerces C++ Parser version is >= $xerces_version_req" >&5
16039 $as_echo_n "checking if Xerces C++ Parser version is >= $xerces_version_req... " >&6; }
16041 if test -f "$xerces_include_dir2/util/XercesVersion.hpp"; then
16043 xerces_major=`cat $xerces_include_dir2/util/XercesVersion.hpp | \
16044 grep '^#define.*XERCES_VERSION_MAJOR.*[0-9]$' | \
16045 sed -e 's/#define XERCES_VERSION_MAJOR.//'`
16047 xerces_minor=`cat $xerces_include_dir2/util/XercesVersion.hpp | \
16048 grep '^#define.*XERCES_VERSION_MINOR.*[0-9]$' | \
16049 sed -e 's/#define XERCES_VERSION_MINOR.//'`
16051 xerces_revision=`cat $xerces_include_dir2/util/XercesVersion.hpp | \
16052 grep '^#define.*XERCES_VERSION_REVISION.*[0-9]$' | \
16053 sed -e 's/#define XERCES_VERSION_REVISION.//'`
16055 XERCES_VERSION="$xerces_major.$xerces_minor.$xerces_revision"
16058 xerces_version_req_major=`expr $xerces_version_req : '\([0-9]*\)'`
16059 xerces_version_req_minor=`expr $xerces_version_req : '[0-9]*\.\([0-9]*\)'`
16060 xerces_version_req_revision=`expr $xerces_version_req : '[0-9]*\.[0-9]*\.\([0-9]*\)'`
16061 if test "x$xerces_version_req_revision" = "x"; then
16062 xerces_version_req_revision="0"
16065 xerces_version_req_number=`expr $xerces_version_req_major \* 10000 \
16066 \+ $xerces_version_req_minor \* 100 \
16067 \+ $xerces_version_req_revision`
16069 xerces_version_number=`expr $xerces_major \* 10000 \
16070 \+ $xerces_minor \* 100 \
16071 \+ $xerces_revision`
16073 xerces_version_check=`expr $xerces_version_number \>\= $xerces_version_req_number`
16074 if test "$xerces_version_check" = "1"; then
16075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16076 $as_echo "yes" >&6; }
16078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16079 $as_echo "no" >&6; }
16080 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Found Xerces C++ Parser $XERCES_VERSION, which is older than required. Possible compilation failure." >&5
16081 $as_echo "$as_me: WARNING: Found Xerces C++ Parser $XERCES_VERSION, which is older than required. Possible compilation failure." >&2;}
16084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16085 $as_echo "no" >&6; }
16086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing header XercesVersion.hpp. Unable to determine Xerces version." >&5
16087 $as_echo "$as_me: WARNING: Missing header XercesVersion.hpp. Unable to determine Xerces version." >&2;}
16094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_XERCES" >&5
16095 $as_echo "$HAVE_XERCES" >&6; }
16097 if test "$xerces_requested" = "yes"; then
16098 { $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
16099 $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;}
16102 if test "$HAVE_XERCES" = "yes"; then
16103 CPPFLAGS="$CPPFLAGS $XERCES_CPPFLAGS -DHAVE_XERCES_C=1"
16104 LDFLAGS="$LDFLAGS $XERCES_LDFLAGS $XERCES_LIBS"
16107 #AM_PATH_PYTHON([2.3], , [:])
16109 az_python_use=false
16110 if test x"$az_python_use" = x"true"; then
16112 PYTHON_USE_FALSE='#'
16114 PYTHON_USE_TRUE='#'
16122 # unless PYTHON was supplied to us (as a precious variable),
16123 # see if --with-python[=PythonExecutablePath], --with-python,
16124 # --without-python or --with-python=no was given.
16125 if test -z "$PYTHON"
16127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-python" >&5
16128 $as_echo_n "checking for --with-python... " >&6; }
16130 # Check whether --with-python was given.
16131 if test "${with_python+set}" = set; then :
16132 withval=$with_python;
16133 if test "$withval" = "yes"
16135 # "yes" was specified, but we don't have a path
16136 # for the executable.
16137 # So, let's searth the PATH Environment Variable.
16138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16139 $as_echo "yes" >&6; }
16140 # Extract the first word of "python", so it can be a program name with args.
16141 set dummy python; ac_word=$2
16142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16143 $as_echo_n "checking for $ac_word... " >&6; }
16144 if ${ac_cv_path_PYTHON+:} false; then :
16145 $as_echo_n "(cached) " >&6
16149 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
16152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16153 for as_dir in $PATH
16156 test -z "$as_dir" && as_dir=.
16157 for ac_exec_ext in '' $ac_executable_extensions; do
16158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16159 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
16160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16170 PYTHON=$ac_cv_path_PYTHON
16171 if test -n "$PYTHON"; then
16172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
16173 $as_echo "$PYTHON" >&6; }
16175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16176 $as_echo "no" >&6; }
16180 if test -z "$PYTHON"
16182 as_fn_error $? "no path to python found" "$LINENO" 5
16185 if test x"$az_python_use" = x"true"; then
16187 PYTHON_USE_FALSE='#'
16189 PYTHON_USE_TRUE='#'
16195 if test -n "$PYTHON"
16197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python include directory" >&5
16198 $as_echo_n "checking for python include directory... " >&6; }
16199 az_python_prefix=`${PYTHON} -c "import sys; print sys.prefix"`
16200 if test -z "$az_python_prefix"
16202 as_fn_error $? "Python Prefix is not known" "$LINENO" 5
16205 az_python_execprefix=`${PYTHON} -c "import sys; print sys.exec_prefix"`
16206 az_python_version=`$PYTHON -c "import sys; print sys.version[:3]"`
16207 az_python_includespec="-I`$PYTHON -c 'import distutils.sysconfig; print distutils.sysconfig.get_python_inc();'`"
16208 if test x"$python_prefix" != x"$python_execprefix"; then
16209 az_python_execspec="-I${az_python_execprefix}/include/python${az_python_version}"
16210 az_python_includespec="${az_python_includespec} $az_python_execspec"
16212 az_python_ccshared=`${PYTHON} -c "import distutils.sysconfig; print distutils.sysconfig.get_config_var('CFLAGSFORSHARED')"`
16213 az_python_cspec="${az_python_ccshared} ${az_python_includespec}"
16214 PYTHON_CSPEC=${az_python_cspec}
16216 PYTHON_CPPFLAGS=${az_python_includespec}
16218 PYTHON_SHORTVERSION="${az_python_version}"
16220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_CPPFLAGS" >&5
16221 $as_echo "$PYTHON_CPPFLAGS" >&6; }
16226 if test -n "$PYTHON"
16228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python linker flags" >&5
16229 $as_echo_n "checking for python linker flags... " >&6; }
16232 if test -z "$PYTHON"
16234 as_fn_error $? "Python Executable not found" "$LINENO" 5
16236 cat >conftest.py <<_ACEOF
16239 import distutils.sysconfig
16240 strUseFrameWork = "--enable-framework"
16241 dictConfig = distutils.sysconfig.get_config_vars( )
16242 strConfigArgs = dictConfig.get("CONFIG_ARGS")
16243 strLinkSpec = dictConfig.get('LDFLAGS')
16244 if -1 == strConfigArgs.find(strUseFrameWork):
16245 strLibPL = dictConfig.get("LIBPL")
16246 if strLibPL and (strLibPL != ""):
16247 strLinkSpec += " -L%s" % (strLibPL)
16248 strSys = dictConfig.get("SYSLIBS")
16249 if strSys and (strSys != ""):
16250 strLinkSpec += " %s" % (strSys)
16251 strSHL = dictConfig.get("SHLIBS")
16252 if strSHL and (strSHL != ""):
16253 strLinkSpec += " %s" % (strSHL)
16254 # Construct the Python Library Name.
16255 strTmplte = " -lpython%d.%d"
16256 if (sys.platform == "win32") or (sys.platform == "os2emx"):
16257 strTmplte = " -lpython%d%d"
16258 strWrk = strTmplte % ( (sys.hexversion >> 24),
16259 ((sys.hexversion >> 16) & 0xff))
16260 strLinkSpec += strWrk
16262 # This is not ideal since it changes the search path
16263 # for Frameworks which could have side-effects on
16264 # other included Frameworks. However, it is necessary
16265 # where someone has installed more than one frameworked
16266 # Python. Frameworks are really only used in MacOSX.
16267 strLibFW = dictConfig.get("PYTHONFRAMEWORKPREFIX")
16268 if strLibFW and (strLibFW != ""):
16269 strLinkSpec += " -F%s" % (strLibFW)
16270 strLinkSpec += " %s" % (dictConfig.get('LINKFORSHARED'))
16274 az_python_output=`$PYTHON conftest.py`
16277 if test -f "conftest.pyc"
16283 PYTHON_LSPEC=${az_python_output}
16285 az_python_ldflags=`${PYTHON} -c "import distutils.sysconfig; \
16286 print '-L' + distutils.sysconfig.get_python_lib(), '-lpython' + \
16287 distutils.sysconfig.get_config_var('VERSION');"`
16288 PYTHON_LDFLAGS=${az_python_ldflags}
16290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_LDFLAGS" >&5
16291 $as_echo "$PYTHON_LDFLAGS" >&6; }
16295 if test -z "$PYTHON"
16297 as_fn_error $? "Python Executable Path is not known" "$LINENO" 5
16299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python extension install directory" >&5
16300 $as_echo_n "checking for python extension install directory... " >&6; }
16301 ax_python_prefix=`${PYTHON} -c "import sys; print sys.prefix"`
16302 ax_python_execprefix=`${PYTHON} -c "import sys; print sys.exec_prefix"`
16303 PYTHON_PREFIX="${ax_python_prefix}"
16305 PYTHON_EXECPREFIX="${ax_python_execprefix}"
16307 PYTHON_EXECDIR=`$PYTHON -c "import distutils.sysconfig; \
16308 print distutils.sysconfig.get_python_lib();"`
16310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_EXECDIR" >&5
16311 $as_echo "$PYTHON_EXECDIR" >&6; }
16313 elif test "$withval" = "no"
16315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16316 $as_echo "no" >&6; }
16317 az_python_use=false
16318 if test x"$az_python_use" = x"true"; then
16320 PYTHON_USE_FALSE='#'
16322 PYTHON_USE_TRUE='#'
16327 # $withval must be the executable path then.
16328 PYTHON="${withval}"
16330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
16331 $as_echo "$withval" >&6; }
16333 if test x"$az_python_use" = x"true"; then
16335 PYTHON_USE_FALSE='#'
16337 PYTHON_USE_TRUE='#'
16343 if test -n "$PYTHON"
16345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python include directory" >&5
16346 $as_echo_n "checking for python include directory... " >&6; }
16347 az_python_prefix=`${PYTHON} -c "import sys; print sys.prefix"`
16348 if test -z "$az_python_prefix"
16350 as_fn_error $? "Python Prefix is not known" "$LINENO" 5
16353 az_python_execprefix=`${PYTHON} -c "import sys; print sys.exec_prefix"`
16354 az_python_version=`$PYTHON -c "import sys; print sys.version[:3]"`
16355 az_python_includespec="-I`$PYTHON -c 'import distutils.sysconfig; print distutils.sysconfig.get_python_inc();'`"
16356 if test x"$python_prefix" != x"$python_execprefix"; then
16357 az_python_execspec="-I${az_python_execprefix}/include/python${az_python_version}"
16358 az_python_includespec="${az_python_includespec} $az_python_execspec"
16360 az_python_ccshared=`${PYTHON} -c "import distutils.sysconfig; print distutils.sysconfig.get_config_var('CFLAGSFORSHARED')"`
16361 az_python_cspec="${az_python_ccshared} ${az_python_includespec}"
16362 PYTHON_CSPEC=${az_python_cspec}
16364 PYTHON_CPPFLAGS=${az_python_includespec}
16366 PYTHON_SHORTVERSION="${az_python_version}"
16368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_CPPFLAGS" >&5
16369 $as_echo "$PYTHON_CPPFLAGS" >&6; }
16374 if test -n "$PYTHON"
16376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python linker flags" >&5
16377 $as_echo_n "checking for python linker flags... " >&6; }
16380 if test -z "$PYTHON"
16382 as_fn_error $? "Python Executable not found" "$LINENO" 5
16384 cat >conftest.py <<_ACEOF
16387 import distutils.sysconfig
16388 strUseFrameWork = "--enable-framework"
16389 dictConfig = distutils.sysconfig.get_config_vars( )
16390 strConfigArgs = dictConfig.get("CONFIG_ARGS")
16391 strLinkSpec = dictConfig.get('LDFLAGS')
16392 if -1 == strConfigArgs.find(strUseFrameWork):
16393 strLibPL = dictConfig.get("LIBPL")
16394 if strLibPL and (strLibPL != ""):
16395 strLinkSpec += " -L%s" % (strLibPL)
16396 strSys = dictConfig.get("SYSLIBS")
16397 if strSys and (strSys != ""):
16398 strLinkSpec += " %s" % (strSys)
16399 strSHL = dictConfig.get("SHLIBS")
16400 if strSHL and (strSHL != ""):
16401 strLinkSpec += " %s" % (strSHL)
16402 # Construct the Python Library Name.
16403 strTmplte = " -lpython%d.%d"
16404 if (sys.platform == "win32") or (sys.platform == "os2emx"):
16405 strTmplte = " -lpython%d%d"
16406 strWrk = strTmplte % ( (sys.hexversion >> 24),
16407 ((sys.hexversion >> 16) & 0xff))
16408 strLinkSpec += strWrk
16410 # This is not ideal since it changes the search path
16411 # for Frameworks which could have side-effects on
16412 # other included Frameworks. However, it is necessary
16413 # where someone has installed more than one frameworked
16414 # Python. Frameworks are really only used in MacOSX.
16415 strLibFW = dictConfig.get("PYTHONFRAMEWORKPREFIX")
16416 if strLibFW and (strLibFW != ""):
16417 strLinkSpec += " -F%s" % (strLibFW)
16418 strLinkSpec += " %s" % (dictConfig.get('LINKFORSHARED'))
16422 az_python_output=`$PYTHON conftest.py`
16425 if test -f "conftest.pyc"
16431 PYTHON_LSPEC=${az_python_output}
16433 az_python_ldflags=`${PYTHON} -c "import distutils.sysconfig; \
16434 print '-L' + distutils.sysconfig.get_python_lib(), '-lpython' + \
16435 distutils.sysconfig.get_config_var('VERSION');"`
16436 PYTHON_LDFLAGS=${az_python_ldflags}
16438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_LDFLAGS" >&5
16439 $as_echo "$PYTHON_LDFLAGS" >&6; }
16443 if test -z "$PYTHON"
16445 as_fn_error $? "Python Executable Path is not known" "$LINENO" 5
16447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python extension install directory" >&5
16448 $as_echo_n "checking for python extension install directory... " >&6; }
16449 ax_python_prefix=`${PYTHON} -c "import sys; print sys.prefix"`
16450 ax_python_execprefix=`${PYTHON} -c "import sys; print sys.exec_prefix"`
16451 PYTHON_PREFIX="${ax_python_prefix}"
16453 PYTHON_EXECPREFIX="${ax_python_execprefix}"
16455 PYTHON_EXECDIR=`$PYTHON -c "import distutils.sysconfig; \
16456 print distutils.sysconfig.get_python_lib();"`
16458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_EXECDIR" >&5
16459 $as_echo "$PYTHON_EXECDIR" >&6; }
16465 # --with-python was not specified.
16466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16467 $as_echo "no" >&6; }
16468 az_python_use=false
16469 if test x"$az_python_use" = x"true"; then
16471 PYTHON_USE_FALSE='#'
16473 PYTHON_USE_TRUE='#'
16484 if test "$PYTHON" != :; then
16486 HAVE_PYTHON_FALSE='#'
16488 HAVE_PYTHON_TRUE='#'
16492 # Check whether --enable-freedist was given.
16493 if test "${enable_freedist+set}" = set; then :
16494 enableval=$enable_freedist; case "${enableval}" in
16495 yes) freedist=true ;;
16496 no) freedist=false ;;
16497 *) as_fn_error $? "bad value ${enableval} for --enable-freedist" "$LINENO" 5 ;;
16503 if test x$freedist = xtrue; then
16511 # Check whether --enable-dev-headers was given.
16512 if test "${enable_dev_headers+set}" = set; then :
16513 enableval=$enable_dev_headers; case "${enableval}" in
16514 yes) dev_headers=true ;;
16515 no) dev_headers=false ;;
16516 *) as_fn_error $? "bad value ${enableval} for --enable-dev-headers" "$LINENO" 5 ;;
16522 if test x$dev_headers = xtrue; then
16524 DEV_HEADERS_FALSE='#'
16526 DEV_HEADERS_TRUE='#'
16530 # Check whether --enable-random-case-UUID was given.
16531 if test "${enable_random_case_UUID+set}" = set; then :
16532 enableval=$enable_random_case_UUID; case "${enableval}" in
16533 yes) random_case_UUID=true ;;
16534 no) random_case_UUID=false ;;
16535 *) as_fn_error $? "bad value ${enableval} for --enable-random-case-UUID" "$LINENO" 5 ;;
16538 random_case_UUID=false
16541 if test x$random_case_UUID = xtrue; then
16542 ENABLE_RANDOM_UUID_TRUE=
16543 ENABLE_RANDOM_UUID_FALSE='#'
16545 ENABLE_RANDOM_UUID_TRUE='#'
16546 ENABLE_RANDOM_UUID_FALSE=
16550 # Checks for libraries.
16551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
16552 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
16553 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
16554 $as_echo_n "(cached) " >&6
16556 ac_check_lib_save_LIBS=$LIBS
16557 LIBS="-lpthread $LIBS"
16558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16559 /* end confdefs.h. */
16561 /* Override any GCC internal prototype to avoid an error.
16562 Use char because int might match the return type of a GCC
16563 builtin and then its argument prototype would still apply. */
16567 char pthread_create ();
16571 return pthread_create ();
16576 if ac_fn_c_try_link "$LINENO"; then :
16577 ac_cv_lib_pthread_pthread_create=yes
16579 ac_cv_lib_pthread_pthread_create=no
16581 rm -f core conftest.err conftest.$ac_objext \
16582 conftest$ac_exeext conftest.$ac_ext
16583 LIBS=$ac_check_lib_save_LIBS
16585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
16586 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
16587 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
16588 cat >>confdefs.h <<_ACEOF
16589 #define HAVE_LIBPTHREAD 1
16592 LIBS="-lpthread $LIBS"
16597 # Checks for header files.
16600 #AC_CHECK_HEADERS([arpa/inet.h fcntl.h limits.h netinet/in.h stdlib.h string.h sys/socket.h unistd.h wchar.h])
16602 # Checks for typedefs, structures, and compiler characteristics.
16609 # Checks for library functions.
16610 #AC_FUNC_CLOSEDIR_VOID
16614 #AC_CHECK_FUNCS([getcwd memset regcomp strchr strerror strrchr strstr strtol])
16616 ac_config_files="$ac_config_files Makefile src/Makefile win32/Makefile win32/Makefile.mak:win32/Makefile.wmk"
16618 cat >confcache <<\_ACEOF
16619 # This file is a shell script that caches the results of configure
16620 # tests run on this system so they can be shared between configure
16621 # scripts and configure runs, see configure's option --config-cache.
16622 # It is not useful on other systems. If it contains results you don't
16623 # want to keep, you may remove or edit it.
16625 # config.status only pays attention to the cache file if you give it
16626 # the --recheck option to rerun configure.
16628 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16629 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16630 # following values.
16634 # The following way of writing the cache mishandles newlines in values,
16635 # but we know of no workaround that is simple, portable, and efficient.
16636 # So, we kill variables containing newlines.
16637 # Ultrix sh set writes to stderr and can't be redirected directly,
16638 # and sets the high bit in the cache file unless we assign to the vars.
16640 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16641 eval ac_val=\$$ac_var
16645 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16646 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16649 _ | IFS | as_nl) ;; #(
16650 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16651 *) { eval $ac_var=; unset $ac_var;} ;;
16657 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16658 *${as_nl}ac_space=\ *)
16659 # `set' does not quote correctly, so add quotes: double-quote
16660 # substitution turns \\\\ into \\, and sed turns \\ into \.
16663 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16666 # `set' quotes correctly as required by POSIX, so do not add quotes.
16667 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16676 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16678 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16680 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16681 if test -w "$cache_file"; then
16682 if test "x$cache_file" != "x/dev/null"; then
16683 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16684 $as_echo "$as_me: updating cache $cache_file" >&6;}
16685 if test ! -f "$cache_file" || test -h "$cache_file"; then
16686 cat confcache >"$cache_file"
16688 case $cache_file in #(
16690 mv -f confcache "$cache_file"$$ &&
16691 mv -f "$cache_file"$$ "$cache_file" ;; #(
16693 mv -f confcache "$cache_file" ;;
16698 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16699 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16704 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16705 # Let make expand exec_prefix.
16706 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16708 # Transform confdefs.h into DEFS.
16709 # Protect against shell expansion while executing Makefile rules.
16710 # Protect against Makefile macro expansion.
16712 # If the first sed substitution is executed (which looks for macros that
16713 # take arguments), then branch to the quote section. Otherwise,
16714 # look for a macro that doesn't take arguments.
16724 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
16726 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
16730 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
16743 DEFS=`sed -n "$ac_script" confdefs.h`
16749 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16750 # 1. Remove the extension, and $U if already installed.
16751 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16752 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16753 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16754 # will be set to the directory where LIBOBJS objects are built.
16755 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16756 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16758 LIBOBJS=$ac_libobjs
16760 LTLIBOBJS=$ac_ltlibobjs
16763 if test -n "$EXEEXT"; then
16765 am__EXEEXT_FALSE='#'
16767 am__EXEEXT_TRUE='#'
16771 if test -z "${OPENBSD_HOST_TRUE}" && test -z "${OPENBSD_HOST_FALSE}"; then
16772 as_fn_error $? "conditional \"OPENBSD_HOST\" was never defined.
16773 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16775 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16776 as_fn_error $? "conditional \"AMDEP\" was never defined.
16777 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16779 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16780 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16781 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16783 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16784 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
16785 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16787 if test -z "${PYTHON_USE_TRUE}" && test -z "${PYTHON_USE_FALSE}"; then
16788 as_fn_error $? "conditional \"PYTHON_USE\" was never defined.
16789 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16791 if test -z "${PYTHON_USE_TRUE}" && test -z "${PYTHON_USE_FALSE}"; then
16792 as_fn_error $? "conditional \"PYTHON_USE\" was never defined.
16793 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16795 if test -z "${PYTHON_USE_TRUE}" && test -z "${PYTHON_USE_FALSE}"; then
16796 as_fn_error $? "conditional \"PYTHON_USE\" was never defined.
16797 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16799 if test -z "${PYTHON_USE_TRUE}" && test -z "${PYTHON_USE_FALSE}"; then
16800 as_fn_error $? "conditional \"PYTHON_USE\" was never defined.
16801 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16803 if test -z "${PYTHON_USE_TRUE}" && test -z "${PYTHON_USE_FALSE}"; then
16804 as_fn_error $? "conditional \"PYTHON_USE\" was never defined.
16805 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16807 if test -z "${HAVE_PYTHON_TRUE}" && test -z "${HAVE_PYTHON_FALSE}"; then
16808 as_fn_error $? "conditional \"HAVE_PYTHON\" was never defined.
16809 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16811 if test -z "${FREEDIST_TRUE}" && test -z "${FREEDIST_FALSE}"; then
16812 as_fn_error $? "conditional \"FREEDIST\" was never defined.
16813 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16815 if test -z "${DEV_HEADERS_TRUE}" && test -z "${DEV_HEADERS_FALSE}"; then
16816 as_fn_error $? "conditional \"DEV_HEADERS\" was never defined.
16817 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16819 if test -z "${ENABLE_RANDOM_UUID_TRUE}" && test -z "${ENABLE_RANDOM_UUID_FALSE}"; then
16820 as_fn_error $? "conditional \"ENABLE_RANDOM_UUID\" was never defined.
16821 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16824 : "${CONFIG_STATUS=./config.status}"
16826 ac_clean_files_save=$ac_clean_files
16827 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16828 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16829 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16831 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16833 # Generated by $as_me.
16834 # Run this file to recreate the current configuration.
16835 # Compiler output produced by configure, useful for debugging
16836 # configure, is in config.log if it exists.
16839 ac_cs_recheck=false
16842 SHELL=\${CONFIG_SHELL-$SHELL}
16845 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16846 ## -------------------- ##
16847 ## M4sh Initialization. ##
16848 ## -------------------- ##
16850 # Be more Bourne compatible
16851 DUALCASE=1; export DUALCASE # for MKS sh
16852 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16855 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16856 # is contrary to our usage. Disable this feature.
16857 alias -g '${1+"$@"}'='"$@"'
16858 setopt NO_GLOB_SUBST
16860 case `(set -o) 2>/dev/null` in #(
16872 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16873 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16874 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16875 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16876 # Prefer a ksh shell builtin over an external printf program on Solaris,
16877 # but without wasting forks for bash or zsh.
16878 if test -z "$BASH_VERSION$ZSH_VERSION" \
16879 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16880 as_echo='print -r --'
16881 as_echo_n='print -rn --'
16882 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16883 as_echo='printf %s\n'
16884 as_echo_n='printf %s'
16886 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16887 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16888 as_echo_n='/usr/ucb/echo -n'
16890 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16891 as_echo_n_body='eval
16895 expr "X$arg" : "X\\(.*\\)$as_nl";
16896 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16898 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16900 export as_echo_n_body
16901 as_echo_n='sh -c $as_echo_n_body as_echo'
16903 export as_echo_body
16904 as_echo='sh -c $as_echo_body as_echo'
16907 # The user is always right.
16908 if test "${PATH_SEPARATOR+set}" != set; then
16910 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16911 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16918 # We need space, tab and new line, in precisely that order. Quoting is
16919 # there to prevent editors from complaining about space-tab.
16920 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16921 # splitting by setting IFS to empty value.)
16924 # Find who we are. Look in the path if we contain no directory separator.
16927 *[\\/]* ) as_myself=$0 ;;
16928 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16929 for as_dir in $PATH
16932 test -z "$as_dir" && as_dir=.
16933 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16939 # We did not find ourselves, most probably we were run as `sh COMMAND'
16940 # in which case we are not to be found in the path.
16941 if test "x$as_myself" = x; then
16944 if test ! -f "$as_myself"; then
16945 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16949 # Unset variables that we do not need and which cause bugs (e.g. in
16950 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16951 # suppresses any "Segmentation fault" message there. '((' could
16952 # trigger a bug in pdksh 5.2.14.
16953 for as_var in BASH_ENV ENV MAIL MAILPATH
16954 do eval test x\${$as_var+set} = xset \
16955 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16968 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16971 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16972 # ----------------------------------------
16973 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16974 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16975 # script with STATUS, using 1 if that was 0.
16978 as_status=$1; test $as_status -eq 0 && as_status=1
16980 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16981 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16983 $as_echo "$as_me: error: $2" >&2
16984 as_fn_exit $as_status
16988 # as_fn_set_status STATUS
16989 # -----------------------
16990 # Set $? to STATUS, without forking.
16991 as_fn_set_status ()
16994 } # as_fn_set_status
16996 # as_fn_exit STATUS
16997 # -----------------
16998 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17002 as_fn_set_status $1
17008 # Portably unset VAR.
17011 { eval $1=; unset $1;}
17013 as_unset=as_fn_unset
17014 # as_fn_append VAR VALUE
17015 # ----------------------
17016 # Append the text in VALUE to the end of the definition contained in VAR. Take
17017 # advantage of any shell optimizations that allow amortized linear growth over
17018 # repeated appends, instead of the typical quadratic growth present in naive
17020 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17021 eval 'as_fn_append ()
17032 # as_fn_arith ARG...
17033 # ------------------
17034 # Perform arithmetic evaluation on the ARGs, and store the result in the
17035 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17036 # must be portable across $(()) and expr.
17037 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17038 eval 'as_fn_arith ()
17045 as_val=`expr "$@" || test $? -eq 1`
17050 if expr a : '\(a\)' >/dev/null 2>&1 &&
17051 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17057 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17058 as_basename=basename
17063 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17069 as_me=`$as_basename -- "$0" ||
17070 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17071 X"$0" : 'X\(//\)$' \| \
17072 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17074 sed '/^.*\/\([^/][^/]*\)\/*$/{
17088 # Avoid depending upon Character Ranges.
17089 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17090 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17091 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17092 as_cr_digits='0123456789'
17093 as_cr_alnum=$as_cr_Letters$as_cr_digits
17095 ECHO_C= ECHO_N= ECHO_T=
17096 case `echo -n x` in #(((((
17098 case `echo 'xy\c'` in
17099 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17101 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17108 rm -f conf$$ conf$$.exe conf$$.file
17109 if test -d conf$$.dir; then
17110 rm -f conf$$.dir/conf$$.file
17113 mkdir conf$$.dir 2>/dev/null
17115 if (echo >conf$$.file) 2>/dev/null; then
17116 if ln -s conf$$.file conf$$ 2>/dev/null; then
17118 # ... but there are two gotchas:
17119 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17120 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17121 # In both cases, we have to default to `cp -p'.
17122 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17124 elif ln conf$$.file conf$$ 2>/dev/null; then
17132 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17133 rmdir conf$$.dir 2>/dev/null
17138 # Create "$as_dir" as a directory, including parents if necessary.
17143 -*) as_dir=./$as_dir;;
17145 test -d "$as_dir" || eval $as_mkdir_p || {
17149 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17150 *) as_qdir=$as_dir;;
17152 as_dirs="'$as_qdir' $as_dirs"
17153 as_dir=`$as_dirname -- "$as_dir" ||
17154 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17155 X"$as_dir" : 'X\(//\)[^/]' \| \
17156 X"$as_dir" : 'X\(//\)$' \| \
17157 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17158 $as_echo X"$as_dir" |
17159 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17163 /^X\(\/\/\)[^/].*/{
17176 test -d "$as_dir" && break
17178 test -z "$as_dirs" || eval "mkdir $as_dirs"
17179 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17183 if mkdir -p . 2>/dev/null; then
17184 as_mkdir_p='mkdir -p "$as_dir"'
17186 test -d ./-p && rmdir ./-p
17190 if test -x / >/dev/null 2>&1; then
17191 as_test_x='test -x'
17193 if ls -dL / >/dev/null 2>&1; then
17200 if test -d "$1"; then
17206 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
17207 ???[sx]*):;;*)false;;esac;fi
17211 as_executable_p=$as_test_x
17213 # Sed expression to map a string onto a valid CPP name.
17214 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17216 # Sed expression to map a string onto a valid variable name.
17217 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17221 ## ----------------------------------- ##
17222 ## Main body of $CONFIG_STATUS script. ##
17223 ## ----------------------------------- ##
17225 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17227 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17228 # Save the log message, to keep $0 and so on meaningful, and to
17229 # report actual input values of CONFIG_FILES etc. instead of their
17230 # values after options handling.
17232 This file was extended by asdcplib $as_me 1.9.45, which was
17233 generated by GNU Autoconf 2.68. Invocation command line was
17235 CONFIG_FILES = $CONFIG_FILES
17236 CONFIG_HEADERS = $CONFIG_HEADERS
17237 CONFIG_LINKS = $CONFIG_LINKS
17238 CONFIG_COMMANDS = $CONFIG_COMMANDS
17241 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17246 case $ac_config_files in *"
17247 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17252 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17253 # Files that config.status was made for.
17254 config_files="$ac_config_files"
17255 config_commands="$ac_config_commands"
17259 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17261 \`$as_me' instantiates files and other configuration actions
17262 from templates according to the current configuration. Unless the files
17263 and actions are specified as TAGs, all are instantiated by default.
17265 Usage: $0 [OPTION]... [TAG]...
17267 -h, --help print this help, then exit
17268 -V, --version print version number and configuration settings, then exit
17269 --config print configuration, then exit
17270 -q, --quiet, --silent
17271 do not print progress messages
17272 -d, --debug don't remove temporary files
17273 --recheck update $as_me by reconfiguring in the same conditions
17274 --file=FILE[:TEMPLATE]
17275 instantiate the configuration file FILE
17277 Configuration files:
17280 Configuration commands:
17283 Report bugs to <asdcplib@cinecert.com>."
17286 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17287 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17289 asdcplib config.status 1.9.45
17290 configured by $0, generated by GNU Autoconf 2.68,
17291 with options \\"\$ac_cs_config\\"
17293 Copyright (C) 2010 Free Software Foundation, Inc.
17294 This config.status script is free software; the Free Software Foundation
17295 gives unlimited permission to copy, distribute and modify it."
17302 test -n "\$AWK" || AWK=awk
17305 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17306 # The default lists apply if the user does not specify any file.
17312 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17313 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17317 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17329 # Handling of the options.
17330 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17332 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17333 $as_echo "$ac_cs_version"; exit ;;
17334 --config | --confi | --conf | --con | --co | --c )
17335 $as_echo "$ac_cs_config"; exit ;;
17336 --debug | --debu | --deb | --de | --d | -d )
17338 --file | --fil | --fi | --f )
17341 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17342 '') as_fn_error $? "missing file argument" ;;
17344 as_fn_append CONFIG_FILES " '$ac_optarg'"
17345 ac_need_defaults=false;;
17346 --he | --h | --help | --hel | -h )
17347 $as_echo "$ac_cs_usage"; exit ;;
17348 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17349 | -silent | --silent | --silen | --sile | --sil | --si | --s)
17352 # This is an error.
17353 -*) as_fn_error $? "unrecognized option: \`$1'
17354 Try \`$0 --help' for more information." ;;
17356 *) as_fn_append ac_config_targets " $1"
17357 ac_need_defaults=false ;;
17363 ac_configure_extra_args=
17365 if $ac_cs_silent; then
17367 ac_configure_extra_args="$ac_configure_extra_args --silent"
17371 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17372 if \$ac_cs_recheck; then
17373 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17375 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17376 CONFIG_SHELL='$SHELL'
17377 export CONFIG_SHELL
17382 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17386 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17387 ## Running $as_me. ##
17393 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17397 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17400 # The HP-UX ksh and POSIX shell print the target directory to stdout
17401 # if CDPATH is set.
17402 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17404 sed_quote_subst='$sed_quote_subst'
17405 double_quote_subst='$double_quote_subst'
17406 delay_variable_subst='$delay_variable_subst'
17407 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17408 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17409 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17410 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17411 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17412 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17413 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17414 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17415 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17416 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17417 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17418 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17419 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17420 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17421 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17422 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17423 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17424 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17425 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17426 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17427 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17428 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17429 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17430 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17431 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17432 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17433 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17434 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17435 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17436 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17437 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17438 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17439 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17440 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17441 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17442 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17443 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17444 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17445 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17446 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17447 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17448 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17449 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17450 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17451 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17452 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17453 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17454 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17455 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17456 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17457 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17458 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17459 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17460 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17461 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17462 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17463 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"`'
17464 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17465 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17466 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17467 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17468 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17469 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17470 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17471 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17472 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17473 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17474 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17475 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17476 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17477 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17478 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17479 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17480 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17481 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17482 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17483 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17484 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17485 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17486 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17487 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17488 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17489 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17490 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17491 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17492 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17493 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17494 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17495 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17496 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17497 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17498 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17499 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17500 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17501 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17502 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17503 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17504 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17505 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17506 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17507 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17508 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17509 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17510 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17511 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17512 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17513 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17514 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17515 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17516 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17517 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17518 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17519 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17520 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17521 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17522 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17523 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17524 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17525 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17526 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17527 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17528 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17529 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17530 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17531 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17532 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17533 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17534 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17535 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17536 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17537 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
17538 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
17539 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
17540 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
17541 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
17542 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
17543 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
17544 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
17545 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17546 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17547 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
17548 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
17549 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
17550 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
17551 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
17552 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
17553 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
17554 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
17555 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
17556 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17557 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17558 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
17559 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17560 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17561 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17562 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17563 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17564 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17565 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
17566 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17567 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17568 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17569 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
17570 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
17571 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
17572 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
17573 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
17574 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
17575 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
17576 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
17577 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
17578 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17579 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17580 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17581 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17582 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17583 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
17584 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
17585 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
17586 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17587 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17588 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
17589 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
17590 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
17593 LTCFLAGS='$LTCFLAGS'
17594 compiler='$compiler_DEFAULT'
17596 # A function that is used when there is no print builtin or printf.
17597 func_fallback_echo ()
17599 eval 'cat <<_LTECHO_EOF
17604 # Quote evaled strings.
17619 deplibs_check_method \
17624 sharedlib_from_linklib_cmd \
17627 archiver_list_spec \
17633 lt_cv_sys_global_symbol_pipe \
17634 lt_cv_sys_global_symbol_to_cdecl \
17635 lt_cv_sys_global_symbol_to_c_name_address \
17636 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17637 nm_file_list_spec \
17638 lt_prog_compiler_no_builtin_flag \
17639 lt_prog_compiler_pic \
17640 lt_prog_compiler_wl \
17641 lt_prog_compiler_static \
17642 lt_cv_prog_compiler_c_o \
17651 export_dynamic_flag_spec \
17652 whole_archive_flag_spec \
17653 compiler_needs_object \
17655 allow_undefined_flag \
17656 no_undefined_flag \
17657 hardcode_libdir_flag_spec \
17658 hardcode_libdir_separator \
17662 variables_saved_for_relink \
17664 library_names_spec \
17666 install_override_mode \
17670 compiler_lib_search_dirs \
17675 compiler_lib_search_path \
17679 lt_prog_compiler_no_builtin_flag_CXX \
17680 lt_prog_compiler_pic_CXX \
17681 lt_prog_compiler_wl_CXX \
17682 lt_prog_compiler_static_CXX \
17683 lt_cv_prog_compiler_c_o_CXX \
17684 export_dynamic_flag_spec_CXX \
17685 whole_archive_flag_spec_CXX \
17686 compiler_needs_object_CXX \
17688 allow_undefined_flag_CXX \
17689 no_undefined_flag_CXX \
17690 hardcode_libdir_flag_spec_CXX \
17691 hardcode_libdir_separator_CXX \
17692 exclude_expsyms_CXX \
17693 include_expsyms_CXX \
17694 file_list_spec_CXX \
17695 compiler_lib_search_dirs_CXX \
17696 predep_objects_CXX \
17697 postdep_objects_CXX \
17700 compiler_lib_search_path_CXX; do
17701 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17702 *[\\\\\\\`\\"\\\$]*)
17703 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17706 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17711 # Double-quote double-evaled strings.
17712 for var in reload_cmds \
17713 old_postinstall_cmds \
17714 old_postuninstall_cmds \
17716 extract_expsyms_cmds \
17717 old_archive_from_new_cmds \
17718 old_archive_from_expsyms_cmds \
17720 archive_expsym_cmds \
17722 module_expsym_cmds \
17723 export_symbols_cmds \
17727 postuninstall_cmds \
17729 sys_lib_search_path_spec \
17730 sys_lib_dlsearch_path_spec \
17732 old_archive_cmds_CXX \
17733 old_archive_from_new_cmds_CXX \
17734 old_archive_from_expsyms_cmds_CXX \
17736 archive_expsym_cmds_CXX \
17738 module_expsym_cmds_CXX \
17739 export_symbols_cmds_CXX \
17741 postlink_cmds_CXX; do
17742 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17743 *[\\\\\\\`\\"\\\$]*)
17744 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17747 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17752 ac_aux_dir='$ac_aux_dir'
17753 xsi_shell='$xsi_shell'
17754 lt_shell_append='$lt_shell_append'
17756 # See if we are running on zsh, and set the options which allow our
17757 # commands through without removal of \ escapes INIT.
17758 if test -n "\${ZSH_VERSION+set}" ; then
17759 setopt NO_GLOB_SUBST
17765 TIMESTAMP='$TIMESTAMP'
17776 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17778 # Handling of arguments.
17779 for ac_config_target in $ac_config_targets
17781 case $ac_config_target in
17782 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17783 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17784 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17785 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
17786 "win32/Makefile") CONFIG_FILES="$CONFIG_FILES win32/Makefile" ;;
17787 "win32/Makefile.mak") CONFIG_FILES="$CONFIG_FILES win32/Makefile.mak:win32/Makefile.wmk" ;;
17789 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17794 # If the user did not use the arguments to specify the items to instantiate,
17795 # then the envvar interface is used. Set only those that are not.
17796 # We use the long form for the default assignment because of an extremely
17797 # bizarre bug on SunOS 4.1.3.
17798 if $ac_need_defaults; then
17799 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17800 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17803 # Have a temporary directory for convenience. Make it in the build tree
17804 # simply because there is no reason against having it here, and in addition,
17805 # creating and moving files from /tmp can sometimes cause problems.
17806 # Hook for its removal unless debugging.
17807 # Note that there is a small window in which the directory will not be cleaned:
17808 # after its creation but before its name has been assigned to `$tmp'.
17812 trap 'exit_status=$?
17813 : "${ac_tmp:=$tmp}"
17814 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17816 trap 'as_fn_exit 1' 1 2 13 15
17818 # Create a (secure) tmp directory for tmp files.
17821 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17825 tmp=./conf$$-$RANDOM
17826 (umask 077 && mkdir "$tmp")
17827 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17830 # Set up the scripts for CONFIG_FILES section.
17831 # No need to generate them if there are no CONFIG_FILES.
17832 # This happens for instance with `./config.status config.h'.
17833 if test -n "$CONFIG_FILES"; then
17836 ac_cr=`echo X | tr X '\015'`
17837 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17838 # But we know of no other shell where ac_cr would be empty at this
17839 # point, so we can use a bashism as a fallback.
17840 if test "x$ac_cr" = x; then
17841 eval ac_cr=\$\'\\r\'
17843 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17844 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17847 ac_cs_awk_cr=$ac_cr
17850 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17855 echo "cat >conf$$subs.awk <<_ACEOF" &&
17856 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17858 } >conf$$subs.sh ||
17859 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17860 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17862 for ac_last_try in false false false false false :; do
17863 . ./conf$$subs.sh ||
17864 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17866 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17867 if test $ac_delim_n = $ac_delim_num; then
17869 elif $ac_last_try; then
17870 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17872 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17875 rm -f conf$$subs.sh
17877 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17878 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17882 s/^/S["/; s/!.*/"]=/
17892 s/\(.\{148\}\)..*/\1/
17894 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17899 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17906 s/\(.\{148\}\)..*/\1/
17908 s/["\\]/\\&/g; s/^/"/; s/$/"/
17912 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17917 ' <conf$$subs.awk | sed '
17922 ' >>$CONFIG_STATUS || ac_write_fail=1
17923 rm -f conf$$subs.awk
17924 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17926 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17927 for (key in S) S_is_set[key] = 1
17933 nfields = split(line, field, "@")
17935 len = length(field[1])
17936 for (i = 2; i < nfields; i++) {
17938 keylen = length(key)
17939 if (S_is_set[key]) {
17941 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17942 len += length(value) + length(field[++i])
17953 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17954 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17955 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17958 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17959 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17962 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17963 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17964 # trailing colons and then remove the whole line if VPATH becomes empty
17965 # (actually we leave an empty line to preserve line numbers).
17966 if test "x$srcdir" = x.; then
17967 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17985 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17986 fi # test -n "$CONFIG_FILES"
17989 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
17994 :[FHLC]) ac_mode=$ac_tag; continue;;
17996 case $ac_mode$ac_tag in
17998 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17999 :[FH]-) ac_tag=-:-;;
18000 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18017 -) ac_f="$ac_tmp/stdin";;
18018 *) # Look for the file first in the build tree, then in the source tree
18019 # (if the path is not absolute). The absolute path cannot be DOS-style,
18020 # because $ac_f cannot contain `:'.
18024 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18026 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18028 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18029 as_fn_append ac_file_inputs " '$ac_f'"
18032 # Let's still pretend it is `configure' which instantiates (i.e., don't
18033 # use $as_me), people would be surprised to read:
18034 # /* config.h. Generated by config.status. */
18035 configure_input='Generated from '`
18036 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18038 if test x"$ac_file" != x-; then
18039 configure_input="$ac_file. $configure_input"
18040 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18041 $as_echo "$as_me: creating $ac_file" >&6;}
18043 # Neutralize special characters interpreted by sed in replacement strings.
18044 case $configure_input in #(
18045 *\&* | *\|* | *\\* )
18046 ac_sed_conf_input=`$as_echo "$configure_input" |
18047 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18048 *) ac_sed_conf_input=$configure_input;;
18052 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18053 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18058 ac_dir=`$as_dirname -- "$ac_file" ||
18059 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18060 X"$ac_file" : 'X\(//\)[^/]' \| \
18061 X"$ac_file" : 'X\(//\)$' \| \
18062 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18063 $as_echo X"$ac_file" |
18064 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18068 /^X\(\/\/\)[^/].*/{
18081 as_dir="$ac_dir"; as_fn_mkdir_p
18085 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18087 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18088 # A ".." for each directory in $ac_dir_suffix.
18089 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18090 case $ac_top_builddir_sub in
18091 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18092 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18095 ac_abs_top_builddir=$ac_pwd
18096 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18097 # for backward compatibility:
18098 ac_top_builddir=$ac_top_build_prefix
18101 .) # We are building in place.
18103 ac_top_srcdir=$ac_top_builddir_sub
18104 ac_abs_top_srcdir=$ac_pwd ;;
18105 [\\/]* | ?:[\\/]* ) # Absolute name.
18106 ac_srcdir=$srcdir$ac_dir_suffix;
18107 ac_top_srcdir=$srcdir
18108 ac_abs_top_srcdir=$srcdir ;;
18109 *) # Relative name.
18110 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18111 ac_top_srcdir=$ac_top_build_prefix$srcdir
18112 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18114 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18124 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18125 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18127 ac_MKDIR_P=$MKDIR_P
18129 [\\/$]* | ?:[\\/]* ) ;;
18130 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18134 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18135 # If the template does not know about datarootdir, expand it.
18136 # FIXME: This hack should be removed a few years after 2.60.
18137 ac_datarootdir_hack=; ac_datarootdir_seen=
18148 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18149 *datarootdir*) ac_datarootdir_seen=yes;;
18150 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18151 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18152 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18154 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18155 ac_datarootdir_hack='
18156 s&@datadir@&$datadir&g
18157 s&@docdir@&$docdir&g
18158 s&@infodir@&$infodir&g
18159 s&@localedir@&$localedir&g
18160 s&@mandir@&$mandir&g
18161 s&\\\${datarootdir}&$datarootdir&g' ;;
18165 # Neutralize VPATH when `$srcdir' = `.'.
18166 # Shell code in configure.ac might set extrasub.
18167 # FIXME: do we really want to maintain this feature?
18168 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18169 ac_sed_extra="$ac_vpsub
18172 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18174 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18175 s|@configure_input@|$ac_sed_conf_input|;t t
18176 s&@top_builddir@&$ac_top_builddir_sub&;t t
18177 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18178 s&@srcdir@&$ac_srcdir&;t t
18179 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18180 s&@top_srcdir@&$ac_top_srcdir&;t t
18181 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18182 s&@builddir@&$ac_builddir&;t t
18183 s&@abs_builddir@&$ac_abs_builddir&;t t
18184 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18185 s&@INSTALL@&$ac_INSTALL&;t t
18186 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18187 $ac_datarootdir_hack
18189 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18190 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18192 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18193 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18194 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18195 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18196 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18197 which seems to be undefined. Please make sure it is defined" >&5
18198 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18199 which seems to be undefined. Please make sure it is defined" >&2;}
18201 rm -f "$ac_tmp/stdin"
18203 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18204 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18206 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18210 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18211 $as_echo "$as_me: executing $ac_file commands" >&6;}
18216 case $ac_file$ac_mode in
18217 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18218 # Autoconf 2.62 quotes --file arguments for eval, but not when files
18219 # are listed without --file. Let's play safe and only enable the eval
18220 # if we detect the quoting.
18221 case $CONFIG_FILES in
18222 *\'*) eval set x "$CONFIG_FILES" ;;
18223 *) set x $CONFIG_FILES ;;
18228 # Strip MF so we end up with the name of the file.
18229 mf=`echo "$mf" | sed -e 's/:.*$//'`
18230 # Check whether this is an Automake generated Makefile or not.
18231 # We used to match only the files named `Makefile.in', but
18232 # some people rename them; so instead we look at the file content.
18233 # Grep'ing the first line is not enough: some people post-process
18234 # each Makefile.in and add a new line on top of each file to say so.
18235 # Grep'ing the whole file is not good either: AIX grep has a line
18236 # limit of 2048, but all sed's we know have understand at least 4000.
18237 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18238 dirpart=`$as_dirname -- "$mf" ||
18239 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18240 X"$mf" : 'X\(//\)[^/]' \| \
18241 X"$mf" : 'X\(//\)$' \| \
18242 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18244 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18248 /^X\(\/\/\)[^/].*/{
18264 # Extract the definition of DEPDIR, am__include, and am__quote
18265 # from the Makefile without running `make'.
18266 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18267 test -z "$DEPDIR" && continue
18268 am__include=`sed -n 's/^am__include = //p' < "$mf"`
18269 test -z "am__include" && continue
18270 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18271 # When using ansi2knr, U may be empty or an underscore; expand it
18272 U=`sed -n 's/^U = //p' < "$mf"`
18273 # Find all dependency output files, they are included files with
18274 # $(DEPDIR) in their names. We invoke sed twice because it is the
18275 # simplest approach to changing $(DEPDIR) to its actual value in the
18277 for file in `sed -n "
18278 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18279 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
18280 # Make sure the directory exists.
18281 test -f "$dirpart/$file" && continue
18282 fdir=`$as_dirname -- "$file" ||
18283 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18284 X"$file" : 'X\(//\)[^/]' \| \
18285 X"$file" : 'X\(//\)$' \| \
18286 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18287 $as_echo X"$file" |
18288 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18292 /^X\(\/\/\)[^/].*/{
18305 as_dir=$dirpart/$fdir; as_fn_mkdir_p
18306 # echo "creating $dirpart/$file"
18307 echo '# dummy' > "$dirpart/$file"
18314 # See if we are running on zsh, and set the options which allow our
18315 # commands through without removal of \ escapes.
18316 if test -n "${ZSH_VERSION+set}" ; then
18317 setopt NO_GLOB_SUBST
18320 cfgfile="${ofile}T"
18321 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18324 cat <<_LT_EOF >> "$cfgfile"
18327 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18328 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18329 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18330 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18332 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18333 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
18335 # Written by Gordon Matzigkeit, 1996
18337 # This file is part of GNU Libtool.
18339 # GNU Libtool is free software; you can redistribute it and/or
18340 # modify it under the terms of the GNU General Public License as
18341 # published by the Free Software Foundation; either version 2 of
18342 # the License, or (at your option) any later version.
18344 # As a special exception to the GNU General Public License,
18345 # if you distribute this file as part of a program or library that
18346 # is built using GNU Libtool, you may include this file under the
18347 # same distribution terms that you use for the rest of that program.
18349 # GNU Libtool is distributed in the hope that it will be useful,
18350 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18351 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18352 # GNU General Public License for more details.
18354 # You should have received a copy of the GNU General Public License
18355 # along with GNU Libtool; see the file COPYING. If not, a copy
18356 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18357 # obtained by writing to the Free Software Foundation, Inc.,
18358 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18361 # The names of the tagged configurations supported by this script.
18362 available_tags="CXX "
18364 # ### BEGIN LIBTOOL CONFIG
18366 # Which release of libtool.m4 was used?
18367 macro_version=$macro_version
18368 macro_revision=$macro_revision
18370 # Whether or not to build shared libraries.
18371 build_libtool_libs=$enable_shared
18373 # Whether or not to build static libraries.
18374 build_old_libs=$enable_static
18376 # What type of objects to build.
18379 # Whether or not to optimize for fast installation.
18380 fast_install=$enable_fast_install
18382 # Shell to use when invoking shell scripts.
18385 # An echo program that protects backslashes.
18388 # The PATH separator for the build system.
18389 PATH_SEPARATOR=$lt_PATH_SEPARATOR
18392 host_alias=$host_alias
18396 # The build system.
18397 build_alias=$build_alias
18401 # A sed program that does not truncate output.
18404 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18405 Xsed="\$SED -e 1s/^X//"
18407 # A grep program that handles long lines.
18413 # A literal string matcher.
18416 # A BSD- or MS-compatible name lister.
18419 # Whether we need soft or hard links.
18422 # What is the maximum length of a command?
18423 max_cmd_len=$max_cmd_len
18425 # Object file suffix (normally "o").
18428 # Executable file suffix (normally "").
18431 # whether the shell understands "unset".
18434 # turn spaces into newlines.
18437 # turn newlines into spaces.
18440 # convert \$build file names to \$host format.
18441 to_host_file_cmd=$lt_cv_to_host_file_cmd
18443 # convert \$build files to toolchain format.
18444 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18446 # An object symbol dumper.
18447 OBJDUMP=$lt_OBJDUMP
18449 # Method to check whether dependent libraries are shared objects.
18450 deplibs_check_method=$lt_deplibs_check_method
18452 # Command to use when deplibs_check_method = "file_magic".
18453 file_magic_cmd=$lt_file_magic_cmd
18455 # How to find potential files when deplibs_check_method = "file_magic".
18456 file_magic_glob=$lt_file_magic_glob
18458 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18459 want_nocaseglob=$lt_want_nocaseglob
18461 # DLL creation program.
18462 DLLTOOL=$lt_DLLTOOL
18464 # Command to associate shared and link libraries.
18465 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18470 # Flags to create an archive.
18471 AR_FLAGS=$lt_AR_FLAGS
18473 # How to feed a file listing to the archiver.
18474 archiver_list_spec=$lt_archiver_list_spec
18476 # A symbol stripping program.
18479 # Commands used to install an old-style archive.
18481 old_postinstall_cmds=$lt_old_postinstall_cmds
18482 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18484 # Whether to use a lock for old archive extraction.
18485 lock_old_archive_extraction=$lock_old_archive_extraction
18490 # LTCC compiler flags.
18491 LTCFLAGS=$lt_CFLAGS
18493 # Take the output of nm and produce a listing of raw symbols and C names.
18494 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18496 # Transform the output of nm in a proper C declaration.
18497 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18499 # Transform the output of nm in a C name address pair.
18500 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18502 # Transform the output of nm in a C name address pair when lib prefix is needed.
18503 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18505 # Specify filename containing input files for \$NM.
18506 nm_file_list_spec=$lt_nm_file_list_spec
18508 # The root where to search for dependent libraries,and in which our libraries should be installed.
18509 lt_sysroot=$lt_sysroot
18511 # The name of the directory that contains temporary libtool files.
18514 # Used to examine libraries when file_magic_cmd begins with "file".
18515 MAGIC_CMD=$MAGIC_CMD
18517 # Must we lock files when doing compilation?
18518 need_locks=$lt_need_locks
18521 MANIFEST_TOOL=$lt_MANIFEST_TOOL
18523 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18524 DSYMUTIL=$lt_DSYMUTIL
18526 # Tool to change global to local symbols on Mac OS X.
18529 # Tool to manipulate fat objects and archives on Mac OS X.
18532 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18535 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18536 OTOOL64=$lt_OTOOL64
18538 # Old archive suffix (normally "a").
18541 # Shared library suffix (normally ".so").
18542 shrext_cmds=$lt_shrext_cmds
18544 # The commands to extract the exported symbol list from a shared archive.
18545 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18547 # Variables whose values should be saved in libtool wrapper scripts and
18548 # restored at link time.
18549 variables_saved_for_relink=$lt_variables_saved_for_relink
18551 # Do we need the "lib" prefix for modules?
18552 need_lib_prefix=$need_lib_prefix
18554 # Do we need a version for libraries?
18555 need_version=$need_version
18557 # Library versioning type.
18558 version_type=$version_type
18560 # Shared library runtime path variable.
18561 runpath_var=$runpath_var
18563 # Shared library path variable.
18564 shlibpath_var=$shlibpath_var
18566 # Is shlibpath searched before the hard-coded library search path?
18567 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18569 # Format of library name prefix.
18570 libname_spec=$lt_libname_spec
18572 # List of archive names. First name is the real one, the rest are links.
18573 # The last name is the one that the linker finds with -lNAME
18574 library_names_spec=$lt_library_names_spec
18576 # The coded name of the library, if different from the real name.
18577 soname_spec=$lt_soname_spec
18579 # Permission mode override for installation of shared libraries.
18580 install_override_mode=$lt_install_override_mode
18582 # Command to use after installation of a shared archive.
18583 postinstall_cmds=$lt_postinstall_cmds
18585 # Command to use after uninstallation of a shared archive.
18586 postuninstall_cmds=$lt_postuninstall_cmds
18588 # Commands used to finish a libtool library installation in a directory.
18589 finish_cmds=$lt_finish_cmds
18591 # As "finish_cmds", except a single script fragment to be evaled but
18593 finish_eval=$lt_finish_eval
18595 # Whether we should hardcode library paths into libraries.
18596 hardcode_into_libs=$hardcode_into_libs
18598 # Compile-time system search path for libraries.
18599 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18601 # Run-time system search path for libraries.
18602 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18604 # Whether dlopen is supported.
18605 dlopen_support=$enable_dlopen
18607 # Whether dlopen of programs is supported.
18608 dlopen_self=$enable_dlopen_self
18610 # Whether dlopen of statically linked programs is supported.
18611 dlopen_self_static=$enable_dlopen_self_static
18613 # Commands to strip libraries.
18614 old_striplib=$lt_old_striplib
18615 striplib=$lt_striplib
18618 # The linker used to build libraries.
18621 # How to create reloadable object files.
18622 reload_flag=$lt_reload_flag
18623 reload_cmds=$lt_reload_cmds
18625 # Commands used to build an old-style archive.
18626 old_archive_cmds=$lt_old_archive_cmds
18628 # A language specific compiler.
18631 # Is the compiler the GNU compiler?
18634 # Compiler flag to turn off builtin functions.
18635 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18637 # Additional compiler flags for building library objects.
18638 pic_flag=$lt_lt_prog_compiler_pic
18640 # How to pass a linker flag through the compiler.
18641 wl=$lt_lt_prog_compiler_wl
18643 # Compiler flag to prevent dynamic linking.
18644 link_static_flag=$lt_lt_prog_compiler_static
18646 # Does compiler simultaneously support -c and -o options?
18647 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18649 # Whether or not to add -lc for building shared libraries.
18650 build_libtool_need_lc=$archive_cmds_need_lc
18652 # Whether or not to disallow shared libs when runtime libs are static.
18653 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18655 # Compiler flag to allow reflexive dlopens.
18656 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18658 # Compiler flag to generate shared objects directly from archives.
18659 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18661 # Whether the compiler copes with passing no objects directly.
18662 compiler_needs_object=$lt_compiler_needs_object
18664 # Create an old-style archive from a shared archive.
18665 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18667 # Create a temporary old-style archive to link instead of a shared archive.
18668 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18670 # Commands used to build a shared archive.
18671 archive_cmds=$lt_archive_cmds
18672 archive_expsym_cmds=$lt_archive_expsym_cmds
18674 # Commands used to build a loadable module if different from building
18675 # a shared archive.
18676 module_cmds=$lt_module_cmds
18677 module_expsym_cmds=$lt_module_expsym_cmds
18679 # Whether we are building with GNU ld or not.
18680 with_gnu_ld=$lt_with_gnu_ld
18682 # Flag that allows shared libraries with undefined symbols to be built.
18683 allow_undefined_flag=$lt_allow_undefined_flag
18685 # Flag that enforces no undefined symbols.
18686 no_undefined_flag=$lt_no_undefined_flag
18688 # Flag to hardcode \$libdir into a binary during linking.
18689 # This must work even if \$libdir does not exist
18690 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18692 # Whether we need a single "-rpath" flag with a separated argument.
18693 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18695 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18696 # DIR into the resulting binary.
18697 hardcode_direct=$hardcode_direct
18699 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18700 # DIR into the resulting binary and the resulting library dependency is
18701 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18702 # library is relocated.
18703 hardcode_direct_absolute=$hardcode_direct_absolute
18705 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18706 # into the resulting binary.
18707 hardcode_minus_L=$hardcode_minus_L
18709 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18710 # into the resulting binary.
18711 hardcode_shlibpath_var=$hardcode_shlibpath_var
18713 # Set to "yes" if building a shared library automatically hardcodes DIR
18714 # into the library and all subsequent libraries and executables linked
18716 hardcode_automatic=$hardcode_automatic
18718 # Set to yes if linker adds runtime paths of dependent libraries
18719 # to runtime path list.
18720 inherit_rpath=$inherit_rpath
18722 # Whether libtool must link a program against all its dependency libraries.
18723 link_all_deplibs=$link_all_deplibs
18725 # Set to "yes" if exported symbols are required.
18726 always_export_symbols=$always_export_symbols
18728 # The commands to list exported symbols.
18729 export_symbols_cmds=$lt_export_symbols_cmds
18731 # Symbols that should not be listed in the preloaded symbols.
18732 exclude_expsyms=$lt_exclude_expsyms
18734 # Symbols that must always be exported.
18735 include_expsyms=$lt_include_expsyms
18737 # Commands necessary for linking programs (against libraries) with templates.
18738 prelink_cmds=$lt_prelink_cmds
18740 # Commands necessary for finishing linking programs.
18741 postlink_cmds=$lt_postlink_cmds
18743 # Specify filename containing input files.
18744 file_list_spec=$lt_file_list_spec
18746 # How to hardcode a shared library path into an executable.
18747 hardcode_action=$hardcode_action
18749 # The directories searched by this compiler when creating a shared library.
18750 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
18752 # Dependencies to place before and after the objects being linked to
18753 # create a shared library.
18754 predep_objects=$lt_predep_objects
18755 postdep_objects=$lt_postdep_objects
18756 predeps=$lt_predeps
18757 postdeps=$lt_postdeps
18759 # The library search path used internally by the compiler when linking
18760 # a shared library.
18761 compiler_lib_search_path=$lt_compiler_lib_search_path
18763 # ### END LIBTOOL CONFIG
18769 cat <<\_LT_EOF >> "$cfgfile"
18770 # AIX sometimes has problems with the GCC collect2 program. For some
18771 # reason, if we set the COLLECT_NAMES environment variable, the problems
18772 # vanish in a puff of smoke.
18773 if test "X${COLLECT_NAMES+set}" != Xset; then
18775 export COLLECT_NAMES
18782 ltmain="$ac_aux_dir/ltmain.sh"
18785 # We use sed instead of cat because bash on DJGPP gets confused if
18786 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18787 # text mode, it properly converts lines to CR/LF. This bash problem
18788 # is reportedly fixed, but why not run on old versions too?
18789 sed '$q' "$ltmain" >> "$cfgfile" \
18790 || (rm -f "$cfgfile"; exit 1)
18792 if test x"$xsi_shell" = xyes; then
18793 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
18797 \ */*) func_dirname_result="${1%/*}${2}" ;;\
18798 \ * ) func_dirname_result="${3}" ;;\
18800 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
18801 && mv -f "$cfgfile.tmp" "$cfgfile" \
18802 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18803 test 0 -eq $? || _lt_function_replace_fail=:
18806 sed -e '/^func_basename ()$/,/^} # func_basename /c\
18809 \ func_basename_result="${1##*/}"\
18810 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
18811 && mv -f "$cfgfile.tmp" "$cfgfile" \
18812 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18813 test 0 -eq $? || _lt_function_replace_fail=:
18816 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
18817 func_dirname_and_basename ()\
18820 \ */*) func_dirname_result="${1%/*}${2}" ;;\
18821 \ * ) func_dirname_result="${3}" ;;\
18823 \ func_basename_result="${1##*/}"\
18824 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
18825 && mv -f "$cfgfile.tmp" "$cfgfile" \
18826 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18827 test 0 -eq $? || _lt_function_replace_fail=:
18830 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
18833 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
18834 \ # positional parameters, so assign one to ordinary parameter first.\
18835 \ func_stripname_result=${3}\
18836 \ func_stripname_result=${func_stripname_result#"${1}"}\
18837 \ func_stripname_result=${func_stripname_result%"${2}"}\
18838 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
18839 && mv -f "$cfgfile.tmp" "$cfgfile" \
18840 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18841 test 0 -eq $? || _lt_function_replace_fail=:
18844 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
18845 func_split_long_opt ()\
18847 \ func_split_long_opt_name=${1%%=*}\
18848 \ func_split_long_opt_arg=${1#*=}\
18849 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
18850 && mv -f "$cfgfile.tmp" "$cfgfile" \
18851 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18852 test 0 -eq $? || _lt_function_replace_fail=:
18855 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
18856 func_split_short_opt ()\
18858 \ func_split_short_opt_arg=${1#??}\
18859 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
18860 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
18861 && mv -f "$cfgfile.tmp" "$cfgfile" \
18862 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18863 test 0 -eq $? || _lt_function_replace_fail=:
18866 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
18870 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
18871 \ *) func_lo2o_result=${1} ;;\
18873 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
18874 && mv -f "$cfgfile.tmp" "$cfgfile" \
18875 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18876 test 0 -eq $? || _lt_function_replace_fail=:
18879 sed -e '/^func_xform ()$/,/^} # func_xform /c\
18882 func_xform_result=${1%.*}.lo\
18883 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
18884 && mv -f "$cfgfile.tmp" "$cfgfile" \
18885 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18886 test 0 -eq $? || _lt_function_replace_fail=:
18889 sed -e '/^func_arith ()$/,/^} # func_arith /c\
18892 func_arith_result=$(( $* ))\
18893 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
18894 && mv -f "$cfgfile.tmp" "$cfgfile" \
18895 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18896 test 0 -eq $? || _lt_function_replace_fail=:
18899 sed -e '/^func_len ()$/,/^} # func_len /c\
18902 func_len_result=${#1}\
18903 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
18904 && mv -f "$cfgfile.tmp" "$cfgfile" \
18905 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18906 test 0 -eq $? || _lt_function_replace_fail=:
18910 if test x"$lt_shell_append" = xyes; then
18911 sed -e '/^func_append ()$/,/^} # func_append /c\
18914 eval "${1}+=\\${2}"\
18915 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
18916 && mv -f "$cfgfile.tmp" "$cfgfile" \
18917 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18918 test 0 -eq $? || _lt_function_replace_fail=:
18921 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
18922 func_append_quoted ()\
18924 \ func_quote_for_eval "${2}"\
18925 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
18926 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
18927 && mv -f "$cfgfile.tmp" "$cfgfile" \
18928 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18929 test 0 -eq $? || _lt_function_replace_fail=:
18932 # Save a `func_append' function call where possible by direct use of '+='
18933 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
18934 && mv -f "$cfgfile.tmp" "$cfgfile" \
18935 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18936 test 0 -eq $? || _lt_function_replace_fail=:
18938 # Save a `func_append' function call even when '+=' is not available
18939 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
18940 && mv -f "$cfgfile.tmp" "$cfgfile" \
18941 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18942 test 0 -eq $? || _lt_function_replace_fail=:
18945 if test x"$_lt_function_replace_fail" = x":"; then
18946 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
18947 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
18951 mv -f "$cfgfile" "$ofile" ||
18952 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18956 cat <<_LT_EOF >> "$ofile"
18958 # ### BEGIN LIBTOOL TAG CONFIG: CXX
18960 # The linker used to build libraries.
18963 # How to create reloadable object files.
18964 reload_flag=$lt_reload_flag_CXX
18965 reload_cmds=$lt_reload_cmds_CXX
18967 # Commands used to build an old-style archive.
18968 old_archive_cmds=$lt_old_archive_cmds_CXX
18970 # A language specific compiler.
18971 CC=$lt_compiler_CXX
18973 # Is the compiler the GNU compiler?
18976 # Compiler flag to turn off builtin functions.
18977 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
18979 # Additional compiler flags for building library objects.
18980 pic_flag=$lt_lt_prog_compiler_pic_CXX
18982 # How to pass a linker flag through the compiler.
18983 wl=$lt_lt_prog_compiler_wl_CXX
18985 # Compiler flag to prevent dynamic linking.
18986 link_static_flag=$lt_lt_prog_compiler_static_CXX
18988 # Does compiler simultaneously support -c and -o options?
18989 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
18991 # Whether or not to add -lc for building shared libraries.
18992 build_libtool_need_lc=$archive_cmds_need_lc_CXX
18994 # Whether or not to disallow shared libs when runtime libs are static.
18995 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
18997 # Compiler flag to allow reflexive dlopens.
18998 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
19000 # Compiler flag to generate shared objects directly from archives.
19001 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
19003 # Whether the compiler copes with passing no objects directly.
19004 compiler_needs_object=$lt_compiler_needs_object_CXX
19006 # Create an old-style archive from a shared archive.
19007 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
19009 # Create a temporary old-style archive to link instead of a shared archive.
19010 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
19012 # Commands used to build a shared archive.
19013 archive_cmds=$lt_archive_cmds_CXX
19014 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
19016 # Commands used to build a loadable module if different from building
19017 # a shared archive.
19018 module_cmds=$lt_module_cmds_CXX
19019 module_expsym_cmds=$lt_module_expsym_cmds_CXX
19021 # Whether we are building with GNU ld or not.
19022 with_gnu_ld=$lt_with_gnu_ld_CXX
19024 # Flag that allows shared libraries with undefined symbols to be built.
19025 allow_undefined_flag=$lt_allow_undefined_flag_CXX
19027 # Flag that enforces no undefined symbols.
19028 no_undefined_flag=$lt_no_undefined_flag_CXX
19030 # Flag to hardcode \$libdir into a binary during linking.
19031 # This must work even if \$libdir does not exist
19032 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
19034 # Whether we need a single "-rpath" flag with a separated argument.
19035 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
19037 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19038 # DIR into the resulting binary.
19039 hardcode_direct=$hardcode_direct_CXX
19041 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19042 # DIR into the resulting binary and the resulting library dependency is
19043 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19044 # library is relocated.
19045 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
19047 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19048 # into the resulting binary.
19049 hardcode_minus_L=$hardcode_minus_L_CXX
19051 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19052 # into the resulting binary.
19053 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
19055 # Set to "yes" if building a shared library automatically hardcodes DIR
19056 # into the library and all subsequent libraries and executables linked
19058 hardcode_automatic=$hardcode_automatic_CXX
19060 # Set to yes if linker adds runtime paths of dependent libraries
19061 # to runtime path list.
19062 inherit_rpath=$inherit_rpath_CXX
19064 # Whether libtool must link a program against all its dependency libraries.
19065 link_all_deplibs=$link_all_deplibs_CXX
19067 # Set to "yes" if exported symbols are required.
19068 always_export_symbols=$always_export_symbols_CXX
19070 # The commands to list exported symbols.
19071 export_symbols_cmds=$lt_export_symbols_cmds_CXX
19073 # Symbols that should not be listed in the preloaded symbols.
19074 exclude_expsyms=$lt_exclude_expsyms_CXX
19076 # Symbols that must always be exported.
19077 include_expsyms=$lt_include_expsyms_CXX
19079 # Commands necessary for linking programs (against libraries) with templates.
19080 prelink_cmds=$lt_prelink_cmds_CXX
19082 # Commands necessary for finishing linking programs.
19083 postlink_cmds=$lt_postlink_cmds_CXX
19085 # Specify filename containing input files.
19086 file_list_spec=$lt_file_list_spec_CXX
19088 # How to hardcode a shared library path into an executable.
19089 hardcode_action=$hardcode_action_CXX
19091 # The directories searched by this compiler when creating a shared library.
19092 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
19094 # Dependencies to place before and after the objects being linked to
19095 # create a shared library.
19096 predep_objects=$lt_predep_objects_CXX
19097 postdep_objects=$lt_postdep_objects_CXX
19098 predeps=$lt_predeps_CXX
19099 postdeps=$lt_postdeps_CXX
19101 # The library search path used internally by the compiler when linking
19102 # a shared library.
19103 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19105 # ### END LIBTOOL TAG CONFIG: CXX
19116 ac_clean_files=$ac_clean_files_save
19118 test $ac_write_fail = 0 ||
19119 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19122 # configure is writing to config.log, and then calls config.status.
19123 # config.status does its own redirection, appending to config.log.
19124 # Unfortunately, on DOS this fails, as config.log is still kept open
19125 # by configure, so config.status won't be able to write to it; its
19126 # output is simply discarded. So we exec the FD to /dev/null,
19127 # effectively closing config.log, so it can be properly (re)opened and
19128 # appended to by config.status. When coming back to configure, we
19129 # need to make the FD available again.
19130 if test "$no_create" != yes; then
19132 ac_config_status_args=
19133 test "$silent" = yes &&
19134 ac_config_status_args="$ac_config_status_args --quiet"
19136 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19138 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19139 # would make configure fail if this is the last instruction.
19140 $ac_cs_success || as_fn_exit 1
19142 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19144 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}