2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for bcusdk 0.0.5.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 if test "x$CONFIG_SHELL" = x; then
138 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142 # is contrary to our usage. Disable this feature.
143 alias -g '\${1+\"\$@\"}'='\"\$@\"'
146 case \`(set -o) 2>/dev/null\` in #(
154 as_required="as_fn_return () { (exit \$1); }
155 as_fn_success () { as_fn_return 0; }
156 as_fn_failure () { as_fn_return 1; }
157 as_fn_ret_success () { return 0; }
158 as_fn_ret_failure () { return 1; }
161 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168 exitcode=1; echo positional parameters were not saved.
170 test x\$exitcode = x0 || exit 1"
171 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
172 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
175 test \$(( 1 + 1 )) = 2 || exit 1
177 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
178 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
179 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
180 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181 PATH=/empty FPATH=/empty; export PATH FPATH
182 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
183 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
184 if (eval "$as_required") 2>/dev/null; then :
189 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
194 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
197 test -z "$as_dir" && as_dir=.
201 for as_base in sh bash ksh sh5; do
202 # Try only shells that exist, to save several forks.
203 as_shell=$as_dir/$as_base
204 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
206 CONFIG_SHELL=$as_shell as_have_required=yes
207 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
215 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
216 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
217 CONFIG_SHELL=$SHELL as_have_required=yes
222 if test "x$CONFIG_SHELL" != x; then :
223 # We cannot yet assume a decent shell, so we have to provide a
224 # neutralization value for shells without unset; and this also
225 # works around shells that cannot unset nonexistent variables.
226 # Preserve -v and -x to the replacement shell.
229 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
232 *v*x* | *x*v* ) as_opts=-vx ;;
237 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
240 if test x$as_have_required = xno; then :
241 $as_echo "$0: This script requires a shell more modern than all"
242 $as_echo "$0: the shells that I found on your system."
243 if test x${ZSH_VERSION+set} = xset ; then
244 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
245 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
247 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
248 $0: including any error possibly output before this
249 $0: message. Then install a modern shell, or manually run
250 $0: the script under such a shell if you do have one."
256 SHELL=${CONFIG_SHELL-/bin/sh}
258 # Unset more variables known to interfere with behavior of common tools.
259 CLICOLOR_FORCE= GREP_OPTIONS=
260 unset CLICOLOR_FORCE GREP_OPTIONS
262 ## --------------------- ##
263 ## M4sh Shell Functions. ##
264 ## --------------------- ##
267 # Portably unset VAR.
270 { eval $1=; unset $1;}
274 # as_fn_set_status STATUS
275 # -----------------------
276 # Set $? to STATUS, without forking.
284 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
294 # Create "$as_dir" as a directory, including parents if necessary.
299 -*) as_dir=./$as_dir;;
301 test -d "$as_dir" || eval $as_mkdir_p || {
305 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
308 as_dirs="'$as_qdir' $as_dirs"
309 as_dir=`$as_dirname -- "$as_dir" ||
310 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
311 X"$as_dir" : 'X\(//\)[^/]' \| \
312 X"$as_dir" : 'X\(//\)$' \| \
313 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
314 $as_echo X"$as_dir" |
315 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
332 test -d "$as_dir" && break
334 test -z "$as_dirs" || eval "mkdir $as_dirs"
335 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
339 # as_fn_append VAR VALUE
340 # ----------------------
341 # Append the text in VALUE to the end of the definition contained in VAR. Take
342 # advantage of any shell optimizations that allow amortized linear growth over
343 # repeated appends, instead of the typical quadratic growth present in naive
345 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
346 eval 'as_fn_append ()
359 # Perform arithmetic evaluation on the ARGs, and store the result in the
360 # global $as_val. Take advantage of shells that can avoid forks. The arguments
361 # must be portable across $(()) and expr.
362 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
370 as_val=`expr "$@" || test $? -eq 1`
375 # as_fn_error STATUS ERROR [LINENO LOG_FD]
376 # ----------------------------------------
377 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
378 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
379 # script with STATUS, using 1 if that was 0.
382 as_status=$1; test $as_status -eq 0 && as_status=1
384 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
385 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
387 $as_echo "$as_me: error: $2" >&2
388 as_fn_exit $as_status
391 if expr a : '\(a\)' >/dev/null 2>&1 &&
392 test "X`expr 00001 : '.*\(...\)'`" = X001; then
398 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
404 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
410 as_me=`$as_basename -- "$0" ||
411 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
412 X"$0" : 'X\(//\)$' \| \
413 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
415 sed '/^.*\/\([^/][^/]*\)\/*$/{
429 # Avoid depending upon Character Ranges.
430 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
431 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
432 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
433 as_cr_digits='0123456789'
434 as_cr_alnum=$as_cr_Letters$as_cr_digits
437 as_lineno_1=$LINENO as_lineno_1a=$LINENO
438 as_lineno_2=$LINENO as_lineno_2a=$LINENO
439 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
440 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
441 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
453 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
457 chmod +x "$as_me.lineno" ||
458 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
468 ECHO_C= ECHO_N= ECHO_T=
469 case `echo -n x` in #(((((
471 case `echo 'xy\c'` in
472 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
474 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
481 rm -f conf$$ conf$$.exe conf$$.file
482 if test -d conf$$.dir; then
483 rm -f conf$$.dir/conf$$.file
486 mkdir conf$$.dir 2>/dev/null
488 if (echo >conf$$.file) 2>/dev/null; then
489 if ln -s conf$$.file conf$$ 2>/dev/null; then
491 # ... but there are two gotchas:
492 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
493 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
494 # In both cases, we have to default to `cp -p'.
495 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
497 elif ln conf$$.file conf$$ 2>/dev/null; then
505 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
506 rmdir conf$$.dir 2>/dev/null
508 if mkdir -p . 2>/dev/null; then
509 as_mkdir_p='mkdir -p "$as_dir"'
511 test -d ./-p && rmdir ./-p
515 if test -x / >/dev/null 2>&1; then
518 if ls -dL / >/dev/null 2>&1; then
525 if test -d "$1"; then
531 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
532 ???[sx]*):;;*)false;;esac;fi
536 as_executable_p=$as_test_x
538 # Sed expression to map a string onto a valid CPP name.
539 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
541 # Sed expression to map a string onto a valid variable name.
542 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
544 SHELL=${CONFIG_SHELL-/bin/sh}
547 test -n "$DJDIR" || exec 7<&0 </dev/null
551 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
552 # so uname gets run too.
553 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
558 ac_default_prefix=/usr/local
560 ac_config_libobj_dir=.
567 # Identity of this package.
568 PACKAGE_NAME='bcusdk'
569 PACKAGE_TARNAME='bcusdk'
570 PACKAGE_VERSION='0.0.5'
571 PACKAGE_STRING='bcusdk 0.0.5'
575 # Factoring default headers for most tests.
576 ac_includes_default="\
578 #ifdef HAVE_SYS_TYPES_H
579 # include <sys/types.h>
581 #ifdef HAVE_SYS_STAT_H
582 # include <sys/stat.h>
588 # ifdef HAVE_STDLIB_H
593 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
598 #ifdef HAVE_STRINGS_H
599 # include <strings.h>
601 #ifdef HAVE_INTTYPES_H
602 # include <inttypes.h>
611 ac_subst_vars='am__EXEEXT_FALSE
620 HAVE_SOURCE_INFO_FALSE
621 HAVE_SOURCE_INFO_TRUE
624 HAVE_EIBNETIPTUNNEL_FALSE
625 HAVE_EIBNETIPTUNNEL_TRUE
681 am__fastdepCCAS_FALSE
732 INSTALL_STRIP_PROGRAM
774 program_transform_name
787 enable_option_checking
788 enable_dependency_tracking
808 enable_eibnetiptunnel
810 enable_eibnetipserver
815 ac_precious_vars='build_alias
840 # Initialize some variables set by options.
842 ac_init_version=false
843 ac_unrecognized_opts=
845 # The variables have the same names as the options, with
846 # dashes changed to underlines.
854 program_transform_name=s,x,x,
862 # Installation directory options.
863 # These are left unexpanded so users can "make install exec_prefix=/foo"
864 # and all the variables that are supposed to be based on exec_prefix
865 # by default will actually change.
866 # Use braces instead of parens because sh, perl, etc. also accept them.
867 # (The list follows the same order as the GNU Coding Standards.)
868 bindir='${exec_prefix}/bin'
869 sbindir='${exec_prefix}/sbin'
870 libexecdir='${exec_prefix}/libexec'
871 datarootdir='${prefix}/share'
872 datadir='${datarootdir}'
873 sysconfdir='${prefix}/etc'
874 sharedstatedir='${prefix}/com'
875 localstatedir='${prefix}/var'
876 includedir='${prefix}/include'
877 oldincludedir='/usr/include'
878 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
879 infodir='${datarootdir}/info'
884 libdir='${exec_prefix}/lib'
885 localedir='${datarootdir}/locale'
886 mandir='${datarootdir}/man'
892 # If the previous option needs an argument, assign it.
893 if test -n "$ac_prev"; then
894 eval $ac_prev=\$ac_option
900 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
905 # Accept the important Cygnus configure options, so we can diagnose typos.
907 case $ac_dashdash$ac_option in
911 -bindir | --bindir | --bindi | --bind | --bin | --bi)
913 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
916 -build | --build | --buil | --bui | --bu)
917 ac_prev=build_alias ;;
918 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
919 build_alias=$ac_optarg ;;
921 -cache-file | --cache-file | --cache-fil | --cache-fi \
922 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
923 ac_prev=cache_file ;;
924 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
925 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
926 cache_file=$ac_optarg ;;
929 cache_file=config.cache ;;
931 -datadir | --datadir | --datadi | --datad)
933 -datadir=* | --datadir=* | --datadi=* | --datad=*)
934 datadir=$ac_optarg ;;
936 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
937 | --dataroo | --dataro | --datar)
938 ac_prev=datarootdir ;;
939 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
940 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
941 datarootdir=$ac_optarg ;;
943 -disable-* | --disable-*)
944 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
945 # Reject names that are not valid shell variable names.
946 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
947 as_fn_error $? "invalid feature name: $ac_useropt"
948 ac_useropt_orig=$ac_useropt
949 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
950 case $ac_user_opts in
954 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
955 ac_unrecognized_sep=', ';;
957 eval enable_$ac_useropt=no ;;
959 -docdir | --docdir | --docdi | --doc | --do)
961 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
964 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
966 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
969 -enable-* | --enable-*)
970 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
971 # Reject names that are not valid shell variable names.
972 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
973 as_fn_error $? "invalid feature name: $ac_useropt"
974 ac_useropt_orig=$ac_useropt
975 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
976 case $ac_user_opts in
980 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
981 ac_unrecognized_sep=', ';;
983 eval enable_$ac_useropt=\$ac_optarg ;;
985 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
986 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
987 | --exec | --exe | --ex)
988 ac_prev=exec_prefix ;;
989 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
990 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
991 | --exec=* | --exe=* | --ex=*)
992 exec_prefix=$ac_optarg ;;
994 -gas | --gas | --ga | --g)
995 # Obsolete; use --with-gas.
998 -help | --help | --hel | --he | -h)
1000 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1001 ac_init_help=recursive ;;
1002 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1003 ac_init_help=short ;;
1005 -host | --host | --hos | --ho)
1006 ac_prev=host_alias ;;
1007 -host=* | --host=* | --hos=* | --ho=*)
1008 host_alias=$ac_optarg ;;
1010 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1012 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1014 htmldir=$ac_optarg ;;
1016 -includedir | --includedir | --includedi | --included | --include \
1017 | --includ | --inclu | --incl | --inc)
1018 ac_prev=includedir ;;
1019 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1020 | --includ=* | --inclu=* | --incl=* | --inc=*)
1021 includedir=$ac_optarg ;;
1023 -infodir | --infodir | --infodi | --infod | --info | --inf)
1025 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1026 infodir=$ac_optarg ;;
1028 -libdir | --libdir | --libdi | --libd)
1030 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1031 libdir=$ac_optarg ;;
1033 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1034 | --libexe | --libex | --libe)
1035 ac_prev=libexecdir ;;
1036 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1037 | --libexe=* | --libex=* | --libe=*)
1038 libexecdir=$ac_optarg ;;
1040 -localedir | --localedir | --localedi | --localed | --locale)
1041 ac_prev=localedir ;;
1042 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1043 localedir=$ac_optarg ;;
1045 -localstatedir | --localstatedir | --localstatedi | --localstated \
1046 | --localstate | --localstat | --localsta | --localst | --locals)
1047 ac_prev=localstatedir ;;
1048 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1049 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1050 localstatedir=$ac_optarg ;;
1052 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1054 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1055 mandir=$ac_optarg ;;
1057 -nfp | --nfp | --nf)
1058 # Obsolete; use --without-fp.
1061 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1062 | --no-cr | --no-c | -n)
1065 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1066 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1069 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1070 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1071 | --oldin | --oldi | --old | --ol | --o)
1072 ac_prev=oldincludedir ;;
1073 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1074 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1075 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1076 oldincludedir=$ac_optarg ;;
1078 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1080 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1081 prefix=$ac_optarg ;;
1083 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1084 | --program-pre | --program-pr | --program-p)
1085 ac_prev=program_prefix ;;
1086 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1087 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1088 program_prefix=$ac_optarg ;;
1090 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1091 | --program-suf | --program-su | --program-s)
1092 ac_prev=program_suffix ;;
1093 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1094 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1095 program_suffix=$ac_optarg ;;
1097 -program-transform-name | --program-transform-name \
1098 | --program-transform-nam | --program-transform-na \
1099 | --program-transform-n | --program-transform- \
1100 | --program-transform | --program-transfor \
1101 | --program-transfo | --program-transf \
1102 | --program-trans | --program-tran \
1103 | --progr-tra | --program-tr | --program-t)
1104 ac_prev=program_transform_name ;;
1105 -program-transform-name=* | --program-transform-name=* \
1106 | --program-transform-nam=* | --program-transform-na=* \
1107 | --program-transform-n=* | --program-transform-=* \
1108 | --program-transform=* | --program-transfor=* \
1109 | --program-transfo=* | --program-transf=* \
1110 | --program-trans=* | --program-tran=* \
1111 | --progr-tra=* | --program-tr=* | --program-t=*)
1112 program_transform_name=$ac_optarg ;;
1114 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1116 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1117 pdfdir=$ac_optarg ;;
1119 -psdir | --psdir | --psdi | --psd | --ps)
1121 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1124 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1125 | -silent | --silent | --silen | --sile | --sil)
1128 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1130 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1132 sbindir=$ac_optarg ;;
1134 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1135 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1136 | --sharedst | --shareds | --shared | --share | --shar \
1138 ac_prev=sharedstatedir ;;
1139 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1140 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1141 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1143 sharedstatedir=$ac_optarg ;;
1145 -site | --site | --sit)
1147 -site=* | --site=* | --sit=*)
1150 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1152 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1153 srcdir=$ac_optarg ;;
1155 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1156 | --syscon | --sysco | --sysc | --sys | --sy)
1157 ac_prev=sysconfdir ;;
1158 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1159 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1160 sysconfdir=$ac_optarg ;;
1162 -target | --target | --targe | --targ | --tar | --ta | --t)
1163 ac_prev=target_alias ;;
1164 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1165 target_alias=$ac_optarg ;;
1167 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1170 -version | --version | --versio | --versi | --vers | -V)
1171 ac_init_version=: ;;
1174 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1175 # Reject names that are not valid shell variable names.
1176 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1177 as_fn_error $? "invalid package name: $ac_useropt"
1178 ac_useropt_orig=$ac_useropt
1179 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1180 case $ac_user_opts in
1184 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1185 ac_unrecognized_sep=', ';;
1187 eval with_$ac_useropt=\$ac_optarg ;;
1189 -without-* | --without-*)
1190 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1191 # Reject names that are not valid shell variable names.
1192 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1193 as_fn_error $? "invalid package name: $ac_useropt"
1194 ac_useropt_orig=$ac_useropt
1195 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1196 case $ac_user_opts in
1200 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1201 ac_unrecognized_sep=', ';;
1203 eval with_$ac_useropt=no ;;
1206 # Obsolete; use --with-x.
1209 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1210 | --x-incl | --x-inc | --x-in | --x-i)
1211 ac_prev=x_includes ;;
1212 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1213 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1214 x_includes=$ac_optarg ;;
1216 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1217 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1218 ac_prev=x_libraries ;;
1219 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1220 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1221 x_libraries=$ac_optarg ;;
1223 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1224 Try \`$0 --help' for more information"
1228 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1229 # Reject names that are not valid shell variable names.
1230 case $ac_envvar in #(
1231 '' | [0-9]* | *[!_$as_cr_alnum]* )
1232 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1234 eval $ac_envvar=\$ac_optarg
1235 export $ac_envvar ;;
1238 # FIXME: should be removed in autoconf 3.0.
1239 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1240 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1241 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1242 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1248 if test -n "$ac_prev"; then
1249 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1250 as_fn_error $? "missing argument to $ac_option"
1253 if test -n "$ac_unrecognized_opts"; then
1254 case $enable_option_checking in
1256 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1257 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1261 # Check all directory arguments for consistency.
1262 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1263 datadir sysconfdir sharedstatedir localstatedir includedir \
1264 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1265 libdir localedir mandir
1267 eval ac_val=\$$ac_var
1268 # Remove trailing slashes.
1271 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1272 eval $ac_var=\$ac_val;;
1274 # Be sure to have absolute directory names.
1276 [\\/$]* | ?:[\\/]* ) continue;;
1277 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1279 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1282 # There might be people who depend on the old broken behavior: `$host'
1283 # used to hold the argument of --host etc.
1284 # FIXME: To remove some day.
1287 target=$target_alias
1289 # FIXME: To remove some day.
1290 if test "x$host_alias" != x; then
1291 if test "x$build_alias" = x; then
1292 cross_compiling=maybe
1293 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1294 If a cross compiler is detected then cross compile mode will be used" >&2
1295 elif test "x$build_alias" != "x$host_alias"; then
1301 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1303 test "$silent" = yes && exec 6>/dev/null
1306 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1307 ac_ls_di=`ls -di .` &&
1308 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1309 as_fn_error $? "working directory cannot be determined"
1310 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1311 as_fn_error $? "pwd does not report name of working directory"
1314 # Find the source files, if location was not specified.
1315 if test -z "$srcdir"; then
1316 ac_srcdir_defaulted=yes
1317 # Try the directory containing this script, then the parent directory.
1318 ac_confdir=`$as_dirname -- "$as_myself" ||
1319 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1320 X"$as_myself" : 'X\(//\)[^/]' \| \
1321 X"$as_myself" : 'X\(//\)$' \| \
1322 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1323 $as_echo X"$as_myself" |
1324 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1342 if test ! -r "$srcdir/$ac_unique_file"; then
1346 ac_srcdir_defaulted=no
1348 if test ! -r "$srcdir/$ac_unique_file"; then
1349 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1350 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1352 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1354 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1356 # When building in place, set srcdir=.
1357 if test "$ac_abs_confdir" = "$ac_pwd"; then
1360 # Remove unnecessary trailing slashes from srcdir.
1361 # Double slashes in file names in object file debugging info
1362 # mess up M-x gdb in Emacs.
1364 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1366 for ac_var in $ac_precious_vars; do
1367 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1368 eval ac_env_${ac_var}_value=\$${ac_var}
1369 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1370 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1374 # Report the --help message.
1376 if test "$ac_init_help" = "long"; then
1377 # Omit some internal or obsolete options to make the list less imposing.
1378 # This message is too long to be a string in the A/UX 3.1 sh.
1380 \`configure' configures bcusdk 0.0.5 to adapt to many kinds of systems.
1382 Usage: $0 [OPTION]... [VAR=VALUE]...
1384 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1385 VAR=VALUE. See below for descriptions of some of the useful variables.
1387 Defaults for the options are specified in brackets.
1390 -h, --help display this help and exit
1391 --help=short display options specific to this package
1392 --help=recursive display the short help of all the included packages
1393 -V, --version display version information and exit
1394 -q, --quiet, --silent do not print \`checking ...' messages
1395 --cache-file=FILE cache test results in FILE [disabled]
1396 -C, --config-cache alias for \`--cache-file=config.cache'
1397 -n, --no-create do not create output files
1398 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1400 Installation directories:
1401 --prefix=PREFIX install architecture-independent files in PREFIX
1402 [$ac_default_prefix]
1403 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1406 By default, \`make install' will install all the files in
1407 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1408 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1409 for instance \`--prefix=\$HOME'.
1411 For better control, use the options below.
1413 Fine tuning of the installation directories:
1414 --bindir=DIR user executables [EPREFIX/bin]
1415 --sbindir=DIR system admin executables [EPREFIX/sbin]
1416 --libexecdir=DIR program executables [EPREFIX/libexec]
1417 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1418 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1419 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1420 --libdir=DIR object code libraries [EPREFIX/lib]
1421 --includedir=DIR C header files [PREFIX/include]
1422 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1423 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1424 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1425 --infodir=DIR info documentation [DATAROOTDIR/info]
1426 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1427 --mandir=DIR man documentation [DATAROOTDIR/man]
1428 --docdir=DIR documentation root [DATAROOTDIR/doc/bcusdk]
1429 --htmldir=DIR html documentation [DOCDIR]
1430 --dvidir=DIR dvi documentation [DOCDIR]
1431 --pdfdir=DIR pdf documentation [DOCDIR]
1432 --psdir=DIR ps documentation [DOCDIR]
1438 --program-prefix=PREFIX prepend PREFIX to installed program names
1439 --program-suffix=SUFFIX append SUFFIX to installed program names
1440 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1443 --build=BUILD configure for building on BUILD [guessed]
1444 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1448 if test -n "$ac_init_help"; then
1449 case $ac_init_help in
1450 short | recursive ) echo "Configuration of bcusdk 0.0.5:";;
1455 --disable-option-checking ignore unrecognized --enable/--with options
1456 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1457 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1458 --disable-dependency-tracking speeds up one-time build
1459 --enable-dependency-tracking do not reject slow dependency extractors
1460 --enable-shared[=PKGS] build shared libraries [default=yes]
1461 --enable-static[=PKGS] build static libraries [default=yes]
1462 --enable-fast-install[=PKGS]
1463 optimize for fast installation [default=yes]
1464 --disable-libtool-lock avoid locking (might break parallel builds)
1465 --enable-onlyeibd build only eibd (requires no libxml and m68hc05-gnu)
1466 --disable-xmltest Do not try to compile and run a test LIBXML program
1467 --enable-ft12 enable FT1.2 backend
1468 --enable-pei16 enable BCU1 kernel driver backend
1469 --enable-tpuart enable TPUART kernel driver backend (deprecated)
1470 --enable-pei16s enable BCU1 user driver backend (very experimental)
1471 --enable-tpuarts enable TPUART user driver backend
1472 --enable-eibnetip enable EIBnet/IP routing backend
1473 --enable-eibnetiptunnel enable EIBnet/IP tunneling backend
1474 --enable-usb enable USB backend
1475 --enable-eibnetipserver enable EIBnet/IP server frontend
1476 --enable-groupcache enable Group Cache (default: yes)
1477 --enable-java build java client library
1480 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1481 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1482 --with-pic try to use only PIC/non-PIC objects [default=use
1484 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1485 --with-sysroot=DIR Search for dependent libraries within DIR
1486 (or the compiler's sysroot if not specified).
1487 --with-pth=ARG Build with pthsem Library (default=yes)
1488 --with-pth-test Perform pthsem Sanity Test (default=yes)
1489 --with-xml-prefix=PFX Prefix where libxml is installed (optional)
1490 --with-xml-exec-prefix=PFX Exec prefix where libxml is installed (optional)
1491 --without-libstdc don't use function from libstdc++
1493 Some influential environment variables:
1494 CC C compiler command
1495 CFLAGS C compiler flags
1496 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1497 nonstandard directory <lib dir>
1498 LIBS libraries to pass to the linker, e.g. -l<library>
1499 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1500 you have headers in a nonstandard directory <include dir>
1501 CXX C++ compiler command
1502 CXXFLAGS C++ compiler flags
1504 YACC The `Yet Another Compiler Compiler' implementation to use.
1505 Defaults to the first program found out of: `bison -y', `byacc',
1507 YFLAGS The list of arguments that will be passed by default to $YACC.
1508 This script will default YFLAGS to the empty string to avoid a
1509 default value of `-d' given by some make applications.
1510 CCAS assembler compiler command (defaults to CC)
1511 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
1512 CXXCPP C++ preprocessor
1514 build system C compiler
1516 build system C preprocessor
1518 build system C compiler flags
1520 build system C linker flags
1522 build system preprocessor flags
1524 build system LIBS variable
1526 Use these variables to override the choices made by `configure' or to help
1527 it to find libraries and programs with nonstandard names/locations.
1529 Report bugs to the package provider.
1534 if test "$ac_init_help" = "recursive"; then
1535 # If there are subdirs, report their specific --help.
1536 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1537 test -d "$ac_dir" ||
1538 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1543 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1545 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1546 # A ".." for each directory in $ac_dir_suffix.
1547 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1548 case $ac_top_builddir_sub in
1549 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1550 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1553 ac_abs_top_builddir=$ac_pwd
1554 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1555 # for backward compatibility:
1556 ac_top_builddir=$ac_top_build_prefix
1559 .) # We are building in place.
1561 ac_top_srcdir=$ac_top_builddir_sub
1562 ac_abs_top_srcdir=$ac_pwd ;;
1563 [\\/]* | ?:[\\/]* ) # Absolute name.
1564 ac_srcdir=$srcdir$ac_dir_suffix;
1565 ac_top_srcdir=$srcdir
1566 ac_abs_top_srcdir=$srcdir ;;
1568 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1569 ac_top_srcdir=$ac_top_build_prefix$srcdir
1570 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1572 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1574 cd "$ac_dir" || { ac_status=$?; continue; }
1575 # Check for guested configure.
1576 if test -f "$ac_srcdir/configure.gnu"; then
1578 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1579 elif test -f "$ac_srcdir/configure"; then
1581 $SHELL "$ac_srcdir/configure" --help=recursive
1583 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1585 cd "$ac_pwd" || { ac_status=$?; break; }
1589 test -n "$ac_init_help" && exit $ac_status
1590 if $ac_init_version; then
1592 bcusdk configure 0.0.5
1593 generated by GNU Autoconf 2.68
1595 Copyright (C) 2010 Free Software Foundation, Inc.
1596 This configure script is free software; the Free Software Foundation
1597 gives unlimited permission to copy, distribute and modify it.
1602 ## ------------------------ ##
1603 ## Autoconf initialization. ##
1604 ## ------------------------ ##
1606 # ac_fn_c_try_compile LINENO
1607 # --------------------------
1608 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1609 ac_fn_c_try_compile ()
1611 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1612 rm -f conftest.$ac_objext
1613 if { { ac_try="$ac_compile"
1615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1616 *) ac_try_echo=$ac_try;;
1618 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1619 $as_echo "$ac_try_echo"; } >&5
1620 (eval "$ac_compile") 2>conftest.err
1622 if test -s conftest.err; then
1623 grep -v '^ *+' conftest.err >conftest.er1
1624 cat conftest.er1 >&5
1625 mv -f conftest.er1 conftest.err
1627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1628 test $ac_status = 0; } && {
1629 test -z "$ac_c_werror_flag" ||
1630 test ! -s conftest.err
1631 } && test -s conftest.$ac_objext; then :
1634 $as_echo "$as_me: failed program was:" >&5
1635 sed 's/^/| /' conftest.$ac_ext >&5
1639 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1640 as_fn_set_status $ac_retval
1642 } # ac_fn_c_try_compile
1644 # ac_fn_cxx_try_compile LINENO
1645 # ----------------------------
1646 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1647 ac_fn_cxx_try_compile ()
1649 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1650 rm -f conftest.$ac_objext
1651 if { { ac_try="$ac_compile"
1653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1654 *) ac_try_echo=$ac_try;;
1656 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1657 $as_echo "$ac_try_echo"; } >&5
1658 (eval "$ac_compile") 2>conftest.err
1660 if test -s conftest.err; then
1661 grep -v '^ *+' conftest.err >conftest.er1
1662 cat conftest.er1 >&5
1663 mv -f conftest.er1 conftest.err
1665 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1666 test $ac_status = 0; } && {
1667 test -z "$ac_cxx_werror_flag" ||
1668 test ! -s conftest.err
1669 } && test -s conftest.$ac_objext; then :
1672 $as_echo "$as_me: failed program was:" >&5
1673 sed 's/^/| /' conftest.$ac_ext >&5
1677 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1678 as_fn_set_status $ac_retval
1680 } # ac_fn_cxx_try_compile
1682 # ac_fn_c_try_cpp LINENO
1683 # ----------------------
1684 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1687 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1688 if { { ac_try="$ac_cpp conftest.$ac_ext"
1690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1691 *) ac_try_echo=$ac_try;;
1693 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1694 $as_echo "$ac_try_echo"; } >&5
1695 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1697 if test -s conftest.err; then
1698 grep -v '^ *+' conftest.err >conftest.er1
1699 cat conftest.er1 >&5
1700 mv -f conftest.er1 conftest.err
1702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1703 test $ac_status = 0; } > conftest.i && {
1704 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1705 test ! -s conftest.err
1709 $as_echo "$as_me: failed program was:" >&5
1710 sed 's/^/| /' conftest.$ac_ext >&5
1714 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1715 as_fn_set_status $ac_retval
1719 # ac_fn_c_try_run LINENO
1720 # ----------------------
1721 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1722 # that executables *can* be run.
1725 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1726 if { { ac_try="$ac_link"
1728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1729 *) ac_try_echo=$ac_try;;
1731 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1732 $as_echo "$ac_try_echo"; } >&5
1733 (eval "$ac_link") 2>&5
1735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1736 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1737 { { case "(($ac_try" in
1738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1739 *) ac_try_echo=$ac_try;;
1741 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1742 $as_echo "$ac_try_echo"; } >&5
1743 (eval "$ac_try") 2>&5
1745 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1746 test $ac_status = 0; }; }; then :
1749 $as_echo "$as_me: program exited with status $ac_status" >&5
1750 $as_echo "$as_me: failed program was:" >&5
1751 sed 's/^/| /' conftest.$ac_ext >&5
1753 ac_retval=$ac_status
1755 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1756 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1757 as_fn_set_status $ac_retval
1761 # ac_fn_c_try_link LINENO
1762 # -----------------------
1763 # Try to link conftest.$ac_ext, and return whether this succeeded.
1766 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1767 rm -f conftest.$ac_objext conftest$ac_exeext
1768 if { { ac_try="$ac_link"
1770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1771 *) ac_try_echo=$ac_try;;
1773 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1774 $as_echo "$ac_try_echo"; } >&5
1775 (eval "$ac_link") 2>conftest.err
1777 if test -s conftest.err; then
1778 grep -v '^ *+' conftest.err >conftest.er1
1779 cat conftest.er1 >&5
1780 mv -f conftest.er1 conftest.err
1782 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1783 test $ac_status = 0; } && {
1784 test -z "$ac_c_werror_flag" ||
1785 test ! -s conftest.err
1786 } && test -s conftest$ac_exeext && {
1787 test "$cross_compiling" = yes ||
1788 $as_test_x conftest$ac_exeext
1792 $as_echo "$as_me: failed program was:" >&5
1793 sed 's/^/| /' conftest.$ac_ext >&5
1797 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1798 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1799 # interfere with the next link command; also delete a directory that is
1800 # left behind by Apple's compiler. We do this before executing the actions.
1801 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1802 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1803 as_fn_set_status $ac_retval
1805 } # ac_fn_c_try_link
1807 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1808 # -------------------------------------------------------
1809 # Tests whether HEADER exists and can be compiled using the include files in
1810 # INCLUDES, setting the cache variable VAR accordingly.
1811 ac_fn_c_check_header_compile ()
1813 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1815 $as_echo_n "checking for $2... " >&6; }
1816 if eval \${$3+:} false; then :
1817 $as_echo_n "(cached) " >&6
1819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1820 /* end confdefs.h. */
1824 if ac_fn_c_try_compile "$LINENO"; then :
1829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1833 $as_echo "$ac_res" >&6; }
1834 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1836 } # ac_fn_c_check_header_compile
1838 # ac_fn_c_check_func LINENO FUNC VAR
1839 # ----------------------------------
1840 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1841 ac_fn_c_check_func ()
1843 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1845 $as_echo_n "checking for $2... " >&6; }
1846 if eval \${$3+:} false; then :
1847 $as_echo_n "(cached) " >&6
1849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1850 /* end confdefs.h. */
1851 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1852 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1853 #define $2 innocuous_$2
1855 /* System header to define __stub macros and hopefully few prototypes,
1856 which can conflict with char $2 (); below.
1857 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1858 <limits.h> exists even on freestanding compilers. */
1861 # include <limits.h>
1863 # include <assert.h>
1868 /* Override any GCC internal prototype to avoid an error.
1869 Use char because int might match the return type of a GCC
1870 builtin and then its argument prototype would still apply. */
1875 /* The GNU C library defines this for functions which it implements
1876 to always fail with ENOSYS. Some functions are actually named
1877 something starting with __ and the normal name is an alias. */
1878 #if defined __stub_$2 || defined __stub___$2
1890 if ac_fn_c_try_link "$LINENO"; then :
1895 rm -f core conftest.err conftest.$ac_objext \
1896 conftest$ac_exeext conftest.$ac_ext
1899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1900 $as_echo "$ac_res" >&6; }
1901 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1903 } # ac_fn_c_check_func
1905 # ac_fn_cxx_try_cpp LINENO
1906 # ------------------------
1907 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1908 ac_fn_cxx_try_cpp ()
1910 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1911 if { { ac_try="$ac_cpp conftest.$ac_ext"
1913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1914 *) ac_try_echo=$ac_try;;
1916 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1917 $as_echo "$ac_try_echo"; } >&5
1918 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1920 if test -s conftest.err; then
1921 grep -v '^ *+' conftest.err >conftest.er1
1922 cat conftest.er1 >&5
1923 mv -f conftest.er1 conftest.err
1925 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1926 test $ac_status = 0; } > conftest.i && {
1927 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1928 test ! -s conftest.err
1932 $as_echo "$as_me: failed program was:" >&5
1933 sed 's/^/| /' conftest.$ac_ext >&5
1937 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1938 as_fn_set_status $ac_retval
1940 } # ac_fn_cxx_try_cpp
1942 # ac_fn_cxx_try_link LINENO
1943 # -------------------------
1944 # Try to link conftest.$ac_ext, and return whether this succeeded.
1945 ac_fn_cxx_try_link ()
1947 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1948 rm -f conftest.$ac_objext conftest$ac_exeext
1949 if { { ac_try="$ac_link"
1951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1952 *) ac_try_echo=$ac_try;;
1954 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1955 $as_echo "$ac_try_echo"; } >&5
1956 (eval "$ac_link") 2>conftest.err
1958 if test -s conftest.err; then
1959 grep -v '^ *+' conftest.err >conftest.er1
1960 cat conftest.er1 >&5
1961 mv -f conftest.er1 conftest.err
1963 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1964 test $ac_status = 0; } && {
1965 test -z "$ac_cxx_werror_flag" ||
1966 test ! -s conftest.err
1967 } && test -s conftest$ac_exeext && {
1968 test "$cross_compiling" = yes ||
1969 $as_test_x conftest$ac_exeext
1973 $as_echo "$as_me: failed program was:" >&5
1974 sed 's/^/| /' conftest.$ac_ext >&5
1978 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1979 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1980 # interfere with the next link command; also delete a directory that is
1981 # left behind by Apple's compiler. We do this before executing the actions.
1982 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1983 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1984 as_fn_set_status $ac_retval
1986 } # ac_fn_cxx_try_link
1988 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1989 # -------------------------------------------------------
1990 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1991 # the include files in INCLUDES and setting the cache variable VAR
1993 ac_fn_c_check_header_mongrel ()
1995 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1996 if eval \${$3+:} false; then :
1997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1998 $as_echo_n "checking for $2... " >&6; }
1999 if eval \${$3+:} false; then :
2000 $as_echo_n "(cached) " >&6
2003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2004 $as_echo "$ac_res" >&6; }
2006 # Is the header compilable?
2007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2008 $as_echo_n "checking $2 usability... " >&6; }
2009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2010 /* end confdefs.h. */
2014 if ac_fn_c_try_compile "$LINENO"; then :
2015 ac_header_compiler=yes
2017 ac_header_compiler=no
2019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2021 $as_echo "$ac_header_compiler" >&6; }
2023 # Is the header present?
2024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2025 $as_echo_n "checking $2 presence... " >&6; }
2026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2027 /* end confdefs.h. */
2030 if ac_fn_c_try_cpp "$LINENO"; then :
2031 ac_header_preproc=yes
2033 ac_header_preproc=no
2035 rm -f conftest.err conftest.i conftest.$ac_ext
2036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2037 $as_echo "$ac_header_preproc" >&6; }
2039 # So? What about this header?
2040 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2043 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2045 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2049 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2050 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2051 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2053 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2055 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2057 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2061 $as_echo_n "checking for $2... " >&6; }
2062 if eval \${$3+:} false; then :
2063 $as_echo_n "(cached) " >&6
2065 eval "$3=\$ac_header_compiler"
2068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2069 $as_echo "$ac_res" >&6; }
2071 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2073 } # ac_fn_c_check_header_mongrel
2075 # ac_fn_c_check_header_preproc LINENO HEADER VAR
2076 # ----------------------------------------------
2077 # Tests whether HEADER is present, setting the cache variable VAR accordingly.
2078 ac_fn_c_check_header_preproc ()
2080 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2082 $as_echo_n "checking for $2... " >&6; }
2083 if eval \${$3+:} false; then :
2084 $as_echo_n "(cached) " >&6
2086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2087 /* end confdefs.h. */
2090 if ac_fn_c_try_cpp "$LINENO"; then :
2095 rm -f conftest.err conftest.i conftest.$ac_ext
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2099 $as_echo "$ac_res" >&6; }
2100 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2102 } # ac_fn_c_check_header_preproc
2104 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2105 # ---------------------------------------------
2106 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2108 ac_fn_c_check_decl ()
2110 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2111 as_decl_name=`echo $2|sed 's/ *(.*//'`
2112 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2114 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2115 if eval \${$3+:} false; then :
2116 $as_echo_n "(cached) " >&6
2118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2119 /* end confdefs.h. */
2124 #ifndef $as_decl_name
2126 (void) $as_decl_use;
2128 (void) $as_decl_name;
2136 if ac_fn_c_try_compile "$LINENO"; then :
2141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2145 $as_echo "$ac_res" >&6; }
2146 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2148 } # ac_fn_c_check_decl
2150 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2151 # ----------------------------------------------------
2152 # Tries to find if the field MEMBER exists in type AGGR, after including
2153 # INCLUDES, setting cache variable VAR accordingly.
2154 ac_fn_c_check_member ()
2156 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2158 $as_echo_n "checking for $2.$3... " >&6; }
2159 if eval \${$4+:} false; then :
2160 $as_echo_n "(cached) " >&6
2162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2163 /* end confdefs.h. */
2175 if ac_fn_c_try_compile "$LINENO"; then :
2178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2179 /* end confdefs.h. */
2185 if (sizeof ac_aggr.$3)
2191 if ac_fn_c_try_compile "$LINENO"; then :
2196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2202 $as_echo "$ac_res" >&6; }
2203 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2205 } # ac_fn_c_check_member
2206 cat >config.log <<_ACEOF
2207 This file contains any messages produced by compilers while
2208 running configure, to aid debugging if configure makes a mistake.
2210 It was created by bcusdk $as_me 0.0.5, which was
2211 generated by GNU Autoconf 2.68. Invocation command line was
2223 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2224 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2225 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2226 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2227 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2229 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2230 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2232 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2233 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2234 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2235 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2236 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2237 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2238 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2246 test -z "$as_dir" && as_dir=.
2247 $as_echo "PATH: $as_dir"
2263 # Keep a trace of the command line.
2264 # Strip out --no-create and --no-recursion so they do not pile up.
2265 # Strip out --silent because we don't want to record it for future runs.
2266 # Also quote any args containing shell meta-characters.
2267 # Make two passes to allow for proper duplicate-argument suppression.
2271 ac_must_keep_next=false
2277 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2278 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2279 | -silent | --silent | --silen | --sile | --sil)
2282 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2285 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2287 as_fn_append ac_configure_args1 " '$ac_arg'"
2288 if test $ac_must_keep_next = true; then
2289 ac_must_keep_next=false # Got value, back to normal.
2292 *=* | --config-cache | -C | -disable-* | --disable-* \
2293 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2294 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2295 | -with-* | --with-* | -without-* | --without-* | --x)
2296 case "$ac_configure_args0 " in
2297 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2300 -* ) ac_must_keep_next=true ;;
2303 as_fn_append ac_configure_args " '$ac_arg'"
2308 { ac_configure_args0=; unset ac_configure_args0;}
2309 { ac_configure_args1=; unset ac_configure_args1;}
2311 # When interrupted or exit'd, cleanup temporary files, and complete
2312 # config.log. We remove comments because anyway the quotes in there
2313 # would cause problems or look ugly.
2314 # WARNING: Use '\'' to represent an apostrophe within the trap.
2315 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2316 trap 'exit_status=$?
2317 # Save into config.log some information that might help in debugging.
2321 $as_echo "## ---------------- ##
2322 ## Cache variables. ##
2323 ## ---------------- ##"
2325 # The following way of writing the cache mishandles newlines in values,
2327 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2328 eval ac_val=\$$ac_var
2332 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2333 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2336 _ | IFS | as_nl) ;; #(
2337 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2338 *) { eval $ac_var=; unset $ac_var;} ;;
2343 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2344 *${as_nl}ac_space=\ *)
2346 "s/'\''/'\''\\\\'\'''\''/g;
2347 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2350 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2357 $as_echo "## ----------------- ##
2358 ## Output variables. ##
2359 ## ----------------- ##"
2361 for ac_var in $ac_subst_vars
2363 eval ac_val=\$$ac_var
2365 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2367 $as_echo "$ac_var='\''$ac_val'\''"
2371 if test -n "$ac_subst_files"; then
2372 $as_echo "## ------------------- ##
2373 ## File substitutions. ##
2374 ## ------------------- ##"
2376 for ac_var in $ac_subst_files
2378 eval ac_val=\$$ac_var
2380 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2382 $as_echo "$ac_var='\''$ac_val'\''"
2387 if test -s confdefs.h; then
2388 $as_echo "## ----------- ##
2395 test "$ac_signal" != 0 &&
2396 $as_echo "$as_me: caught signal $ac_signal"
2397 $as_echo "$as_me: exit $exit_status"
2399 rm -f core *.core core.conftest.* &&
2400 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2403 for ac_signal in 1 2 13 15; do
2404 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2408 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2409 rm -f -r conftest* confdefs.h
2411 $as_echo "/* confdefs.h */" > confdefs.h
2413 # Predefined preprocessor variables.
2415 cat >>confdefs.h <<_ACEOF
2416 #define PACKAGE_NAME "$PACKAGE_NAME"
2419 cat >>confdefs.h <<_ACEOF
2420 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2423 cat >>confdefs.h <<_ACEOF
2424 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2427 cat >>confdefs.h <<_ACEOF
2428 #define PACKAGE_STRING "$PACKAGE_STRING"
2431 cat >>confdefs.h <<_ACEOF
2432 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2435 cat >>confdefs.h <<_ACEOF
2436 #define PACKAGE_URL "$PACKAGE_URL"
2440 # Let the site file select an alternate cache file if it wants to.
2441 # Prefer an explicitly selected file to automatically selected ones.
2444 if test -n "$CONFIG_SITE"; then
2445 # We do not want a PATH search for config.site.
2446 case $CONFIG_SITE in #((
2447 -*) ac_site_file1=./$CONFIG_SITE;;
2448 */*) ac_site_file1=$CONFIG_SITE;;
2449 *) ac_site_file1=./$CONFIG_SITE;;
2451 elif test "x$prefix" != xNONE; then
2452 ac_site_file1=$prefix/share/config.site
2453 ac_site_file2=$prefix/etc/config.site
2455 ac_site_file1=$ac_default_prefix/share/config.site
2456 ac_site_file2=$ac_default_prefix/etc/config.site
2458 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2460 test "x$ac_site_file" = xNONE && continue
2461 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2463 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2464 sed 's/^/| /' "$ac_site_file" >&5
2466 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2467 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2468 as_fn_error $? "failed to load site script $ac_site_file
2469 See \`config.log' for more details" "$LINENO" 5; }
2473 if test -r "$cache_file"; then
2474 # Some versions of bash will fail to source /dev/null (special files
2475 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2476 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2478 $as_echo "$as_me: loading cache $cache_file" >&6;}
2480 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2481 *) . "./$cache_file";;
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2486 $as_echo "$as_me: creating cache $cache_file" >&6;}
2490 # Check that the precious variables saved in the cache have kept the same
2492 ac_cache_corrupted=false
2493 for ac_var in $ac_precious_vars; do
2494 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2495 eval ac_new_set=\$ac_env_${ac_var}_set
2496 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2497 eval ac_new_val=\$ac_env_${ac_var}_value
2498 case $ac_old_set,$ac_new_set in
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2501 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2502 ac_cache_corrupted=: ;;
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2505 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2506 ac_cache_corrupted=: ;;
2509 if test "x$ac_old_val" != "x$ac_new_val"; then
2510 # differences in whitespace do not lead to failure.
2511 ac_old_val_w=`echo x $ac_old_val`
2512 ac_new_val_w=`echo x $ac_new_val`
2513 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2515 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2516 ac_cache_corrupted=:
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2519 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2520 eval $ac_var=\$ac_old_val
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2523 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2525 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2528 # Pass precious variables to config.status.
2529 if test "$ac_new_set" = set; then
2531 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2532 *) ac_arg=$ac_var=$ac_new_val ;;
2534 case " $ac_configure_args " in
2535 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2536 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2540 if $ac_cache_corrupted; then
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2542 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2544 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2545 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2547 ## -------------------- ##
2548 ## Main body of script. ##
2549 ## -------------------- ##
2552 ac_cpp='$CPP $CPPFLAGS'
2553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2558 am__api_version='1.11'
2561 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2562 if test -f "$ac_dir/install-sh"; then
2564 ac_install_sh="$ac_aux_dir/install-sh -c"
2566 elif test -f "$ac_dir/install.sh"; then
2568 ac_install_sh="$ac_aux_dir/install.sh -c"
2570 elif test -f "$ac_dir/shtool"; then
2572 ac_install_sh="$ac_aux_dir/shtool install -c"
2576 if test -z "$ac_aux_dir"; then
2577 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2580 # These three variables are undocumented and unsupported,
2581 # and are intended to be withdrawn in a future Autoconf release.
2582 # They can cause serious problems if a builder's source tree is in a directory
2583 # whose full name contains unusual characters.
2584 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2585 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2586 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2589 # Find a good install program. We prefer a C program (faster),
2590 # so one script is as good as another. But avoid the broken or
2591 # incompatible versions:
2592 # SysV /etc/install, /usr/sbin/install
2593 # SunOS /usr/etc/install
2594 # IRIX /sbin/install
2596 # AmigaOS /C/install, which installs bootblocks on floppy discs
2597 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2598 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2599 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2600 # OS/2's system install, which has a completely different semantic
2601 # ./install, which can be erroneously created by make from ./install.sh.
2602 # Reject install programs that cannot install multiple files.
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2604 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2605 if test -z "$INSTALL"; then
2606 if ${ac_cv_path_install+:} false; then :
2607 $as_echo_n "(cached) " >&6
2609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2613 test -z "$as_dir" && as_dir=.
2614 # Account for people who put trailing slashes in PATH elements.
2615 case $as_dir/ in #((
2616 ./ | .// | /[cC]/* | \
2617 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2618 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2621 # OSF1 and SCO ODT 3.0 have their own names for install.
2622 # Don't use installbsd from OSF since it installs stuff as root
2624 for ac_prog in ginstall scoinst install; do
2625 for ac_exec_ext in '' $ac_executable_extensions; do
2626 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2627 if test $ac_prog = install &&
2628 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2629 # AIX install. It has an incompatible calling convention.
2631 elif test $ac_prog = install &&
2632 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2633 # program-specific install script used by HP pwplus--don't use.
2636 rm -rf conftest.one conftest.two conftest.dir
2637 echo one > conftest.one
2638 echo two > conftest.two
2640 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2641 test -s conftest.one && test -s conftest.two &&
2642 test -s conftest.dir/conftest.one &&
2643 test -s conftest.dir/conftest.two
2645 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2658 rm -rf conftest.one conftest.two conftest.dir
2661 if test "${ac_cv_path_install+set}" = set; then
2662 INSTALL=$ac_cv_path_install
2664 # As a last resort, use the slow shell script. Don't cache a
2665 # value for INSTALL within a source directory, because that will
2666 # break other packages using the cache if that directory is
2667 # removed, or if the value is a relative name.
2668 INSTALL=$ac_install_sh
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2672 $as_echo "$INSTALL" >&6; }
2674 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2675 # It thinks the first close brace ends the variable substitution.
2676 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2678 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2680 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2683 $as_echo_n "checking whether build environment is sane... " >&6; }
2686 echo timestamp > conftest.file
2687 # Reject unsafe characters in $srcdir or the absolute working directory
2688 # name. Accept space and tab only in the latter.
2692 *[\\\"\#\$\&\'\`$am_lf]*)
2693 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2696 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2697 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2700 # Do `set' in a subshell so we don't clobber the current shell's
2701 # arguments. Must try -L first in case configure is actually a
2702 # symlink; some systems play weird games with the mod time of symlinks
2703 # (eg FreeBSD returns the mod time of the symlink's containing
2706 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2707 if test "$*" = "X"; then
2709 set X `ls -t "$srcdir/configure" conftest.file`
2712 if test "$*" != "X $srcdir/configure conftest.file" \
2713 && test "$*" != "X conftest.file $srcdir/configure"; then
2715 # If neither matched, then we have a broken ls. This can happen
2716 # if, for instance, CONFIG_SHELL is bash and it inherits a
2717 # broken ls alias from the environment. This has actually
2718 # happened. Such a system could not be considered "sane".
2719 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2720 alias in your environment" "$LINENO" 5
2723 test "$2" = conftest.file
2729 as_fn_error $? "newly created file is older than distributed files!
2730 Check your system clock" "$LINENO" 5
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2733 $as_echo "yes" >&6; }
2734 test "$program_prefix" != NONE &&
2735 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2736 # Use a double $ so make ignores it.
2737 test "$program_suffix" != NONE &&
2738 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2739 # Double any \ or $.
2740 # By default was `s,x,x', remove it if useless.
2741 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2742 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2744 # expand $ac_aux_dir to an absolute path
2745 am_aux_dir=`cd $ac_aux_dir && pwd`
2747 if test x"${MISSING+set}" != xset; then
2750 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2752 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2755 # Use eval to expand $SHELL
2756 if eval "$MISSING --run true"; then
2757 am_missing_run="$MISSING --run "
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2761 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2764 if test x"${install_sh}" != xset; then
2767 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2769 install_sh="\${SHELL} $am_aux_dir/install-sh"
2773 # Installed binaries are usually stripped using `strip' when the user
2774 # run `make install-strip'. However `strip' might not be the right
2775 # tool to use in cross-compilation environments, therefore Automake
2776 # will honor the `STRIP' environment variable to overrule this program.
2777 if test "$cross_compiling" != no; then
2778 if test -n "$ac_tool_prefix"; then
2779 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2780 set dummy ${ac_tool_prefix}strip; ac_word=$2
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2782 $as_echo_n "checking for $ac_word... " >&6; }
2783 if ${ac_cv_prog_STRIP+:} false; then :
2784 $as_echo_n "(cached) " >&6
2786 if test -n "$STRIP"; then
2787 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2793 test -z "$as_dir" && as_dir=.
2794 for ac_exec_ext in '' $ac_executable_extensions; do
2795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2796 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2806 STRIP=$ac_cv_prog_STRIP
2807 if test -n "$STRIP"; then
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2809 $as_echo "$STRIP" >&6; }
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2812 $as_echo "no" >&6; }
2817 if test -z "$ac_cv_prog_STRIP"; then
2819 # Extract the first word of "strip", so it can be a program name with args.
2820 set dummy strip; ac_word=$2
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2822 $as_echo_n "checking for $ac_word... " >&6; }
2823 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2824 $as_echo_n "(cached) " >&6
2826 if test -n "$ac_ct_STRIP"; then
2827 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2833 test -z "$as_dir" && as_dir=.
2834 for ac_exec_ext in '' $ac_executable_extensions; do
2835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2836 ac_cv_prog_ac_ct_STRIP="strip"
2837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2846 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2847 if test -n "$ac_ct_STRIP"; then
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2849 $as_echo "$ac_ct_STRIP" >&6; }
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2852 $as_echo "no" >&6; }
2855 if test "x$ac_ct_STRIP" = x; then
2858 case $cross_compiling:$ac_tool_warned in
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2861 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2862 ac_tool_warned=yes ;;
2867 STRIP="$ac_cv_prog_STRIP"
2871 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2874 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2875 if test -z "$MKDIR_P"; then
2876 if ${ac_cv_path_mkdir+:} false; then :
2877 $as_echo_n "(cached) " >&6
2879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2880 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2883 test -z "$as_dir" && as_dir=.
2884 for ac_prog in mkdir gmkdir; do
2885 for ac_exec_ext in '' $ac_executable_extensions; do
2886 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2887 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2888 'mkdir (GNU coreutils) '* | \
2889 'mkdir (coreutils) '* | \
2890 'mkdir (fileutils) '4.1*)
2891 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2901 test -d ./--version && rmdir ./--version
2902 if test "${ac_cv_path_mkdir+set}" = set; then
2903 MKDIR_P="$ac_cv_path_mkdir -p"
2905 # As a last resort, use the slow shell script. Don't cache a
2906 # value for MKDIR_P within a source directory, because that will
2907 # break other packages using the cache if that directory is
2908 # removed, or if the value is a relative name.
2909 MKDIR_P="$ac_install_sh -d"
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2913 $as_echo "$MKDIR_P" >&6; }
2917 [\\/$]* | ?:[\\/]*) ;;
2918 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2921 for ac_prog in gawk mawk nawk awk
2923 # Extract the first word of "$ac_prog", so it can be a program name with args.
2924 set dummy $ac_prog; ac_word=$2
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2926 $as_echo_n "checking for $ac_word... " >&6; }
2927 if ${ac_cv_prog_AWK+:} false; then :
2928 $as_echo_n "(cached) " >&6
2930 if test -n "$AWK"; then
2931 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2937 test -z "$as_dir" && as_dir=.
2938 for ac_exec_ext in '' $ac_executable_extensions; do
2939 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2940 ac_cv_prog_AWK="$ac_prog"
2941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2951 if test -n "$AWK"; then
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2953 $as_echo "$AWK" >&6; }
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2956 $as_echo "no" >&6; }
2960 test -n "$AWK" && break
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2964 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2966 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2967 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2968 $as_echo_n "(cached) " >&6
2970 cat >conftest.make <<\_ACEOF
2973 @echo '@@@%%%=$(MAKE)=@@@%%%'
2975 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2976 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2978 eval ac_cv_prog_make_${ac_make}_set=yes;;
2980 eval ac_cv_prog_make_${ac_make}_set=no;;
2984 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2986 $as_echo "yes" >&6; }
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2990 $as_echo "no" >&6; }
2991 SET_MAKE="MAKE=${MAKE-make}"
2994 rm -rf .tst 2>/dev/null
2995 mkdir .tst 2>/dev/null
2996 if test -d .tst; then
3001 rmdir .tst 2>/dev/null
3003 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3004 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3005 # is not polluted with repeated "-I."
3006 am__isrc=' -I$(srcdir)'
3007 # test to see if srcdir already configured
3008 if test -f $srcdir/config.status; then
3009 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3013 # test whether we have cygpath
3014 if test -z "$CYGPATH_W"; then
3015 if (cygpath --version) >/dev/null 2>/dev/null; then
3016 CYGPATH_W='cygpath -w'
3023 # Define the identity of the package.
3028 cat >>confdefs.h <<_ACEOF
3029 #define PACKAGE "$PACKAGE"
3033 cat >>confdefs.h <<_ACEOF
3034 #define VERSION "$VERSION"
3037 # Some tools Automake needs.
3039 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3042 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3045 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3048 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3051 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3053 # We need awk for the "check" target. The system "awk" is bad on
3055 # Always define AMTAR for backward compatibility.
3057 AMTAR=${AMTAR-"${am_missing_run}tar"}
3059 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3066 # Make sure we can run config.sub.
3067 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3068 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3071 $as_echo_n "checking build system type... " >&6; }
3072 if ${ac_cv_build+:} false; then :
3073 $as_echo_n "(cached) " >&6
3075 ac_build_alias=$build_alias
3076 test "x$ac_build_alias" = x &&
3077 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3078 test "x$ac_build_alias" = x &&
3079 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3080 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3081 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3085 $as_echo "$ac_cv_build" >&6; }
3086 case $ac_cv_build in
3088 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3091 ac_save_IFS=$IFS; IFS='-'
3097 # Remember, the first character of IFS is used to create $*,
3098 # except with old shells:
3101 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3105 $as_echo_n "checking host system type... " >&6; }
3106 if ${ac_cv_host+:} false; then :
3107 $as_echo_n "(cached) " >&6
3109 if test "x$host_alias" = x; then
3110 ac_cv_host=$ac_cv_build
3112 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3113 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3118 $as_echo "$ac_cv_host" >&6; }
3121 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3124 ac_save_IFS=$IFS; IFS='-'
3130 # Remember, the first character of IFS is used to create $*,
3131 # except with old shells:
3134 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3138 ac_cpp='$CPP $CPPFLAGS'
3139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3142 if test -n "$ac_tool_prefix"; then
3143 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3144 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3146 $as_echo_n "checking for $ac_word... " >&6; }
3147 if ${ac_cv_prog_CC+:} false; then :
3148 $as_echo_n "(cached) " >&6
3150 if test -n "$CC"; then
3151 ac_cv_prog_CC="$CC" # Let the user override the test.
3153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3157 test -z "$as_dir" && as_dir=.
3158 for ac_exec_ext in '' $ac_executable_extensions; do
3159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3160 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3171 if test -n "$CC"; then
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3173 $as_echo "$CC" >&6; }
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3176 $as_echo "no" >&6; }
3181 if test -z "$ac_cv_prog_CC"; then
3183 # Extract the first word of "gcc", so it can be a program name with args.
3184 set dummy gcc; ac_word=$2
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3186 $as_echo_n "checking for $ac_word... " >&6; }
3187 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3188 $as_echo_n "(cached) " >&6
3190 if test -n "$ac_ct_CC"; then
3191 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3197 test -z "$as_dir" && as_dir=.
3198 for ac_exec_ext in '' $ac_executable_extensions; do
3199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3200 ac_cv_prog_ac_ct_CC="gcc"
3201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3210 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3211 if test -n "$ac_ct_CC"; then
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3213 $as_echo "$ac_ct_CC" >&6; }
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3216 $as_echo "no" >&6; }
3219 if test "x$ac_ct_CC" = x; then
3222 case $cross_compiling:$ac_tool_warned in
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3225 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3226 ac_tool_warned=yes ;;
3234 if test -z "$CC"; then
3235 if test -n "$ac_tool_prefix"; then
3236 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3237 set dummy ${ac_tool_prefix}cc; ac_word=$2
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3239 $as_echo_n "checking for $ac_word... " >&6; }
3240 if ${ac_cv_prog_CC+:} false; then :
3241 $as_echo_n "(cached) " >&6
3243 if test -n "$CC"; then
3244 ac_cv_prog_CC="$CC" # Let the user override the test.
3246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3250 test -z "$as_dir" && as_dir=.
3251 for ac_exec_ext in '' $ac_executable_extensions; do
3252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3253 ac_cv_prog_CC="${ac_tool_prefix}cc"
3254 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3264 if test -n "$CC"; then
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3266 $as_echo "$CC" >&6; }
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3269 $as_echo "no" >&6; }
3275 if test -z "$CC"; then
3276 # Extract the first word of "cc", so it can be a program name with args.
3277 set dummy cc; ac_word=$2
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3279 $as_echo_n "checking for $ac_word... " >&6; }
3280 if ${ac_cv_prog_CC+:} false; then :
3281 $as_echo_n "(cached) " >&6
3283 if test -n "$CC"; then
3284 ac_cv_prog_CC="$CC" # Let the user override the test.
3287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3291 test -z "$as_dir" && as_dir=.
3292 for ac_exec_ext in '' $ac_executable_extensions; do
3293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3294 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3295 ac_prog_rejected=yes
3299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3306 if test $ac_prog_rejected = yes; then
3307 # We found a bogon in the path, so make sure we never use it.
3308 set dummy $ac_cv_prog_CC
3310 if test $# != 0; then
3311 # We chose a different compiler from the bogus one.
3312 # However, it has the same basename, so the bogon will be chosen
3313 # first if we set CC to just the basename; use the full file name.
3315 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3321 if test -n "$CC"; then
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3323 $as_echo "$CC" >&6; }
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3326 $as_echo "no" >&6; }
3331 if test -z "$CC"; then
3332 if test -n "$ac_tool_prefix"; then
3333 for ac_prog in cl.exe
3335 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3336 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3338 $as_echo_n "checking for $ac_word... " >&6; }
3339 if ${ac_cv_prog_CC+:} false; then :
3340 $as_echo_n "(cached) " >&6
3342 if test -n "$CC"; then
3343 ac_cv_prog_CC="$CC" # Let the user override the test.
3345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3349 test -z "$as_dir" && as_dir=.
3350 for ac_exec_ext in '' $ac_executable_extensions; do
3351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3352 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3363 if test -n "$CC"; then
3364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3365 $as_echo "$CC" >&6; }
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3368 $as_echo "no" >&6; }
3372 test -n "$CC" && break
3375 if test -z "$CC"; then
3377 for ac_prog in cl.exe
3379 # Extract the first word of "$ac_prog", so it can be a program name with args.
3380 set dummy $ac_prog; ac_word=$2
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3382 $as_echo_n "checking for $ac_word... " >&6; }
3383 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3384 $as_echo_n "(cached) " >&6
3386 if test -n "$ac_ct_CC"; then
3387 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3393 test -z "$as_dir" && as_dir=.
3394 for ac_exec_ext in '' $ac_executable_extensions; do
3395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3396 ac_cv_prog_ac_ct_CC="$ac_prog"
3397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3406 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3407 if test -n "$ac_ct_CC"; then
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3409 $as_echo "$ac_ct_CC" >&6; }
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3412 $as_echo "no" >&6; }
3416 test -n "$ac_ct_CC" && break
3419 if test "x$ac_ct_CC" = x; then
3422 case $cross_compiling:$ac_tool_warned in
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3425 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3426 ac_tool_warned=yes ;;
3435 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3436 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3437 as_fn_error $? "no acceptable C compiler found in \$PATH
3438 See \`config.log' for more details" "$LINENO" 5; }
3440 # Provide some information about the compiler.
3441 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3444 for ac_option in --version -v -V -qversion; do
3445 { { ac_try="$ac_compiler $ac_option >&5"
3447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3448 *) ac_try_echo=$ac_try;;
3450 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3451 $as_echo "$ac_try_echo"; } >&5
3452 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3454 if test -s conftest.err; then
3456 ... rest of stderr output deleted ...
3457 10q' conftest.err >conftest.er1
3458 cat conftest.er1 >&5
3460 rm -f conftest.er1 conftest.err
3461 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3462 test $ac_status = 0; }
3465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3466 /* end confdefs.h. */
3476 ac_clean_files_save=$ac_clean_files
3477 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3478 # Try to create an executable without -o first, disregard a.out.
3479 # It will help us diagnose broken compilers, and finding out an intuition
3481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3482 $as_echo_n "checking whether the C compiler works... " >&6; }
3483 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3485 # The possible output files:
3486 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3489 for ac_file in $ac_files
3492 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3493 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3498 if { { ac_try="$ac_link_default"
3500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3501 *) ac_try_echo=$ac_try;;
3503 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3504 $as_echo "$ac_try_echo"; } >&5
3505 (eval "$ac_link_default") 2>&5
3507 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3508 test $ac_status = 0; }; then :
3509 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3510 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3511 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3512 # so that the user can short-circuit this test for compilers unknown to
3514 for ac_file in $ac_files ''
3516 test -f "$ac_file" || continue
3518 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3521 # We found the default executable, but exeext='' is most
3525 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3527 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3529 # We set ac_cv_exeext here because the later test for it is not
3530 # safe: cross compilers may not add the suffix if given an `-o'
3531 # argument, so we may need to know it at that point already.
3532 # Even if this section looks crufty: it has the advantage of
3539 test "$ac_cv_exeext" = no && ac_cv_exeext=
3544 if test -z "$ac_file"; then :
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3546 $as_echo "no" >&6; }
3547 $as_echo "$as_me: failed program was:" >&5
3548 sed 's/^/| /' conftest.$ac_ext >&5
3550 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3551 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3552 as_fn_error 77 "C compiler cannot create executables
3553 See \`config.log' for more details" "$LINENO" 5; }
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3556 $as_echo "yes" >&6; }
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3559 $as_echo_n "checking for C compiler default output file name... " >&6; }
3560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3561 $as_echo "$ac_file" >&6; }
3562 ac_exeext=$ac_cv_exeext
3564 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3565 ac_clean_files=$ac_clean_files_save
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3567 $as_echo_n "checking for suffix of executables... " >&6; }
3568 if { { ac_try="$ac_link"
3570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3571 *) ac_try_echo=$ac_try;;
3573 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3574 $as_echo "$ac_try_echo"; } >&5
3575 (eval "$ac_link") 2>&5
3577 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3578 test $ac_status = 0; }; then :
3579 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3580 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3581 # work properly (i.e., refer to `conftest.exe'), while it won't with
3583 for ac_file in conftest.exe conftest conftest.*; do
3584 test -f "$ac_file" || continue
3586 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3587 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3593 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3594 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3595 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3596 See \`config.log' for more details" "$LINENO" 5; }
3598 rm -f conftest conftest$ac_cv_exeext
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3600 $as_echo "$ac_cv_exeext" >&6; }
3602 rm -f conftest.$ac_ext
3603 EXEEXT=$ac_cv_exeext
3605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3606 /* end confdefs.h. */
3611 FILE *f = fopen ("conftest.out", "w");
3612 return ferror (f) || fclose (f) != 0;
3618 ac_clean_files="$ac_clean_files conftest.out"
3619 # Check that the compiler produces executables we can run. If not, either
3620 # the compiler is broken, or we cross compile.
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3622 $as_echo_n "checking whether we are cross compiling... " >&6; }
3623 if test "$cross_compiling" != yes; then
3624 { { ac_try="$ac_link"
3626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3627 *) ac_try_echo=$ac_try;;
3629 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3630 $as_echo "$ac_try_echo"; } >&5
3631 (eval "$ac_link") 2>&5
3633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3634 test $ac_status = 0; }
3635 if { ac_try='./conftest$ac_cv_exeext'
3636 { { case "(($ac_try" in
3637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3638 *) ac_try_echo=$ac_try;;
3640 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3641 $as_echo "$ac_try_echo"; } >&5
3642 (eval "$ac_try") 2>&5
3644 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3645 test $ac_status = 0; }; }; then
3648 if test "$cross_compiling" = maybe; then
3651 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3652 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3653 as_fn_error $? "cannot run C compiled programs.
3654 If you meant to cross compile, use \`--host'.
3655 See \`config.log' for more details" "$LINENO" 5; }
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3660 $as_echo "$cross_compiling" >&6; }
3662 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3663 ac_clean_files=$ac_clean_files_save
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3665 $as_echo_n "checking for suffix of object files... " >&6; }
3666 if ${ac_cv_objext+:} false; then :
3667 $as_echo_n "(cached) " >&6
3669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3670 /* end confdefs.h. */
3680 rm -f conftest.o conftest.obj
3681 if { { ac_try="$ac_compile"
3683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3684 *) ac_try_echo=$ac_try;;
3686 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3687 $as_echo "$ac_try_echo"; } >&5
3688 (eval "$ac_compile") 2>&5
3690 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3691 test $ac_status = 0; }; then :
3692 for ac_file in conftest.o conftest.obj conftest.*; do
3693 test -f "$ac_file" || continue;
3695 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3696 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3701 $as_echo "$as_me: failed program was:" >&5
3702 sed 's/^/| /' conftest.$ac_ext >&5
3704 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3705 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3706 as_fn_error $? "cannot compute suffix of object files: cannot compile
3707 See \`config.log' for more details" "$LINENO" 5; }
3709 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3712 $as_echo "$ac_cv_objext" >&6; }
3713 OBJEXT=$ac_cv_objext
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3716 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3717 if ${ac_cv_c_compiler_gnu+:} false; then :
3718 $as_echo_n "(cached) " >&6
3720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3721 /* end confdefs.h. */
3734 if ac_fn_c_try_compile "$LINENO"; then :
3739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3740 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3744 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3745 if test $ac_compiler_gnu = yes; then
3750 ac_test_CFLAGS=${CFLAGS+set}
3751 ac_save_CFLAGS=$CFLAGS
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3753 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3754 if ${ac_cv_prog_cc_g+:} false; then :
3755 $as_echo_n "(cached) " >&6
3757 ac_save_c_werror_flag=$ac_c_werror_flag
3758 ac_c_werror_flag=yes
3761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3762 /* end confdefs.h. */
3772 if ac_fn_c_try_compile "$LINENO"; then :
3776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3777 /* end confdefs.h. */
3787 if ac_fn_c_try_compile "$LINENO"; then :
3790 ac_c_werror_flag=$ac_save_c_werror_flag
3792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3793 /* end confdefs.h. */
3803 if ac_fn_c_try_compile "$LINENO"; then :
3806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3811 ac_c_werror_flag=$ac_save_c_werror_flag
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3814 $as_echo "$ac_cv_prog_cc_g" >&6; }
3815 if test "$ac_test_CFLAGS" = set; then
3816 CFLAGS=$ac_save_CFLAGS
3817 elif test $ac_cv_prog_cc_g = yes; then
3818 if test "$GCC" = yes; then
3824 if test "$GCC" = yes; then
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3831 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3832 if ${ac_cv_prog_cc_c89+:} false; then :
3833 $as_echo_n "(cached) " >&6
3835 ac_cv_prog_cc_c89=no
3837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3838 /* end confdefs.h. */
3841 #include <sys/types.h>
3842 #include <sys/stat.h>
3843 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3844 struct buf { int x; };
3845 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3846 static char *e (p, i)
3852 static char *f (char * (*g) (char **, int), char **p, ...)
3857 s = g (p, va_arg (v,int));
3862 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3863 function prototypes and stuff, but not '\xHH' hex character constants.
3864 These don't provoke an error unfortunately, instead are silently treated
3865 as 'x'. The following induces an error, until -std is added to get
3866 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3867 array size at least. It's necessary to write '\x00'==0 to get something
3868 that's true only with -std. */
3869 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3871 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3872 inside strings and character constants. */
3874 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3876 int test (int i, double x);
3877 struct s1 {int (*f) (int a);};
3878 struct s2 {int (*f) (double a);};
3879 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3885 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3890 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3891 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3893 CC="$ac_save_CC $ac_arg"
3894 if ac_fn_c_try_compile "$LINENO"; then :
3895 ac_cv_prog_cc_c89=$ac_arg
3897 rm -f core conftest.err conftest.$ac_objext
3898 test "x$ac_cv_prog_cc_c89" != "xno" && break
3900 rm -f conftest.$ac_ext
3905 case "x$ac_cv_prog_cc_c89" in
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3908 $as_echo "none needed" >&6; } ;;
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3911 $as_echo "unsupported" >&6; } ;;
3913 CC="$CC $ac_cv_prog_cc_c89"
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3915 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3917 if test "x$ac_cv_prog_cc_c89" != xno; then :
3922 ac_cpp='$CPP $CPPFLAGS'
3923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3926 DEPDIR="${am__leading_dot}deps"
3928 ac_config_commands="$ac_config_commands depfiles"
3931 am_make=${MAKE-make}
3932 cat > confinc << 'END'
3934 @echo this is the am__doit target
3937 # If we don't find an include directive, just comment out the code.
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3939 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3943 # First try GNU make style include.
3944 echo "include confinc" > confmf
3945 # Ignore all kinds of additional output from `make'.
3946 case `$am_make -s -f confmf 2> /dev/null` in #(
3947 *the\ am__doit\ target*)
3953 # Now try BSD make style include.
3954 if test "$am__include" = "#"; then
3955 echo '.include "confinc"' > confmf
3956 case `$am_make -s -f confmf 2> /dev/null` in #(
3957 *the\ am__doit\ target*)
3958 am__include=.include
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3967 $as_echo "$_am_result" >&6; }
3968 rm -f confinc confmf
3970 # Check whether --enable-dependency-tracking was given.
3971 if test "${enable_dependency_tracking+set}" = set; then :
3972 enableval=$enable_dependency_tracking;
3975 if test "x$enable_dependency_tracking" != xno; then
3976 am_depcomp="$ac_aux_dir/depcomp"
3979 if test "x$enable_dependency_tracking" != xno; then
3989 depcc="$CC" am_compiler_list=
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3992 $as_echo_n "checking dependency style of $depcc... " >&6; }
3993 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3994 $as_echo_n "(cached) " >&6
3996 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3997 # We make a subdir and do the tests there. Otherwise we can end up
3998 # making bogus files that we don't know about and never remove. For
3999 # instance it was reported that on HP-UX the gcc test will end up
4000 # making a dummy file named `D' -- because `-MD' means `put the output
4003 # Copy depcomp to subdir because otherwise we won't find it if we're
4004 # using a relative directory.
4005 cp "$am_depcomp" conftest.dir
4007 # We will build objects and dependencies in a subdirectory because
4008 # it helps to detect inapplicable dependency modes. For instance
4009 # both Tru64's cc and ICC support -MD to output dependencies as a
4010 # side effect of compilation, but ICC will put the dependencies in
4011 # the current directory while Tru64 will put them in the object
4015 am_cv_CC_dependencies_compiler_type=none
4016 if test "$am_compiler_list" = ""; then
4017 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4020 case " $depcc " in #(
4021 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4024 for depmode in $am_compiler_list; do
4025 # Setup a source with many dependencies, because some compilers
4026 # like to wrap large dependency lists on column 80 (with \), and
4027 # we should not choose a depcomp mode which is confused by this.
4029 # We need to recreate these files for each test, as the compiler may
4030 # overwrite some of them when testing with obscure command lines.
4031 # This happens at least with the AIX C compiler.
4033 for i in 1 2 3 4 5 6; do
4034 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4035 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4036 # Solaris 8's {/usr,}/bin/sh.
4037 touch sub/conftst$i.h
4039 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4041 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4042 # mode. It turns out that the SunPro C++ compiler does not properly
4043 # handle `-M -o', and we need to detect this. Also, some Intel
4044 # versions had trouble with output in subdirs
4045 am__obj=sub/conftest.${OBJEXT-o}
4046 am__minus_obj="-o $am__obj"
4049 # This depmode causes a compiler race in universal mode.
4050 test "$am__universal" = false || continue
4053 # after this tag, mechanisms are not by side-effect, so they'll
4054 # only be used when explicitly requested
4055 if test "x$enable_dependency_tracking" = xyes; then
4061 msvisualcpp | msvcmsys)
4062 # This compiler won't grok `-c -o', but also, the minuso test has
4063 # not run yet. These depmodes are late enough in the game, and
4064 # so weak that their functioning should not be impacted.
4065 am__obj=conftest.${OBJEXT-o}
4070 if depmode=$depmode \
4071 source=sub/conftest.c object=$am__obj \
4072 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4073 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4074 >/dev/null 2>conftest.err &&
4075 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4076 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4077 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4078 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4079 # icc doesn't choke on unknown options, it will just issue warnings
4080 # or remarks (even with -Werror). So we grep stderr for any message
4081 # that says an option was ignored or not supported.
4082 # When given -MP, icc 7.0 and 7.1 complain thusly:
4083 # icc: Command line warning: ignoring option '-M'; no argument required
4084 # The diagnosis changed in icc 8.0:
4085 # icc: Command line remark: option '-MP' not supported
4086 if (grep 'ignoring option' conftest.err ||
4087 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4088 am_cv_CC_dependencies_compiler_type=$depmode
4097 am_cv_CC_dependencies_compiler_type=none
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4102 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4103 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4106 test "x$enable_dependency_tracking" != xno \
4107 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4109 am__fastdepCC_FALSE='#'
4111 am__fastdepCC_TRUE='#'
4112 am__fastdepCC_FALSE=
4117 ac_cpp='$CXXCPP $CPPFLAGS'
4118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4121 if test -z "$CXX"; then
4122 if test -n "$CCC"; then
4125 if test -n "$ac_tool_prefix"; then
4126 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4128 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4129 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4131 $as_echo_n "checking for $ac_word... " >&6; }
4132 if ${ac_cv_prog_CXX+:} false; then :
4133 $as_echo_n "(cached) " >&6
4135 if test -n "$CXX"; then
4136 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4142 test -z "$as_dir" && as_dir=.
4143 for ac_exec_ext in '' $ac_executable_extensions; do
4144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4145 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4156 if test -n "$CXX"; then
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4158 $as_echo "$CXX" >&6; }
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4161 $as_echo "no" >&6; }
4165 test -n "$CXX" && break
4168 if test -z "$CXX"; then
4170 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4172 # Extract the first word of "$ac_prog", so it can be a program name with args.
4173 set dummy $ac_prog; ac_word=$2
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4175 $as_echo_n "checking for $ac_word... " >&6; }
4176 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4177 $as_echo_n "(cached) " >&6
4179 if test -n "$ac_ct_CXX"; then
4180 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4186 test -z "$as_dir" && as_dir=.
4187 for ac_exec_ext in '' $ac_executable_extensions; do
4188 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4189 ac_cv_prog_ac_ct_CXX="$ac_prog"
4190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4199 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4200 if test -n "$ac_ct_CXX"; then
4201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4202 $as_echo "$ac_ct_CXX" >&6; }
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4205 $as_echo "no" >&6; }
4209 test -n "$ac_ct_CXX" && break
4212 if test "x$ac_ct_CXX" = x; then
4215 case $cross_compiling:$ac_tool_warned in
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4218 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4219 ac_tool_warned=yes ;;
4227 # Provide some information about the compiler.
4228 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4231 for ac_option in --version -v -V -qversion; do
4232 { { ac_try="$ac_compiler $ac_option >&5"
4234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4235 *) ac_try_echo=$ac_try;;
4237 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4238 $as_echo "$ac_try_echo"; } >&5
4239 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4241 if test -s conftest.err; then
4243 ... rest of stderr output deleted ...
4244 10q' conftest.err >conftest.er1
4245 cat conftest.er1 >&5
4247 rm -f conftest.er1 conftest.err
4248 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4249 test $ac_status = 0; }
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4253 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4254 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4255 $as_echo_n "(cached) " >&6
4257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4258 /* end confdefs.h. */
4271 if ac_fn_cxx_try_compile "$LINENO"; then :
4276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4277 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4281 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4282 if test $ac_compiler_gnu = yes; then
4287 ac_test_CXXFLAGS=${CXXFLAGS+set}
4288 ac_save_CXXFLAGS=$CXXFLAGS
4289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4290 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4291 if ${ac_cv_prog_cxx_g+:} false; then :
4292 $as_echo_n "(cached) " >&6
4294 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4295 ac_cxx_werror_flag=yes
4298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4299 /* end confdefs.h. */
4309 if ac_fn_cxx_try_compile "$LINENO"; then :
4310 ac_cv_prog_cxx_g=yes
4313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4314 /* end confdefs.h. */
4324 if ac_fn_cxx_try_compile "$LINENO"; then :
4327 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4330 /* end confdefs.h. */
4340 if ac_fn_cxx_try_compile "$LINENO"; then :
4341 ac_cv_prog_cxx_g=yes
4343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4348 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4351 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4352 if test "$ac_test_CXXFLAGS" = set; then
4353 CXXFLAGS=$ac_save_CXXFLAGS
4354 elif test $ac_cv_prog_cxx_g = yes; then
4355 if test "$GXX" = yes; then
4361 if test "$GXX" = yes; then
4368 ac_cpp='$CPP $CPPFLAGS'
4369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4373 depcc="$CXX" am_compiler_list=
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4376 $as_echo_n "checking dependency style of $depcc... " >&6; }
4377 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
4378 $as_echo_n "(cached) " >&6
4380 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4381 # We make a subdir and do the tests there. Otherwise we can end up
4382 # making bogus files that we don't know about and never remove. For
4383 # instance it was reported that on HP-UX the gcc test will end up
4384 # making a dummy file named `D' -- because `-MD' means `put the output
4387 # Copy depcomp to subdir because otherwise we won't find it if we're
4388 # using a relative directory.
4389 cp "$am_depcomp" conftest.dir
4391 # We will build objects and dependencies in a subdirectory because
4392 # it helps to detect inapplicable dependency modes. For instance
4393 # both Tru64's cc and ICC support -MD to output dependencies as a
4394 # side effect of compilation, but ICC will put the dependencies in
4395 # the current directory while Tru64 will put them in the object
4399 am_cv_CXX_dependencies_compiler_type=none
4400 if test "$am_compiler_list" = ""; then
4401 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4404 case " $depcc " in #(
4405 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4408 for depmode in $am_compiler_list; do
4409 # Setup a source with many dependencies, because some compilers
4410 # like to wrap large dependency lists on column 80 (with \), and
4411 # we should not choose a depcomp mode which is confused by this.
4413 # We need to recreate these files for each test, as the compiler may
4414 # overwrite some of them when testing with obscure command lines.
4415 # This happens at least with the AIX C compiler.
4417 for i in 1 2 3 4 5 6; do
4418 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4419 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4420 # Solaris 8's {/usr,}/bin/sh.
4421 touch sub/conftst$i.h
4423 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4425 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4426 # mode. It turns out that the SunPro C++ compiler does not properly
4427 # handle `-M -o', and we need to detect this. Also, some Intel
4428 # versions had trouble with output in subdirs
4429 am__obj=sub/conftest.${OBJEXT-o}
4430 am__minus_obj="-o $am__obj"
4433 # This depmode causes a compiler race in universal mode.
4434 test "$am__universal" = false || continue
4437 # after this tag, mechanisms are not by side-effect, so they'll
4438 # only be used when explicitly requested
4439 if test "x$enable_dependency_tracking" = xyes; then
4445 msvisualcpp | msvcmsys)
4446 # This compiler won't grok `-c -o', but also, the minuso test has
4447 # not run yet. These depmodes are late enough in the game, and
4448 # so weak that their functioning should not be impacted.
4449 am__obj=conftest.${OBJEXT-o}
4454 if depmode=$depmode \
4455 source=sub/conftest.c object=$am__obj \
4456 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4457 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4458 >/dev/null 2>conftest.err &&
4459 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4460 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4461 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4462 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4463 # icc doesn't choke on unknown options, it will just issue warnings
4464 # or remarks (even with -Werror). So we grep stderr for any message
4465 # that says an option was ignored or not supported.
4466 # When given -MP, icc 7.0 and 7.1 complain thusly:
4467 # icc: Command line warning: ignoring option '-M'; no argument required
4468 # The diagnosis changed in icc 8.0:
4469 # icc: Command line remark: option '-MP' not supported
4470 if (grep 'ignoring option' conftest.err ||
4471 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4472 am_cv_CXX_dependencies_compiler_type=$depmode
4481 am_cv_CXX_dependencies_compiler_type=none
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4486 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4487 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4490 test "x$enable_dependency_tracking" != xno \
4491 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4492 am__fastdepCXX_TRUE=
4493 am__fastdepCXX_FALSE='#'
4495 am__fastdepCXX_TRUE='#'
4496 am__fastdepCXX_FALSE=
4502 ac_cpp='$CPP $CPPFLAGS'
4503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4507 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4508 # On Suns, sometimes $CPP names a directory.
4509 if test -n "$CPP" && test -d "$CPP"; then
4512 if test -z "$CPP"; then
4513 if ${ac_cv_prog_CPP+:} false; then :
4514 $as_echo_n "(cached) " >&6
4516 # Double quotes because CPP needs to be expanded
4517 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4520 for ac_c_preproc_warn_flag in '' yes
4522 # Use a header file that comes with gcc, so configuring glibc
4523 # with a fresh cross-compiler works.
4524 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4525 # <limits.h> exists even on freestanding compilers.
4526 # On the NeXT, cc -E runs the code through the compiler's parser,
4527 # not just through cpp. "Syntax error" is here to catch this case.
4528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4529 /* end confdefs.h. */
4531 # include <limits.h>
4533 # include <assert.h>
4537 if ac_fn_c_try_cpp "$LINENO"; then :
4540 # Broken: fails on valid input.
4543 rm -f conftest.err conftest.i conftest.$ac_ext
4545 # OK, works on sane cases. Now check whether nonexistent headers
4546 # can be detected and how.
4547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4548 /* end confdefs.h. */
4549 #include <ac_nonexistent.h>
4551 if ac_fn_c_try_cpp "$LINENO"; then :
4552 # Broken: success on invalid input.
4555 # Passes both tests.
4559 rm -f conftest.err conftest.i conftest.$ac_ext
4562 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4563 rm -f conftest.i conftest.err conftest.$ac_ext
4564 if $ac_preproc_ok; then :
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4577 $as_echo "$CPP" >&6; }
4579 for ac_c_preproc_warn_flag in '' yes
4581 # Use a header file that comes with gcc, so configuring glibc
4582 # with a fresh cross-compiler works.
4583 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4584 # <limits.h> exists even on freestanding compilers.
4585 # On the NeXT, cc -E runs the code through the compiler's parser,
4586 # not just through cpp. "Syntax error" is here to catch this case.
4587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4588 /* end confdefs.h. */
4590 # include <limits.h>
4592 # include <assert.h>
4596 if ac_fn_c_try_cpp "$LINENO"; then :
4599 # Broken: fails on valid input.
4602 rm -f conftest.err conftest.i conftest.$ac_ext
4604 # OK, works on sane cases. Now check whether nonexistent headers
4605 # can be detected and how.
4606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4607 /* end confdefs.h. */
4608 #include <ac_nonexistent.h>
4610 if ac_fn_c_try_cpp "$LINENO"; then :
4611 # Broken: success on invalid input.
4614 # Passes both tests.
4618 rm -f conftest.err conftest.i conftest.$ac_ext
4621 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4622 rm -f conftest.i conftest.err conftest.$ac_ext
4623 if $ac_preproc_ok; then :
4626 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4627 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4628 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4629 See \`config.log' for more details" "$LINENO" 5; }
4633 ac_cpp='$CPP $CPPFLAGS'
4634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4640 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4641 if ${ac_cv_path_GREP+:} false; then :
4642 $as_echo_n "(cached) " >&6
4644 if test -z "$GREP"; then
4645 ac_path_GREP_found=false
4646 # Loop through the user's path and test for each of PROGNAME-LIST
4647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4648 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4651 test -z "$as_dir" && as_dir=.
4652 for ac_prog in grep ggrep; do
4653 for ac_exec_ext in '' $ac_executable_extensions; do
4654 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4655 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4656 # Check for GNU ac_path_GREP and select it if it is found.
4657 # Check for GNU $ac_path_GREP
4658 case `"$ac_path_GREP" --version 2>&1` in
4660 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4663 $as_echo_n 0123456789 >"conftest.in"
4666 cat "conftest.in" "conftest.in" >"conftest.tmp"
4667 mv "conftest.tmp" "conftest.in"
4668 cp "conftest.in" "conftest.nl"
4669 $as_echo 'GREP' >> "conftest.nl"
4670 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4671 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4672 as_fn_arith $ac_count + 1 && ac_count=$as_val
4673 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4674 # Best one so far, save it but keep looking for a better one
4675 ac_cv_path_GREP="$ac_path_GREP"
4676 ac_path_GREP_max=$ac_count
4678 # 10*(2^10) chars as input seems more than enough
4679 test $ac_count -gt 10 && break
4681 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4684 $ac_path_GREP_found && break 3
4689 if test -z "$ac_cv_path_GREP"; then
4690 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4693 ac_cv_path_GREP=$GREP
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4698 $as_echo "$ac_cv_path_GREP" >&6; }
4699 GREP="$ac_cv_path_GREP"
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4703 $as_echo_n "checking for egrep... " >&6; }
4704 if ${ac_cv_path_EGREP+:} false; then :
4705 $as_echo_n "(cached) " >&6
4707 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4708 then ac_cv_path_EGREP="$GREP -E"
4710 if test -z "$EGREP"; then
4711 ac_path_EGREP_found=false
4712 # Loop through the user's path and test for each of PROGNAME-LIST
4713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4714 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4717 test -z "$as_dir" && as_dir=.
4718 for ac_prog in egrep; do
4719 for ac_exec_ext in '' $ac_executable_extensions; do
4720 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4721 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4722 # Check for GNU ac_path_EGREP and select it if it is found.
4723 # Check for GNU $ac_path_EGREP
4724 case `"$ac_path_EGREP" --version 2>&1` in
4726 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4729 $as_echo_n 0123456789 >"conftest.in"
4732 cat "conftest.in" "conftest.in" >"conftest.tmp"
4733 mv "conftest.tmp" "conftest.in"
4734 cp "conftest.in" "conftest.nl"
4735 $as_echo 'EGREP' >> "conftest.nl"
4736 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4737 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4738 as_fn_arith $ac_count + 1 && ac_count=$as_val
4739 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4740 # Best one so far, save it but keep looking for a better one
4741 ac_cv_path_EGREP="$ac_path_EGREP"
4742 ac_path_EGREP_max=$ac_count
4744 # 10*(2^10) chars as input seems more than enough
4745 test $ac_count -gt 10 && break
4747 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4750 $ac_path_EGREP_found && break 3
4755 if test -z "$ac_cv_path_EGREP"; then
4756 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4759 ac_cv_path_EGREP=$EGREP
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4765 $as_echo "$ac_cv_path_EGREP" >&6; }
4766 EGREP="$ac_cv_path_EGREP"
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4770 $as_echo_n "checking for ANSI C header files... " >&6; }
4771 if ${ac_cv_header_stdc+:} false; then :
4772 $as_echo_n "(cached) " >&6
4774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4775 /* end confdefs.h. */
4789 if ac_fn_c_try_compile "$LINENO"; then :
4790 ac_cv_header_stdc=yes
4792 ac_cv_header_stdc=no
4794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4796 if test $ac_cv_header_stdc = yes; then
4797 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4799 /* end confdefs.h. */
4803 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4804 $EGREP "memchr" >/dev/null 2>&1; then :
4807 ac_cv_header_stdc=no
4813 if test $ac_cv_header_stdc = yes; then
4814 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4816 /* end confdefs.h. */
4820 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4821 $EGREP "free" >/dev/null 2>&1; then :
4824 ac_cv_header_stdc=no
4830 if test $ac_cv_header_stdc = yes; then
4831 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4832 if test "$cross_compiling" = yes; then :
4835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4836 /* end confdefs.h. */
4839 #if ((' ' & 0x0FF) == 0x020)
4840 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4841 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4843 # define ISLOWER(c) \
4844 (('a' <= (c) && (c) <= 'i') \
4845 || ('j' <= (c) && (c) <= 'r') \
4846 || ('s' <= (c) && (c) <= 'z'))
4847 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4850 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4855 for (i = 0; i < 256; i++)
4856 if (XOR (islower (i), ISLOWER (i))
4857 || toupper (i) != TOUPPER (i))
4862 if ac_fn_c_try_run "$LINENO"; then :
4865 ac_cv_header_stdc=no
4867 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4868 conftest.$ac_objext conftest.beam conftest.$ac_ext
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4874 $as_echo "$ac_cv_header_stdc" >&6; }
4875 if test $ac_cv_header_stdc = yes; then
4877 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4881 for ac_prog in 'bison -y' byacc
4883 # Extract the first word of "$ac_prog", so it can be a program name with args.
4884 set dummy $ac_prog; ac_word=$2
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4886 $as_echo_n "checking for $ac_word... " >&6; }
4887 if ${ac_cv_prog_YACC+:} false; then :
4888 $as_echo_n "(cached) " >&6
4890 if test -n "$YACC"; then
4891 ac_cv_prog_YACC="$YACC" # Let the user override the test.
4893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4897 test -z "$as_dir" && as_dir=.
4898 for ac_exec_ext in '' $ac_executable_extensions; do
4899 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4900 ac_cv_prog_YACC="$ac_prog"
4901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4910 YACC=$ac_cv_prog_YACC
4911 if test -n "$YACC"; then
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
4913 $as_echo "$YACC" >&6; }
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4916 $as_echo "no" >&6; }
4920 test -n "$YACC" && break
4922 test -n "$YACC" || YACC="yacc"
4924 for ac_prog in flex lex
4926 # Extract the first word of "$ac_prog", so it can be a program name with args.
4927 set dummy $ac_prog; ac_word=$2
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4929 $as_echo_n "checking for $ac_word... " >&6; }
4930 if ${ac_cv_prog_LEX+:} false; then :
4931 $as_echo_n "(cached) " >&6
4933 if test -n "$LEX"; then
4934 ac_cv_prog_LEX="$LEX" # Let the user override the test.
4936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4940 test -z "$as_dir" && as_dir=.
4941 for ac_exec_ext in '' $ac_executable_extensions; do
4942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4943 ac_cv_prog_LEX="$ac_prog"
4944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4954 if test -n "$LEX"; then
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
4956 $as_echo "$LEX" >&6; }
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4959 $as_echo "no" >&6; }
4963 test -n "$LEX" && break
4965 test -n "$LEX" || LEX=":"
4967 if test "x$LEX" != "x:"; then
4968 cat >conftest.l <<_ACEOF
4974 e { yyless (input () != 0); }
4975 f { unput (yytext[0]); }
4976 . { BEGIN INITIAL; }
4978 #ifdef YYTEXT_POINTER
4979 extern char *yytext;
4984 return ! yylex () + ! yywrap ();
4987 { { ac_try="$LEX conftest.l"
4989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4990 *) ac_try_echo=$ac_try;;
4992 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4993 $as_echo "$ac_try_echo"; } >&5
4994 (eval "$LEX conftest.l") 2>&5
4996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4997 test $ac_status = 0; }
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
4999 $as_echo_n "checking lex output file root... " >&6; }
5000 if ${ac_cv_prog_lex_root+:} false; then :
5001 $as_echo_n "(cached) " >&6
5004 if test -f lex.yy.c; then
5005 ac_cv_prog_lex_root=lex.yy
5006 elif test -f lexyy.c; then
5007 ac_cv_prog_lex_root=lexyy
5009 as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
5013 $as_echo "$ac_cv_prog_lex_root" >&6; }
5014 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
5016 if test -z "${LEXLIB+set}"; then
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
5018 $as_echo_n "checking lex library... " >&6; }
5019 if ${ac_cv_lib_lex+:} false; then :
5020 $as_echo_n "(cached) " >&6
5024 ac_cv_lib_lex='none needed'
5025 for ac_lib in '' -lfl -ll; do
5026 LIBS="$ac_lib $ac_save_LIBS"
5027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5028 /* end confdefs.h. */
5029 `cat $LEX_OUTPUT_ROOT.c`
5031 if ac_fn_c_try_link "$LINENO"; then :
5032 ac_cv_lib_lex=$ac_lib
5034 rm -f core conftest.err conftest.$ac_objext \
5035 conftest$ac_exeext conftest.$ac_ext
5036 test "$ac_cv_lib_lex" != 'none needed' && break
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
5042 $as_echo "$ac_cv_lib_lex" >&6; }
5043 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
5048 $as_echo_n "checking whether yytext is a pointer... " >&6; }
5049 if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
5050 $as_echo_n "(cached) " >&6
5052 # POSIX says lex can declare yytext either as a pointer or an array; the
5053 # default is implementation-dependent. Figure out which it is, since
5054 # not all implementations provide the %pointer and %array declarations.
5055 ac_cv_prog_lex_yytext_pointer=no
5057 LIBS="$LEXLIB $ac_save_LIBS"
5058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5059 /* end confdefs.h. */
5061 #define YYTEXT_POINTER 1
5062 `cat $LEX_OUTPUT_ROOT.c`
5064 if ac_fn_c_try_link "$LINENO"; then :
5065 ac_cv_prog_lex_yytext_pointer=yes
5067 rm -f core conftest.err conftest.$ac_objext \
5068 conftest$ac_exeext conftest.$ac_ext
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
5073 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
5074 if test $ac_cv_prog_lex_yytext_pointer = yes; then
5076 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
5079 rm -f conftest.l $LEX_OUTPUT_ROOT.c
5082 # By default we simply use the C compiler to build assembly code.
5084 test "${CCAS+set}" = set || CCAS=$CC
5085 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
5089 depcc="$CCAS" am_compiler_list=
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5092 $as_echo_n "checking dependency style of $depcc... " >&6; }
5093 if ${am_cv_CCAS_dependencies_compiler_type+:} false; then :
5094 $as_echo_n "(cached) " >&6
5096 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5097 # We make a subdir and do the tests there. Otherwise we can end up
5098 # making bogus files that we don't know about and never remove. For
5099 # instance it was reported that on HP-UX the gcc test will end up
5100 # making a dummy file named `D' -- because `-MD' means `put the output
5103 # Copy depcomp to subdir because otherwise we won't find it if we're
5104 # using a relative directory.
5105 cp "$am_depcomp" conftest.dir
5107 # We will build objects and dependencies in a subdirectory because
5108 # it helps to detect inapplicable dependency modes. For instance
5109 # both Tru64's cc and ICC support -MD to output dependencies as a
5110 # side effect of compilation, but ICC will put the dependencies in
5111 # the current directory while Tru64 will put them in the object
5115 am_cv_CCAS_dependencies_compiler_type=none
5116 if test "$am_compiler_list" = ""; then
5117 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5122 for depmode in $am_compiler_list; do
5123 # Setup a source with many dependencies, because some compilers
5124 # like to wrap large dependency lists on column 80 (with \), and
5125 # we should not choose a depcomp mode which is confused by this.
5127 # We need to recreate these files for each test, as the compiler may
5128 # overwrite some of them when testing with obscure command lines.
5129 # This happens at least with the AIX C compiler.
5131 for i in 1 2 3 4 5 6; do
5132 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5133 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5134 # Solaris 8's {/usr,}/bin/sh.
5135 touch sub/conftst$i.h
5137 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5139 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5140 # mode. It turns out that the SunPro C++ compiler does not properly
5141 # handle `-M -o', and we need to detect this. Also, some Intel
5142 # versions had trouble with output in subdirs
5143 am__obj=sub/conftest.${OBJEXT-o}
5144 am__minus_obj="-o $am__obj"
5147 # This depmode causes a compiler race in universal mode.
5148 test "$am__universal" = false || continue
5151 # after this tag, mechanisms are not by side-effect, so they'll
5152 # only be used when explicitly requested
5153 if test "x$enable_dependency_tracking" = xyes; then
5159 msvisualcpp | msvcmsys)
5160 # This compiler won't grok `-c -o', but also, the minuso test has
5161 # not run yet. These depmodes are late enough in the game, and
5162 # so weak that their functioning should not be impacted.
5163 am__obj=conftest.${OBJEXT-o}
5168 if depmode=$depmode \
5169 source=sub/conftest.c object=$am__obj \
5170 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5171 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5172 >/dev/null 2>conftest.err &&
5173 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5174 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5175 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5176 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5177 # icc doesn't choke on unknown options, it will just issue warnings
5178 # or remarks (even with -Werror). So we grep stderr for any message
5179 # that says an option was ignored or not supported.
5180 # When given -MP, icc 7.0 and 7.1 complain thusly:
5181 # icc: Command line warning: ignoring option '-M'; no argument required
5182 # The diagnosis changed in icc 8.0:
5183 # icc: Command line remark: option '-MP' not supported
5184 if (grep 'ignoring option' conftest.err ||
5185 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5186 am_cv_CCAS_dependencies_compiler_type=$depmode
5195 am_cv_CCAS_dependencies_compiler_type=none
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
5200 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
5201 CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
5204 test "x$enable_dependency_tracking" != xno \
5205 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
5206 am__fastdepCCAS_TRUE=
5207 am__fastdepCCAS_FALSE='#'
5209 am__fastdepCCAS_TRUE='#'
5210 am__fastdepCCAS_FALSE=
5214 if test -n "$ac_tool_prefix"; then
5215 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5216 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5218 $as_echo_n "checking for $ac_word... " >&6; }
5219 if ${ac_cv_prog_RANLIB+:} false; then :
5220 $as_echo_n "(cached) " >&6
5222 if test -n "$RANLIB"; then
5223 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5229 test -z "$as_dir" && as_dir=.
5230 for ac_exec_ext in '' $ac_executable_extensions; do
5231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5232 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5242 RANLIB=$ac_cv_prog_RANLIB
5243 if test -n "$RANLIB"; then
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5245 $as_echo "$RANLIB" >&6; }
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5248 $as_echo "no" >&6; }
5253 if test -z "$ac_cv_prog_RANLIB"; then
5254 ac_ct_RANLIB=$RANLIB
5255 # Extract the first word of "ranlib", so it can be a program name with args.
5256 set dummy ranlib; ac_word=$2
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5258 $as_echo_n "checking for $ac_word... " >&6; }
5259 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5260 $as_echo_n "(cached) " >&6
5262 if test -n "$ac_ct_RANLIB"; then
5263 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5269 test -z "$as_dir" && as_dir=.
5270 for ac_exec_ext in '' $ac_executable_extensions; do
5271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5272 ac_cv_prog_ac_ct_RANLIB="ranlib"
5273 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5282 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5283 if test -n "$ac_ct_RANLIB"; then
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5285 $as_echo "$ac_ct_RANLIB" >&6; }
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5288 $as_echo "no" >&6; }
5291 if test "x$ac_ct_RANLIB" = x; then
5294 case $cross_compiling:$ac_tool_warned in
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5297 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5298 ac_tool_warned=yes ;;
5300 RANLIB=$ac_ct_RANLIB
5303 RANLIB="$ac_cv_prog_RANLIB"
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5309 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5315 macro_revision='1.3293'
5329 ltmain="$ac_aux_dir/ltmain.sh"
5331 # Backslashify metacharacters that are still active within
5332 # double-quoted strings.
5333 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5335 # Same as above, but do not quote variable references.
5336 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5338 # Sed substitution to delay expansion of an escaped shell variable in a
5339 # double_quote_subst'ed string.
5340 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5342 # Sed substitution to delay expansion of an escaped single quote.
5343 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5345 # Sed substitution to avoid accidental globbing in evaled expressions
5346 no_glob_subst='s/\*/\\\*/g'
5348 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5349 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5350 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5353 $as_echo_n "checking how to print strings... " >&6; }
5354 # Test print first, because it will be a builtin if present.
5355 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5356 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5358 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5361 # Use this function as a fallback that always works.
5362 func_fallback_echo ()
5364 eval 'cat <<_LTECHO_EOF
5368 ECHO='func_fallback_echo'
5371 # func_echo_all arg...
5372 # Invoke $ECHO with all args, space-separated.
5379 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5380 $as_echo "printf" >&6; } ;;
5381 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5382 $as_echo "print -r" >&6; } ;;
5383 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5384 $as_echo "cat" >&6; } ;;
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5401 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5402 if ${ac_cv_path_SED+:} false; then :
5403 $as_echo_n "(cached) " >&6
5405 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5406 for ac_i in 1 2 3 4 5 6 7; do
5407 ac_script="$ac_script$as_nl$ac_script"
5409 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5410 { ac_script=; unset ac_script;}
5411 if test -z "$SED"; then
5412 ac_path_SED_found=false
5413 # Loop through the user's path and test for each of PROGNAME-LIST
5414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5418 test -z "$as_dir" && as_dir=.
5419 for ac_prog in sed gsed; do
5420 for ac_exec_ext in '' $ac_executable_extensions; do
5421 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5422 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5423 # Check for GNU ac_path_SED and select it if it is found.
5424 # Check for GNU $ac_path_SED
5425 case `"$ac_path_SED" --version 2>&1` in
5427 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5430 $as_echo_n 0123456789 >"conftest.in"
5433 cat "conftest.in" "conftest.in" >"conftest.tmp"
5434 mv "conftest.tmp" "conftest.in"
5435 cp "conftest.in" "conftest.nl"
5436 $as_echo '' >> "conftest.nl"
5437 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5438 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5439 as_fn_arith $ac_count + 1 && ac_count=$as_val
5440 if test $ac_count -gt ${ac_path_SED_max-0}; then
5441 # Best one so far, save it but keep looking for a better one
5442 ac_cv_path_SED="$ac_path_SED"
5443 ac_path_SED_max=$ac_count
5445 # 10*(2^10) chars as input seems more than enough
5446 test $ac_count -gt 10 && break
5448 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5451 $ac_path_SED_found && break 3
5456 if test -z "$ac_cv_path_SED"; then
5457 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5465 $as_echo "$ac_cv_path_SED" >&6; }
5466 SED="$ac_cv_path_SED"
5469 test -z "$SED" && SED=sed
5470 Xsed="$SED -e 1s/^X//"
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5483 $as_echo_n "checking for fgrep... " >&6; }
5484 if ${ac_cv_path_FGREP+:} false; then :
5485 $as_echo_n "(cached) " >&6
5487 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5488 then ac_cv_path_FGREP="$GREP -F"
5490 if test -z "$FGREP"; then
5491 ac_path_FGREP_found=false
5492 # Loop through the user's path and test for each of PROGNAME-LIST
5493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5494 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5497 test -z "$as_dir" && as_dir=.
5498 for ac_prog in fgrep; do
5499 for ac_exec_ext in '' $ac_executable_extensions; do
5500 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5501 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5502 # Check for GNU ac_path_FGREP and select it if it is found.
5503 # Check for GNU $ac_path_FGREP
5504 case `"$ac_path_FGREP" --version 2>&1` in
5506 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5509 $as_echo_n 0123456789 >"conftest.in"
5512 cat "conftest.in" "conftest.in" >"conftest.tmp"
5513 mv "conftest.tmp" "conftest.in"
5514 cp "conftest.in" "conftest.nl"
5515 $as_echo 'FGREP' >> "conftest.nl"
5516 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5517 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5518 as_fn_arith $ac_count + 1 && ac_count=$as_val
5519 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5520 # Best one so far, save it but keep looking for a better one
5521 ac_cv_path_FGREP="$ac_path_FGREP"
5522 ac_path_FGREP_max=$ac_count
5524 # 10*(2^10) chars as input seems more than enough
5525 test $ac_count -gt 10 && break
5527 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5530 $ac_path_FGREP_found && break 3
5535 if test -z "$ac_cv_path_FGREP"; then
5536 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5539 ac_cv_path_FGREP=$FGREP
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5545 $as_echo "$ac_cv_path_FGREP" >&6; }
5546 FGREP="$ac_cv_path_FGREP"
5549 test -z "$GREP" && GREP=grep
5569 # Check whether --with-gnu-ld was given.
5570 if test "${with_gnu_ld+set}" = set; then :
5571 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5577 if test "$GCC" = yes; then
5578 # Check if gcc -print-prog-name=ld gives a path.
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5580 $as_echo_n "checking for ld used by $CC... " >&6; }
5583 # gcc leaves a trailing carriage return which upsets mingw
5584 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5586 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5589 # Accept absolute paths.
5591 re_direlt='/[^/][^/]*/\.\./'
5592 # Canonicalize the pathname of ld
5593 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5594 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5595 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5597 test -z "$LD" && LD="$ac_prog"
5600 # If it fails, then pretend we aren't using GCC.
5604 # If it is relative, then search for the first ld in PATH.
5608 elif test "$with_gnu_ld" = yes; then
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5610 $as_echo_n "checking for GNU ld... " >&6; }
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5613 $as_echo_n "checking for non-GNU ld... " >&6; }
5615 if ${lt_cv_path_LD+:} false; then :
5616 $as_echo_n "(cached) " >&6
5618 if test -z "$LD"; then
5619 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5620 for ac_dir in $PATH; do
5622 test -z "$ac_dir" && ac_dir=.
5623 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5624 lt_cv_path_LD="$ac_dir/$ac_prog"
5625 # Check to see if the program is GNU ld. I'd rather use --version,
5626 # but apparently some variants of GNU ld only accept -v.
5627 # Break only if it was the GNU/non-GNU ld that we prefer.
5628 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5629 *GNU* | *'with BFD'*)
5630 test "$with_gnu_ld" != no && break
5633 test "$with_gnu_ld" != yes && break
5640 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5645 if test -n "$LD"; then
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5647 $as_echo "$LD" >&6; }
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5650 $as_echo "no" >&6; }
5652 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5654 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5655 if ${lt_cv_prog_gnu_ld+:} false; then :
5656 $as_echo_n "(cached) " >&6
5658 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5659 case `$LD -v 2>&1 </dev/null` in
5660 *GNU* | *'with BFD'*)
5661 lt_cv_prog_gnu_ld=yes
5664 lt_cv_prog_gnu_ld=no
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5669 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5670 with_gnu_ld=$lt_cv_prog_gnu_ld
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5681 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5682 if ${lt_cv_path_NM+:} false; then :
5683 $as_echo_n "(cached) " >&6
5685 if test -n "$NM"; then
5686 # Let the user override the test.
5689 lt_nm_to_check="${ac_tool_prefix}nm"
5690 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5691 lt_nm_to_check="$lt_nm_to_check nm"
5693 for lt_tmp_nm in $lt_nm_to_check; do
5694 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5695 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5697 test -z "$ac_dir" && ac_dir=.
5698 tmp_nm="$ac_dir/$lt_tmp_nm"
5699 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5700 # Check to see if the nm accepts a BSD-compat flag.
5701 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5702 # nm: unknown option "B" ignored
5703 # Tru64's nm complains that /dev/null is an invalid object file
5704 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5705 */dev/null* | *'Invalid file or object type'*)
5706 lt_cv_path_NM="$tmp_nm -B"
5710 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5712 lt_cv_path_NM="$tmp_nm -p"
5716 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5717 continue # so that we can try to find one that supports BSD flags
5726 : ${lt_cv_path_NM=no}
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5730 $as_echo "$lt_cv_path_NM" >&6; }
5731 if test "$lt_cv_path_NM" != "no"; then
5734 # Didn't find any BSD compatible name lister, look for dumpbin.
5735 if test -n "$DUMPBIN"; then :
5736 # Let the user override the test.
5738 if test -n "$ac_tool_prefix"; then
5739 for ac_prog in dumpbin "link -dump"
5741 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5742 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5744 $as_echo_n "checking for $ac_word... " >&6; }
5745 if ${ac_cv_prog_DUMPBIN+:} false; then :
5746 $as_echo_n "(cached) " >&6
5748 if test -n "$DUMPBIN"; then
5749 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5755 test -z "$as_dir" && as_dir=.
5756 for ac_exec_ext in '' $ac_executable_extensions; do
5757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5758 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5768 DUMPBIN=$ac_cv_prog_DUMPBIN
5769 if test -n "$DUMPBIN"; then
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5771 $as_echo "$DUMPBIN" >&6; }
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5774 $as_echo "no" >&6; }
5778 test -n "$DUMPBIN" && break
5781 if test -z "$DUMPBIN"; then
5782 ac_ct_DUMPBIN=$DUMPBIN
5783 for ac_prog in dumpbin "link -dump"
5785 # Extract the first word of "$ac_prog", so it can be a program name with args.
5786 set dummy $ac_prog; ac_word=$2
5787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5788 $as_echo_n "checking for $ac_word... " >&6; }
5789 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5790 $as_echo_n "(cached) " >&6
5792 if test -n "$ac_ct_DUMPBIN"; then
5793 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5799 test -z "$as_dir" && as_dir=.
5800 for ac_exec_ext in '' $ac_executable_extensions; do
5801 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5802 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5803 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5812 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5813 if test -n "$ac_ct_DUMPBIN"; then
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5815 $as_echo "$ac_ct_DUMPBIN" >&6; }
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5818 $as_echo "no" >&6; }
5822 test -n "$ac_ct_DUMPBIN" && break
5825 if test "x$ac_ct_DUMPBIN" = x; then
5828 case $cross_compiling:$ac_tool_warned in
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5831 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5832 ac_tool_warned=yes ;;
5834 DUMPBIN=$ac_ct_DUMPBIN
5838 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5840 DUMPBIN="$DUMPBIN -symbols"
5848 if test "$DUMPBIN" != ":"; then
5852 test -z "$NM" && NM=nm
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5860 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5861 if ${lt_cv_nm_interface+:} false; then :
5862 $as_echo_n "(cached) " >&6
5864 lt_cv_nm_interface="BSD nm"
5865 echo "int some_variable = 0;" > conftest.$ac_ext
5866 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5867 (eval "$ac_compile" 2>conftest.err)
5868 cat conftest.err >&5
5869 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5870 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5871 cat conftest.err >&5
5872 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5873 cat conftest.out >&5
5874 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5875 lt_cv_nm_interface="MS dumpbin"
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5880 $as_echo "$lt_cv_nm_interface" >&6; }
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5883 $as_echo_n "checking whether ln -s works... " >&6; }
5885 if test "$LN_S" = "ln -s"; then
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5887 $as_echo "yes" >&6; }
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5890 $as_echo "no, using $LN_S" >&6; }
5893 # find the maximum length of command line arguments
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5895 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5896 if ${lt_cv_sys_max_cmd_len+:} false; then :
5897 $as_echo_n "(cached) " >&6
5904 # On DJGPP, this test can blow up pretty badly due to problems in libc
5905 # (any single argument exceeding 2000 bytes causes a buffer overrun
5906 # during glob expansion). Even if it were fixed, the result of this
5907 # check would be larger than it should be.
5908 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5912 # Under GNU Hurd, this test is not required because there is
5913 # no limit to the length of command line arguments.
5914 # Libtool will interpret -1 as no limit whatsoever
5915 lt_cv_sys_max_cmd_len=-1;
5918 cygwin* | mingw* | cegcc*)
5919 # On Win9x/ME, this test blows up -- it succeeds, but takes
5920 # about 5 minutes as the teststring grows exponentially.
5921 # Worse, since 9x/ME are not pre-emptively multitasking,
5922 # you end up with a "frozen" computer, even though with patience
5923 # the test eventually succeeds (with a max line length of 256k).
5924 # Instead, let's just punt: use the minimum linelength reported by
5925 # all of the supported platforms: 8192 (on NT/2K/XP).
5926 lt_cv_sys_max_cmd_len=8192;
5930 # On MiNT this can take a long time and run out of memory.
5931 lt_cv_sys_max_cmd_len=8192;
5935 # On AmigaOS with pdksh, this test takes hours, literally.
5936 # So we just punt and use a minimum line length of 8192.
5937 lt_cv_sys_max_cmd_len=8192;
5940 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5941 # This has been around since 386BSD, at least. Likely further.
5942 if test -x /sbin/sysctl; then
5943 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5944 elif test -x /usr/sbin/sysctl; then
5945 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5947 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5949 # And add a safety zone
5950 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5951 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5955 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5956 lt_cv_sys_max_cmd_len=196608
5960 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5961 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5962 # nice to cause kernel panics so lets avoid the loop below.
5963 # First set a reasonable default.
5964 lt_cv_sys_max_cmd_len=16384
5966 if test -x /sbin/sysconfig; then
5967 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5968 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5973 lt_cv_sys_max_cmd_len=102400
5975 sysv5* | sco5v6* | sysv4.2uw2*)
5976 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5977 if test -n "$kargmax"; then
5978 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5980 lt_cv_sys_max_cmd_len=32768
5984 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5985 if test -n "$lt_cv_sys_max_cmd_len"; then
5986 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5987 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5989 # Make teststring a little bigger before we do anything with it.
5990 # a 1K string should be a reasonable start.
5991 for i in 1 2 3 4 5 6 7 8 ; do
5992 teststring=$teststring$teststring
5994 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5995 # If test is not a shell built-in, we'll probably end up computing a
5996 # maximum length that is only half of the actual maximum length, but
5998 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5999 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6000 test $i != 17 # 1/2 MB should be enough
6003 teststring=$teststring$teststring
6005 # Only check the string length outside the loop.
6006 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6008 # Add a significant safety factor because C++ compilers can tack on
6009 # massive amounts of additional arguments before passing them to the
6010 # linker. It appears as though 1/2 is a usable value.
6011 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6018 if test -n $lt_cv_sys_max_cmd_len ; then
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6020 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6023 $as_echo "none" >&6; }
6025 max_cmd_len=$lt_cv_sys_max_cmd_len
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6037 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6038 # Try some XSI features
6041 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
6043 && eval 'test $(( 1 + 1 )) -eq 2 \
6044 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6047 $as_echo "$xsi_shell" >&6; }
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6051 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6053 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6055 && lt_shell_append=yes
6056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6057 $as_echo "$lt_shell_append" >&6; }
6060 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6070 # test EBCDIC or ASCII
6071 case `echo X|tr X '\101'` in
6072 A) # ASCII based system
6073 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6074 lt_SP2NL='tr \040 \012'
6075 lt_NL2SP='tr \015\012 \040\040'
6077 *) # EBCDIC based system
6078 lt_SP2NL='tr \100 \n'
6079 lt_NL2SP='tr \r\n \100\100'
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6092 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6093 if ${lt_cv_to_host_file_cmd+:} false; then :
6094 $as_echo_n "(cached) " >&6
6099 *-*-mingw* ) # actually msys
6100 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6103 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6105 * ) # otherwise, assume *nix
6106 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6112 *-*-mingw* ) # actually msys
6113 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6116 lt_cv_to_host_file_cmd=func_convert_file_noop
6118 * ) # otherwise, assume *nix
6119 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6123 * ) # unhandled hosts (and "normal" native builds)
6124 lt_cv_to_host_file_cmd=func_convert_file_noop
6130 to_host_file_cmd=$lt_cv_to_host_file_cmd
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6132 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6139 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6140 if ${lt_cv_to_tool_file_cmd+:} false; then :
6141 $as_echo_n "(cached) " >&6
6143 #assume ordinary cross tools, or native build.
6144 lt_cv_to_tool_file_cmd=func_convert_file_noop
6148 *-*-mingw* ) # actually msys
6149 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6157 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6159 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6166 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6167 if ${lt_cv_ld_reload_flag+:} false; then :
6168 $as_echo_n "(cached) " >&6
6170 lt_cv_ld_reload_flag='-r'
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6173 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6174 reload_flag=$lt_cv_ld_reload_flag
6175 case $reload_flag in
6177 *) reload_flag=" $reload_flag" ;;
6179 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6181 cygwin* | mingw* | pw32* | cegcc*)
6182 if test "$GCC" != yes; then
6187 if test "$GCC" = yes; then
6188 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6190 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6203 if test -n "$ac_tool_prefix"; then
6204 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6205 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6207 $as_echo_n "checking for $ac_word... " >&6; }
6208 if ${ac_cv_prog_OBJDUMP+:} false; then :
6209 $as_echo_n "(cached) " >&6
6211 if test -n "$OBJDUMP"; then
6212 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6218 test -z "$as_dir" && as_dir=.
6219 for ac_exec_ext in '' $ac_executable_extensions; do
6220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6221 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6231 OBJDUMP=$ac_cv_prog_OBJDUMP
6232 if test -n "$OBJDUMP"; then
6233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6234 $as_echo "$OBJDUMP" >&6; }
6236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6237 $as_echo "no" >&6; }
6242 if test -z "$ac_cv_prog_OBJDUMP"; then
6243 ac_ct_OBJDUMP=$OBJDUMP
6244 # Extract the first word of "objdump", so it can be a program name with args.
6245 set dummy objdump; ac_word=$2
6246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6247 $as_echo_n "checking for $ac_word... " >&6; }
6248 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6249 $as_echo_n "(cached) " >&6
6251 if test -n "$ac_ct_OBJDUMP"; then
6252 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6258 test -z "$as_dir" && as_dir=.
6259 for ac_exec_ext in '' $ac_executable_extensions; do
6260 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6261 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6271 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6272 if test -n "$ac_ct_OBJDUMP"; then
6273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6274 $as_echo "$ac_ct_OBJDUMP" >&6; }
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6277 $as_echo "no" >&6; }
6280 if test "x$ac_ct_OBJDUMP" = x; then
6283 case $cross_compiling:$ac_tool_warned in
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6286 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6287 ac_tool_warned=yes ;;
6289 OBJDUMP=$ac_ct_OBJDUMP
6292 OBJDUMP="$ac_cv_prog_OBJDUMP"
6295 test -z "$OBJDUMP" && OBJDUMP=objdump
6305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6306 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6307 if ${lt_cv_deplibs_check_method+:} false; then :
6308 $as_echo_n "(cached) " >&6
6310 lt_cv_file_magic_cmd='$MAGIC_CMD'
6311 lt_cv_file_magic_test_file=
6312 lt_cv_deplibs_check_method='unknown'
6313 # Need to set the preceding variable on all platforms that support
6314 # interlibrary dependencies.
6315 # 'none' -- dependencies not supported.
6316 # `unknown' -- same as none, but documents that we really don't know.
6317 # 'pass_all' -- all dependencies passed with no checks.
6318 # 'test_compile' -- check by making test program.
6319 # 'file_magic [[regex]]' -- check by looking for files in library path
6320 # which responds to the $file_magic_cmd with a given extended regex.
6321 # If you have `file' or equivalent on your system and you're not sure
6322 # whether `pass_all' will *always* work, you probably want this one.
6326 lt_cv_deplibs_check_method=pass_all
6330 lt_cv_deplibs_check_method=pass_all
6334 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6335 lt_cv_file_magic_cmd='/usr/bin/file -L'
6336 lt_cv_file_magic_test_file=/shlib/libc.so
6340 # func_win32_libid is a shell function defined in ltmain.sh
6341 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6342 lt_cv_file_magic_cmd='func_win32_libid'
6346 # Base MSYS/MinGW do not provide the 'file' command needed by
6347 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6348 # unless we find 'file', for example because we are cross-compiling.
6349 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6350 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6351 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6352 lt_cv_file_magic_cmd='func_win32_libid'
6354 # Keep this pattern in sync with the one in func_win32_libid.
6355 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6356 lt_cv_file_magic_cmd='$OBJDUMP -f'
6361 # use the weaker test based on 'objdump'. See mingw*.
6362 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6363 lt_cv_file_magic_cmd='$OBJDUMP -f'
6366 darwin* | rhapsody*)
6367 lt_cv_deplibs_check_method=pass_all
6370 freebsd* | dragonfly*)
6371 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6374 # Not sure whether the presence of OpenBSD here was a mistake.
6375 # Let's accept both of them until this is cleared up.
6376 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6377 lt_cv_file_magic_cmd=/usr/bin/file
6378 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6382 lt_cv_deplibs_check_method=pass_all
6387 lt_cv_deplibs_check_method=pass_all
6391 lt_cv_deplibs_check_method=pass_all
6394 hpux10.20* | hpux11*)
6395 lt_cv_file_magic_cmd=/usr/bin/file
6398 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6399 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6402 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]'
6403 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6406 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6407 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6413 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6414 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6417 irix5* | irix6* | nonstopux*)
6419 *-32|*"-32 ") libmagic=32-bit;;
6420 *-n32|*"-n32 ") libmagic=N32;;
6421 *-64|*"-64 ") libmagic=64-bit;;
6422 *) libmagic=never-match;;
6424 lt_cv_deplibs_check_method=pass_all
6427 # This must be Linux ELF.
6428 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6429 lt_cv_deplibs_check_method=pass_all
6433 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6434 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6436 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6441 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6442 lt_cv_file_magic_cmd=/usr/bin/file
6443 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6447 lt_cv_deplibs_check_method=pass_all
6451 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6452 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6454 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6458 osf3* | osf4* | osf5*)
6459 lt_cv_deplibs_check_method=pass_all
6463 lt_cv_deplibs_check_method=pass_all
6467 lt_cv_deplibs_check_method=pass_all
6470 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6471 lt_cv_deplibs_check_method=pass_all
6475 case $host_vendor in
6477 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]'
6478 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6481 lt_cv_deplibs_check_method=pass_all
6484 lt_cv_file_magic_cmd='/bin/file'
6485 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6488 lt_cv_file_magic_cmd='/bin/file'
6489 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6490 lt_cv_file_magic_test_file=/lib/libc.so
6493 lt_cv_deplibs_check_method=pass_all
6496 lt_cv_deplibs_check_method=pass_all
6502 lt_cv_deplibs_check_method=pass_all
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6508 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6512 if test "$build" = "$host"; then
6515 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6518 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6524 file_magic_cmd=$lt_cv_file_magic_cmd
6525 deplibs_check_method=$lt_cv_deplibs_check_method
6526 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6549 if test -n "$ac_tool_prefix"; then
6550 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6551 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6553 $as_echo_n "checking for $ac_word... " >&6; }
6554 if ${ac_cv_prog_DLLTOOL+:} false; then :
6555 $as_echo_n "(cached) " >&6
6557 if test -n "$DLLTOOL"; then
6558 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6564 test -z "$as_dir" && as_dir=.
6565 for ac_exec_ext in '' $ac_executable_extensions; do
6566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6567 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6577 DLLTOOL=$ac_cv_prog_DLLTOOL
6578 if test -n "$DLLTOOL"; then
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6580 $as_echo "$DLLTOOL" >&6; }
6582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6583 $as_echo "no" >&6; }
6588 if test -z "$ac_cv_prog_DLLTOOL"; then
6589 ac_ct_DLLTOOL=$DLLTOOL
6590 # Extract the first word of "dlltool", so it can be a program name with args.
6591 set dummy dlltool; ac_word=$2
6592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6593 $as_echo_n "checking for $ac_word... " >&6; }
6594 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6595 $as_echo_n "(cached) " >&6
6597 if test -n "$ac_ct_DLLTOOL"; then
6598 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6604 test -z "$as_dir" && as_dir=.
6605 for ac_exec_ext in '' $ac_executable_extensions; do
6606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6607 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6617 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6618 if test -n "$ac_ct_DLLTOOL"; then
6619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6620 $as_echo "$ac_ct_DLLTOOL" >&6; }
6622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6623 $as_echo "no" >&6; }
6626 if test "x$ac_ct_DLLTOOL" = x; then
6629 case $cross_compiling:$ac_tool_warned in
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6632 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6633 ac_tool_warned=yes ;;
6635 DLLTOOL=$ac_ct_DLLTOOL
6638 DLLTOOL="$ac_cv_prog_DLLTOOL"
6641 test -z "$DLLTOOL" && DLLTOOL=dlltool
6652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6653 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6654 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6655 $as_echo_n "(cached) " >&6
6657 lt_cv_sharedlib_from_linklib_cmd='unknown'
6660 cygwin* | mingw* | pw32* | cegcc*)
6661 # two different shell functions defined in ltmain.sh
6662 # decide which to use based on capabilities of $DLLTOOL
6663 case `$DLLTOOL --help 2>&1` in
6664 *--identify-strict*)
6665 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6668 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6673 # fallback: assume linklib IS sharedlib
6674 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6680 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6681 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6682 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6690 if test -n "$ac_tool_prefix"; then
6693 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6694 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6696 $as_echo_n "checking for $ac_word... " >&6; }
6697 if ${ac_cv_prog_AR+:} false; then :
6698 $as_echo_n "(cached) " >&6
6700 if test -n "$AR"; then
6701 ac_cv_prog_AR="$AR" # Let the user override the test.
6703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6707 test -z "$as_dir" && as_dir=.
6708 for ac_exec_ext in '' $ac_executable_extensions; do
6709 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6710 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6721 if test -n "$AR"; then
6722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6723 $as_echo "$AR" >&6; }
6725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6726 $as_echo "no" >&6; }
6730 test -n "$AR" && break
6733 if test -z "$AR"; then
6737 # Extract the first word of "$ac_prog", so it can be a program name with args.
6738 set dummy $ac_prog; ac_word=$2
6739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6740 $as_echo_n "checking for $ac_word... " >&6; }
6741 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6742 $as_echo_n "(cached) " >&6
6744 if test -n "$ac_ct_AR"; then
6745 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6751 test -z "$as_dir" && as_dir=.
6752 for ac_exec_ext in '' $ac_executable_extensions; do
6753 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6754 ac_cv_prog_ac_ct_AR="$ac_prog"
6755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6764 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6765 if test -n "$ac_ct_AR"; then
6766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6767 $as_echo "$ac_ct_AR" >&6; }
6769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6770 $as_echo "no" >&6; }
6774 test -n "$ac_ct_AR" && break
6777 if test "x$ac_ct_AR" = x; then
6780 case $cross_compiling:$ac_tool_warned in
6782 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6783 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6784 ac_tool_warned=yes ;;
6803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6804 $as_echo_n "checking for archiver @FILE support... " >&6; }
6805 if ${lt_cv_ar_at_file+:} false; then :
6806 $as_echo_n "(cached) " >&6
6809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6810 /* end confdefs.h. */
6820 if ac_fn_c_try_compile "$LINENO"; then :
6821 echo conftest.$ac_objext > conftest.lst
6822 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6823 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6824 (eval $lt_ar_try) 2>&5
6826 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6827 test $ac_status = 0; }
6828 if test "$ac_status" -eq 0; then
6829 # Ensure the archiver fails upon bogus file names.
6830 rm -f conftest.$ac_objext libconftest.a
6831 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6832 (eval $lt_ar_try) 2>&5
6834 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6835 test $ac_status = 0; }
6836 if test "$ac_status" -ne 0; then
6840 rm -f conftest.* libconftest.a
6843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6847 $as_echo "$lt_cv_ar_at_file" >&6; }
6849 if test "x$lt_cv_ar_at_file" = xno; then
6852 archiver_list_spec=$lt_cv_ar_at_file
6861 if test -n "$ac_tool_prefix"; then
6862 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6863 set dummy ${ac_tool_prefix}strip; ac_word=$2
6864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6865 $as_echo_n "checking for $ac_word... " >&6; }
6866 if ${ac_cv_prog_STRIP+:} false; then :
6867 $as_echo_n "(cached) " >&6
6869 if test -n "$STRIP"; then
6870 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6876 test -z "$as_dir" && as_dir=.
6877 for ac_exec_ext in '' $ac_executable_extensions; do
6878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6879 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6889 STRIP=$ac_cv_prog_STRIP
6890 if test -n "$STRIP"; then
6891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6892 $as_echo "$STRIP" >&6; }
6894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6895 $as_echo "no" >&6; }
6900 if test -z "$ac_cv_prog_STRIP"; then
6902 # Extract the first word of "strip", so it can be a program name with args.
6903 set dummy strip; ac_word=$2
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6905 $as_echo_n "checking for $ac_word... " >&6; }
6906 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6907 $as_echo_n "(cached) " >&6
6909 if test -n "$ac_ct_STRIP"; then
6910 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6916 test -z "$as_dir" && as_dir=.
6917 for ac_exec_ext in '' $ac_executable_extensions; do
6918 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6919 ac_cv_prog_ac_ct_STRIP="strip"
6920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6929 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6930 if test -n "$ac_ct_STRIP"; then
6931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6932 $as_echo "$ac_ct_STRIP" >&6; }
6934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6935 $as_echo "no" >&6; }
6938 if test "x$ac_ct_STRIP" = x; then
6941 case $cross_compiling:$ac_tool_warned in
6943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6944 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6945 ac_tool_warned=yes ;;
6950 STRIP="$ac_cv_prog_STRIP"
6953 test -z "$STRIP" && STRIP=:
6960 if test -n "$ac_tool_prefix"; then
6961 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6962 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6964 $as_echo_n "checking for $ac_word... " >&6; }
6965 if ${ac_cv_prog_RANLIB+:} false; then :
6966 $as_echo_n "(cached) " >&6
6968 if test -n "$RANLIB"; then
6969 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6975 test -z "$as_dir" && as_dir=.
6976 for ac_exec_ext in '' $ac_executable_extensions; do
6977 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6978 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6988 RANLIB=$ac_cv_prog_RANLIB
6989 if test -n "$RANLIB"; then
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6991 $as_echo "$RANLIB" >&6; }
6993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6994 $as_echo "no" >&6; }
6999 if test -z "$ac_cv_prog_RANLIB"; then
7000 ac_ct_RANLIB=$RANLIB
7001 # Extract the first word of "ranlib", so it can be a program name with args.
7002 set dummy ranlib; ac_word=$2
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7004 $as_echo_n "checking for $ac_word... " >&6; }
7005 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7006 $as_echo_n "(cached) " >&6
7008 if test -n "$ac_ct_RANLIB"; then
7009 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7015 test -z "$as_dir" && as_dir=.
7016 for ac_exec_ext in '' $ac_executable_extensions; do
7017 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7018 ac_cv_prog_ac_ct_RANLIB="ranlib"
7019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7028 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7029 if test -n "$ac_ct_RANLIB"; then
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7031 $as_echo "$ac_ct_RANLIB" >&6; }
7033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7034 $as_echo "no" >&6; }
7037 if test "x$ac_ct_RANLIB" = x; then
7040 case $cross_compiling:$ac_tool_warned in
7042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7043 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7044 ac_tool_warned=yes ;;
7046 RANLIB=$ac_ct_RANLIB
7049 RANLIB="$ac_cv_prog_RANLIB"
7052 test -z "$RANLIB" && RANLIB=:
7059 # Determine commands to create old-style static archives.
7060 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7061 old_postinstall_cmds='chmod 644 $oldlib'
7062 old_postuninstall_cmds=
7064 if test -n "$RANLIB"; then
7067 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7070 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7073 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7078 lock_old_archive_extraction=yes ;;
7080 lock_old_archive_extraction=no ;;
7121 # If no C compiler was specified, use CC.
7124 # If no C compiler flags were specified, use CFLAGS.
7125 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7127 # Allow CC to be a program name with arguments.
7131 # Check for command to grab the raw symbol name followed by C symbol from nm.
7132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7133 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7134 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7135 $as_echo_n "(cached) " >&6
7138 # These are sane defaults that work on at least a few old systems.
7139 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7141 # Character class describing NM global symbol codes.
7142 symcode='[BCDEGRST]'
7144 # Regexp to match symbols that can be accessed directly from C.
7145 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7147 # Define system-specific variables.
7152 cygwin* | mingw* | pw32* | cegcc*)
7153 symcode='[ABCDGISTW]'
7156 if test "$host_cpu" = ia64; then
7157 symcode='[ABCDEGRST]'
7161 symcode='[BCDEGRST]'
7164 symcode='[BCDEGQRST]'
7175 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7183 # If we're using GNU nm, then use its standard symbol codes.
7184 case `$NM -V 2>&1` in
7185 *GNU* | *'with BFD'*)
7186 symcode='[ABCDGIRSTW]' ;;
7189 # Transform an extracted symbol line into a proper C declaration.
7190 # Some systems (esp. on ia64) link data and code symbols differently,
7191 # so use this general approach.
7192 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7194 # Transform an extracted symbol line into symbol name and symbol address
7195 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7196 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'"
7198 # Handle CRLF in mingw tool chain
7202 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7206 # Try without a prefix underscore, then with it.
7207 for ac_symprfx in "" "_"; do
7209 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7210 symxfrm="\\1 $ac_symprfx\\2 \\2"
7212 # Write the raw and C identifiers.
7213 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7214 # Fake it for dumpbin and say T for any non-static function
7215 # and D for any global variable.
7216 # Also find C++ and __fastcall symbols from MSVC++,
7217 # which start with @ or ?.
7218 lt_cv_sys_global_symbol_pipe="$AWK '"\
7219 " {last_section=section; section=\$ 3};"\
7220 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7221 " \$ 0!~/External *\|/{next};"\
7222 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7223 " {if(hide[section]) next};"\
7224 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7225 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7226 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7227 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7228 " ' prfx=^$ac_symprfx"
7230 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7232 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7234 # Check to see that the pipe works correctly.
7238 cat > conftest.$ac_ext <<_LT_EOF
7243 void nm_test_func(void);
7244 void nm_test_func(void){}
7248 int main(){nm_test_var='a';nm_test_func();return(0);}
7251 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7252 (eval $ac_compile) 2>&5
7254 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7255 test $ac_status = 0; }; then
7256 # Now try to grab the symbols.
7258 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7259 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7261 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7262 test $ac_status = 0; } && test -s "$nlist"; then
7263 # Try sorting and uniquifying the output.
7264 if sort "$nlist" | uniq > "$nlist"T; then
7265 mv -f "$nlist"T "$nlist"
7270 # Make sure that we snagged all the symbols we need.
7271 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7272 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7273 cat <<_LT_EOF > conftest.$ac_ext
7274 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7275 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7276 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7277 relocations are performed -- see ld's documentation on pseudo-relocs. */
7278 # define LT_DLSYM_CONST
7279 #elif defined(__osf__)
7280 /* This system does not cope well with relocations in const data. */
7281 # define LT_DLSYM_CONST
7283 # define LT_DLSYM_CONST const
7291 # Now generate the symbol file.
7292 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7294 cat <<_LT_EOF >> conftest.$ac_ext
7296 /* The mapping between symbol names and symbols. */
7297 LT_DLSYM_CONST struct {
7301 lt__PROGRAM__LTX_preloaded_symbols[] =
7303 { "@PROGRAM@", (void *) 0 },
7305 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7306 cat <<\_LT_EOF >> conftest.$ac_ext
7310 /* This works around a problem in FreeBSD linker */
7311 #ifdef FREEBSD_WORKAROUND
7312 static const void *lt_preloaded_setup() {
7313 return lt__PROGRAM__LTX_preloaded_symbols;
7321 # Now try linking the two files.
7322 mv conftest.$ac_objext conftstm.$ac_objext
7323 lt_globsym_save_LIBS=$LIBS
7324 lt_globsym_save_CFLAGS=$CFLAGS
7325 LIBS="conftstm.$ac_objext"
7326 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7327 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7328 (eval $ac_link) 2>&5
7330 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7331 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7334 LIBS=$lt_globsym_save_LIBS
7335 CFLAGS=$lt_globsym_save_CFLAGS
7337 echo "cannot find nm_test_func in $nlist" >&5
7340 echo "cannot find nm_test_var in $nlist" >&5
7343 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7346 echo "$progname: failed program was:" >&5
7347 cat conftest.$ac_ext >&5
7349 rm -rf conftest* conftst*
7351 # Do not use the global_symbol_pipe unless it works.
7352 if test "$pipe_works" = yes; then
7355 lt_cv_sys_global_symbol_pipe=
7361 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7362 lt_cv_sys_global_symbol_to_cdecl=
7364 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7366 $as_echo "failed" >&6; }
7368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7369 $as_echo "ok" >&6; }
7372 # Response file support.
7373 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7374 nm_file_list_spec='@'
7375 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7376 nm_file_list_spec='@'
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7406 $as_echo_n "checking for sysroot... " >&6; }
7408 # Check whether --with-sysroot was given.
7409 if test "${with_sysroot+set}" = set; then :
7410 withval=$with_sysroot;
7417 case ${with_sysroot} in #(
7419 if test "$GCC" = yes; then
7420 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7424 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7430 $as_echo "${with_sysroot}" >&6; }
7431 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7436 $as_echo "${lt_sysroot:-no}" >&6; }
7442 # Check whether --enable-libtool-lock was given.
7443 if test "${enable_libtool_lock+set}" = set; then :
7444 enableval=$enable_libtool_lock;
7447 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7449 # Some flags need to be propagated to the compiler or linker for good
7453 # Find out which ABI we are using.
7454 echo 'int i;' > conftest.$ac_ext
7455 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7456 (eval $ac_compile) 2>&5
7458 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7459 test $ac_status = 0; }; then
7460 case `/usr/bin/file conftest.$ac_objext` in
7472 # Find out which ABI we are using.
7473 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7474 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7475 (eval $ac_compile) 2>&5
7477 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7478 test $ac_status = 0; }; then
7479 if test "$lt_cv_prog_gnu_ld" = yes; then
7480 case `/usr/bin/file conftest.$ac_objext` in
7482 LD="${LD-ld} -melf32bsmip"
7485 LD="${LD-ld} -melf32bmipn32"
7488 LD="${LD-ld} -melf64bmip"
7492 case `/usr/bin/file conftest.$ac_objext` in
7508 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7509 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7510 # Find out which ABI we are using.
7511 echo 'int i;' > conftest.$ac_ext
7512 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7513 (eval $ac_compile) 2>&5
7515 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7516 test $ac_status = 0; }; then
7517 case `/usr/bin/file conftest.o` in
7520 x86_64-*kfreebsd*-gnu)
7521 LD="${LD-ld} -m elf_i386_fbsd"
7524 LD="${LD-ld} -m elf_i386"
7526 ppc64-*linux*|powerpc64-*linux*)
7527 LD="${LD-ld} -m elf32ppclinux"
7530 LD="${LD-ld} -m elf_s390"
7533 LD="${LD-ld} -m elf32_sparc"
7539 x86_64-*kfreebsd*-gnu)
7540 LD="${LD-ld} -m elf_x86_64_fbsd"
7543 LD="${LD-ld} -m elf_x86_64"
7545 ppc*-*linux*|powerpc*-*linux*)
7546 LD="${LD-ld} -m elf64ppc"
7548 s390*-*linux*|s390*-*tpf*)
7549 LD="${LD-ld} -m elf64_s390"
7552 LD="${LD-ld} -m elf64_sparc"
7562 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7563 SAVE_CFLAGS="$CFLAGS"
7564 CFLAGS="$CFLAGS -belf"
7565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7566 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7567 if ${lt_cv_cc_needs_belf+:} false; then :
7568 $as_echo_n "(cached) " >&6
7571 ac_cpp='$CPP $CPPFLAGS'
7572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7577 /* end confdefs.h. */
7587 if ac_fn_c_try_link "$LINENO"; then :
7588 lt_cv_cc_needs_belf=yes
7590 lt_cv_cc_needs_belf=no
7592 rm -f core conftest.err conftest.$ac_objext \
7593 conftest$ac_exeext conftest.$ac_ext
7595 ac_cpp='$CPP $CPPFLAGS'
7596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7602 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7603 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7604 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7605 CFLAGS="$SAVE_CFLAGS"
7609 # Find out which ABI we are using.
7610 echo 'int i;' > conftest.$ac_ext
7611 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7612 (eval $ac_compile) 2>&5
7614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7615 test $ac_status = 0; }; then
7616 case `/usr/bin/file conftest.o` in
7618 case $lt_cv_prog_gnu_ld in
7619 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7621 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7633 need_locks="$enable_libtool_lock"
7635 if test -n "$ac_tool_prefix"; then
7636 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7637 set dummy ${ac_tool_prefix}mt; ac_word=$2
7638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7639 $as_echo_n "checking for $ac_word... " >&6; }
7640 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7641 $as_echo_n "(cached) " >&6
7643 if test -n "$MANIFEST_TOOL"; then
7644 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7650 test -z "$as_dir" && as_dir=.
7651 for ac_exec_ext in '' $ac_executable_extensions; do
7652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7653 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7663 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7664 if test -n "$MANIFEST_TOOL"; then
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7666 $as_echo "$MANIFEST_TOOL" >&6; }
7668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7669 $as_echo "no" >&6; }
7674 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7675 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7676 # Extract the first word of "mt", so it can be a program name with args.
7677 set dummy mt; ac_word=$2
7678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7679 $as_echo_n "checking for $ac_word... " >&6; }
7680 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7681 $as_echo_n "(cached) " >&6
7683 if test -n "$ac_ct_MANIFEST_TOOL"; then
7684 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7690 test -z "$as_dir" && as_dir=.
7691 for ac_exec_ext in '' $ac_executable_extensions; do
7692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7693 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7703 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7704 if test -n "$ac_ct_MANIFEST_TOOL"; then
7705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7706 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7709 $as_echo "no" >&6; }
7712 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7715 case $cross_compiling:$ac_tool_warned in
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7718 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7719 ac_tool_warned=yes ;;
7721 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7724 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7727 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7729 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7730 if ${lt_cv_path_mainfest_tool+:} false; then :
7731 $as_echo_n "(cached) " >&6
7733 lt_cv_path_mainfest_tool=no
7734 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7735 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7736 cat conftest.err >&5
7737 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7738 lt_cv_path_mainfest_tool=yes
7742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7743 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7744 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7754 rhapsody* | darwin*)
7755 if test -n "$ac_tool_prefix"; then
7756 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7757 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7759 $as_echo_n "checking for $ac_word... " >&6; }
7760 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7761 $as_echo_n "(cached) " >&6
7763 if test -n "$DSYMUTIL"; then
7764 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7770 test -z "$as_dir" && as_dir=.
7771 for ac_exec_ext in '' $ac_executable_extensions; do
7772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7773 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7783 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7784 if test -n "$DSYMUTIL"; then
7785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7786 $as_echo "$DSYMUTIL" >&6; }
7788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7789 $as_echo "no" >&6; }
7794 if test -z "$ac_cv_prog_DSYMUTIL"; then
7795 ac_ct_DSYMUTIL=$DSYMUTIL
7796 # Extract the first word of "dsymutil", so it can be a program name with args.
7797 set dummy dsymutil; ac_word=$2
7798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7799 $as_echo_n "checking for $ac_word... " >&6; }
7800 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7801 $as_echo_n "(cached) " >&6
7803 if test -n "$ac_ct_DSYMUTIL"; then
7804 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7810 test -z "$as_dir" && as_dir=.
7811 for ac_exec_ext in '' $ac_executable_extensions; do
7812 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7813 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7814 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7823 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7824 if test -n "$ac_ct_DSYMUTIL"; then
7825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7826 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7829 $as_echo "no" >&6; }
7832 if test "x$ac_ct_DSYMUTIL" = x; then
7835 case $cross_compiling:$ac_tool_warned in
7837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7838 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7839 ac_tool_warned=yes ;;
7841 DSYMUTIL=$ac_ct_DSYMUTIL
7844 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7847 if test -n "$ac_tool_prefix"; then
7848 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7849 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7851 $as_echo_n "checking for $ac_word... " >&6; }
7852 if ${ac_cv_prog_NMEDIT+:} false; then :
7853 $as_echo_n "(cached) " >&6
7855 if test -n "$NMEDIT"; then
7856 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7862 test -z "$as_dir" && as_dir=.
7863 for ac_exec_ext in '' $ac_executable_extensions; do
7864 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7865 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7866 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7875 NMEDIT=$ac_cv_prog_NMEDIT
7876 if test -n "$NMEDIT"; then
7877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7878 $as_echo "$NMEDIT" >&6; }
7880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7881 $as_echo "no" >&6; }
7886 if test -z "$ac_cv_prog_NMEDIT"; then
7887 ac_ct_NMEDIT=$NMEDIT
7888 # Extract the first word of "nmedit", so it can be a program name with args.
7889 set dummy nmedit; ac_word=$2
7890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7891 $as_echo_n "checking for $ac_word... " >&6; }
7892 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7893 $as_echo_n "(cached) " >&6
7895 if test -n "$ac_ct_NMEDIT"; then
7896 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7902 test -z "$as_dir" && as_dir=.
7903 for ac_exec_ext in '' $ac_executable_extensions; do
7904 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7905 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7915 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7916 if test -n "$ac_ct_NMEDIT"; then
7917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7918 $as_echo "$ac_ct_NMEDIT" >&6; }
7920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7921 $as_echo "no" >&6; }
7924 if test "x$ac_ct_NMEDIT" = x; then
7927 case $cross_compiling:$ac_tool_warned in
7929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7930 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7931 ac_tool_warned=yes ;;
7933 NMEDIT=$ac_ct_NMEDIT
7936 NMEDIT="$ac_cv_prog_NMEDIT"
7939 if test -n "$ac_tool_prefix"; then
7940 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7941 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7943 $as_echo_n "checking for $ac_word... " >&6; }
7944 if ${ac_cv_prog_LIPO+:} false; then :
7945 $as_echo_n "(cached) " >&6
7947 if test -n "$LIPO"; then
7948 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7954 test -z "$as_dir" && as_dir=.
7955 for ac_exec_ext in '' $ac_executable_extensions; do
7956 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7957 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7958 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7967 LIPO=$ac_cv_prog_LIPO
7968 if test -n "$LIPO"; then
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7970 $as_echo "$LIPO" >&6; }
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7973 $as_echo "no" >&6; }
7978 if test -z "$ac_cv_prog_LIPO"; then
7980 # Extract the first word of "lipo", so it can be a program name with args.
7981 set dummy lipo; ac_word=$2
7982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7983 $as_echo_n "checking for $ac_word... " >&6; }
7984 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7985 $as_echo_n "(cached) " >&6
7987 if test -n "$ac_ct_LIPO"; then
7988 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7994 test -z "$as_dir" && as_dir=.
7995 for ac_exec_ext in '' $ac_executable_extensions; do
7996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7997 ac_cv_prog_ac_ct_LIPO="lipo"
7998 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8007 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8008 if test -n "$ac_ct_LIPO"; then
8009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8010 $as_echo "$ac_ct_LIPO" >&6; }
8012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8013 $as_echo "no" >&6; }
8016 if test "x$ac_ct_LIPO" = x; then
8019 case $cross_compiling:$ac_tool_warned in
8021 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8022 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8023 ac_tool_warned=yes ;;
8028 LIPO="$ac_cv_prog_LIPO"
8031 if test -n "$ac_tool_prefix"; then
8032 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8033 set dummy ${ac_tool_prefix}otool; ac_word=$2
8034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8035 $as_echo_n "checking for $ac_word... " >&6; }
8036 if ${ac_cv_prog_OTOOL+:} false; then :
8037 $as_echo_n "(cached) " >&6
8039 if test -n "$OTOOL"; then
8040 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8046 test -z "$as_dir" && as_dir=.
8047 for ac_exec_ext in '' $ac_executable_extensions; do
8048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8049 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8059 OTOOL=$ac_cv_prog_OTOOL
8060 if test -n "$OTOOL"; then
8061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8062 $as_echo "$OTOOL" >&6; }
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8065 $as_echo "no" >&6; }
8070 if test -z "$ac_cv_prog_OTOOL"; then
8072 # Extract the first word of "otool", so it can be a program name with args.
8073 set dummy otool; ac_word=$2
8074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8075 $as_echo_n "checking for $ac_word... " >&6; }
8076 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8077 $as_echo_n "(cached) " >&6
8079 if test -n "$ac_ct_OTOOL"; then
8080 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8086 test -z "$as_dir" && as_dir=.
8087 for ac_exec_ext in '' $ac_executable_extensions; do
8088 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8089 ac_cv_prog_ac_ct_OTOOL="otool"
8090 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8099 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8100 if test -n "$ac_ct_OTOOL"; then
8101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8102 $as_echo "$ac_ct_OTOOL" >&6; }
8104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8105 $as_echo "no" >&6; }
8108 if test "x$ac_ct_OTOOL" = x; then
8111 case $cross_compiling:$ac_tool_warned in
8113 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8114 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8115 ac_tool_warned=yes ;;
8120 OTOOL="$ac_cv_prog_OTOOL"
8123 if test -n "$ac_tool_prefix"; then
8124 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8125 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8127 $as_echo_n "checking for $ac_word... " >&6; }
8128 if ${ac_cv_prog_OTOOL64+:} false; then :
8129 $as_echo_n "(cached) " >&6
8131 if test -n "$OTOOL64"; then
8132 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8138 test -z "$as_dir" && as_dir=.
8139 for ac_exec_ext in '' $ac_executable_extensions; do
8140 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8141 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8151 OTOOL64=$ac_cv_prog_OTOOL64
8152 if test -n "$OTOOL64"; then
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8154 $as_echo "$OTOOL64" >&6; }
8156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8157 $as_echo "no" >&6; }
8162 if test -z "$ac_cv_prog_OTOOL64"; then
8163 ac_ct_OTOOL64=$OTOOL64
8164 # Extract the first word of "otool64", so it can be a program name with args.
8165 set dummy otool64; ac_word=$2
8166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8167 $as_echo_n "checking for $ac_word... " >&6; }
8168 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8169 $as_echo_n "(cached) " >&6
8171 if test -n "$ac_ct_OTOOL64"; then
8172 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8178 test -z "$as_dir" && as_dir=.
8179 for ac_exec_ext in '' $ac_executable_extensions; do
8180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8181 ac_cv_prog_ac_ct_OTOOL64="otool64"
8182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8191 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8192 if test -n "$ac_ct_OTOOL64"; then
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8194 $as_echo "$ac_ct_OTOOL64" >&6; }
8196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8197 $as_echo "no" >&6; }
8200 if test "x$ac_ct_OTOOL64" = x; then
8203 case $cross_compiling:$ac_tool_warned in
8205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8206 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8207 ac_tool_warned=yes ;;
8209 OTOOL64=$ac_ct_OTOOL64
8212 OTOOL64="$ac_cv_prog_OTOOL64"
8241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8242 $as_echo_n "checking for -single_module linker flag... " >&6; }
8243 if ${lt_cv_apple_cc_single_mod+:} false; then :
8244 $as_echo_n "(cached) " >&6
8246 lt_cv_apple_cc_single_mod=no
8247 if test -z "${LT_MULTI_MODULE}"; then
8248 # By default we will add the -single_module flag. You can override
8249 # by either setting the environment variable LT_MULTI_MODULE
8250 # non-empty at configure time, or by adding -multi_module to the
8252 rm -rf libconftest.dylib*
8253 echo "int foo(void){return 1;}" > conftest.c
8254 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8255 -dynamiclib -Wl,-single_module conftest.c" >&5
8256 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8257 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8259 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8260 lt_cv_apple_cc_single_mod=yes
8262 cat conftest.err >&5
8264 rm -rf libconftest.dylib*
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8269 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8271 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8272 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8273 $as_echo_n "(cached) " >&6
8275 lt_cv_ld_exported_symbols_list=no
8276 save_LDFLAGS=$LDFLAGS
8277 echo "_main" > conftest.sym
8278 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8280 /* end confdefs.h. */
8290 if ac_fn_c_try_link "$LINENO"; then :
8291 lt_cv_ld_exported_symbols_list=yes
8293 lt_cv_ld_exported_symbols_list=no
8295 rm -f core conftest.err conftest.$ac_objext \
8296 conftest$ac_exeext conftest.$ac_ext
8297 LDFLAGS="$save_LDFLAGS"
8300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8301 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8303 $as_echo_n "checking for -force_load linker flag... " >&6; }
8304 if ${lt_cv_ld_force_load+:} false; then :
8305 $as_echo_n "(cached) " >&6
8307 lt_cv_ld_force_load=no
8308 cat > conftest.c << _LT_EOF
8309 int forced_loaded() { return 2;}
8311 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8312 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8313 echo "$AR cru libconftest.a conftest.o" >&5
8314 $AR cru libconftest.a conftest.o 2>&5
8315 echo "$RANLIB libconftest.a" >&5
8316 $RANLIB libconftest.a 2>&5
8317 cat > conftest.c << _LT_EOF
8318 int main() { return 0;}
8320 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8321 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8323 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8324 lt_cv_ld_force_load=yes
8326 cat conftest.err >&5
8328 rm -f conftest.err libconftest.a conftest conftest.c
8329 rm -rf conftest.dSYM
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8333 $as_echo "$lt_cv_ld_force_load" >&6; }
8335 rhapsody* | darwin1.[012])
8336 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8338 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8339 darwin*) # darwin 5.x on
8340 # if running on 10.5 or later, the deployment target defaults
8341 # to the OS version, if on x86, and 10.4, the deployment
8342 # target defaults to 10.4. Don't you love it?
8343 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8344 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8345 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8347 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8349 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8353 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8354 _lt_dar_single_mod='$single_module'
8356 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8357 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8359 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8361 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8362 _lt_dsymutil='~$DSYMUTIL $lib || :'
8369 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8370 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8371 inttypes.h stdint.h unistd.h
8373 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8374 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8376 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8377 cat >>confdefs.h <<_ACEOF
8378 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8386 for ac_header in dlfcn.h
8388 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8390 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8391 cat >>confdefs.h <<_ACEOF
8392 #define HAVE_DLFCN_H 1
8402 func_stripname_cnf ()
8405 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
8406 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
8408 } # func_stripname_cnf
8424 # Check whether --enable-shared was given.
8425 if test "${enable_shared+set}" = set; then :
8426 enableval=$enable_shared; p=${PACKAGE-default}
8428 yes) enable_shared=yes ;;
8429 no) enable_shared=no ;;
8432 # Look at the argument we got. We use all the common list separators.
8433 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8434 for pkg in $enableval; do
8436 if test "X$pkg" = "X$p"; then
8455 # Check whether --enable-static was given.
8456 if test "${enable_static+set}" = set; then :
8457 enableval=$enable_static; p=${PACKAGE-default}
8459 yes) enable_static=yes ;;
8460 no) enable_static=no ;;
8463 # Look at the argument we got. We use all the common list separators.
8464 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8465 for pkg in $enableval; do
8467 if test "X$pkg" = "X$p"; then
8487 # Check whether --with-pic was given.
8488 if test "${with_pic+set}" = set; then :
8489 withval=$with_pic; pic_mode="$withval"
8495 test -z "$pic_mode" && pic_mode=default
8503 # Check whether --enable-fast-install was given.
8504 if test "${enable_fast_install+set}" = set; then :
8505 enableval=$enable_fast_install; p=${PACKAGE-default}
8507 yes) enable_fast_install=yes ;;
8508 no) enable_fast_install=no ;;
8510 enable_fast_install=no
8511 # Look at the argument we got. We use all the common list separators.
8512 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8513 for pkg in $enableval; do
8515 if test "X$pkg" = "X$p"; then
8516 enable_fast_install=yes
8523 enable_fast_install=yes
8536 # This can be used to rebuild libtool when needed
8537 LIBTOOL_DEPS="$ltmain"
8539 # Always use our own libtool.
8540 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8567 test -z "$LN_S" && LN_S="ln -s"
8582 if test -n "${ZSH_VERSION+set}" ; then
8583 setopt NO_GLOB_SUBST
8586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8587 $as_echo_n "checking for objdir... " >&6; }
8588 if ${lt_cv_objdir+:} false; then :
8589 $as_echo_n "(cached) " >&6
8591 rm -f .libs 2>/dev/null
8592 mkdir .libs 2>/dev/null
8593 if test -d .libs; then
8596 # MS-DOS does not allow filenames that begin with a dot.
8599 rmdir .libs 2>/dev/null
8601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8602 $as_echo "$lt_cv_objdir" >&6; }
8603 objdir=$lt_cv_objdir
8609 cat >>confdefs.h <<_ACEOF
8610 #define LT_OBJDIR "$lt_cv_objdir/"
8618 # AIX sometimes has problems with the GCC collect2 program. For some
8619 # reason, if we set the COLLECT_NAMES environment variable, the problems
8620 # vanish in a puff of smoke.
8621 if test "X${COLLECT_NAMES+set}" != Xset; then
8623 export COLLECT_NAMES
8630 can_build_shared=yes
8632 # All known linkers require a `.a' archive for static linking (except MSVC,
8633 # which needs '.lib').
8636 with_gnu_ld="$lt_cv_prog_gnu_ld"
8639 old_CFLAGS="$CFLAGS"
8641 # Set sane defaults for various variables
8642 test -z "$CC" && CC=cc
8643 test -z "$LTCC" && LTCC=$CC
8644 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8645 test -z "$LD" && LD=ld
8646 test -z "$ac_objext" && ac_objext=o
8648 for cc_temp in $compiler""; do
8650 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8651 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8656 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8659 # Only perform the check for file, if the check method requires it
8660 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8661 case $deplibs_check_method in
8663 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8665 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8666 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8667 $as_echo_n "(cached) " >&6
8671 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8674 lt_save_MAGIC_CMD="$MAGIC_CMD"
8675 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8676 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8677 for ac_dir in $ac_dummy; do
8679 test -z "$ac_dir" && ac_dir=.
8680 if test -f $ac_dir/${ac_tool_prefix}file; then
8681 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8682 if test -n "$file_magic_test_file"; then
8683 case $deplibs_check_method in
8685 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8686 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8687 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8688 $EGREP "$file_magic_regex" > /dev/null; then
8693 *** Warning: the command libtool uses to detect shared libraries,
8694 *** $file_magic_cmd, produces output that libtool cannot recognize.
8695 *** The result is that libtool may fail to recognize shared libraries
8696 *** as such. This will affect the creation of libtool libraries that
8697 *** depend on shared libraries, but programs linked with such libtool
8698 *** libraries will work regardless of this problem. Nevertheless, you
8699 *** may want to report the problem to your system manager and/or to
8700 *** bug-libtool@gnu.org
8710 MAGIC_CMD="$lt_save_MAGIC_CMD"
8715 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8716 if test -n "$MAGIC_CMD"; then
8717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8718 $as_echo "$MAGIC_CMD" >&6; }
8720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8721 $as_echo "no" >&6; }
8728 if test -z "$lt_cv_path_MAGIC_CMD"; then
8729 if test -n "$ac_tool_prefix"; then
8730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8731 $as_echo_n "checking for file... " >&6; }
8732 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8733 $as_echo_n "(cached) " >&6
8737 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8740 lt_save_MAGIC_CMD="$MAGIC_CMD"
8741 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8742 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8743 for ac_dir in $ac_dummy; do
8745 test -z "$ac_dir" && ac_dir=.
8746 if test -f $ac_dir/file; then
8747 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8748 if test -n "$file_magic_test_file"; then
8749 case $deplibs_check_method in
8751 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8752 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8753 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8754 $EGREP "$file_magic_regex" > /dev/null; then
8759 *** Warning: the command libtool uses to detect shared libraries,
8760 *** $file_magic_cmd, produces output that libtool cannot recognize.
8761 *** The result is that libtool may fail to recognize shared libraries
8762 *** as such. This will affect the creation of libtool libraries that
8763 *** depend on shared libraries, but programs linked with such libtool
8764 *** libraries will work regardless of this problem. Nevertheless, you
8765 *** may want to report the problem to your system manager and/or to
8766 *** bug-libtool@gnu.org
8776 MAGIC_CMD="$lt_save_MAGIC_CMD"
8781 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8782 if test -n "$MAGIC_CMD"; then
8783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8784 $as_echo "$MAGIC_CMD" >&6; }
8786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8787 $as_echo "no" >&6; }
8800 # Use C for the default configuration in the libtool script
8804 ac_cpp='$CPP $CPPFLAGS'
8805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8810 # Source file extension for C test sources.
8813 # Object file extension for compiled C test sources.
8817 # Code to be used in simple compile tests
8818 lt_simple_compile_test_code="int some_variable = 0;"
8820 # Code to be used in simple link tests
8821 lt_simple_link_test_code='int main(){return(0);}'
8829 # If no C compiler was specified, use CC.
8832 # If no C compiler flags were specified, use CFLAGS.
8833 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8835 # Allow CC to be a program name with arguments.
8838 # Save the default compiler, since it gets overwritten when the other
8839 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8840 compiler_DEFAULT=$CC
8842 # save warnings/boilerplate of simple test code
8843 ac_outfile=conftest.$ac_objext
8844 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8845 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8846 _lt_compiler_boilerplate=`cat conftest.err`
8849 ac_outfile=conftest.$ac_objext
8850 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8851 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8852 _lt_linker_boilerplate=`cat conftest.err`
8857 ## There is no encapsulation within the following macros, do not change
8858 ## the running order or otherwise move them around unless you know exactly
8859 ## what you are doing...
8860 if test -n "$compiler"; then
8862 lt_prog_compiler_no_builtin_flag=
8864 if test "$GCC" = yes; then
8865 case $cc_basename in
8867 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8869 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8873 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8874 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8875 $as_echo_n "(cached) " >&6
8877 lt_cv_prog_compiler_rtti_exceptions=no
8878 ac_outfile=conftest.$ac_objext
8879 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8880 lt_compiler_flag="-fno-rtti -fno-exceptions"
8881 # Insert the option either (1) after the last *FLAGS variable, or
8882 # (2) before a word containing "conftest.", or (3) at the end.
8883 # Note that $ac_compile itself does not contain backslashes and begins
8884 # with a dollar sign (not a hyphen), so the echo should work correctly.
8885 # The option is referenced via a variable to avoid confusing sed.
8886 lt_compile=`echo "$ac_compile" | $SED \
8887 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8888 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8889 -e 's:$: $lt_compiler_flag:'`
8890 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8891 (eval "$lt_compile" 2>conftest.err)
8893 cat conftest.err >&5
8894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8895 if (exit $ac_status) && test -s "$ac_outfile"; then
8896 # The compiler can only warn and ignore the option if not recognized
8897 # So say no if there are warnings other than the usual output.
8898 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8899 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8900 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8901 lt_cv_prog_compiler_rtti_exceptions=yes
8907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8908 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8910 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8911 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8923 lt_prog_compiler_wl=
8924 lt_prog_compiler_pic=
8925 lt_prog_compiler_static=
8928 if test "$GCC" = yes; then
8929 lt_prog_compiler_wl='-Wl,'
8930 lt_prog_compiler_static='-static'
8934 # All AIX code is PIC.
8935 if test "$host_cpu" = ia64; then
8936 # AIX 5 now supports IA64 processor
8937 lt_prog_compiler_static='-Bstatic'
8944 # see comment about AmigaOS4 .so support
8945 lt_prog_compiler_pic='-fPIC'
8948 # FIXME: we need at least 68020 code to build shared libraries, but
8949 # adding the `-m68020' flag to GCC prevents building anything better,
8951 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8956 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8957 # PIC is the default for these OSes.
8960 mingw* | cygwin* | pw32* | os2* | cegcc*)
8961 # This hack is so that the source file can tell whether it is being
8962 # built for inclusion in a dll (and should export symbols for example).
8963 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8964 # (--disable-auto-import) libraries
8965 lt_prog_compiler_pic='-DDLL_EXPORT'
8968 darwin* | rhapsody*)
8969 # PIC is the default on this platform
8970 # Common symbols not allowed in MH_DYLIB files
8971 lt_prog_compiler_pic='-fno-common'
8975 # PIC is the default for Haiku.
8976 # The "-static" flag exists, but is broken.
8977 lt_prog_compiler_static=
8981 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8982 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8983 # sets the default TLS model and affects inlining.
8989 lt_prog_compiler_pic='-fPIC'
8995 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8996 # Instead, we relocate shared libraries at runtime.
9000 # Just because we use GCC doesn't mean we suddenly get shared libraries
9001 # on systems that don't support them.
9002 lt_prog_compiler_can_build_shared=no
9007 # QNX uses GNU C++, but need to define -shared option too, otherwise
9009 lt_prog_compiler_pic='-fPIC -shared'
9013 if test -d /usr/nec; then
9014 lt_prog_compiler_pic=-Kconform_pic
9019 lt_prog_compiler_pic='-fPIC'
9023 case $cc_basename in
9024 nvcc*) # Cuda Compiler Driver 2.2
9025 lt_prog_compiler_wl='-Xlinker '
9026 lt_prog_compiler_pic='-Xcompiler -fPIC'
9030 # PORTME Check for flag to pass linker flags through the system compiler.
9033 lt_prog_compiler_wl='-Wl,'
9034 if test "$host_cpu" = ia64; then
9035 # AIX 5 now supports IA64 processor
9036 lt_prog_compiler_static='-Bstatic'
9038 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9042 mingw* | cygwin* | pw32* | os2* | cegcc*)
9043 # This hack is so that the source file can tell whether it is being
9044 # built for inclusion in a dll (and should export symbols for example).
9045 lt_prog_compiler_pic='-DDLL_EXPORT'
9048 hpux9* | hpux10* | hpux11*)
9049 lt_prog_compiler_wl='-Wl,'
9050 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9057 lt_prog_compiler_pic='+Z'
9060 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9061 lt_prog_compiler_static='${wl}-a ${wl}archive'
9064 irix5* | irix6* | nonstopux*)
9065 lt_prog_compiler_wl='-Wl,'
9066 # PIC (with -KPIC) is the default.
9067 lt_prog_compiler_static='-non_shared'
9070 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9071 case $cc_basename in
9072 # old Intel for x86_64 which still supported -KPIC.
9074 lt_prog_compiler_wl='-Wl,'
9075 lt_prog_compiler_pic='-KPIC'
9076 lt_prog_compiler_static='-static'
9078 # icc used to be incompatible with GCC.
9079 # ICC 10 doesn't accept -KPIC any more.
9081 lt_prog_compiler_wl='-Wl,'
9082 lt_prog_compiler_pic='-fPIC'
9083 lt_prog_compiler_static='-static'
9085 # Lahey Fortran 8.1.
9087 lt_prog_compiler_wl='-Wl,'
9088 lt_prog_compiler_pic='--shared'
9089 lt_prog_compiler_static='--static'
9092 # NAG Fortran compiler
9093 lt_prog_compiler_wl='-Wl,-Wl,,'
9094 lt_prog_compiler_pic='-PIC'
9095 lt_prog_compiler_static='-Bstatic'
9097 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9098 # Portland Group compilers (*not* the Pentium gcc compiler,
9099 # which looks to be a dead project)
9100 lt_prog_compiler_wl='-Wl,'
9101 lt_prog_compiler_pic='-fpic'
9102 lt_prog_compiler_static='-Bstatic'
9105 lt_prog_compiler_wl='-Wl,'
9106 # All Alpha code is PIC.
9107 lt_prog_compiler_static='-non_shared'
9109 xl* | bgxl* | bgf* | mpixl*)
9110 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9111 lt_prog_compiler_wl='-Wl,'
9112 lt_prog_compiler_pic='-qpic'
9113 lt_prog_compiler_static='-qstaticlink'
9116 case `$CC -V 2>&1 | sed 5q` in
9117 *Sun\ F* | *Sun*Fortran*)
9118 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9119 lt_prog_compiler_pic='-KPIC'
9120 lt_prog_compiler_static='-Bstatic'
9121 lt_prog_compiler_wl=''
9125 lt_prog_compiler_pic='-KPIC'
9126 lt_prog_compiler_static='-Bstatic'
9127 lt_prog_compiler_wl='-Wl,'
9135 lt_prog_compiler_pic='-KPIC'
9136 lt_prog_compiler_static='-Bstatic'
9140 # QNX uses GNU C++, but need to define -shared option too, otherwise
9142 lt_prog_compiler_pic='-fPIC -shared'
9145 osf3* | osf4* | osf5*)
9146 lt_prog_compiler_wl='-Wl,'
9147 # All OSF/1 code is PIC.
9148 lt_prog_compiler_static='-non_shared'
9152 lt_prog_compiler_static='-non_shared'
9156 lt_prog_compiler_pic='-KPIC'
9157 lt_prog_compiler_static='-Bstatic'
9158 case $cc_basename in
9159 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9160 lt_prog_compiler_wl='-Qoption ld ';;
9162 lt_prog_compiler_wl='-Wl,';;
9167 lt_prog_compiler_wl='-Qoption ld '
9168 lt_prog_compiler_pic='-PIC'
9169 lt_prog_compiler_static='-Bstatic'
9172 sysv4 | sysv4.2uw2* | sysv4.3*)
9173 lt_prog_compiler_wl='-Wl,'
9174 lt_prog_compiler_pic='-KPIC'
9175 lt_prog_compiler_static='-Bstatic'
9179 if test -d /usr/nec ;then
9180 lt_prog_compiler_pic='-Kconform_pic'
9181 lt_prog_compiler_static='-Bstatic'
9185 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9186 lt_prog_compiler_wl='-Wl,'
9187 lt_prog_compiler_pic='-KPIC'
9188 lt_prog_compiler_static='-Bstatic'
9192 lt_prog_compiler_wl='-Wl,'
9193 lt_prog_compiler_can_build_shared=no
9197 lt_prog_compiler_pic='-pic'
9198 lt_prog_compiler_static='-Bstatic'
9202 lt_prog_compiler_can_build_shared=no
9208 # For platforms which do not support PIC, -DPIC is meaningless:
9210 lt_prog_compiler_pic=
9213 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9218 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9219 if ${lt_cv_prog_compiler_pic+:} false; then :
9220 $as_echo_n "(cached) " >&6
9222 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9225 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9226 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9229 # Check to make sure the PIC flag actually works.
9231 if test -n "$lt_prog_compiler_pic"; then
9232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9233 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9234 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9235 $as_echo_n "(cached) " >&6
9237 lt_cv_prog_compiler_pic_works=no
9238 ac_outfile=conftest.$ac_objext
9239 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9240 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9241 # Insert the option either (1) after the last *FLAGS variable, or
9242 # (2) before a word containing "conftest.", or (3) at the end.
9243 # Note that $ac_compile itself does not contain backslashes and begins
9244 # with a dollar sign (not a hyphen), so the echo should work correctly.
9245 # The option is referenced via a variable to avoid confusing sed.
9246 lt_compile=`echo "$ac_compile" | $SED \
9247 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9248 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9249 -e 's:$: $lt_compiler_flag:'`
9250 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9251 (eval "$lt_compile" 2>conftest.err)
9253 cat conftest.err >&5
9254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9255 if (exit $ac_status) && test -s "$ac_outfile"; then
9256 # The compiler can only warn and ignore the option if not recognized
9257 # So say no if there are warnings other than the usual output.
9258 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9259 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9260 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9261 lt_cv_prog_compiler_pic_works=yes
9267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9268 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9270 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9271 case $lt_prog_compiler_pic in
9273 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9276 lt_prog_compiler_pic=
9277 lt_prog_compiler_can_build_shared=no
9293 # Check to make sure the static flag actually works.
9295 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9297 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9298 if ${lt_cv_prog_compiler_static_works+:} false; then :
9299 $as_echo_n "(cached) " >&6
9301 lt_cv_prog_compiler_static_works=no
9302 save_LDFLAGS="$LDFLAGS"
9303 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9304 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9305 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9306 # The linker can only warn and ignore the option if not recognized
9307 # So say no if there are warnings
9308 if test -s conftest.err; then
9309 # Append any errors to the config.log.
9310 cat conftest.err 1>&5
9311 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9312 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9313 if diff conftest.exp conftest.er2 >/dev/null; then
9314 lt_cv_prog_compiler_static_works=yes
9317 lt_cv_prog_compiler_static_works=yes
9321 LDFLAGS="$save_LDFLAGS"
9324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9325 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9327 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9330 lt_prog_compiler_static=
9339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9340 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9341 if ${lt_cv_prog_compiler_c_o+:} false; then :
9342 $as_echo_n "(cached) " >&6
9344 lt_cv_prog_compiler_c_o=no
9345 $RM -r conftest 2>/dev/null
9349 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9351 lt_compiler_flag="-o out/conftest2.$ac_objext"
9352 # Insert the option either (1) after the last *FLAGS variable, or
9353 # (2) before a word containing "conftest.", or (3) at the end.
9354 # Note that $ac_compile itself does not contain backslashes and begins
9355 # with a dollar sign (not a hyphen), so the echo should work correctly.
9356 lt_compile=`echo "$ac_compile" | $SED \
9357 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9358 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9359 -e 's:$: $lt_compiler_flag:'`
9360 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9361 (eval "$lt_compile" 2>out/conftest.err)
9363 cat out/conftest.err >&5
9364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9365 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9367 # The compiler can only warn and ignore the option if not recognized
9368 # So say no if there are warnings
9369 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9370 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9371 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9372 lt_cv_prog_compiler_c_o=yes
9377 # SGI C++ compiler will create directory out/ii_files/ for
9378 # template instantiation
9379 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9380 $RM out/* && rmdir out
9386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9387 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9395 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9396 if ${lt_cv_prog_compiler_c_o+:} false; then :
9397 $as_echo_n "(cached) " >&6
9399 lt_cv_prog_compiler_c_o=no
9400 $RM -r conftest 2>/dev/null
9404 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9406 lt_compiler_flag="-o out/conftest2.$ac_objext"
9407 # Insert the option either (1) after the last *FLAGS variable, or
9408 # (2) before a word containing "conftest.", or (3) at the end.
9409 # Note that $ac_compile itself does not contain backslashes and begins
9410 # with a dollar sign (not a hyphen), so the echo should work correctly.
9411 lt_compile=`echo "$ac_compile" | $SED \
9412 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9413 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9414 -e 's:$: $lt_compiler_flag:'`
9415 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9416 (eval "$lt_compile" 2>out/conftest.err)
9418 cat out/conftest.err >&5
9419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9420 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9422 # The compiler can only warn and ignore the option if not recognized
9423 # So say no if there are warnings
9424 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9425 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9426 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9427 lt_cv_prog_compiler_c_o=yes
9432 # SGI C++ compiler will create directory out/ii_files/ for
9433 # template instantiation
9434 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9435 $RM out/* && rmdir out
9441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9442 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9447 hard_links="nottested"
9448 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9449 # do not overwrite the value of need_locks provided by the user
9450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9451 $as_echo_n "checking if we can lock with hard links... " >&6; }
9454 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9456 ln conftest.a conftest.b 2>&5 || hard_links=no
9457 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9459 $as_echo "$hard_links" >&6; }
9460 if test "$hard_links" = no; then
9461 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9462 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9475 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9478 allow_undefined_flag=
9479 always_export_symbols=no
9481 archive_expsym_cmds=
9482 compiler_needs_object=no
9483 enable_shared_with_static_runtimes=no
9484 export_dynamic_flag_spec=
9485 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9486 hardcode_automatic=no
9488 hardcode_direct_absolute=no
9489 hardcode_libdir_flag_spec=
9490 hardcode_libdir_flag_spec_ld=
9491 hardcode_libdir_separator=
9493 hardcode_shlibpath_var=unsupported
9495 link_all_deplibs=unknown
9498 old_archive_from_new_cmds=
9499 old_archive_from_expsyms_cmds=
9500 thread_safe_flag_spec=
9501 whole_archive_flag_spec=
9502 # include_expsyms should be a list of space-separated symbols to be *always*
9503 # included in the symbol list
9505 # exclude_expsyms can be an extended regexp of symbols to exclude
9506 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9507 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9508 # as well as any symbol that contains `d'.
9509 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9510 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9511 # platforms (ab)use it in PIC code, but their linkers get confused if
9512 # the symbol is explicitly referenced. Since portable code cannot
9513 # rely on this symbol name, it's probably fine to never include it in
9514 # preloaded symbol tables.
9515 # Exclude shared library initialization/finalization symbols.
9516 extract_expsyms_cmds=
9519 cygwin* | mingw* | pw32* | cegcc*)
9520 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9521 # When not using gcc, we currently assume that we are using
9522 # Microsoft Visual C++.
9523 if test "$GCC" != yes; then
9528 # we just hope/assume this is gcc and not c89 (= MSVC++)
9538 # On some targets, GNU ld is compatible enough with the native linker
9539 # that we're better off using the native interface for both.
9540 lt_use_gnu_ld_interface=no
9541 if test "$with_gnu_ld" = yes; then
9544 # The AIX port of GNU ld has always aspired to compatibility
9545 # with the native linker. However, as the warning in the GNU ld
9546 # block says, versions before 2.19.5* couldn't really create working
9547 # shared libraries, regardless of the interface used.
9548 case `$LD -v 2>&1` in
9549 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9550 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9551 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9553 lt_use_gnu_ld_interface=yes
9558 lt_use_gnu_ld_interface=yes
9563 if test "$lt_use_gnu_ld_interface" = yes; then
9564 # If archive_cmds runs LD, not CC, wlarc should be empty
9567 # Set some defaults for GNU ld with shared library support. These
9568 # are reset later if shared libraries are not supported. Putting them
9569 # here allows them to be overridden if necessary.
9570 runpath_var=LD_RUN_PATH
9571 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9572 export_dynamic_flag_spec='${wl}--export-dynamic'
9573 # ancient GNU ld didn't support --whole-archive et. al.
9574 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9575 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9577 whole_archive_flag_spec=
9579 supports_anon_versioning=no
9580 case `$LD -v 2>&1` in
9581 *GNU\ gold*) supports_anon_versioning=yes ;;
9582 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9583 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9584 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9585 *\ 2.11.*) ;; # other 2.11 versions
9586 *) supports_anon_versioning=yes ;;
9589 # See if GNU ld supports shared libraries.
9592 # On AIX/PPC, the GNU linker is very broken
9593 if test "$host_cpu" != ia64; then
9597 *** Warning: the GNU linker, at least up to release 2.19, is reported
9598 *** to be unable to reliably create shared libraries on AIX.
9599 *** Therefore, libtool is disabling shared libraries support. If you
9600 *** really care for shared libraries, you may want to install binutils
9601 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9602 *** You will then need to restart the configuration process.
9611 # see comment about AmigaOS4 .so support
9612 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9613 archive_expsym_cmds=''
9616 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)'
9617 hardcode_libdir_flag_spec='-L$libdir'
9618 hardcode_minus_L=yes
9624 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9625 allow_undefined_flag=unsupported
9626 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9627 # support --undefined. This deserves some investigation. FIXME
9628 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9634 cygwin* | mingw* | pw32* | cegcc*)
9635 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9636 # as there is no search path for DLLs.
9637 hardcode_libdir_flag_spec='-L$libdir'
9638 export_dynamic_flag_spec='${wl}--export-all-symbols'
9639 allow_undefined_flag=unsupported
9640 always_export_symbols=no
9641 enable_shared_with_static_runtimes=yes
9642 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'
9643 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9645 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9646 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9647 # If the export-symbols file already is a .def file (1st line
9648 # is EXPORTS), use it as is; otherwise, prepend...
9649 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9650 cp $export_symbols $output_objdir/$soname.def;
9652 echo EXPORTS > $output_objdir/$soname.def;
9653 cat $export_symbols >> $output_objdir/$soname.def;
9655 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9662 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9663 link_all_deplibs=yes
9668 hardcode_shlibpath_var=no
9669 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9670 export_dynamic_flag_spec='${wl}-E'
9671 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9672 # Instead, shared libraries are loaded at an image base (0x10000000 by
9673 # default) and relocated if they conflict, which is a slow very memory
9674 # consuming and fragmenting process. To avoid this, we pick a random,
9675 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9676 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9677 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9678 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'
9681 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9683 if test "$host_os" = linux-dietlibc; then
9684 case $cc_basename in
9685 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9688 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9689 && test "$tmp_diet" = no
9691 tmp_addflag=' $pic_flag'
9692 tmp_sharedflag='-shared'
9693 case $cc_basename,$host_cpu in
9694 pgcc*) # Portland Group C compiler
9695 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'
9696 tmp_addflag=' $pic_flag'
9698 pgf77* | pgf90* | pgf95* | pgfortran*)
9699 # Portland Group f77 and f90 compilers
9700 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'
9701 tmp_addflag=' $pic_flag -Mnomain' ;;
9702 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9703 tmp_addflag=' -i_dynamic' ;;
9704 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9705 tmp_addflag=' -i_dynamic -nofor_main' ;;
9706 ifc* | ifort*) # Intel Fortran compiler
9707 tmp_addflag=' -nofor_main' ;;
9708 lf95*) # Lahey Fortran 8.1
9709 whole_archive_flag_spec=
9710 tmp_sharedflag='--shared' ;;
9711 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9712 tmp_sharedflag='-qmkshrobj'
9714 nvcc*) # Cuda Compiler Driver 2.2
9715 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'
9716 compiler_needs_object=yes
9719 case `$CC -V 2>&1 | sed 5q` in
9720 *Sun\ C*) # Sun C 5.9
9721 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'
9722 compiler_needs_object=yes
9723 tmp_sharedflag='-G' ;;
9724 *Sun\ F*) # Sun Fortran 8.3
9725 tmp_sharedflag='-G' ;;
9727 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9729 if test "x$supports_anon_versioning" = xyes; then
9730 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9731 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9732 echo "local: *; };" >> $output_objdir/$libname.ver~
9733 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9736 case $cc_basename in
9737 xlf* | bgf* | bgxlf* | mpixlf*)
9738 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9739 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9740 hardcode_libdir_flag_spec=
9741 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9742 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9743 if test "x$supports_anon_versioning" = xyes; then
9744 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9745 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9746 echo "local: *; };" >> $output_objdir/$libname.ver~
9747 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9757 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9758 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9761 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9762 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9767 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9771 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9772 *** create shared libraries on Solaris systems. Therefore, libtool
9773 *** is disabling shared libraries support. We urge you to upgrade GNU
9774 *** binutils to release 2.9.1 or newer. Another option is to modify
9775 *** your PATH or compiler configuration so that the native linker is
9776 *** used, and then restart.
9779 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9780 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9781 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9787 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9788 case `$LD -v 2>&1` in
9789 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9793 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9794 *** reliably create shared libraries on SCO systems. Therefore, libtool
9795 *** is disabling shared libraries support. We urge you to upgrade GNU
9796 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9797 *** your PATH or compiler configuration so that the native linker is
9798 *** used, and then restart.
9803 # For security reasons, it is highly recommended that you always
9804 # use absolute paths for naming shared libraries, and exclude the
9805 # DT_RUNPATH tag from executables and libraries. But doing so
9806 # requires that you compile everything twice, which is a pain.
9807 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9808 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9809 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9810 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9819 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9822 hardcode_shlibpath_var=no
9826 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9827 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9828 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9835 if test "$ld_shlibs" = no; then
9837 hardcode_libdir_flag_spec=
9838 export_dynamic_flag_spec=
9839 whole_archive_flag_spec=
9842 # PORTME fill in a description of your system's linker (not GNU ld)
9845 allow_undefined_flag=unsupported
9846 always_export_symbols=yes
9847 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'
9848 # Note: this linker hardcodes the directories in LIBPATH if there
9849 # are no directories specified by -L.
9850 hardcode_minus_L=yes
9851 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9852 # Neither direct hardcoding nor static linking is supported with a
9854 hardcode_direct=unsupported
9859 if test "$host_cpu" = ia64; then
9860 # On IA64, the linker does run time linking by default, so we don't
9861 # have to do anything special.
9862 aix_use_runtimelinking=no
9863 exp_sym_flag='-Bexport'
9866 # If we're using GNU nm, then we don't want the "-C" option.
9867 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9868 # Also, AIX nm treats weak defined symbols like other global
9869 # defined symbols, whereas GNU nm marks them as "W".
9870 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9871 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'
9873 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'
9875 aix_use_runtimelinking=no
9877 # Test if we are trying to use run time linking or normal
9878 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9879 # need to do runtime linking.
9880 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9881 for ld_flag in $LDFLAGS; do
9882 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9883 aix_use_runtimelinking=yes
9890 exp_sym_flag='-bexport'
9891 no_entry_flag='-bnoentry'
9894 # When large executables or shared objects are built, AIX ld can
9895 # have problems creating the table of contents. If linking a library
9896 # or program results in "error TOC overflow" add -mminimal-toc to
9897 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9898 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9902 hardcode_direct_absolute=yes
9903 hardcode_libdir_separator=':'
9904 link_all_deplibs=yes
9905 file_list_spec='${wl}-f,'
9907 if test "$GCC" = yes; then
9908 case $host_os in aix4.[012]|aix4.[012].*)
9909 # We only want to do this on AIX 4.2 and lower, the check
9910 # below for broken collect2 doesn't work under 4.3+
9911 collect2name=`${CC} -print-prog-name=collect2`
9912 if test -f "$collect2name" &&
9913 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9915 # We have reworked collect2
9918 # We have old collect2
9919 hardcode_direct=unsupported
9920 # It fails to find uninstalled libraries when the uninstalled
9921 # path is not listed in the libpath. Setting hardcode_minus_L
9922 # to unsupported forces relinking
9923 hardcode_minus_L=yes
9924 hardcode_libdir_flag_spec='-L$libdir'
9925 hardcode_libdir_separator=
9929 shared_flag='-shared'
9930 if test "$aix_use_runtimelinking" = yes; then
9931 shared_flag="$shared_flag "'${wl}-G'
9935 if test "$host_cpu" = ia64; then
9936 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9937 # chokes on -Wl,-G. The following line is correct:
9940 if test "$aix_use_runtimelinking" = yes; then
9941 shared_flag='${wl}-G'
9943 shared_flag='${wl}-bM:SRE'
9948 export_dynamic_flag_spec='${wl}-bexpall'
9949 # It seems that -bexpall does not export symbols beginning with
9950 # underscore (_), so it is better to generate a list of symbols to export.
9951 always_export_symbols=yes
9952 if test "$aix_use_runtimelinking" = yes; then
9953 # Warning - without using the other runtime loading flags (-brtl),
9954 # -berok will link without error, but may produce a broken library.
9955 allow_undefined_flag='-berok'
9956 # Determine the default libpath from the value encoded in an
9958 if test "${lt_cv_aix_libpath+set}" = set; then
9959 aix_libpath=$lt_cv_aix_libpath
9961 if ${lt_cv_aix_libpath_+:} false; then :
9962 $as_echo_n "(cached) " >&6
9964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9965 /* end confdefs.h. */
9975 if ac_fn_c_try_link "$LINENO"; then :
9977 lt_aix_libpath_sed='
9978 /Import File Strings/,/^$/ {
9980 s/^0 *\([^ ]*\) *$/\1/
9984 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9985 # Check for a 64-bit object if we didn't find anything.
9986 if test -z "$lt_cv_aix_libpath_"; then
9987 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9990 rm -f core conftest.err conftest.$ac_objext \
9991 conftest$ac_exeext conftest.$ac_ext
9992 if test -z "$lt_cv_aix_libpath_"; then
9993 lt_cv_aix_libpath_="/usr/lib:/lib"
9998 aix_libpath=$lt_cv_aix_libpath_
10001 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10002 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"
10004 if test "$host_cpu" = ia64; then
10005 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10006 allow_undefined_flag="-z nodefs"
10007 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"
10009 # Determine the default libpath from the value encoded in an
10010 # empty executable.
10011 if test "${lt_cv_aix_libpath+set}" = set; then
10012 aix_libpath=$lt_cv_aix_libpath
10014 if ${lt_cv_aix_libpath_+:} false; then :
10015 $as_echo_n "(cached) " >&6
10017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10018 /* end confdefs.h. */
10028 if ac_fn_c_try_link "$LINENO"; then :
10030 lt_aix_libpath_sed='
10031 /Import File Strings/,/^$/ {
10033 s/^0 *\([^ ]*\) *$/\1/
10037 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10038 # Check for a 64-bit object if we didn't find anything.
10039 if test -z "$lt_cv_aix_libpath_"; then
10040 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10043 rm -f core conftest.err conftest.$ac_objext \
10044 conftest$ac_exeext conftest.$ac_ext
10045 if test -z "$lt_cv_aix_libpath_"; then
10046 lt_cv_aix_libpath_="/usr/lib:/lib"
10051 aix_libpath=$lt_cv_aix_libpath_
10054 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10055 # Warning - without using the other run time loading flags,
10056 # -berok will link without error, but may produce a broken library.
10057 no_undefined_flag=' ${wl}-bernotok'
10058 allow_undefined_flag=' ${wl}-berok'
10059 if test "$with_gnu_ld" = yes; then
10060 # We only use this code for GNU lds that support --whole-archive.
10061 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10063 # Exported symbols can be pulled into shared objects from archives
10064 whole_archive_flag_spec='$convenience'
10066 archive_cmds_need_lc=yes
10067 # This is similar to how AIX traditionally builds its shared libraries.
10068 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'
10076 # see comment about AmigaOS4 .so support
10077 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10078 archive_expsym_cmds=''
10081 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)'
10082 hardcode_libdir_flag_spec='-L$libdir'
10083 hardcode_minus_L=yes
10089 export_dynamic_flag_spec=-rdynamic
10092 cygwin* | mingw* | pw32* | cegcc*)
10093 # When not using gcc, we currently assume that we are using
10094 # Microsoft Visual C++.
10095 # hardcode_libdir_flag_spec is actually meaningless, as there is
10096 # no search path for DLLs.
10097 case $cc_basename in
10100 hardcode_libdir_flag_spec=' '
10101 allow_undefined_flag=unsupported
10102 always_export_symbols=yes
10104 # Tell ltmain to make .lib files, not .a files.
10106 # Tell ltmain to make .dll files, not .so files.
10108 # FIXME: Setting linknames here is a bad hack.
10109 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10110 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10111 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10113 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10115 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10117 # The linker will not automatically build a static lib if we build a DLL.
10118 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10119 enable_shared_with_static_runtimes=yes
10120 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10122 old_postinstall_cmds='chmod 644 $oldlib'
10123 postlink_cmds='lt_outputfile="@OUTPUT@"~
10124 lt_tool_outputfile="@TOOL_OUTPUT@"~
10125 case $lt_outputfile in
10128 lt_outputfile="$lt_outputfile.exe"
10129 lt_tool_outputfile="$lt_tool_outputfile.exe"
10132 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10133 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10134 $RM "$lt_outputfile.manifest";
10138 # Assume MSVC wrapper
10139 hardcode_libdir_flag_spec=' '
10140 allow_undefined_flag=unsupported
10141 # Tell ltmain to make .lib files, not .a files.
10143 # Tell ltmain to make .dll files, not .so files.
10145 # FIXME: Setting linknames here is a bad hack.
10146 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10147 # The linker will automatically build a .lib file if we build a DLL.
10148 old_archive_from_new_cmds='true'
10149 # FIXME: Should let the user specify the lib program.
10150 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10151 enable_shared_with_static_runtimes=yes
10156 darwin* | rhapsody*)
10159 archive_cmds_need_lc=no
10161 hardcode_automatic=yes
10162 hardcode_shlibpath_var=unsupported
10163 if test "$lt_cv_ld_force_load" = "yes"; then
10164 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\"`'
10166 whole_archive_flag_spec=''
10168 link_all_deplibs=yes
10169 allow_undefined_flag="$_lt_dar_allow_undefined"
10170 case $cc_basename in
10171 ifort*) _lt_dar_can_shared=yes ;;
10172 *) _lt_dar_can_shared=$GCC ;;
10174 if test "$_lt_dar_can_shared" = "yes"; then
10175 output_verbose_link_cmd=func_echo_all
10176 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10177 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10178 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}"
10179 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}"
10188 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10189 hardcode_libdir_flag_spec='-L$libdir'
10190 hardcode_shlibpath_var=no
10197 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10198 # support. Future versions do this automatically, but an explicit c++rt0.o
10199 # does not break anything, and helps significantly (at the cost of a little
10202 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10203 hardcode_libdir_flag_spec='-R$libdir'
10204 hardcode_direct=yes
10205 hardcode_shlibpath_var=no
10208 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10210 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10211 hardcode_direct=yes
10212 hardcode_minus_L=yes
10213 hardcode_shlibpath_var=no
10216 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10217 freebsd* | dragonfly*)
10218 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10219 hardcode_libdir_flag_spec='-R$libdir'
10220 hardcode_direct=yes
10221 hardcode_shlibpath_var=no
10225 if test "$GCC" = yes; then
10226 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'
10228 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'
10230 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10231 hardcode_libdir_separator=:
10232 hardcode_direct=yes
10234 # hardcode_minus_L: Not really in the search PATH,
10235 # but as the default location of the library.
10236 hardcode_minus_L=yes
10237 export_dynamic_flag_spec='${wl}-E'
10241 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10242 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10244 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10246 if test "$with_gnu_ld" = no; then
10247 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10248 hardcode_libdir_flag_spec_ld='+b $libdir'
10249 hardcode_libdir_separator=:
10250 hardcode_direct=yes
10251 hardcode_direct_absolute=yes
10252 export_dynamic_flag_spec='${wl}-E'
10253 # hardcode_minus_L: Not really in the search PATH,
10254 # but as the default location of the library.
10255 hardcode_minus_L=yes
10260 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10263 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10266 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10269 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10275 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10278 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10282 # Older versions of the 11.00 compiler do not understand -b yet
10283 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10285 $as_echo_n "checking if $CC understands -b... " >&6; }
10286 if ${lt_cv_prog_compiler__b+:} false; then :
10287 $as_echo_n "(cached) " >&6
10289 lt_cv_prog_compiler__b=no
10290 save_LDFLAGS="$LDFLAGS"
10291 LDFLAGS="$LDFLAGS -b"
10292 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10293 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10294 # The linker can only warn and ignore the option if not recognized
10295 # So say no if there are warnings
10296 if test -s conftest.err; then
10297 # Append any errors to the config.log.
10298 cat conftest.err 1>&5
10299 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10300 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10301 if diff conftest.exp conftest.er2 >/dev/null; then
10302 lt_cv_prog_compiler__b=yes
10305 lt_cv_prog_compiler__b=yes
10309 LDFLAGS="$save_LDFLAGS"
10312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10313 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10315 if test x"$lt_cv_prog_compiler__b" = xyes; then
10316 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10318 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10324 if test "$with_gnu_ld" = no; then
10325 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10326 hardcode_libdir_separator=:
10331 hardcode_shlibpath_var=no
10334 hardcode_direct=yes
10335 hardcode_direct_absolute=yes
10336 export_dynamic_flag_spec='${wl}-E'
10338 # hardcode_minus_L: Not really in the search PATH,
10339 # but as the default location of the library.
10340 hardcode_minus_L=yes
10346 irix5* | irix6* | nonstopux*)
10347 if test "$GCC" = yes; then
10348 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'
10349 # Try to use the -exported_symbol ld option, if it does not
10350 # work, assume that -exports_file does not work either and
10351 # implicitly export all symbols.
10352 # This should be the same for all languages, so no per-tag cache variable.
10353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10354 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10355 if ${lt_cv_irix_exported_symbol+:} false; then :
10356 $as_echo_n "(cached) " >&6
10358 save_LDFLAGS="$LDFLAGS"
10359 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10361 /* end confdefs.h. */
10362 int foo (void) { return 0; }
10364 if ac_fn_c_try_link "$LINENO"; then :
10365 lt_cv_irix_exported_symbol=yes
10367 lt_cv_irix_exported_symbol=no
10369 rm -f core conftest.err conftest.$ac_objext \
10370 conftest$ac_exeext conftest.$ac_ext
10371 LDFLAGS="$save_LDFLAGS"
10373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10374 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10375 if test "$lt_cv_irix_exported_symbol" = yes; then
10376 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'
10379 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'
10380 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'
10382 archive_cmds_need_lc='no'
10383 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10384 hardcode_libdir_separator=:
10386 link_all_deplibs=yes
10390 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10391 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10393 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10395 hardcode_libdir_flag_spec='-R$libdir'
10396 hardcode_direct=yes
10397 hardcode_shlibpath_var=no
10401 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10402 hardcode_direct=yes
10403 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10404 hardcode_libdir_separator=:
10405 hardcode_shlibpath_var=no
10412 if test -f /usr/libexec/ld.so; then
10413 hardcode_direct=yes
10414 hardcode_shlibpath_var=no
10415 hardcode_direct_absolute=yes
10416 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10417 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10418 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10419 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10420 export_dynamic_flag_spec='${wl}-E'
10423 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10424 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10425 hardcode_libdir_flag_spec='-R$libdir'
10428 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10429 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10439 hardcode_libdir_flag_spec='-L$libdir'
10440 hardcode_minus_L=yes
10441 allow_undefined_flag=unsupported
10442 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'
10443 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10447 if test "$GCC" = yes; then
10448 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10449 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'
10451 allow_undefined_flag=' -expect_unresolved \*'
10452 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'
10454 archive_cmds_need_lc='no'
10455 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10456 hardcode_libdir_separator=:
10459 osf4* | osf5*) # as osf3* with the addition of -msym flag
10460 if test "$GCC" = yes; then
10461 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10462 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'
10463 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10465 allow_undefined_flag=' -expect_unresolved \*'
10466 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'
10467 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~
10468 $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'
10470 # Both c and cxx compiler support -rpath directly
10471 hardcode_libdir_flag_spec='-rpath $libdir'
10473 archive_cmds_need_lc='no'
10474 hardcode_libdir_separator=:
10478 no_undefined_flag=' -z defs'
10479 if test "$GCC" = yes; then
10481 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10482 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10483 $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'
10485 case `$CC -V 2>&1` in
10488 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10489 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10490 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10494 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10495 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10496 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10500 hardcode_libdir_flag_spec='-R$libdir'
10501 hardcode_shlibpath_var=no
10503 solaris2.[0-5] | solaris2.[0-5].*) ;;
10505 # The compiler driver will combine and reorder linker options,
10506 # but understands `-z linker_flag'. GCC discards it without `$wl',
10507 # but is careful enough not to reorder.
10508 # Supported since Solaris 2.6 (maybe 2.5.1?)
10509 if test "$GCC" = yes; then
10510 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10512 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10516 link_all_deplibs=yes
10520 if test "x$host_vendor" = xsequent; then
10521 # Use $CC to link under sequent, because it throws in some extra .o
10522 # files that make .init and .fini sections work.
10523 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10525 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10527 hardcode_libdir_flag_spec='-L$libdir'
10528 hardcode_direct=yes
10529 hardcode_minus_L=yes
10530 hardcode_shlibpath_var=no
10534 case $host_vendor in
10536 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10537 hardcode_direct=yes # is this really true???
10540 ## LD is ld it makes a PLAMLIB
10541 ## CC just makes a GrossModule.
10542 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10543 reload_cmds='$CC -r -o $output$reload_objs'
10547 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10548 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10551 runpath_var='LD_RUN_PATH'
10552 hardcode_shlibpath_var=no
10556 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10557 hardcode_shlibpath_var=no
10558 export_dynamic_flag_spec='-Bexport'
10562 if test -d /usr/nec; then
10563 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10564 hardcode_shlibpath_var=no
10565 runpath_var=LD_RUN_PATH
10566 hardcode_runpath_var=yes
10571 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10572 no_undefined_flag='${wl}-z,text'
10573 archive_cmds_need_lc=no
10574 hardcode_shlibpath_var=no
10575 runpath_var='LD_RUN_PATH'
10577 if test "$GCC" = yes; then
10578 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10579 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10581 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10582 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10586 sysv5* | sco3.2v5* | sco5v6*)
10587 # Note: We can NOT use -z defs as we might desire, because we do not
10588 # link with -lc, and that would cause any symbols used from libc to
10589 # always be unresolved, which means just about no library would
10590 # ever link correctly. If we're not using GNU ld we use -z text
10591 # though, which does catch some bad symbols but isn't as heavy-handed
10593 no_undefined_flag='${wl}-z,text'
10594 allow_undefined_flag='${wl}-z,nodefs'
10595 archive_cmds_need_lc=no
10596 hardcode_shlibpath_var=no
10597 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10598 hardcode_libdir_separator=':'
10599 link_all_deplibs=yes
10600 export_dynamic_flag_spec='${wl}-Bexport'
10601 runpath_var='LD_RUN_PATH'
10603 if test "$GCC" = yes; then
10604 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10605 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10607 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10608 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10613 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10614 hardcode_libdir_flag_spec='-L$libdir'
10615 hardcode_shlibpath_var=no
10623 if test x$host_vendor = xsni; then
10625 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10626 export_dynamic_flag_spec='${wl}-Blargedynsym'
10632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10633 $as_echo "$ld_shlibs" >&6; }
10634 test "$ld_shlibs" = no && can_build_shared=no
10636 with_gnu_ld=$with_gnu_ld
10653 # Do we need to explicitly link libc?
10655 case "x$archive_cmds_need_lc" in
10657 # Assume -lc should be added
10658 archive_cmds_need_lc=yes
10660 if test "$enable_shared" = yes && test "$GCC" = yes; then
10661 case $archive_cmds in
10663 # FIXME: we may have to deal with multi-command sequences.
10666 # Test whether the compiler implicitly links with -lc since on some
10667 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10668 # to ld, don't add -lc before -lgcc.
10669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10670 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10671 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10672 $as_echo_n "(cached) " >&6
10675 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10677 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10678 (eval $ac_compile) 2>&5
10680 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10681 test $ac_status = 0; } 2>conftest.err; then
10684 libobjs=conftest.$ac_objext
10686 wl=$lt_prog_compiler_wl
10687 pic_flag=$lt_prog_compiler_pic
10693 lt_save_allow_undefined_flag=$allow_undefined_flag
10694 allow_undefined_flag=
10695 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10696 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10698 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10699 test $ac_status = 0; }
10701 lt_cv_archive_cmds_need_lc=no
10703 lt_cv_archive_cmds_need_lc=yes
10705 allow_undefined_flag=$lt_save_allow_undefined_flag
10707 cat conftest.err 1>&5
10712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10713 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10714 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10878 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10880 if test "$GCC" = yes; then
10882 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10883 *) lt_awk_arg="/^libraries:/" ;;
10886 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10887 *) lt_sed_strip_eq="s,=/,/,g" ;;
10889 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10890 case $lt_search_path_spec in
10892 # if the path contains ";" then we assume it to be the separator
10893 # otherwise default to the standard path separator (i.e. ":") - it is
10894 # assumed that no part of a normal pathname contains ";" but that should
10895 # okay in the real world where ";" in dirpaths is itself problematic.
10896 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10899 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10902 # Ok, now we have the path, separated by spaces, we can step through it
10903 # and add multilib dir if necessary.
10904 lt_tmp_lt_search_path_spec=
10905 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10906 for lt_sys_path in $lt_search_path_spec; do
10907 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10908 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10910 test -d "$lt_sys_path" && \
10911 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10914 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10915 BEGIN {RS=" "; FS="/|\n";} {
10918 for (lt_i = NF; lt_i > 0; lt_i--) {
10919 if ($lt_i != "" && $lt_i != ".") {
10920 if ($lt_i == "..") {
10923 if (lt_count == 0) {
10924 lt_foo="/" $lt_i lt_foo;
10931 if (lt_foo != "") { lt_freq[lt_foo]++; }
10932 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10934 # AWK program above erroneously prepends '/' to C:/dos/paths
10937 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10938 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10940 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10942 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10944 library_names_spec=
10945 libname_spec='lib$name'
10949 postuninstall_cmds=
10953 shlibpath_overrides_runpath=unknown
10955 dynamic_linker="$host_os ld.so"
10956 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10957 need_lib_prefix=unknown
10958 hardcode_into_libs=no
10960 # when you set need_version to no, make sure it does not cause -set_version
10961 # flags to be left without arguments
10962 need_version=unknown
10967 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10968 shlibpath_var=LIBPATH
10970 # AIX 3 has no versioning support, so we append a major version to the name.
10971 soname_spec='${libname}${release}${shared_ext}$major'
10978 hardcode_into_libs=yes
10979 if test "$host_cpu" = ia64; then
10980 # AIX 5 supports IA64
10981 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10982 shlibpath_var=LD_LIBRARY_PATH
10984 # With GCC up to 2.95.x, collect2 would create an import file
10985 # for dependence libraries. The import file would start with
10986 # the line `#! .'. This would cause the generated library to
10987 # depend on `.', always an invalid library. This was fixed in
10988 # development snapshots of GCC prior to 3.0.
10990 aix4 | aix4.[01] | aix4.[01].*)
10991 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10993 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10996 can_build_shared=no
11000 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11001 # soname into executable. Probably we can add versioning support to
11002 # collect2, so additional links can be useful in future.
11003 if test "$aix_use_runtimelinking" = yes; then
11004 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11005 # instead of lib<name>.a to let people know that these are not
11006 # typical AIX shared libraries.
11007 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11009 # We preserve .a as extension for shared libraries through AIX4.2
11010 # and later when we are not doing run time linking.
11011 library_names_spec='${libname}${release}.a $libname.a'
11012 soname_spec='${libname}${release}${shared_ext}$major'
11014 shlibpath_var=LIBPATH
11021 # Since July 2007 AmigaOS4 officially supports .so libraries.
11022 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11023 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11026 library_names_spec='$libname.ixlibrary $libname.a'
11027 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11028 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'
11034 library_names_spec='${libname}${shared_ext}'
11035 dynamic_linker="$host_os ld.so"
11036 shlibpath_var=LIBRARY_PATH
11042 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11043 soname_spec='${libname}${release}${shared_ext}$major'
11044 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11045 shlibpath_var=LD_LIBRARY_PATH
11046 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11047 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11048 # the default ld.so.conf also contains /usr/contrib/lib and
11049 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11050 # libtool to hard-code these into programs
11053 cygwin* | mingw* | pw32* | cegcc*)
11054 version_type=windows
11059 case $GCC,$cc_basename in
11062 library_names_spec='$libname.dll.a'
11063 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11064 postinstall_cmds='base_file=`basename \${file}`~
11065 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11066 dldir=$destdir/`dirname \$dlpath`~
11067 test -d \$dldir || mkdir -p \$dldir~
11068 $install_prog $dir/$dlname \$dldir/$dlname~
11069 chmod a+x \$dldir/$dlname~
11070 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11071 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11073 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11074 dlpath=$dir/\$dldll~
11076 shlibpath_overrides_runpath=yes
11080 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11081 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11083 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11086 # MinGW DLLs use traditional 'lib' prefix
11087 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11090 # pw32 DLLs use 'pw' prefix rather than 'lib'
11091 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11094 dynamic_linker='Win32 ld.exe'
11099 libname_spec='$name'
11100 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11101 library_names_spec='${libname}.dll.lib'
11105 sys_lib_search_path_spec=
11108 for lt_path in $LIB
11111 # Let DOS variable expansion print the short 8.3 style file name.
11112 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11113 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11116 # Convert to MSYS style.
11117 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11120 # Convert to unix form, then to dos form, then back to unix form
11121 # but this time dos style (no spaces!) so that the unix form looks
11122 # like /cygdrive/c/PROGRA~1:/cygdr...
11123 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11124 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11125 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11128 sys_lib_search_path_spec="$LIB"
11129 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11130 # It is most probably a Windows format PATH.
11131 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11133 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11135 # FIXME: find the short name or the path components, as spaces are
11136 # common. (e.g. "Program Files" -> "PROGRA~1")
11140 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11141 postinstall_cmds='base_file=`basename \${file}`~
11142 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11143 dldir=$destdir/`dirname \$dlpath`~
11144 test -d \$dldir || mkdir -p \$dldir~
11145 $install_prog $dir/$dlname \$dldir/$dlname'
11146 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11147 dlpath=$dir/\$dldll~
11149 shlibpath_overrides_runpath=yes
11150 dynamic_linker='Win32 link.exe'
11154 # Assume MSVC wrapper
11155 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11156 dynamic_linker='Win32 ld.exe'
11159 # FIXME: first we should search . and the directory the executable is in
11163 darwin* | rhapsody*)
11164 dynamic_linker="$host_os dyld"
11165 version_type=darwin
11168 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11169 soname_spec='${libname}${release}${major}$shared_ext'
11170 shlibpath_overrides_runpath=yes
11171 shlibpath_var=DYLD_LIBRARY_PATH
11172 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11174 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11175 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11182 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11183 soname_spec='${libname}${release}${shared_ext}$major'
11184 shlibpath_var=LD_LIBRARY_PATH
11191 freebsd* | dragonfly*)
11192 # DragonFly does not have aout. When/if they implement a new
11193 # versioning mechanism, adjust this.
11194 if test -x /usr/bin/objformat; then
11195 objformat=`/usr/bin/objformat`
11198 freebsd[123]*) objformat=aout ;;
11199 *) objformat=elf ;;
11202 version_type=freebsd-$objformat
11203 case $version_type in
11205 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11210 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11214 shlibpath_var=LD_LIBRARY_PATH
11217 shlibpath_overrides_runpath=yes
11219 freebsd3.[01]* | freebsdelf3.[01]*)
11220 shlibpath_overrides_runpath=yes
11221 hardcode_into_libs=yes
11223 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11224 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11225 shlibpath_overrides_runpath=no
11226 hardcode_into_libs=yes
11228 *) # from 4.6 on, and DragonFly
11229 shlibpath_overrides_runpath=yes
11230 hardcode_into_libs=yes
11239 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11240 soname_spec='${libname}${release}${shared_ext}$major'
11241 shlibpath_var=LD_LIBRARY_PATH
11242 hardcode_into_libs=yes
11249 dynamic_linker="$host_os runtime_loader"
11250 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11251 soname_spec='${libname}${release}${shared_ext}$major'
11252 shlibpath_var=LIBRARY_PATH
11253 shlibpath_overrides_runpath=yes
11254 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11255 hardcode_into_libs=yes
11258 hpux9* | hpux10* | hpux11*)
11259 # Give a soname corresponding to the major version so that dld.sl refuses to
11260 # link against other versions.
11267 hardcode_into_libs=yes
11268 dynamic_linker="$host_os dld.so"
11269 shlibpath_var=LD_LIBRARY_PATH
11270 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11271 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11272 soname_spec='${libname}${release}${shared_ext}$major'
11273 if test "X$HPUX_IA64_MODE" = X32; then
11274 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11276 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11278 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11282 hardcode_into_libs=yes
11283 dynamic_linker="$host_os dld.sl"
11284 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11285 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11286 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11287 soname_spec='${libname}${release}${shared_ext}$major'
11288 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11289 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11293 dynamic_linker="$host_os dld.sl"
11294 shlibpath_var=SHLIB_PATH
11295 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11296 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11297 soname_spec='${libname}${release}${shared_ext}$major'
11300 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11301 postinstall_cmds='chmod 555 $lib'
11302 # or fails outright, so override atomically:
11303 install_override_mode=555
11310 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11311 soname_spec='${libname}${release}${shared_ext}$major'
11312 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11313 shlibpath_var=LD_LIBRARY_PATH
11314 shlibpath_overrides_runpath=no
11315 hardcode_into_libs=yes
11318 irix5* | irix6* | nonstopux*)
11320 nonstopux*) version_type=nonstopux ;;
11322 if test "$lt_cv_prog_gnu_ld" = yes; then
11330 soname_spec='${libname}${release}${shared_ext}$major'
11331 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11333 irix5* | nonstopux*)
11334 libsuff= shlibsuff=
11337 case $LD in # libtool.m4 will add one of these switches to LD
11338 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11339 libsuff= shlibsuff= libmagic=32-bit;;
11340 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11341 libsuff=32 shlibsuff=N32 libmagic=N32;;
11342 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11343 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11344 *) libsuff= shlibsuff= libmagic=never-match;;
11348 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11349 shlibpath_overrides_runpath=no
11350 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11351 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11352 hardcode_into_libs=yes
11355 # No shared lib support for Linux oldld, aout, or coff.
11356 linux*oldld* | linux*aout* | linux*coff*)
11360 # This must be Linux ELF.
11361 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11365 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11366 soname_spec='${libname}${release}${shared_ext}$major'
11367 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11368 shlibpath_var=LD_LIBRARY_PATH
11369 shlibpath_overrides_runpath=no
11371 # Some binutils ld are patched to set DT_RUNPATH
11372 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11373 $as_echo_n "(cached) " >&6
11375 lt_cv_shlibpath_overrides_runpath=no
11376 save_LDFLAGS=$LDFLAGS
11377 save_libdir=$libdir
11378 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11379 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11381 /* end confdefs.h. */
11391 if ac_fn_c_try_link "$LINENO"; then :
11392 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11393 lt_cv_shlibpath_overrides_runpath=yes
11396 rm -f core conftest.err conftest.$ac_objext \
11397 conftest$ac_exeext conftest.$ac_ext
11398 LDFLAGS=$save_LDFLAGS
11399 libdir=$save_libdir
11403 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11405 # This implies no fast_install, which is unacceptable.
11406 # Some rework will be needed to allow for fast_install
11407 # before this can be enabled.
11408 hardcode_into_libs=yes
11410 # Append ld.so.conf contents to the search path
11411 if test -f /etc/ld.so.conf; then
11412 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' ' '`
11413 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11416 # We used to test for /lib/ld.so.1 and disable shared libraries on
11417 # powerpc, because MkLinux only supported shared libraries with the
11418 # GNU dynamic linker. Since this was broken with cross compilers,
11419 # most powerpc-linux boxes support dynamic linking these days and
11420 # people can always --disable-shared, the test was removed, and we
11421 # assume the GNU/Linux dynamic linker is in use.
11422 dynamic_linker='GNU/Linux ld.so'
11429 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11430 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11431 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11432 dynamic_linker='NetBSD (a.out) ld.so'
11434 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11435 soname_spec='${libname}${release}${shared_ext}$major'
11436 dynamic_linker='NetBSD ld.elf_so'
11438 shlibpath_var=LD_LIBRARY_PATH
11439 shlibpath_overrides_runpath=yes
11440 hardcode_into_libs=yes
11445 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11446 shlibpath_var=LD_LIBRARY_PATH
11447 shlibpath_overrides_runpath=yes
11454 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11455 soname_spec='${libname}${release}${shared_ext}$major'
11456 shlibpath_var=LD_LIBRARY_PATH
11457 shlibpath_overrides_runpath=no
11458 hardcode_into_libs=yes
11459 dynamic_linker='ldqnx.so'
11464 sys_lib_dlsearch_path_spec="/usr/lib"
11466 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11468 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11469 *) need_version=no ;;
11471 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11472 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11473 shlibpath_var=LD_LIBRARY_PATH
11474 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11476 openbsd2.[89] | openbsd2.[89].*)
11477 shlibpath_overrides_runpath=no
11480 shlibpath_overrides_runpath=yes
11484 shlibpath_overrides_runpath=yes
11489 libname_spec='$name'
11492 library_names_spec='$libname${shared_ext} $libname.a'
11493 dynamic_linker='OS/2 ld.exe'
11494 shlibpath_var=LIBPATH
11497 osf3* | osf4* | osf5*)
11501 soname_spec='${libname}${release}${shared_ext}$major'
11502 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11503 shlibpath_var=LD_LIBRARY_PATH
11504 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11505 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11516 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11517 soname_spec='${libname}${release}${shared_ext}$major'
11518 shlibpath_var=LD_LIBRARY_PATH
11519 shlibpath_overrides_runpath=yes
11520 hardcode_into_libs=yes
11521 # ldd complains unless libraries are executable
11522 postinstall_cmds='chmod +x $lib'
11527 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11528 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11529 shlibpath_var=LD_LIBRARY_PATH
11530 shlibpath_overrides_runpath=yes
11531 if test "$with_gnu_ld" = yes; then
11539 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11540 soname_spec='${libname}${release}${shared_ext}$major'
11541 shlibpath_var=LD_LIBRARY_PATH
11542 case $host_vendor in
11544 shlibpath_overrides_runpath=no
11546 runpath_var=LD_RUN_PATH
11554 shlibpath_overrides_runpath=no
11555 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11561 if test -d /usr/nec ;then
11563 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11564 soname_spec='$libname${shared_ext}.$major'
11565 shlibpath_var=LD_LIBRARY_PATH
11569 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11570 version_type=freebsd-elf
11573 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11574 soname_spec='${libname}${release}${shared_ext}$major'
11575 shlibpath_var=LD_LIBRARY_PATH
11576 shlibpath_overrides_runpath=yes
11577 hardcode_into_libs=yes
11578 if test "$with_gnu_ld" = yes; then
11579 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11581 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11584 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11588 sys_lib_dlsearch_path_spec='/usr/lib'
11592 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11596 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11597 shlibpath_var=LD_LIBRARY_PATH
11598 shlibpath_overrides_runpath=no
11599 hardcode_into_libs=yes
11604 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11605 soname_spec='${libname}${release}${shared_ext}$major'
11606 shlibpath_var=LD_LIBRARY_PATH
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11614 $as_echo "$dynamic_linker" >&6; }
11615 test "$dynamic_linker" = no && can_build_shared=no
11617 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11618 if test "$GCC" = yes; then
11619 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11622 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11623 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11625 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11626 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11721 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11723 if test -n "$hardcode_libdir_flag_spec" ||
11724 test -n "$runpath_var" ||
11725 test "X$hardcode_automatic" = "Xyes" ; then
11727 # We can hardcode non-existent directories.
11728 if test "$hardcode_direct" != no &&
11729 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11730 # have to relink, otherwise we might link with an installed library
11731 # when we should be linking with a yet-to-be-installed one
11732 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11733 test "$hardcode_minus_L" != no; then
11734 # Linking always hardcodes the temporary library directory.
11735 hardcode_action=relink
11737 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11738 hardcode_action=immediate
11741 # We cannot hardcode anything, or else we can only hardcode existing
11743 hardcode_action=unsupported
11745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11746 $as_echo "$hardcode_action" >&6; }
11748 if test "$hardcode_action" = relink ||
11749 test "$inherit_rpath" = yes; then
11750 # Fast installation is not supported
11751 enable_fast_install=no
11752 elif test "$shlibpath_overrides_runpath" = yes ||
11753 test "$enable_shared" = no; then
11754 # Fast installation is not necessary
11755 enable_fast_install=needless
11763 if test "x$enable_dlopen" != xyes; then
11764 enable_dlopen=unknown
11765 enable_dlopen_self=unknown
11766 enable_dlopen_self_static=unknown
11773 lt_cv_dlopen="load_add_on"
11775 lt_cv_dlopen_self=yes
11778 mingw* | pw32* | cegcc*)
11779 lt_cv_dlopen="LoadLibrary"
11784 lt_cv_dlopen="dlopen"
11789 # if libdl is installed we need to link against it
11790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11791 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11792 if ${ac_cv_lib_dl_dlopen+:} false; then :
11793 $as_echo_n "(cached) " >&6
11795 ac_check_lib_save_LIBS=$LIBS
11797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11798 /* end confdefs.h. */
11800 /* Override any GCC internal prototype to avoid an error.
11801 Use char because int might match the return type of a GCC
11802 builtin and then its argument prototype would still apply. */
11815 if ac_fn_c_try_link "$LINENO"; then :
11816 ac_cv_lib_dl_dlopen=yes
11818 ac_cv_lib_dl_dlopen=no
11820 rm -f core conftest.err conftest.$ac_objext \
11821 conftest$ac_exeext conftest.$ac_ext
11822 LIBS=$ac_check_lib_save_LIBS
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11825 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11826 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11827 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11830 lt_cv_dlopen="dyld"
11832 lt_cv_dlopen_self=yes
11839 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11840 if test "x$ac_cv_func_shl_load" = xyes; then :
11841 lt_cv_dlopen="shl_load"
11843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11844 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11845 if ${ac_cv_lib_dld_shl_load+:} false; then :
11846 $as_echo_n "(cached) " >&6
11848 ac_check_lib_save_LIBS=$LIBS
11850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11851 /* end confdefs.h. */
11853 /* Override any GCC internal prototype to avoid an error.
11854 Use char because int might match the return type of a GCC
11855 builtin and then its argument prototype would still apply. */
11863 return shl_load ();
11868 if ac_fn_c_try_link "$LINENO"; then :
11869 ac_cv_lib_dld_shl_load=yes
11871 ac_cv_lib_dld_shl_load=no
11873 rm -f core conftest.err conftest.$ac_objext \
11874 conftest$ac_exeext conftest.$ac_ext
11875 LIBS=$ac_check_lib_save_LIBS
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11878 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11879 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11880 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11882 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11883 if test "x$ac_cv_func_dlopen" = xyes; then :
11884 lt_cv_dlopen="dlopen"
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11887 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11888 if ${ac_cv_lib_dl_dlopen+:} false; then :
11889 $as_echo_n "(cached) " >&6
11891 ac_check_lib_save_LIBS=$LIBS
11893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11894 /* end confdefs.h. */
11896 /* Override any GCC internal prototype to avoid an error.
11897 Use char because int might match the return type of a GCC
11898 builtin and then its argument prototype would still apply. */
11911 if ac_fn_c_try_link "$LINENO"; then :
11912 ac_cv_lib_dl_dlopen=yes
11914 ac_cv_lib_dl_dlopen=no
11916 rm -f core conftest.err conftest.$ac_objext \
11917 conftest$ac_exeext conftest.$ac_ext
11918 LIBS=$ac_check_lib_save_LIBS
11920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11921 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11922 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11923 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11926 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11927 if ${ac_cv_lib_svld_dlopen+:} false; then :
11928 $as_echo_n "(cached) " >&6
11930 ac_check_lib_save_LIBS=$LIBS
11931 LIBS="-lsvld $LIBS"
11932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11933 /* end confdefs.h. */
11935 /* Override any GCC internal prototype to avoid an error.
11936 Use char because int might match the return type of a GCC
11937 builtin and then its argument prototype would still apply. */
11950 if ac_fn_c_try_link "$LINENO"; then :
11951 ac_cv_lib_svld_dlopen=yes
11953 ac_cv_lib_svld_dlopen=no
11955 rm -f core conftest.err conftest.$ac_objext \
11956 conftest$ac_exeext conftest.$ac_ext
11957 LIBS=$ac_check_lib_save_LIBS
11959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11960 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11961 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11962 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11965 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11966 if ${ac_cv_lib_dld_dld_link+:} false; then :
11967 $as_echo_n "(cached) " >&6
11969 ac_check_lib_save_LIBS=$LIBS
11971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11972 /* end confdefs.h. */
11974 /* Override any GCC internal prototype to avoid an error.
11975 Use char because int might match the return type of a GCC
11976 builtin and then its argument prototype would still apply. */
11984 return dld_link ();
11989 if ac_fn_c_try_link "$LINENO"; then :
11990 ac_cv_lib_dld_dld_link=yes
11992 ac_cv_lib_dld_dld_link=no
11994 rm -f core conftest.err conftest.$ac_objext \
11995 conftest$ac_exeext conftest.$ac_ext
11996 LIBS=$ac_check_lib_save_LIBS
11998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11999 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12000 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12001 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12022 if test "x$lt_cv_dlopen" != xno; then
12028 case $lt_cv_dlopen in
12030 save_CPPFLAGS="$CPPFLAGS"
12031 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12033 save_LDFLAGS="$LDFLAGS"
12034 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12037 LIBS="$lt_cv_dlopen_libs $LIBS"
12039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12040 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12041 if ${lt_cv_dlopen_self+:} false; then :
12042 $as_echo_n "(cached) " >&6
12044 if test "$cross_compiling" = yes; then :
12045 lt_cv_dlopen_self=cross
12047 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12048 lt_status=$lt_dlunknown
12049 cat > conftest.$ac_ext <<_LT_EOF
12050 #line $LINENO "configure"
12051 #include "confdefs.h"
12060 # define LT_DLGLOBAL RTLD_GLOBAL
12063 # define LT_DLGLOBAL DL_GLOBAL
12065 # define LT_DLGLOBAL 0
12069 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12070 find out it does not work in some platform. */
12071 #ifndef LT_DLLAZY_OR_NOW
12073 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12076 # define LT_DLLAZY_OR_NOW DL_LAZY
12079 # define LT_DLLAZY_OR_NOW RTLD_NOW
12082 # define LT_DLLAZY_OR_NOW DL_NOW
12084 # define LT_DLLAZY_OR_NOW 0
12091 /* When -fvisbility=hidden is used, assume the code has been annotated
12092 correspondingly for the symbols needed. */
12093 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12094 int fnord () __attribute__((visibility("default")));
12097 int fnord () { return 42; }
12100 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12101 int status = $lt_dlunknown;
12105 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12108 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12109 else puts (dlerror ());
12111 /* dlclose (self); */
12119 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12120 (eval $ac_link) 2>&5
12122 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12123 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12124 (./conftest; exit; ) >&5 2>/dev/null
12126 case x$lt_status in
12127 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12128 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12129 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12132 # compilation failed
12133 lt_cv_dlopen_self=no
12140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12141 $as_echo "$lt_cv_dlopen_self" >&6; }
12143 if test "x$lt_cv_dlopen_self" = xyes; then
12144 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12146 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12147 if ${lt_cv_dlopen_self_static+:} false; then :
12148 $as_echo_n "(cached) " >&6
12150 if test "$cross_compiling" = yes; then :
12151 lt_cv_dlopen_self_static=cross
12153 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12154 lt_status=$lt_dlunknown
12155 cat > conftest.$ac_ext <<_LT_EOF
12156 #line $LINENO "configure"
12157 #include "confdefs.h"
12166 # define LT_DLGLOBAL RTLD_GLOBAL
12169 # define LT_DLGLOBAL DL_GLOBAL
12171 # define LT_DLGLOBAL 0
12175 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12176 find out it does not work in some platform. */
12177 #ifndef LT_DLLAZY_OR_NOW
12179 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12182 # define LT_DLLAZY_OR_NOW DL_LAZY
12185 # define LT_DLLAZY_OR_NOW RTLD_NOW
12188 # define LT_DLLAZY_OR_NOW DL_NOW
12190 # define LT_DLLAZY_OR_NOW 0
12197 /* When -fvisbility=hidden is used, assume the code has been annotated
12198 correspondingly for the symbols needed. */
12199 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12200 int fnord () __attribute__((visibility("default")));
12203 int fnord () { return 42; }
12206 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12207 int status = $lt_dlunknown;
12211 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12214 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12215 else puts (dlerror ());
12217 /* dlclose (self); */
12225 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12226 (eval $ac_link) 2>&5
12228 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12229 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12230 (./conftest; exit; ) >&5 2>/dev/null
12232 case x$lt_status in
12233 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12234 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12235 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12238 # compilation failed
12239 lt_cv_dlopen_self_static=no
12246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12247 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12250 CPPFLAGS="$save_CPPFLAGS"
12251 LDFLAGS="$save_LDFLAGS"
12256 case $lt_cv_dlopen_self in
12257 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12258 *) enable_dlopen_self=unknown ;;
12261 case $lt_cv_dlopen_self_static in
12262 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12263 *) enable_dlopen_self_static=unknown ;;
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12286 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12287 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12288 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12289 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12291 $as_echo "yes" >&6; }
12293 # FIXME - insert some real tests, host_os isn't really good enough
12296 if test -n "$STRIP" ; then
12297 striplib="$STRIP -x"
12298 old_striplib="$STRIP -S"
12299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12300 $as_echo "yes" >&6; }
12302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12303 $as_echo "no" >&6; }
12307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12308 $as_echo "no" >&6; }
12324 # Report which library types will actually be built
12325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12326 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12328 $as_echo "$can_build_shared" >&6; }
12330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12331 $as_echo_n "checking whether to build shared libraries... " >&6; }
12332 test "$can_build_shared" = "no" && enable_shared=no
12334 # On AIX, shared libraries and static libraries use the same namespace, and
12335 # are all built from PIC.
12338 test "$enable_shared" = yes && enable_static=no
12339 if test -n "$RANLIB"; then
12340 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12341 postinstall_cmds='$RANLIB $lib'
12346 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12347 test "$enable_shared" = yes && enable_static=no
12351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12352 $as_echo "$enable_shared" >&6; }
12354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12355 $as_echo_n "checking whether to build static libraries... " >&6; }
12356 # Make sure either enable_shared or enable_static is yes.
12357 test "$enable_shared" = yes || enable_static=yes
12358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12359 $as_echo "$enable_static" >&6; }
12366 ac_cpp='$CPP $CPPFLAGS'
12367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12373 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12374 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12375 (test "X$CXX" != "Xg++"))) ; then
12377 ac_cpp='$CXXCPP $CPPFLAGS'
12378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12382 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12383 if test -z "$CXXCPP"; then
12384 if ${ac_cv_prog_CXXCPP+:} false; then :
12385 $as_echo_n "(cached) " >&6
12387 # Double quotes because CXXCPP needs to be expanded
12388 for CXXCPP in "$CXX -E" "/lib/cpp"
12390 ac_preproc_ok=false
12391 for ac_cxx_preproc_warn_flag in '' yes
12393 # Use a header file that comes with gcc, so configuring glibc
12394 # with a fresh cross-compiler works.
12395 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12396 # <limits.h> exists even on freestanding compilers.
12397 # On the NeXT, cc -E runs the code through the compiler's parser,
12398 # not just through cpp. "Syntax error" is here to catch this case.
12399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12400 /* end confdefs.h. */
12402 # include <limits.h>
12404 # include <assert.h>
12408 if ac_fn_cxx_try_cpp "$LINENO"; then :
12411 # Broken: fails on valid input.
12414 rm -f conftest.err conftest.i conftest.$ac_ext
12416 # OK, works on sane cases. Now check whether nonexistent headers
12417 # can be detected and how.
12418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12419 /* end confdefs.h. */
12420 #include <ac_nonexistent.h>
12422 if ac_fn_cxx_try_cpp "$LINENO"; then :
12423 # Broken: success on invalid input.
12426 # Passes both tests.
12430 rm -f conftest.err conftest.i conftest.$ac_ext
12433 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12434 rm -f conftest.i conftest.err conftest.$ac_ext
12435 if $ac_preproc_ok; then :
12440 ac_cv_prog_CXXCPP=$CXXCPP
12443 CXXCPP=$ac_cv_prog_CXXCPP
12445 ac_cv_prog_CXXCPP=$CXXCPP
12447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12448 $as_echo "$CXXCPP" >&6; }
12449 ac_preproc_ok=false
12450 for ac_cxx_preproc_warn_flag in '' yes
12452 # Use a header file that comes with gcc, so configuring glibc
12453 # with a fresh cross-compiler works.
12454 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12455 # <limits.h> exists even on freestanding compilers.
12456 # On the NeXT, cc -E runs the code through the compiler's parser,
12457 # not just through cpp. "Syntax error" is here to catch this case.
12458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12459 /* end confdefs.h. */
12461 # include <limits.h>
12463 # include <assert.h>
12467 if ac_fn_cxx_try_cpp "$LINENO"; then :
12470 # Broken: fails on valid input.
12473 rm -f conftest.err conftest.i conftest.$ac_ext
12475 # OK, works on sane cases. Now check whether nonexistent headers
12476 # can be detected and how.
12477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12478 /* end confdefs.h. */
12479 #include <ac_nonexistent.h>
12481 if ac_fn_cxx_try_cpp "$LINENO"; then :
12482 # Broken: success on invalid input.
12485 # Passes both tests.
12489 rm -f conftest.err conftest.i conftest.$ac_ext
12492 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12493 rm -f conftest.i conftest.err conftest.$ac_ext
12494 if $ac_preproc_ok; then :
12497 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12498 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12499 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12500 See \`config.log' for more details" "$LINENO" 5; }
12504 ac_cpp='$CPP $CPPFLAGS'
12505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12510 _lt_caught_CXX_error=yes
12514 ac_cpp='$CXXCPP $CPPFLAGS'
12515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12519 archive_cmds_need_lc_CXX=no
12520 allow_undefined_flag_CXX=
12521 always_export_symbols_CXX=no
12522 archive_expsym_cmds_CXX=
12523 compiler_needs_object_CXX=no
12524 export_dynamic_flag_spec_CXX=
12525 hardcode_direct_CXX=no
12526 hardcode_direct_absolute_CXX=no
12527 hardcode_libdir_flag_spec_CXX=
12528 hardcode_libdir_flag_spec_ld_CXX=
12529 hardcode_libdir_separator_CXX=
12530 hardcode_minus_L_CXX=no
12531 hardcode_shlibpath_var_CXX=unsupported
12532 hardcode_automatic_CXX=no
12533 inherit_rpath_CXX=no
12535 module_expsym_cmds_CXX=
12536 link_all_deplibs_CXX=unknown
12537 old_archive_cmds_CXX=$old_archive_cmds
12538 reload_flag_CXX=$reload_flag
12539 reload_cmds_CXX=$reload_cmds
12540 no_undefined_flag_CXX=
12541 whole_archive_flag_spec_CXX=
12542 enable_shared_with_static_runtimes_CXX=no
12544 # Source file extension for C++ test sources.
12547 # Object file extension for compiled C++ test sources.
12551 # No sense in running all these tests if we already determined that
12552 # the CXX compiler isn't working. Some variables (like enable_shared)
12553 # are currently assumed to apply to all compilers on this platform,
12554 # and will be corrupted by setting them based on a non-working compiler.
12555 if test "$_lt_caught_CXX_error" != yes; then
12556 # Code to be used in simple compile tests
12557 lt_simple_compile_test_code="int some_variable = 0;"
12559 # Code to be used in simple link tests
12560 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12562 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12569 # If no C compiler was specified, use CC.
12572 # If no C compiler flags were specified, use CFLAGS.
12573 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12575 # Allow CC to be a program name with arguments.
12579 # save warnings/boilerplate of simple test code
12580 ac_outfile=conftest.$ac_objext
12581 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12582 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12583 _lt_compiler_boilerplate=`cat conftest.err`
12586 ac_outfile=conftest.$ac_objext
12587 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12588 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12589 _lt_linker_boilerplate=`cat conftest.err`
12593 # Allow CC to be a program name with arguments.
12595 lt_save_CFLAGS=$CFLAGS
12599 lt_save_with_gnu_ld=$with_gnu_ld
12600 lt_save_path_LD=$lt_cv_path_LD
12601 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12602 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12604 $as_unset lt_cv_prog_gnu_ld
12606 if test -n "${lt_cv_path_LDCXX+set}"; then
12607 lt_cv_path_LD=$lt_cv_path_LDCXX
12609 $as_unset lt_cv_path_LD
12611 test -z "${LDCXX+set}" || LD=$LDCXX
12616 for cc_temp in $compiler""; do
12618 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12619 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12624 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12627 if test -n "$compiler"; then
12628 # We don't want -fno-exception when compiling C++ code, so set the
12629 # no_builtin_flag separately
12630 if test "$GXX" = yes; then
12631 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12633 lt_prog_compiler_no_builtin_flag_CXX=
12636 if test "$GXX" = yes; then
12637 # Set up default GNU C++ configuration
12641 # Check whether --with-gnu-ld was given.
12642 if test "${with_gnu_ld+set}" = set; then :
12643 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12649 if test "$GCC" = yes; then
12650 # Check if gcc -print-prog-name=ld gives a path.
12651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12652 $as_echo_n "checking for ld used by $CC... " >&6; }
12655 # gcc leaves a trailing carriage return which upsets mingw
12656 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12658 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12661 # Accept absolute paths.
12663 re_direlt='/[^/][^/]*/\.\./'
12664 # Canonicalize the pathname of ld
12665 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12666 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12667 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12669 test -z "$LD" && LD="$ac_prog"
12672 # If it fails, then pretend we aren't using GCC.
12676 # If it is relative, then search for the first ld in PATH.
12677 with_gnu_ld=unknown
12680 elif test "$with_gnu_ld" = yes; then
12681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12682 $as_echo_n "checking for GNU ld... " >&6; }
12684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12685 $as_echo_n "checking for non-GNU ld... " >&6; }
12687 if ${lt_cv_path_LD+:} false; then :
12688 $as_echo_n "(cached) " >&6
12690 if test -z "$LD"; then
12691 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12692 for ac_dir in $PATH; do
12694 test -z "$ac_dir" && ac_dir=.
12695 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12696 lt_cv_path_LD="$ac_dir/$ac_prog"
12697 # Check to see if the program is GNU ld. I'd rather use --version,
12698 # but apparently some variants of GNU ld only accept -v.
12699 # Break only if it was the GNU/non-GNU ld that we prefer.
12700 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12701 *GNU* | *'with BFD'*)
12702 test "$with_gnu_ld" != no && break
12705 test "$with_gnu_ld" != yes && break
12712 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12716 LD="$lt_cv_path_LD"
12717 if test -n "$LD"; then
12718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12719 $as_echo "$LD" >&6; }
12721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12722 $as_echo "no" >&6; }
12724 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12726 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12727 if ${lt_cv_prog_gnu_ld+:} false; then :
12728 $as_echo_n "(cached) " >&6
12730 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12731 case `$LD -v 2>&1 </dev/null` in
12732 *GNU* | *'with BFD'*)
12733 lt_cv_prog_gnu_ld=yes
12736 lt_cv_prog_gnu_ld=no
12740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12741 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12742 with_gnu_ld=$lt_cv_prog_gnu_ld
12750 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12751 # archiving commands below assume that GNU ld is being used.
12752 if test "$with_gnu_ld" = yes; then
12753 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12754 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'
12756 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12757 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12759 # If archive_cmds runs LD, not CC, wlarc should be empty
12760 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12761 # investigate it a little bit more. (MM)
12764 # ancient GNU ld didn't support --whole-archive et. al.
12765 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12766 $GREP 'no-whole-archive' > /dev/null; then
12767 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12769 whole_archive_flag_spec_CXX=
12775 # A generic and very simple default shared library creation
12776 # command for GNU C++ for the case where it uses the native
12777 # linker, instead of GNU ld. If possible, this setting should
12778 # overridden to take advantage of the native linker features on
12779 # the platform it is being used on.
12780 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12783 # Commands to make compiler produce verbose output that lists
12784 # what "hidden" libraries, object files and flags are used when
12785 # linking a shared library.
12786 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12794 # PORTME: fill in a description of your system's C++ link characteristics
12795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12796 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12800 # FIXME: insert proper C++ library support
12804 if test "$host_cpu" = ia64; then
12805 # On IA64, the linker does run time linking by default, so we don't
12806 # have to do anything special.
12807 aix_use_runtimelinking=no
12808 exp_sym_flag='-Bexport'
12811 aix_use_runtimelinking=no
12813 # Test if we are trying to use run time linking or normal
12814 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12815 # need to do runtime linking.
12816 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12817 for ld_flag in $LDFLAGS; do
12820 aix_use_runtimelinking=yes
12828 exp_sym_flag='-bexport'
12829 no_entry_flag='-bnoentry'
12832 # When large executables or shared objects are built, AIX ld can
12833 # have problems creating the table of contents. If linking a library
12834 # or program results in "error TOC overflow" add -mminimal-toc to
12835 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12836 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12838 archive_cmds_CXX=''
12839 hardcode_direct_CXX=yes
12840 hardcode_direct_absolute_CXX=yes
12841 hardcode_libdir_separator_CXX=':'
12842 link_all_deplibs_CXX=yes
12843 file_list_spec_CXX='${wl}-f,'
12845 if test "$GXX" = yes; then
12846 case $host_os in aix4.[012]|aix4.[012].*)
12847 # We only want to do this on AIX 4.2 and lower, the check
12848 # below for broken collect2 doesn't work under 4.3+
12849 collect2name=`${CC} -print-prog-name=collect2`
12850 if test -f "$collect2name" &&
12851 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12853 # We have reworked collect2
12856 # We have old collect2
12857 hardcode_direct_CXX=unsupported
12858 # It fails to find uninstalled libraries when the uninstalled
12859 # path is not listed in the libpath. Setting hardcode_minus_L
12860 # to unsupported forces relinking
12861 hardcode_minus_L_CXX=yes
12862 hardcode_libdir_flag_spec_CXX='-L$libdir'
12863 hardcode_libdir_separator_CXX=
12866 shared_flag='-shared'
12867 if test "$aix_use_runtimelinking" = yes; then
12868 shared_flag="$shared_flag "'${wl}-G'
12872 if test "$host_cpu" = ia64; then
12873 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12874 # chokes on -Wl,-G. The following line is correct:
12877 if test "$aix_use_runtimelinking" = yes; then
12878 shared_flag='${wl}-G'
12880 shared_flag='${wl}-bM:SRE'
12885 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12886 # It seems that -bexpall does not export symbols beginning with
12887 # underscore (_), so it is better to generate a list of symbols to
12889 always_export_symbols_CXX=yes
12890 if test "$aix_use_runtimelinking" = yes; then
12891 # Warning - without using the other runtime loading flags (-brtl),
12892 # -berok will link without error, but may produce a broken library.
12893 allow_undefined_flag_CXX='-berok'
12894 # Determine the default libpath from the value encoded in an empty
12896 if test "${lt_cv_aix_libpath+set}" = set; then
12897 aix_libpath=$lt_cv_aix_libpath
12899 if ${lt_cv_aix_libpath__CXX+:} false; then :
12900 $as_echo_n "(cached) " >&6
12902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12903 /* end confdefs.h. */
12913 if ac_fn_cxx_try_link "$LINENO"; then :
12915 lt_aix_libpath_sed='
12916 /Import File Strings/,/^$/ {
12918 s/^0 *\([^ ]*\) *$/\1/
12922 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12923 # Check for a 64-bit object if we didn't find anything.
12924 if test -z "$lt_cv_aix_libpath__CXX"; then
12925 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12928 rm -f core conftest.err conftest.$ac_objext \
12929 conftest$ac_exeext conftest.$ac_ext
12930 if test -z "$lt_cv_aix_libpath__CXX"; then
12931 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
12936 aix_libpath=$lt_cv_aix_libpath__CXX
12939 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12941 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"
12943 if test "$host_cpu" = ia64; then
12944 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12945 allow_undefined_flag_CXX="-z nodefs"
12946 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"
12948 # Determine the default libpath from the value encoded in an
12949 # empty executable.
12950 if test "${lt_cv_aix_libpath+set}" = set; then
12951 aix_libpath=$lt_cv_aix_libpath
12953 if ${lt_cv_aix_libpath__CXX+:} false; then :
12954 $as_echo_n "(cached) " >&6
12956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12957 /* end confdefs.h. */
12967 if ac_fn_cxx_try_link "$LINENO"; then :
12969 lt_aix_libpath_sed='
12970 /Import File Strings/,/^$/ {
12972 s/^0 *\([^ ]*\) *$/\1/
12976 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12977 # Check for a 64-bit object if we didn't find anything.
12978 if test -z "$lt_cv_aix_libpath__CXX"; then
12979 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12982 rm -f core conftest.err conftest.$ac_objext \
12983 conftest$ac_exeext conftest.$ac_ext
12984 if test -z "$lt_cv_aix_libpath__CXX"; then
12985 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
12990 aix_libpath=$lt_cv_aix_libpath__CXX
12993 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12994 # Warning - without using the other run time loading flags,
12995 # -berok will link without error, but may produce a broken library.
12996 no_undefined_flag_CXX=' ${wl}-bernotok'
12997 allow_undefined_flag_CXX=' ${wl}-berok'
12998 if test "$with_gnu_ld" = yes; then
12999 # We only use this code for GNU lds that support --whole-archive.
13000 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13002 # Exported symbols can be pulled into shared objects from archives
13003 whole_archive_flag_spec_CXX='$convenience'
13005 archive_cmds_need_lc_CXX=yes
13006 # This is similar to how AIX traditionally builds its shared
13008 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'
13014 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13015 allow_undefined_flag_CXX=unsupported
13016 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13017 # support --undefined. This deserves some investigation. FIXME
13018 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13025 case $cc_basename in
13027 # FIXME: insert proper C++ library support
13033 cygwin* | mingw* | pw32* | cegcc*)
13034 case $GXX,$cc_basename in
13037 # hardcode_libdir_flag_spec is actually meaningless, as there is
13038 # no search path for DLLs.
13039 hardcode_libdir_flag_spec_CXX=' '
13040 allow_undefined_flag_CXX=unsupported
13041 always_export_symbols_CXX=yes
13042 file_list_spec_CXX='@'
13043 # Tell ltmain to make .lib files, not .a files.
13045 # Tell ltmain to make .dll files, not .so files.
13047 # FIXME: Setting linknames here is a bad hack.
13048 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
13049 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13050 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
13052 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
13054 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13056 # The linker will not automatically build a static lib if we build a DLL.
13057 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13058 enable_shared_with_static_runtimes_CXX=yes
13060 old_postinstall_cmds_CXX='chmod 644 $oldlib'
13061 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
13062 lt_tool_outputfile="@TOOL_OUTPUT@"~
13063 case $lt_outputfile in
13066 lt_outputfile="$lt_outputfile.exe"
13067 lt_tool_outputfile="$lt_tool_outputfile.exe"
13070 func_to_tool_file "$lt_outputfile"~
13071 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
13072 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13073 $RM "$lt_outputfile.manifest";
13078 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13079 # as there is no search path for DLLs.
13080 hardcode_libdir_flag_spec_CXX='-L$libdir'
13081 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
13082 allow_undefined_flag_CXX=unsupported
13083 always_export_symbols_CXX=no
13084 enable_shared_with_static_runtimes_CXX=yes
13086 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13087 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'
13088 # If the export-symbols file already is a .def file (1st line
13089 # is EXPORTS), use it as is; otherwise, prepend...
13090 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13091 cp $export_symbols $output_objdir/$soname.def;
13093 echo EXPORTS > $output_objdir/$soname.def;
13094 cat $export_symbols >> $output_objdir/$soname.def;
13096 $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'
13103 darwin* | rhapsody*)
13106 archive_cmds_need_lc_CXX=no
13107 hardcode_direct_CXX=no
13108 hardcode_automatic_CXX=yes
13109 hardcode_shlibpath_var_CXX=unsupported
13110 if test "$lt_cv_ld_force_load" = "yes"; then
13111 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\"`'
13113 whole_archive_flag_spec_CXX=''
13115 link_all_deplibs_CXX=yes
13116 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13117 case $cc_basename in
13118 ifort*) _lt_dar_can_shared=yes ;;
13119 *) _lt_dar_can_shared=$GCC ;;
13121 if test "$_lt_dar_can_shared" = "yes"; then
13122 output_verbose_link_cmd=func_echo_all
13123 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}"
13124 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13125 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}"
13126 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}"
13127 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13128 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}"
13129 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}"
13139 case $cc_basename in
13141 # FIXME: insert proper C++ library support
13145 # Green Hills C++ Compiler
13146 # FIXME: insert proper C++ library support
13150 # FIXME: insert proper C++ library support
13157 # C++ shared libraries reported to be fairly broken before
13163 archive_cmds_need_lc_CXX=no
13166 freebsd* | dragonfly*)
13167 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13176 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13177 link_all_deplibs_CXX=yes
13181 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13182 hardcode_libdir_separator_CXX=:
13183 export_dynamic_flag_spec_CXX='${wl}-E'
13184 hardcode_direct_CXX=yes
13185 hardcode_minus_L_CXX=yes # Not in the search PATH,
13186 # but as the default
13187 # location of the library.
13189 case $cc_basename in
13191 # FIXME: insert proper C++ library support
13195 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'
13196 # Commands to make compiler produce verbose output that lists
13197 # what "hidden" libraries, object files and flags are used when
13198 # linking a shared library.
13200 # There doesn't appear to be a way to prevent this compiler from
13201 # explicitly linking system object files so we need to strip them
13202 # from the output so that they don't get included in the library
13204 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"'
13207 if test "$GXX" = yes; then
13208 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'
13210 # FIXME: insert proper C++ library support
13218 if test $with_gnu_ld = no; then
13219 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13220 hardcode_libdir_separator_CXX=:
13226 export_dynamic_flag_spec_CXX='${wl}-E'
13232 hardcode_direct_CXX=no
13233 hardcode_shlibpath_var_CXX=no
13236 hardcode_direct_CXX=yes
13237 hardcode_direct_absolute_CXX=yes
13238 hardcode_minus_L_CXX=yes # Not in the search PATH,
13239 # but as the default
13240 # location of the library.
13244 case $cc_basename in
13246 # FIXME: insert proper C++ library support
13252 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13255 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13258 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13261 # Commands to make compiler produce verbose output that lists
13262 # what "hidden" libraries, object files and flags are used when
13263 # linking a shared library.
13265 # There doesn't appear to be a way to prevent this compiler from
13266 # explicitly linking system object files so we need to strip them
13267 # from the output so that they don't get included in the library
13269 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"'
13272 if test "$GXX" = yes; then
13273 if test $with_gnu_ld = no; then
13276 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13279 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13282 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'
13287 # FIXME: insert proper C++ library support
13295 hardcode_direct_CXX=no
13296 hardcode_shlibpath_var_CXX=no
13297 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13298 export_dynamic_flag_spec_CXX='${wl}-E'
13299 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13300 # Instead, shared libraries are loaded at an image base (0x10000000 by
13301 # default) and relocated if they conflict, which is a slow very memory
13302 # consuming and fragmenting process. To avoid this, we pick a random,
13303 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13304 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13305 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'
13306 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'
13309 case $cc_basename in
13312 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'
13314 # Archives containing C++ object files must be created using
13315 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13316 # necessary to make sure instantiated templates are included
13318 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13321 if test "$GXX" = yes; then
13322 if test "$with_gnu_ld" = no; then
13323 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'
13325 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'
13328 link_all_deplibs_CXX=yes
13331 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13332 hardcode_libdir_separator_CXX=:
13333 inherit_rpath_CXX=yes
13336 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13337 case $cc_basename in
13339 # Kuck and Associates, Inc. (KAI) C++ Compiler
13341 # KCC will only create a shared library if the output file
13342 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13343 # to its proper name (with version) after linking.
13344 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'
13345 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'
13346 # Commands to make compiler produce verbose output that lists
13347 # what "hidden" libraries, object files and flags are used when
13348 # linking a shared library.
13350 # There doesn't appear to be a way to prevent this compiler from
13351 # explicitly linking system object files so we need to strip them
13352 # from the output so that they don't get included in the library
13354 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"'
13356 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13357 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13359 # Archives containing C++ object files must be created using
13360 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13361 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13366 # version 8.0 and above of icpc choke on multiply defined symbols
13367 # if we add $predep_objects and $postdep_objects, however 7.1 and
13368 # earlier do not add the objects themselves.
13369 case `$CC -V 2>&1` in
13371 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13372 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'
13374 *) # Version 8.0 or newer
13377 ia64*) tmp_idyn=' -i_dynamic';;
13379 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13380 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'
13383 archive_cmds_need_lc_CXX=no
13384 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13385 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13386 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13389 # Portland Group C++ compiler
13391 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13392 prelink_cmds_CXX='tpldir=Template.dir~
13394 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13395 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13396 old_archive_cmds_CXX='tpldir=Template.dir~
13398 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13399 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13401 archive_cmds_CXX='tpldir=Template.dir~
13403 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13404 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13405 archive_expsym_cmds_CXX='tpldir=Template.dir~
13407 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13408 $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'
13410 *) # Version 6 and above use weak symbols
13411 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13412 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'
13416 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13417 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13418 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'
13422 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13423 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'
13425 runpath_var=LD_RUN_PATH
13426 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13427 hardcode_libdir_separator_CXX=:
13429 # Commands to make compiler produce verbose output that lists
13430 # what "hidden" libraries, object files and flags are used when
13431 # linking a shared library.
13433 # There doesn't appear to be a way to prevent this compiler from
13434 # explicitly linking system object files so we need to strip them
13435 # from the output so that they don't get included in the library
13437 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'
13439 xl* | mpixl* | bgxl*)
13440 # IBM XL 8.0 on PPC, with GNU ld
13441 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13442 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13443 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13444 if test "x$supports_anon_versioning" = xyes; then
13445 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13446 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13447 echo "local: *; };" >> $output_objdir/$libname.ver~
13448 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13452 case `$CC -V 2>&1 | sed 5q` in
13455 no_undefined_flag_CXX=' -zdefs'
13456 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13457 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'
13458 hardcode_libdir_flag_spec_CXX='-R$libdir'
13459 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'
13460 compiler_needs_object_CXX=yes
13462 # Not sure whether something based on
13463 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13465 output_verbose_link_cmd='func_echo_all'
13467 # Archives containing C++ object files must be created using
13468 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13469 # necessary to make sure instantiated templates are included
13471 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13479 # FIXME: insert proper C++ library support
13484 # FIXME: insert proper C++ library support
13489 case $cc_basename in
13491 # FIXME: insert proper C++ library support
13495 # FIXME: insert proper C++ library support
13502 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13503 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13505 hardcode_libdir_flag_spec_CXX='-R$libdir'
13506 hardcode_direct_CXX=yes
13507 hardcode_shlibpath_var_CXX=no
13509 # Workaround some broken pre-1.5 toolchains
13510 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13518 # C++ shared libraries are fairly broken
13523 if test -f /usr/libexec/ld.so; then
13524 hardcode_direct_CXX=yes
13525 hardcode_shlibpath_var_CXX=no
13526 hardcode_direct_absolute_CXX=yes
13527 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13528 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13529 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13530 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13531 export_dynamic_flag_spec_CXX='${wl}-E'
13532 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13534 output_verbose_link_cmd=func_echo_all
13540 osf3* | osf4* | osf5*)
13541 case $cc_basename in
13543 # Kuck and Associates, Inc. (KAI) C++ Compiler
13545 # KCC will only create a shared library if the output file
13546 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13547 # to its proper name (with version) after linking.
13548 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'
13550 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13551 hardcode_libdir_separator_CXX=:
13553 # Archives containing C++ object files must be created using
13554 # the KAI C++ compiler.
13556 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13557 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13561 # Rational C++ 2.4.1
13562 # FIXME: insert proper C++ library support
13568 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13569 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'
13570 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13573 allow_undefined_flag_CXX=' -expect_unresolved \*'
13574 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'
13575 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13576 echo "-hidden">> $lib.exp~
13577 $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~
13579 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13583 hardcode_libdir_separator_CXX=:
13585 # Commands to make compiler produce verbose output that lists
13586 # what "hidden" libraries, object files and flags are used when
13587 # linking a shared library.
13589 # There doesn't appear to be a way to prevent this compiler from
13590 # explicitly linking system object files so we need to strip them
13591 # from the output so that they don't get included in the library
13593 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"'
13596 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13597 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13600 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'
13603 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'
13607 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13608 hardcode_libdir_separator_CXX=:
13610 # Commands to make compiler produce verbose output that lists
13611 # what "hidden" libraries, object files and flags are used when
13612 # linking a shared library.
13613 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13616 # FIXME: insert proper C++ library support
13624 # FIXME: insert proper C++ library support
13629 case $cc_basename in
13632 # FIXME: insert proper C++ library support
13637 # FIXME: insert proper C++ library support
13641 # FIXME: insert proper C++ library support
13648 case $cc_basename in
13650 # Sun C++ 4.2, 5.x and Centerline C++
13651 archive_cmds_need_lc_CXX=yes
13652 no_undefined_flag_CXX=' -zdefs'
13653 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13654 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13655 $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'
13657 hardcode_libdir_flag_spec_CXX='-R$libdir'
13658 hardcode_shlibpath_var_CXX=no
13660 solaris2.[0-5] | solaris2.[0-5].*) ;;
13662 # The compiler driver will combine and reorder linker options,
13663 # but understands `-z linker_flag'.
13664 # Supported since Solaris 2.6 (maybe 2.5.1?)
13665 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13668 link_all_deplibs_CXX=yes
13670 output_verbose_link_cmd='func_echo_all'
13672 # Archives containing C++ object files must be created using
13673 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13674 # necessary to make sure instantiated templates are included
13676 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13679 # Green Hills C++ Compiler
13680 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13682 # The C++ compiler must be used to create the archive.
13683 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13686 # GNU C++ compiler with Solaris linker
13687 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13688 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13689 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13690 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13691 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13692 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13694 # Commands to make compiler produce verbose output that lists
13695 # what "hidden" libraries, object files and flags are used when
13696 # linking a shared library.
13697 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13699 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13701 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13702 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13703 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13705 # Commands to make compiler produce verbose output that lists
13706 # what "hidden" libraries, object files and flags are used when
13707 # linking a shared library.
13708 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13711 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13713 solaris2.[0-5] | solaris2.[0-5].*) ;;
13715 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13723 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13724 no_undefined_flag_CXX='${wl}-z,text'
13725 archive_cmds_need_lc_CXX=no
13726 hardcode_shlibpath_var_CXX=no
13727 runpath_var='LD_RUN_PATH'
13729 case $cc_basename in
13731 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13732 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13735 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13736 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13741 sysv5* | sco3.2v5* | sco5v6*)
13742 # Note: We can NOT use -z defs as we might desire, because we do not
13743 # link with -lc, and that would cause any symbols used from libc to
13744 # always be unresolved, which means just about no library would
13745 # ever link correctly. If we're not using GNU ld we use -z text
13746 # though, which does catch some bad symbols but isn't as heavy-handed
13748 no_undefined_flag_CXX='${wl}-z,text'
13749 allow_undefined_flag_CXX='${wl}-z,nodefs'
13750 archive_cmds_need_lc_CXX=no
13751 hardcode_shlibpath_var_CXX=no
13752 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13753 hardcode_libdir_separator_CXX=':'
13754 link_all_deplibs_CXX=yes
13755 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13756 runpath_var='LD_RUN_PATH'
13758 case $cc_basename in
13760 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13761 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13762 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13763 '"$old_archive_cmds_CXX"
13764 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13765 '"$reload_cmds_CXX"
13768 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13769 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13775 case $cc_basename in
13777 # NonStop-UX NCC 3.20
13778 # FIXME: insert proper C++ library support
13782 # FIXME: insert proper C++ library support
13789 # FIXME: insert proper C++ library support
13794 # FIXME: insert proper C++ library support
13799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13800 $as_echo "$ld_shlibs_CXX" >&6; }
13801 test "$ld_shlibs_CXX" = no && can_build_shared=no
13807 ## There is no encapsulation within the following macros, do not change
13808 ## the running order or otherwise move them around unless you know exactly
13809 ## what you are doing...
13810 # Dependencies to place before and after the object being linked:
13811 predep_objects_CXX=
13812 postdep_objects_CXX=
13815 compiler_lib_search_path_CXX=
13817 cat > conftest.$ac_ext <<_LT_EOF
13821 Foo (void) { a = 0; }
13828 _lt_libdeps_save_CFLAGS=$CFLAGS
13829 case "$CC $CFLAGS " in #(
13830 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
13831 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
13834 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13835 (eval $ac_compile) 2>&5
13837 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13838 test $ac_status = 0; }; then
13839 # Parse the compiler output and extract the necessary
13840 # objects, libraries and library flags.
13842 # Sentinel used to keep track of whether or not we are before
13843 # the conftest object file.
13844 pre_test_object_deps_done=no
13846 for p in `eval "$output_verbose_link_cmd"`; do
13847 case ${prev}${p} in
13850 # Some compilers place space between "-{L,R}" and the path.
13851 # Remove the space.
13852 if test $p = "-L" ||
13853 test $p = "-R"; then
13858 # Expand the sysroot to ease extracting the directories later.
13859 if test -z "$prev"; then
13861 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
13862 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
13863 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
13867 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
13869 if test "$pre_test_object_deps_done" = no; then
13872 # Internal compiler library paths should come after those
13873 # provided the user. The postdeps already come after the
13874 # user supplied libs so there is no need to process them.
13875 if test -z "$compiler_lib_search_path_CXX"; then
13876 compiler_lib_search_path_CXX="${prev}${p}"
13878 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13881 # The "-l" case would never come before the object being
13882 # linked, so don't bother handling this case.
13885 if test -z "$postdeps_CXX"; then
13886 postdeps_CXX="${prev}${p}"
13888 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13894 *.lto.$objext) ;; # Ignore GCC LTO objects
13896 # This assumes that the test object file only shows up
13897 # once in the compiler output.
13898 if test "$p" = "conftest.$objext"; then
13899 pre_test_object_deps_done=yes
13903 if test "$pre_test_object_deps_done" = no; then
13904 if test -z "$predep_objects_CXX"; then
13905 predep_objects_CXX="$p"
13907 predep_objects_CXX="$predep_objects_CXX $p"
13910 if test -z "$postdep_objects_CXX"; then
13911 postdep_objects_CXX="$p"
13913 postdep_objects_CXX="$postdep_objects_CXX $p"
13918 *) ;; # Ignore the rest.
13926 echo "libtool.m4: error: problem compiling CXX test program"
13929 $RM -f confest.$objext
13930 CFLAGS=$_lt_libdeps_save_CFLAGS
13932 # PORTME: override above test on systems where it is broken
13935 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13936 # hack all around it, let's just trust "g++" to DTRT.
13937 predep_objects_CXX=
13938 postdep_objects_CXX=
13943 case `$CC -V 2>&1 | sed 5q` in
13947 # The more standards-conforming stlport4 library is
13948 # incompatible with the Cstd library. Avoid specifying
13949 # it if it's in CXXFLAGS. Ignore libCrun as
13950 # -library=stlport4 depends on it.
13951 case " $CXX $CXXFLAGS " in
13952 *" -library=stlport4 "*)
13953 solaris_use_stlport4=yes
13957 if test "$solaris_use_stlport4" != yes; then
13958 postdeps_CXX='-library=Cstd -library=Crun'
13965 case $cc_basename in
13967 # The more standards-conforming stlport4 library is
13968 # incompatible with the Cstd library. Avoid specifying
13969 # it if it's in CXXFLAGS. Ignore libCrun as
13970 # -library=stlport4 depends on it.
13971 case " $CXX $CXXFLAGS " in
13972 *" -library=stlport4 "*)
13973 solaris_use_stlport4=yes
13977 # Adding this requires a known-good setup of shared libraries for
13978 # Sun compiler versions before 5.6, else PIC objects from an old
13979 # archive will be linked into the output, leading to subtle bugs.
13980 if test "$solaris_use_stlport4" != yes; then
13981 postdeps_CXX='-library=Cstd -library=Crun'
13989 case " $postdeps_CXX " in
13990 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13992 compiler_lib_search_dirs_CXX=
13993 if test -n "${compiler_lib_search_path_CXX}"; then
13994 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14027 lt_prog_compiler_wl_CXX=
14028 lt_prog_compiler_pic_CXX=
14029 lt_prog_compiler_static_CXX=
14032 # C++ specific cases for pic, static, wl, etc.
14033 if test "$GXX" = yes; then
14034 lt_prog_compiler_wl_CXX='-Wl,'
14035 lt_prog_compiler_static_CXX='-static'
14039 # All AIX code is PIC.
14040 if test "$host_cpu" = ia64; then
14041 # AIX 5 now supports IA64 processor
14042 lt_prog_compiler_static_CXX='-Bstatic'
14049 # see comment about AmigaOS4 .so support
14050 lt_prog_compiler_pic_CXX='-fPIC'
14053 # FIXME: we need at least 68020 code to build shared libraries, but
14054 # adding the `-m68020' flag to GCC prevents building anything better,
14056 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14061 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14062 # PIC is the default for these OSes.
14064 mingw* | cygwin* | os2* | pw32* | cegcc*)
14065 # This hack is so that the source file can tell whether it is being
14066 # built for inclusion in a dll (and should export symbols for example).
14067 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14068 # (--disable-auto-import) libraries
14069 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14071 darwin* | rhapsody*)
14072 # PIC is the default on this platform
14073 # Common symbols not allowed in MH_DYLIB files
14074 lt_prog_compiler_pic_CXX='-fno-common'
14077 # DJGPP does not support shared libraries at all
14078 lt_prog_compiler_pic_CXX=
14081 # PIC is the default for Haiku.
14082 # The "-static" flag exists, but is broken.
14083 lt_prog_compiler_static_CXX=
14086 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14087 # Instead, we relocate shared libraries at runtime.
14090 if test -d /usr/nec; then
14091 lt_prog_compiler_pic_CXX=-Kconform_pic
14095 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14096 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14097 # sets the default TLS model and affects inlining.
14102 lt_prog_compiler_pic_CXX='-fPIC'
14107 # QNX uses GNU C++, but need to define -shared option too, otherwise
14108 # it will coredump.
14109 lt_prog_compiler_pic_CXX='-fPIC -shared'
14112 lt_prog_compiler_pic_CXX='-fPIC'
14118 # All AIX code is PIC.
14119 if test "$host_cpu" = ia64; then
14120 # AIX 5 now supports IA64 processor
14121 lt_prog_compiler_static_CXX='-Bstatic'
14123 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14127 case $cc_basename in
14129 # Green Hills C++ Compiler
14130 # _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"
14134 mingw* | cygwin* | os2* | pw32* | cegcc*)
14135 # This hack is so that the source file can tell whether it is being
14136 # built for inclusion in a dll (and should export symbols for example).
14137 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14140 case $cc_basename in
14142 lt_prog_compiler_pic_CXX='-KPIC'
14145 # Green Hills C++ Compiler
14146 lt_prog_compiler_pic_CXX='-pic'
14152 freebsd* | dragonfly*)
14153 # FreeBSD uses GNU C++
14155 hpux9* | hpux10* | hpux11*)
14156 case $cc_basename in
14158 lt_prog_compiler_wl_CXX='-Wl,'
14159 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14160 if test "$host_cpu" != ia64; then
14161 lt_prog_compiler_pic_CXX='+Z'
14165 lt_prog_compiler_wl_CXX='-Wl,'
14166 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14172 lt_prog_compiler_pic_CXX='+Z'
14181 # This is c89, which is MS Visual C++ (no shared libs)
14182 # Anyone wants to do a port?
14184 irix5* | irix6* | nonstopux*)
14185 case $cc_basename in
14187 lt_prog_compiler_wl_CXX='-Wl,'
14188 lt_prog_compiler_static_CXX='-non_shared'
14189 # CC pic flag -KPIC is the default.
14195 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14196 case $cc_basename in
14199 lt_prog_compiler_wl_CXX='--backend -Wl,'
14200 lt_prog_compiler_pic_CXX='-fPIC'
14203 # old Intel C++ for x86_64 which still supported -KPIC.
14204 lt_prog_compiler_wl_CXX='-Wl,'
14205 lt_prog_compiler_pic_CXX='-KPIC'
14206 lt_prog_compiler_static_CXX='-static'
14209 # Intel C++, used to be incompatible with GCC.
14210 # ICC 10 doesn't accept -KPIC any more.
14211 lt_prog_compiler_wl_CXX='-Wl,'
14212 lt_prog_compiler_pic_CXX='-fPIC'
14213 lt_prog_compiler_static_CXX='-static'
14216 # Portland Group C++ compiler
14217 lt_prog_compiler_wl_CXX='-Wl,'
14218 lt_prog_compiler_pic_CXX='-fpic'
14219 lt_prog_compiler_static_CXX='-Bstatic'
14223 # Make sure the PIC flag is empty. It appears that all Alpha
14224 # Linux and Compaq Tru64 Unix objects are PIC.
14225 lt_prog_compiler_pic_CXX=
14226 lt_prog_compiler_static_CXX='-non_shared'
14228 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14229 # IBM XL 8.0, 9.0 on PPC and BlueGene
14230 lt_prog_compiler_wl_CXX='-Wl,'
14231 lt_prog_compiler_pic_CXX='-qpic'
14232 lt_prog_compiler_static_CXX='-qstaticlink'
14235 case `$CC -V 2>&1 | sed 5q` in
14238 lt_prog_compiler_pic_CXX='-KPIC'
14239 lt_prog_compiler_static_CXX='-Bstatic'
14240 lt_prog_compiler_wl_CXX='-Qoption ld '
14251 case $cc_basename in
14253 lt_prog_compiler_pic_CXX='-W c,exportall'
14262 # QNX uses GNU C++, but need to define -shared option too, otherwise
14263 # it will coredump.
14264 lt_prog_compiler_pic_CXX='-fPIC -shared'
14266 osf3* | osf4* | osf5*)
14267 case $cc_basename in
14269 lt_prog_compiler_wl_CXX='--backend -Wl,'
14272 # Rational C++ 2.4.1
14273 lt_prog_compiler_pic_CXX='-pic'
14276 # Digital/Compaq C++
14277 lt_prog_compiler_wl_CXX='-Wl,'
14278 # Make sure the PIC flag is empty. It appears that all Alpha
14279 # Linux and Compaq Tru64 Unix objects are PIC.
14280 lt_prog_compiler_pic_CXX=
14281 lt_prog_compiler_static_CXX='-non_shared'
14290 case $cc_basename in
14292 # Sun C++ 4.2, 5.x and Centerline C++
14293 lt_prog_compiler_pic_CXX='-KPIC'
14294 lt_prog_compiler_static_CXX='-Bstatic'
14295 lt_prog_compiler_wl_CXX='-Qoption ld '
14298 # Green Hills C++ Compiler
14299 lt_prog_compiler_pic_CXX='-PIC'
14306 case $cc_basename in
14309 lt_prog_compiler_pic_CXX='-pic'
14310 lt_prog_compiler_static_CXX='-Bstatic'
14314 lt_prog_compiler_pic_CXX='-pic'
14320 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14321 case $cc_basename in
14323 lt_prog_compiler_wl_CXX='-Wl,'
14324 lt_prog_compiler_pic_CXX='-KPIC'
14325 lt_prog_compiler_static_CXX='-Bstatic'
14330 case $cc_basename in
14332 # NonStop-UX NCC 3.20
14333 lt_prog_compiler_pic_CXX='-KPIC'
14342 lt_prog_compiler_can_build_shared_CXX=no
14348 # For platforms which do not support PIC, -DPIC is meaningless:
14350 lt_prog_compiler_pic_CXX=
14353 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14358 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14359 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
14360 $as_echo_n "(cached) " >&6
14362 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
14364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14365 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14366 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
14369 # Check to make sure the PIC flag actually works.
14371 if test -n "$lt_prog_compiler_pic_CXX"; then
14372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14373 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14374 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14375 $as_echo_n "(cached) " >&6
14377 lt_cv_prog_compiler_pic_works_CXX=no
14378 ac_outfile=conftest.$ac_objext
14379 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14380 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14381 # Insert the option either (1) after the last *FLAGS variable, or
14382 # (2) before a word containing "conftest.", or (3) at the end.
14383 # Note that $ac_compile itself does not contain backslashes and begins
14384 # with a dollar sign (not a hyphen), so the echo should work correctly.
14385 # The option is referenced via a variable to avoid confusing sed.
14386 lt_compile=`echo "$ac_compile" | $SED \
14387 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14388 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14389 -e 's:$: $lt_compiler_flag:'`
14390 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14391 (eval "$lt_compile" 2>conftest.err)
14393 cat conftest.err >&5
14394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14395 if (exit $ac_status) && test -s "$ac_outfile"; then
14396 # The compiler can only warn and ignore the option if not recognized
14397 # So say no if there are warnings other than the usual output.
14398 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14399 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14400 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14401 lt_cv_prog_compiler_pic_works_CXX=yes
14407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14408 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14410 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14411 case $lt_prog_compiler_pic_CXX in
14413 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14416 lt_prog_compiler_pic_CXX=
14417 lt_prog_compiler_can_build_shared_CXX=no
14427 # Check to make sure the static flag actually works.
14429 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14431 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14432 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14433 $as_echo_n "(cached) " >&6
14435 lt_cv_prog_compiler_static_works_CXX=no
14436 save_LDFLAGS="$LDFLAGS"
14437 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14438 echo "$lt_simple_link_test_code" > conftest.$ac_ext
14439 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14440 # The linker can only warn and ignore the option if not recognized
14441 # So say no if there are warnings
14442 if test -s conftest.err; then
14443 # Append any errors to the config.log.
14444 cat conftest.err 1>&5
14445 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14446 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14447 if diff conftest.exp conftest.er2 >/dev/null; then
14448 lt_cv_prog_compiler_static_works_CXX=yes
14451 lt_cv_prog_compiler_static_works_CXX=yes
14455 LDFLAGS="$save_LDFLAGS"
14458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14459 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14461 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14464 lt_prog_compiler_static_CXX=
14470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14471 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14472 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14473 $as_echo_n "(cached) " >&6
14475 lt_cv_prog_compiler_c_o_CXX=no
14476 $RM -r conftest 2>/dev/null
14480 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14482 lt_compiler_flag="-o out/conftest2.$ac_objext"
14483 # Insert the option either (1) after the last *FLAGS variable, or
14484 # (2) before a word containing "conftest.", or (3) at the end.
14485 # Note that $ac_compile itself does not contain backslashes and begins
14486 # with a dollar sign (not a hyphen), so the echo should work correctly.
14487 lt_compile=`echo "$ac_compile" | $SED \
14488 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14489 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14490 -e 's:$: $lt_compiler_flag:'`
14491 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14492 (eval "$lt_compile" 2>out/conftest.err)
14494 cat out/conftest.err >&5
14495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14496 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14498 # The compiler can only warn and ignore the option if not recognized
14499 # So say no if there are warnings
14500 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14501 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14502 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14503 lt_cv_prog_compiler_c_o_CXX=yes
14508 # SGI C++ compiler will create directory out/ii_files/ for
14509 # template instantiation
14510 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14511 $RM out/* && rmdir out
14517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14518 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14523 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14524 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14525 $as_echo_n "(cached) " >&6
14527 lt_cv_prog_compiler_c_o_CXX=no
14528 $RM -r conftest 2>/dev/null
14532 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14534 lt_compiler_flag="-o out/conftest2.$ac_objext"
14535 # Insert the option either (1) after the last *FLAGS variable, or
14536 # (2) before a word containing "conftest.", or (3) at the end.
14537 # Note that $ac_compile itself does not contain backslashes and begins
14538 # with a dollar sign (not a hyphen), so the echo should work correctly.
14539 lt_compile=`echo "$ac_compile" | $SED \
14540 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14541 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14542 -e 's:$: $lt_compiler_flag:'`
14543 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14544 (eval "$lt_compile" 2>out/conftest.err)
14546 cat out/conftest.err >&5
14547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14548 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14550 # The compiler can only warn and ignore the option if not recognized
14551 # So say no if there are warnings
14552 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14553 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14554 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14555 lt_cv_prog_compiler_c_o_CXX=yes
14560 # SGI C++ compiler will create directory out/ii_files/ for
14561 # template instantiation
14562 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14563 $RM out/* && rmdir out
14569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14570 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14575 hard_links="nottested"
14576 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14577 # do not overwrite the value of need_locks provided by the user
14578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14579 $as_echo_n "checking if we can lock with hard links... " >&6; }
14582 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14584 ln conftest.a conftest.b 2>&5 || hard_links=no
14585 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14587 $as_echo "$hard_links" >&6; }
14588 if test "$hard_links" = no; then
14589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14590 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14600 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14602 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14603 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14606 # If we're using GNU nm, then we don't want the "-C" option.
14607 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14608 # Also, AIX nm treats weak defined symbols like other global defined
14609 # symbols, whereas GNU nm marks them as "W".
14610 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14611 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'
14613 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'
14617 export_symbols_cmds_CXX="$ltdll_cmds"
14619 cygwin* | mingw* | cegcc*)
14620 case $cc_basename in
14623 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'
14624 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14629 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14634 $as_echo "$ld_shlibs_CXX" >&6; }
14635 test "$ld_shlibs_CXX" = no && can_build_shared=no
14637 with_gnu_ld_CXX=$with_gnu_ld
14645 # Do we need to explicitly link libc?
14647 case "x$archive_cmds_need_lc_CXX" in
14649 # Assume -lc should be added
14650 archive_cmds_need_lc_CXX=yes
14652 if test "$enable_shared" = yes && test "$GCC" = yes; then
14653 case $archive_cmds_CXX in
14655 # FIXME: we may have to deal with multi-command sequences.
14658 # Test whether the compiler implicitly links with -lc since on some
14659 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14660 # to ld, don't add -lc before -lgcc.
14661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14662 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14663 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14664 $as_echo_n "(cached) " >&6
14667 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14669 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14670 (eval $ac_compile) 2>&5
14672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14673 test $ac_status = 0; } 2>conftest.err; then
14676 libobjs=conftest.$ac_objext
14678 wl=$lt_prog_compiler_wl_CXX
14679 pic_flag=$lt_prog_compiler_pic_CXX
14685 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14686 allow_undefined_flag_CXX=
14687 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14688 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14690 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14691 test $ac_status = 0; }
14693 lt_cv_archive_cmds_need_lc_CXX=no
14695 lt_cv_archive_cmds_need_lc_CXX=yes
14697 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14699 cat conftest.err 1>&5
14704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14705 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14706 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14777 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14779 library_names_spec=
14780 libname_spec='lib$name'
14784 postuninstall_cmds=
14788 shlibpath_overrides_runpath=unknown
14790 dynamic_linker="$host_os ld.so"
14791 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14792 need_lib_prefix=unknown
14793 hardcode_into_libs=no
14795 # when you set need_version to no, make sure it does not cause -set_version
14796 # flags to be left without arguments
14797 need_version=unknown
14802 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14803 shlibpath_var=LIBPATH
14805 # AIX 3 has no versioning support, so we append a major version to the name.
14806 soname_spec='${libname}${release}${shared_ext}$major'
14813 hardcode_into_libs=yes
14814 if test "$host_cpu" = ia64; then
14815 # AIX 5 supports IA64
14816 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14817 shlibpath_var=LD_LIBRARY_PATH
14819 # With GCC up to 2.95.x, collect2 would create an import file
14820 # for dependence libraries. The import file would start with
14821 # the line `#! .'. This would cause the generated library to
14822 # depend on `.', always an invalid library. This was fixed in
14823 # development snapshots of GCC prior to 3.0.
14825 aix4 | aix4.[01] | aix4.[01].*)
14826 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14828 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14831 can_build_shared=no
14835 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14836 # soname into executable. Probably we can add versioning support to
14837 # collect2, so additional links can be useful in future.
14838 if test "$aix_use_runtimelinking" = yes; then
14839 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14840 # instead of lib<name>.a to let people know that these are not
14841 # typical AIX shared libraries.
14842 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14844 # We preserve .a as extension for shared libraries through AIX4.2
14845 # and later when we are not doing run time linking.
14846 library_names_spec='${libname}${release}.a $libname.a'
14847 soname_spec='${libname}${release}${shared_ext}$major'
14849 shlibpath_var=LIBPATH
14856 # Since July 2007 AmigaOS4 officially supports .so libraries.
14857 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14858 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14861 library_names_spec='$libname.ixlibrary $libname.a'
14862 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14863 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'
14869 library_names_spec='${libname}${shared_ext}'
14870 dynamic_linker="$host_os ld.so"
14871 shlibpath_var=LIBRARY_PATH
14877 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14878 soname_spec='${libname}${release}${shared_ext}$major'
14879 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14880 shlibpath_var=LD_LIBRARY_PATH
14881 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14882 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14883 # the default ld.so.conf also contains /usr/contrib/lib and
14884 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14885 # libtool to hard-code these into programs
14888 cygwin* | mingw* | pw32* | cegcc*)
14889 version_type=windows
14894 case $GCC,$cc_basename in
14897 library_names_spec='$libname.dll.a'
14898 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14899 postinstall_cmds='base_file=`basename \${file}`~
14900 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14901 dldir=$destdir/`dirname \$dlpath`~
14902 test -d \$dldir || mkdir -p \$dldir~
14903 $install_prog $dir/$dlname \$dldir/$dlname~
14904 chmod a+x \$dldir/$dlname~
14905 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14906 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14908 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14909 dlpath=$dir/\$dldll~
14911 shlibpath_overrides_runpath=yes
14915 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14916 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14920 # MinGW DLLs use traditional 'lib' prefix
14921 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14924 # pw32 DLLs use 'pw' prefix rather than 'lib'
14925 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14928 dynamic_linker='Win32 ld.exe'
14933 libname_spec='$name'
14934 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14935 library_names_spec='${libname}.dll.lib'
14939 sys_lib_search_path_spec=
14942 for lt_path in $LIB
14945 # Let DOS variable expansion print the short 8.3 style file name.
14946 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
14947 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
14950 # Convert to MSYS style.
14951 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
14954 # Convert to unix form, then to dos form, then back to unix form
14955 # but this time dos style (no spaces!) so that the unix form looks
14956 # like /cygdrive/c/PROGRA~1:/cygdr...
14957 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
14958 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
14959 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14962 sys_lib_search_path_spec="$LIB"
14963 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14964 # It is most probably a Windows format PATH.
14965 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14967 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14969 # FIXME: find the short name or the path components, as spaces are
14970 # common. (e.g. "Program Files" -> "PROGRA~1")
14974 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14975 postinstall_cmds='base_file=`basename \${file}`~
14976 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14977 dldir=$destdir/`dirname \$dlpath`~
14978 test -d \$dldir || mkdir -p \$dldir~
14979 $install_prog $dir/$dlname \$dldir/$dlname'
14980 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14981 dlpath=$dir/\$dldll~
14983 shlibpath_overrides_runpath=yes
14984 dynamic_linker='Win32 link.exe'
14988 # Assume MSVC wrapper
14989 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14990 dynamic_linker='Win32 ld.exe'
14993 # FIXME: first we should search . and the directory the executable is in
14997 darwin* | rhapsody*)
14998 dynamic_linker="$host_os dyld"
14999 version_type=darwin
15002 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15003 soname_spec='${libname}${release}${major}$shared_ext'
15004 shlibpath_overrides_runpath=yes
15005 shlibpath_var=DYLD_LIBRARY_PATH
15006 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15008 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15015 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15016 soname_spec='${libname}${release}${shared_ext}$major'
15017 shlibpath_var=LD_LIBRARY_PATH
15024 freebsd* | dragonfly*)
15025 # DragonFly does not have aout. When/if they implement a new
15026 # versioning mechanism, adjust this.
15027 if test -x /usr/bin/objformat; then
15028 objformat=`/usr/bin/objformat`
15031 freebsd[123]*) objformat=aout ;;
15032 *) objformat=elf ;;
15035 version_type=freebsd-$objformat
15036 case $version_type in
15038 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15043 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15047 shlibpath_var=LD_LIBRARY_PATH
15050 shlibpath_overrides_runpath=yes
15052 freebsd3.[01]* | freebsdelf3.[01]*)
15053 shlibpath_overrides_runpath=yes
15054 hardcode_into_libs=yes
15056 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15057 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15058 shlibpath_overrides_runpath=no
15059 hardcode_into_libs=yes
15061 *) # from 4.6 on, and DragonFly
15062 shlibpath_overrides_runpath=yes
15063 hardcode_into_libs=yes
15072 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15073 soname_spec='${libname}${release}${shared_ext}$major'
15074 shlibpath_var=LD_LIBRARY_PATH
15075 hardcode_into_libs=yes
15082 dynamic_linker="$host_os runtime_loader"
15083 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15084 soname_spec='${libname}${release}${shared_ext}$major'
15085 shlibpath_var=LIBRARY_PATH
15086 shlibpath_overrides_runpath=yes
15087 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15088 hardcode_into_libs=yes
15091 hpux9* | hpux10* | hpux11*)
15092 # Give a soname corresponding to the major version so that dld.sl refuses to
15093 # link against other versions.
15100 hardcode_into_libs=yes
15101 dynamic_linker="$host_os dld.so"
15102 shlibpath_var=LD_LIBRARY_PATH
15103 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15104 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15105 soname_spec='${libname}${release}${shared_ext}$major'
15106 if test "X$HPUX_IA64_MODE" = X32; then
15107 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15109 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15111 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15115 hardcode_into_libs=yes
15116 dynamic_linker="$host_os dld.sl"
15117 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15118 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15119 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15120 soname_spec='${libname}${release}${shared_ext}$major'
15121 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15122 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15126 dynamic_linker="$host_os dld.sl"
15127 shlibpath_var=SHLIB_PATH
15128 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15129 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15130 soname_spec='${libname}${release}${shared_ext}$major'
15133 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15134 postinstall_cmds='chmod 555 $lib'
15135 # or fails outright, so override atomically:
15136 install_override_mode=555
15143 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15144 soname_spec='${libname}${release}${shared_ext}$major'
15145 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15146 shlibpath_var=LD_LIBRARY_PATH
15147 shlibpath_overrides_runpath=no
15148 hardcode_into_libs=yes
15151 irix5* | irix6* | nonstopux*)
15153 nonstopux*) version_type=nonstopux ;;
15155 if test "$lt_cv_prog_gnu_ld" = yes; then
15163 soname_spec='${libname}${release}${shared_ext}$major'
15164 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15166 irix5* | nonstopux*)
15167 libsuff= shlibsuff=
15170 case $LD in # libtool.m4 will add one of these switches to LD
15171 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15172 libsuff= shlibsuff= libmagic=32-bit;;
15173 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15174 libsuff=32 shlibsuff=N32 libmagic=N32;;
15175 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15176 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15177 *) libsuff= shlibsuff= libmagic=never-match;;
15181 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15182 shlibpath_overrides_runpath=no
15183 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15184 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15185 hardcode_into_libs=yes
15188 # No shared lib support for Linux oldld, aout, or coff.
15189 linux*oldld* | linux*aout* | linux*coff*)
15193 # This must be Linux ELF.
15194 linux* | k*bsd*-gnu | kopensolaris*-gnu)
15198 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15199 soname_spec='${libname}${release}${shared_ext}$major'
15200 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15201 shlibpath_var=LD_LIBRARY_PATH
15202 shlibpath_overrides_runpath=no
15204 # Some binutils ld are patched to set DT_RUNPATH
15205 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15206 $as_echo_n "(cached) " >&6
15208 lt_cv_shlibpath_overrides_runpath=no
15209 save_LDFLAGS=$LDFLAGS
15210 save_libdir=$libdir
15211 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15212 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15214 /* end confdefs.h. */
15224 if ac_fn_cxx_try_link "$LINENO"; then :
15225 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15226 lt_cv_shlibpath_overrides_runpath=yes
15229 rm -f core conftest.err conftest.$ac_objext \
15230 conftest$ac_exeext conftest.$ac_ext
15231 LDFLAGS=$save_LDFLAGS
15232 libdir=$save_libdir
15236 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15238 # This implies no fast_install, which is unacceptable.
15239 # Some rework will be needed to allow for fast_install
15240 # before this can be enabled.
15241 hardcode_into_libs=yes
15243 # Append ld.so.conf contents to the search path
15244 if test -f /etc/ld.so.conf; then
15245 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' ' '`
15246 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15249 # We used to test for /lib/ld.so.1 and disable shared libraries on
15250 # powerpc, because MkLinux only supported shared libraries with the
15251 # GNU dynamic linker. Since this was broken with cross compilers,
15252 # most powerpc-linux boxes support dynamic linking these days and
15253 # people can always --disable-shared, the test was removed, and we
15254 # assume the GNU/Linux dynamic linker is in use.
15255 dynamic_linker='GNU/Linux ld.so'
15262 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15263 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15264 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15265 dynamic_linker='NetBSD (a.out) ld.so'
15267 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15268 soname_spec='${libname}${release}${shared_ext}$major'
15269 dynamic_linker='NetBSD ld.elf_so'
15271 shlibpath_var=LD_LIBRARY_PATH
15272 shlibpath_overrides_runpath=yes
15273 hardcode_into_libs=yes
15278 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15279 shlibpath_var=LD_LIBRARY_PATH
15280 shlibpath_overrides_runpath=yes
15287 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15288 soname_spec='${libname}${release}${shared_ext}$major'
15289 shlibpath_var=LD_LIBRARY_PATH
15290 shlibpath_overrides_runpath=no
15291 hardcode_into_libs=yes
15292 dynamic_linker='ldqnx.so'
15297 sys_lib_dlsearch_path_spec="/usr/lib"
15299 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15301 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15302 *) need_version=no ;;
15304 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15305 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15306 shlibpath_var=LD_LIBRARY_PATH
15307 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15309 openbsd2.[89] | openbsd2.[89].*)
15310 shlibpath_overrides_runpath=no
15313 shlibpath_overrides_runpath=yes
15317 shlibpath_overrides_runpath=yes
15322 libname_spec='$name'
15325 library_names_spec='$libname${shared_ext} $libname.a'
15326 dynamic_linker='OS/2 ld.exe'
15327 shlibpath_var=LIBPATH
15330 osf3* | osf4* | osf5*)
15334 soname_spec='${libname}${release}${shared_ext}$major'
15335 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15336 shlibpath_var=LD_LIBRARY_PATH
15337 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15338 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15349 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15350 soname_spec='${libname}${release}${shared_ext}$major'
15351 shlibpath_var=LD_LIBRARY_PATH
15352 shlibpath_overrides_runpath=yes
15353 hardcode_into_libs=yes
15354 # ldd complains unless libraries are executable
15355 postinstall_cmds='chmod +x $lib'
15360 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15361 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15362 shlibpath_var=LD_LIBRARY_PATH
15363 shlibpath_overrides_runpath=yes
15364 if test "$with_gnu_ld" = yes; then
15372 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15373 soname_spec='${libname}${release}${shared_ext}$major'
15374 shlibpath_var=LD_LIBRARY_PATH
15375 case $host_vendor in
15377 shlibpath_overrides_runpath=no
15379 runpath_var=LD_RUN_PATH
15387 shlibpath_overrides_runpath=no
15388 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15394 if test -d /usr/nec ;then
15396 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15397 soname_spec='$libname${shared_ext}.$major'
15398 shlibpath_var=LD_LIBRARY_PATH
15402 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15403 version_type=freebsd-elf
15406 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15407 soname_spec='${libname}${release}${shared_ext}$major'
15408 shlibpath_var=LD_LIBRARY_PATH
15409 shlibpath_overrides_runpath=yes
15410 hardcode_into_libs=yes
15411 if test "$with_gnu_ld" = yes; then
15412 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15414 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15417 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15421 sys_lib_dlsearch_path_spec='/usr/lib'
15425 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15429 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15430 shlibpath_var=LD_LIBRARY_PATH
15431 shlibpath_overrides_runpath=no
15432 hardcode_into_libs=yes
15437 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15438 soname_spec='${libname}${release}${shared_ext}$major'
15439 shlibpath_var=LD_LIBRARY_PATH
15446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15447 $as_echo "$dynamic_linker" >&6; }
15448 test "$dynamic_linker" = no && can_build_shared=no
15450 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15451 if test "$GCC" = yes; then
15452 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15455 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15456 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15458 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15459 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15500 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15501 hardcode_action_CXX=
15502 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15503 test -n "$runpath_var_CXX" ||
15504 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15506 # We can hardcode non-existent directories.
15507 if test "$hardcode_direct_CXX" != no &&
15508 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15509 # have to relink, otherwise we might link with an installed library
15510 # when we should be linking with a yet-to-be-installed one
15511 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15512 test "$hardcode_minus_L_CXX" != no; then
15513 # Linking always hardcodes the temporary library directory.
15514 hardcode_action_CXX=relink
15516 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15517 hardcode_action_CXX=immediate
15520 # We cannot hardcode anything, or else we can only hardcode existing
15522 hardcode_action_CXX=unsupported
15524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15525 $as_echo "$hardcode_action_CXX" >&6; }
15527 if test "$hardcode_action_CXX" = relink ||
15528 test "$inherit_rpath_CXX" = yes; then
15529 # Fast installation is not supported
15530 enable_fast_install=no
15531 elif test "$shlibpath_overrides_runpath" = yes ||
15532 test "$enable_shared" = no; then
15533 # Fast installation is not necessary
15534 enable_fast_install=needless
15543 fi # test -n "$compiler"
15546 CFLAGS=$lt_save_CFLAGS
15550 with_gnu_ld=$lt_save_with_gnu_ld
15551 lt_cv_path_LDCXX=$lt_cv_path_LD
15552 lt_cv_path_LD=$lt_save_path_LD
15553 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15554 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15555 fi # test "$_lt_caught_CXX_error" != yes
15558 ac_cpp='$CPP $CPPFLAGS'
15559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15575 ac_config_commands="$ac_config_commands libtool"
15580 # Only expand once:
15584 for ac_header in sys/time.h
15586 ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
15587 if test "x$ac_cv_header_sys_time_h" = xyes; then :
15588 cat >>confdefs.h <<_ACEOF
15589 #define HAVE_SYS_TIME_H 1
15598 if test -n "$CC_FOR_BUILD"; then
15599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system compiler $CC_FOR_BUILD" >&5
15600 $as_echo_n "checking build system compiler $CC_FOR_BUILD... " >&6; }
15601 # remove anything that might look like compiler output to our "||" expression
15602 rm -f conftest* a.out b.out a.exe a_out.exe
15603 cat >conftest.c <<EOF
15610 gmp_compile="$CC_FOR_BUILD conftest.c"
15611 cc_for_build_works=no
15612 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$gmp_compile\""; } >&5
15613 (eval $gmp_compile) 2>&5
15615 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15616 test $ac_status = 0; }; then
15617 if (./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest) >&5 2>&1; then
15618 cc_for_build_works=yes
15621 rm -f conftest* a.out b.out a.exe a_out.exe
15622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cc_for_build_works" >&5
15623 $as_echo "$cc_for_build_works" >&6; }
15624 if test "$cc_for_build_works" = yes; then
15627 as_fn_error $? "Specified CC_FOR_BUILD doesn't seem to work" "$LINENO" 5
15630 elif test -n "$HOST_CC"; then
15631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system compiler $HOST_CC" >&5
15632 $as_echo_n "checking build system compiler $HOST_CC... " >&6; }
15633 # remove anything that might look like compiler output to our "||" expression
15634 rm -f conftest* a.out b.out a.exe a_out.exe
15635 cat >conftest.c <<EOF
15642 gmp_compile="$HOST_CC conftest.c"
15643 cc_for_build_works=no
15644 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$gmp_compile\""; } >&5
15645 (eval $gmp_compile) 2>&5
15647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15648 test $ac_status = 0; }; then
15649 if (./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest) >&5 2>&1; then
15650 cc_for_build_works=yes
15653 rm -f conftest* a.out b.out a.exe a_out.exe
15654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cc_for_build_works" >&5
15655 $as_echo "$cc_for_build_works" >&6; }
15656 if test "$cc_for_build_works" = yes; then
15657 CC_FOR_BUILD=$HOST_CC
15659 as_fn_error $? "Specified HOST_CC doesn't seem to work" "$LINENO" 5
15663 for i in "$CC" "$CC $CFLAGS $CPPFLAGS" cc gcc c89 c99; do
15664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system compiler $i" >&5
15665 $as_echo_n "checking build system compiler $i... " >&6; }
15666 # remove anything that might look like compiler output to our "||" expression
15667 rm -f conftest* a.out b.out a.exe a_out.exe
15668 cat >conftest.c <<EOF
15675 gmp_compile="$i conftest.c"
15676 cc_for_build_works=no
15677 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$gmp_compile\""; } >&5
15678 (eval $gmp_compile) 2>&5
15680 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15681 test $ac_status = 0; }; then
15682 if (./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest) >&5 2>&1; then
15683 cc_for_build_works=yes
15686 rm -f conftest* a.out b.out a.exe a_out.exe
15687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cc_for_build_works" >&5
15688 $as_echo "$cc_for_build_works" >&6; }
15689 if test "$cc_for_build_works" = yes; then
15697 if test -z "$CC_FOR_BUILD"; then
15698 as_fn_error $? "Cannot find a build system compiler" "$LINENO" 5
15706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for build system preprocessor" >&5
15707 $as_echo_n "checking for build system preprocessor... " >&6; }
15708 if test -z "$CPP_FOR_BUILD"; then
15709 if ${gmp_cv_prog_cpp_for_build+:} false; then :
15710 $as_echo_n "(cached) " >&6
15712 cat >conftest.c <<EOF
15715 for i in "$CC_FOR_BUILD -E" "$CC_FOR_BUILD -E -traditional-cpp" "/lib/cpp"; do
15716 gmp_compile="$i conftest.c"
15717 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$gmp_compile\""; } >&5
15718 (eval $gmp_compile) 2>&5
15720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15721 test $ac_status = 0; } >&5 2>&1; then
15722 gmp_cv_prog_cpp_for_build=$i
15726 rm -f conftest* a.out b.out a.exe a_out.exe
15727 if test -z "$gmp_cv_prog_cpp_for_build"; then
15728 as_fn_error $? "Cannot find build system C preprocessor." "$LINENO" 5
15733 CPP_FOR_BUILD=$gmp_cv_prog_cpp_for_build
15735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP_FOR_BUILD" >&5
15736 $as_echo "$CPP_FOR_BUILD" >&6; }
15742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for build system executable suffix" >&5
15743 $as_echo_n "checking for build system executable suffix... " >&6; }
15744 if ${gmp_cv_prog_exeext_for_build+:} false; then :
15745 $as_echo_n "(cached) " >&6
15747 cat >conftest.c <<EOF
15754 for i in .exe ,ff8 ""; do
15755 gmp_compile="$CC_FOR_BUILD conftest.c -o conftest$i"
15756 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$gmp_compile\""; } >&5
15757 (eval $gmp_compile) 2>&5
15759 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15760 test $ac_status = 0; }; then
15761 if (./conftest) 2>&5; then
15762 gmp_cv_prog_exeext_for_build=$i
15768 if test "${gmp_cv_prog_exeext_for_build+set}" != set; then
15769 as_fn_error $? "Cannot determine executable suffix" "$LINENO" 5
15773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gmp_cv_prog_exeext_for_build" >&5
15774 $as_echo "$gmp_cv_prog_exeext_for_build" >&6; }
15775 EXEEXT_FOR_BUILD=$gmp_cv_prog_exeext_for_build
15779 if test -z "$CFLAGS_FOR_BUILD"; then
15780 CFLAGS_FOR_BUILD="-g -O2"
15782 if test -z "$LDFLAGS_FOR_BUILD"; then
15783 LDFLAGS_FOR_BUILD="-g"
15785 if test -z "$CPPFLAGS_FOR_BUILD"; then
15786 CPPFLAGS_FOR_BUILD=""
15788 if test -z "$LIBS_FOR_BUILD"; then
15802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler option -fno-rtti" >&5
15803 $as_echo_n "checking for compiler option -fno-rtti... " >&6; }
15804 if ${ac_cv_compiler_option_nortti+:} false; then :
15805 $as_echo_n "(cached) " >&6
15808 cat >conftest.$ac_ext <<EOF
15809 int main() { return 0; }
15811 ${CXX} -c $CFLAGS $CPPFLAGS -fno-rtti conftest.$ac_ext 1>conftest.out 2>conftest.err
15812 if test $? -ne 0 -o -s conftest.err; then
15813 ac_cv_compiler_option_nortti=no
15815 ac_cv_compiler_option_nortti=yes
15817 rm -f conftest.$ac_ext conftest.out conftest.err
15820 if test ".$ac_cv_compiler_option_nortti" = .yes; then
15821 CXXFLAGS="$CXXFLAGS -fno-rtti"
15825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_compiler_option_nortti" >&5
15826 $as_echo "$ac_cv_compiler_option_nortti" >&6; }
15828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler option -fno-exceptions" >&5
15829 $as_echo_n "checking for compiler option -fno-exceptions... " >&6; }
15830 if ${ac_cv_compiler_option_noexceptions+:} false; then :
15831 $as_echo_n "(cached) " >&6
15834 cat >conftest.$ac_ext <<EOF
15835 int main() { return 0; }
15837 ${CXX} -c $CFLAGS $CPPFLAGS -fno-exceptions conftest.$ac_ext 1>conftest.out 2>conftest.err
15838 if test $? -ne 0 -o -s conftest.err; then
15839 ac_cv_compiler_option_noexceptions=no
15841 ac_cv_compiler_option_noexceptions=yes
15843 rm -f conftest.$ac_ext conftest.out conftest.err
15846 if test ".$ac_cv_compiler_option_noexceptions" = .yes; then
15847 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_compiler_option_noexceptions" >&5
15852 $as_echo "$ac_cv_compiler_option_noexceptions" >&6; }
15862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU Pth" >&5
15863 $as_echo_n "checking for GNU Pth... " >&6; }
15864 if test ".$verbose" = .yes; then
15865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
15866 $as_echo " " >&6; }
15870 # Check whether --with-pth was given.
15871 if test "${with_pth+set}" = set; then :
15878 # Check whether --with-pth-test was given.
15879 if test "${with_pth_test+set}" = set; then :
15880 withval=$with_pth_test;
15882 with_pth_test="yes"
15885 if test ".$verbose" = .yes; then
15886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: + Command Line Options:" >&5
15887 $as_echo " + Command Line Options:" >&6; }
15890 if test ".$verbose" = .yes; then
15891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: o --with-pth=$with_pth" >&5
15892 $as_echo " o --with-pth=$with_pth" >&6; }
15895 if test ".$verbose" = .yes; then
15896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: o --with-pth-test=$with_pth_test" >&5
15897 $as_echo " o --with-pth-test=$with_pth_test" >&6; }
15900 if test ".$with_pth" != .no; then
15902 _pth_subdir_opts=''
15903 case "$with_pth" in
15906 _pth_subdir_opts=`echo $with_pth | sed -e 's/^subdir:[^ ]*[ ]*//'`
15907 with_pth=`echo $with_pth | sed -e 's/^subdir:\([^ ]*\).*$/\1/'`
15917 if test ".$with_pth" = .yes; then
15918 # via config script in $PATH
15919 _pth_version=`(pthsem-config --version) 2>/dev/null |\
15920 sed -e 's/^.*\([0-9]\.[0-9]*[ab.][0-9]*\).*$/\1/'`
15921 if test ".$_pth_version" != .; then
15922 _pth_location=`pthsem-config --prefix`
15923 _pth_type='installed'
15924 _pth_cppflags=`pthsem-config --cflags`
15925 _pth_cflags=`pthsem-config --cflags`
15926 _pth_ldflags=`pthsem-config --ldflags`
15927 _pth_libs=`pthsem-config --libs --all`
15929 elif test -d "$with_pth"; then
15930 with_pth=`echo $with_pth | sed -e 's;/*$;;'`
15932 # via locally included source tree
15933 if test ".$_pth_subdir" = .yes; then
15934 _pth_location="$with_pth"
15937 _pth_cppflags="-I$with_pth"
15938 _pth_cflags="-I$with_pth"
15939 # _pth_cppflags="-isystem$with_pth"
15940 # _pth_cflags="-isystem$with_pth"
15941 if test -f "$with_pth/ltconfig"; then
15942 _pth_ldflags="-L$with_pth/.libs"
15944 _pth_ldflags="-L$with_pth"
15947 # _pth_libs="-lpth"
15948 _pth_libs="-lpthsem"
15949 # _pth_version=`grep '^const char PTH_Hello' $with_pth/pth_vers.c |\
15950 # sed -e 's;^.*Version[ ]*\([0-9]*\.[0-9]*[.ab][0-9]*\)[ ].*$;\1;'`
15951 _pth_version=`grep '^Version' $with_pth/pthsem.pc |\
15952 sed -e 's;Version: ;;'`
15953 echo "_pth_version = $_pth_version"
15955 ac_configure_args="$ac_configure_args --enable-subdir $_pth_subdir_opts"
15958 # via config script under a specified directory
15959 # (a standard installation, but not a source tree)
15960 if test ".$_pth_found" = .no; then
15961 for _dir in $with_pth/bin $with_pth; do
15962 if test -f "$_dir/pthsem-config"; then
15963 test -f "$_dir/pthsem-config.in" && continue # pth-config in source tree!
15964 _pth_version=`($_dir/pthsem-config --version) 2>/dev/null |\
15965 sed -e 's/^.*\([0-9]\.[0-9]*[ab.][0-9]*\).*$/\1/'`
15966 if test ".$_pth_version" != .; then
15967 _pth_location=`$_dir/pthsem-config --prefix`
15968 _pth_type="installed"
15969 _pth_cppflags=`$_dir/pthsem-config --cflags`
15970 _pth_cflags=`$_dir/pthsem-config --cflags`
15971 _pth_ldflags=`$_dir/pthsem-config --ldflags`
15972 _pth_libs=`$_dir/pthsem-config --libs --all`
15979 # in any subarea under a specified directory
15980 # (either a special installation or a Pth source tree)
15981 if test ".$_pth_found" = .no; then
15983 for _file in x `find $with_pth -name "pthsem.h" -type f -print`; do
15984 test .$_file = .x && continue
15985 _dir=`echo $_file | sed -e 's;[^/]*$;;' -e 's;\(.\)/$;\1;'`
15986 _pth_version=`($_dir/pthsem-config --version) 2>/dev/null |\
15987 sed -e 's/^.*\([0-9]\.[0-9]*[ab.][0-9]*\).*$/\1/'`
15988 if test ".$_pth_version" = .; then
15989 _pth_version=`grep '^#define PTH_VERSION_STR' $_file |\
15990 sed -e 's;^#define[ ]*PTH_VERSION_STR[ ]*"\([0-9]*\.[0-9]*[.ab][0-9]*\)[ ].*$;\1;'`
15992 _pth_cppflags="-I$_dir"
15993 _pth_cflags="-I$_dir"
15994 _pth_found=`expr $_pth_found + 1`
15996 for _file in x `find $with_pth -name "libpthsem.[aso]" -type f -print`; do
15997 test .$_file = .x && continue
15998 _dir=`echo $_file | sed -e 's;[^/]*$;;' -e 's;\(.\)/$;\1;'`
15999 _pth_ldflags="-L$_dir"
16000 _pth_libs="-lpthsem"
16001 _pth_found=`expr $_pth_found + 1`
16003 if test ".$_pth_found" = .2; then
16004 _pth_location="$with_pth"
16005 _pth_type="uninstalled"
16011 if test ".$verbose" = .yes; then
16012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: + Determined Location:" >&5
16013 $as_echo " + Determined Location:" >&6; }
16016 if test ".$verbose" = .yes; then
16017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: o path: $_pth_location" >&5
16018 $as_echo " o path: $_pth_location" >&6; }
16021 if test ".$verbose" = .yes; then
16022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: o type: $_pth_type" >&5
16023 $as_echo " o type: $_pth_type" >&6; }
16026 if test ".$_pth_version" = .; then
16027 if test ".$with_pth" != .yes; then
16028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: *FAILED*" >&5
16029 $as_echo "*FAILED*" >&6; }
16031 echo " "+------------------------------------------------------------------------+"" 1>&2
16032 cat <<EOT | sed -e 's/^[ ]*/ | /' -e 's/>>/ /' 1>&2
16033 Unable to locate pthsem under $with_pth.
16034 Please specify the correct path to either a pthsem installation tree
16035 (use --with-pth=DIR if you used --prefix=DIR for installing pthsem in
16036 the past) or to a pthsem source tree (use --with-pth=DIR if DIR is a
16037 path to a pthsem-X.Y.Z/ directory; but make sure the package is already
16038 built, i.e., the "configure; make" step was already performed there).
16040 echo " "+------------------------------------------------------------------------+"" 1>&2
16044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: *FAILED*" >&5
16045 $as_echo "*FAILED*" >&6; }
16047 echo " "+------------------------------------------------------------------------+"" 1>&2
16048 cat <<EOT | sed -e 's/^[ ]*/ | /' -e 's/>>/ /' 1>&2
16049 Unable to locate pthsem in any system-wide location (see \$PATH).
16050 Please specify the correct path to either a pthsem installation tree
16051 (use --with-pth=DIR if you used --prefix=DIR for installing pthsem in
16052 the past) or to a pthsem source tree (use --with-pth=DIR if DIR is a
16053 path to a pthsem-X.Y.Z/ directory; but make sure the package is already
16054 built, i.e., the "configure; make" step was already performed there).
16056 echo " "+------------------------------------------------------------------------+"" 1>&2
16061 _req_version="2.0.8"
16062 for _var in _pth_version _req_version; do
16063 eval "_val=\"\$${_var}\""
16064 _major=`echo $_val | sed 's/\([0-9]*\)\.\([0-9]*\)\([ab.]\)\([0-9]*\)/\1/'`
16065 _minor=`echo $_val | sed 's/\([0-9]*\)\.\([0-9]*\)\([ab.]\)\([0-9]*\)/\2/'`
16066 _rtype=`echo $_val | sed 's/\([0-9]*\)\.\([0-9]*\)\([ab.]\)\([0-9]*\)/\3/'`
16067 _micro=`echo $_val | sed 's/\([0-9]*\)\.\([0-9]*\)\([ab.]\)\([0-9]*\)/\4/'`
16073 _hex=`echo dummy | awk '{ printf("%d%02d%1d%02d", major, minor, rtype, micro); }' \
16074 "major=$_major" "minor=$_minor" "rtype=$_rtype" "micro=$_micro"`
16075 eval "${_var}_hex=\"\$_hex\""
16077 if test ".$verbose" = .yes; then
16078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: + Determined Versions:" >&5
16079 $as_echo " + Determined Versions:" >&6; }
16082 if test ".$verbose" = .yes; then
16083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: o existing: $_pth_version -> 0x$_pth_version_hex" >&5
16084 $as_echo " o existing: $_pth_version -> 0x$_pth_version_hex" >&6; }
16087 if test ".$verbose" = .yes; then
16088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: o required: $_req_version -> 0x$_req_version_hex" >&5
16089 $as_echo " o required: $_req_version -> 0x$_req_version_hex" >&6; }
16093 if test ".$_pth_version_hex" != .; then
16094 if test ".$_req_version_hex" != .; then
16095 if test $_pth_version_hex -ge $_req_version_hex; then
16100 if test ".$_ok" = .0; then
16101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: *FAILED*" >&5
16102 $as_echo "*FAILED*" >&6; }
16104 echo " "+------------------------------------------------------------------------+"" 1>&2
16105 cat <<EOT | sed -e 's/^[ ]*/ | /' -e 's/>>/ /' 1>&2
16106 Found pthsem version $_pth_version, but required at least version $_req_version.
16107 Upgrade pthsem under $_pth_location to $_req_version or higher first, please.
16109 echo " "+------------------------------------------------------------------------+"" 1>&2
16113 if test ".$with_pth_test" = .yes; then
16114 _ac_save_CPPFLAGS="$CPPFLAGS"
16115 _ac_save_CFLAGS="$CFLAGS"
16116 _ac_save_LDFLAGS="$LDFLAGS"
16117 _ac_save_LIBS="$LIBS"
16118 CPPFLAGS="$CPPFLAGS $_pth_cppflags"
16119 CFLAGS="$CFLAGS $_pth_cflags"
16120 LDFLAGS="$LDFLAGS $_pth_ldflags"
16121 LIBS="$LIBS $_pth_libs"
16122 if test ".$verbose" = .yes; then
16123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: + Test Build Environment:" >&5
16124 $as_echo " + Test Build Environment:" >&6; }
16127 if test ".$verbose" = .yes; then
16128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: o CPPFLAGS=\"$CPPFLAGS\"" >&5
16129 $as_echo " o CPPFLAGS=\"$CPPFLAGS\"" >&6; }
16132 if test ".$verbose" = .yes; then
16133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: o CFLAGS=\"$CFLAGS\"" >&5
16134 $as_echo " o CFLAGS=\"$CFLAGS\"" >&6; }
16137 if test ".$verbose" = .yes; then
16138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: o LDFLAGS=\"$LDFLAGS\"" >&5
16139 $as_echo " o LDFLAGS=\"$LDFLAGS\"" >&6; }
16142 if test ".$verbose" = .yes; then
16143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: o LIBS=\"$LIBS\"" >&5
16144 $as_echo " o LIBS=\"$LIBS\"" >&6; }
16152 if test ".$verbose" = .yes; then
16153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: + Performing Sanity Checks:" >&5
16154 $as_echo " + Performing Sanity Checks:" >&6; }
16157 if test ".$verbose" = .yes; then
16158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: o pre-processor test" >&5
16159 $as_echo " o pre-processor test" >&6; }
16162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16163 /* end confdefs.h. */
16165 #include <pthsem.h>
16168 if ac_fn_c_try_cpp "$LINENO"; then :
16173 rm -f conftest.err conftest.i conftest.$ac_ext
16174 if test ".$_ok" != .yes; then
16175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: *FAILED*" >&5
16176 $as_echo "*FAILED*" >&6; }
16178 echo " "+------------------------------------------------------------------------+"" 1>&2
16179 cat <<EOT | sed -e 's/^[ ]*/ | /' -e 's/>>/ /' 1>&2
16180 Found pthsem $_pth_version under $_pth_location, but
16181 was unable to perform a sanity pre-processor check. This means
16182 the pthsem header pthsem.h was not found.
16183 We used the following build environment:
16185 >> CPPFLAGS="$CPPFLAGS"
16186 See config.log for possibly more details.
16188 echo " "+------------------------------------------------------------------------+"" 1>&2
16192 if test ".$verbose" = .yes; then
16193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: o link check" >&5
16194 $as_echo " o link check" >&6; }
16197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16198 /* end confdefs.h. */
16200 #include <pthsem.h>
16206 if (!(fp = fopen("conftestval", "w")))
16208 fprintf(fp, "hmm");
16212 if (!(fp = fopen("conftestval", "w")))
16214 fprintf(fp, "yes");
16222 if ac_fn_c_try_link "$LINENO"; then :
16227 rm -f core conftest.err conftest.$ac_objext \
16228 conftest$ac_exeext conftest.$ac_ext
16229 if test ".$_ok" != .yes; then
16230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: *FAILED*" >&5
16231 $as_echo "*FAILED*" >&6; }
16233 echo " "+------------------------------------------------------------------------+"" 1>&2
16234 cat <<EOT | sed -e 's/^[ ]*/ | /' -e 's/>>/ /' 1>&2
16235 Found pthsem $_pth_version under $_pth_location, but
16236 was unable to perform a sanity linker check. This means
16237 the pthsem library libpthsem.a was not found.
16238 We used the following build environment:
16240 >> CFLAGS="$CFLAGS"
16241 >> LDFLAGS="$LDFLAGS"
16243 See config.log for possibly more details.
16245 echo " "+------------------------------------------------------------------------+"" 1>&2
16249 if test ".$verbose" = .yes; then
16250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: o run-time check" >&5
16251 $as_echo " o run-time check" >&6; }
16254 if test "$cross_compiling" = yes; then :
16257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16258 /* end confdefs.h. */
16260 #include <pthsem.h>
16261 int main(int argc, char *argv)
16264 if (!(fp = fopen("conftestval", "w")))
16266 fprintf(fp, "hmm");
16270 if (!(fp = fopen("conftestval", "w")))
16272 fprintf(fp, "yes");
16278 if ac_fn_c_try_run "$LINENO"; then :
16279 _ok=`cat conftestval`
16283 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16284 conftest.$ac_objext conftest.beam conftest.$ac_ext
16287 if test ".$_ok" != .yes; then
16288 if test ".$_ok" = .no; then
16289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: *FAILED*" >&5
16290 $as_echo "*FAILED*" >&6; }
16292 echo " "+------------------------------------------------------------------------+"" 1>&2
16293 cat <<EOT | sed -e 's/^[ ]*/ | /' -e 's/>>/ /' 1>&2
16294 Found pthsem $_pth_version under $_pth_location, but
16295 was unable to perform a sanity execution check. This usually
16296 means that the pthsem shared library libpthsem.so is present
16297 but \$LD_LIBRARY_PATH is incomplete to execute a Pth test.
16298 In this case either disable this test via --without-pth-test,
16299 or extend \$LD_LIBRARY_PATH, or build pthsem as a static
16300 library only via its --disable-shared Autoconf option.
16301 We used the following build environment:
16303 >> CFLAGS="$CFLAGS"
16304 >> LDFLAGS="$LDFLAGS"
16306 See config.log for possibly more details.
16308 echo " "+------------------------------------------------------------------------+"" 1>&2
16312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: *FAILED*" >&5
16313 $as_echo "*FAILED*" >&6; }
16315 echo " "+------------------------------------------------------------------------+"" 1>&2
16316 cat <<EOT | sed -e 's/^[ ]*/ | /' -e 's/>>/ /' 1>&2
16317 Found pthsem $_pth_version under $_pth_location, but
16318 was unable to perform a sanity run-time check. This usually
16319 means that the pthsem library failed to work and possibly
16320 caused a core dump in the test program. In this case it
16321 is strongly recommended that you re-install pthsem and this
16322 time make sure that it really passes its "make test" procedure.
16323 We used the following build environment:
16325 >> CFLAGS="$CFLAGS"
16326 >> LDFLAGS="$LDFLAGS"
16328 See config.log for possibly more details.
16330 echo " "+------------------------------------------------------------------------+"" 1>&2
16336 if test ".$_extendvars" != .yes; then
16337 CPPFLAGS="$_ac_save_CPPFLAGS"
16338 CFLAGS="$_ac_save_CFLAGS"
16339 LDFLAGS="$_ac_save_LDFLAGS"
16340 LIBS="$_ac_save_LIBS"
16344 if test ".$_extendvars" = .yes; then
16345 if test ".$_pth_subdir" = .yes; then
16346 CPPFLAGS="$CPPFLAGS $_pth_cppflags"
16347 CFLAGS="$CFLAGS $_pth_cflags"
16348 LDFLAGS="$LDFLAGS $_pth_ldflags"
16349 LIBS="$LIBS $_pth_libs"
16353 PTH_CPPFLAGS="$_pth_cppflags"
16354 PTH_CFLAGS="$_pth_cflags"
16355 PTH_LDFLAGS="$_pth_ldflags"
16356 PTH_LIBS="$_pth_libs"
16361 if test ".$verbose" = .yes; then
16362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: + Final Results:" >&5
16363 $as_echo " + Final Results:" >&6; }
16366 if test ".$verbose" = .yes; then
16367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: o PTH_CPPFLAGS=\"$PTH_CPPFLAGS\"" >&5
16368 $as_echo " o PTH_CPPFLAGS=\"$PTH_CPPFLAGS\"" >&6; }
16371 if test ".$verbose" = .yes; then
16372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: o PTH_CFLAGS=\"$PTH_CFLAGS\"" >&5
16373 $as_echo " o PTH_CFLAGS=\"$PTH_CFLAGS\"" >&6; }
16376 if test ".$verbose" = .yes; then
16377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: o PTH_LDFLAGS=\"$PTH_LDFLAGS\"" >&5
16378 $as_echo " o PTH_LDFLAGS=\"$PTH_LDFLAGS\"" >&6; }
16381 if test ".$verbose" = .yes; then
16382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: o PTH_LIBS=\"$PTH_LIBS\"" >&5
16383 $as_echo " o PTH_LIBS=\"$PTH_LIBS\"" >&6; }
16387 if test ".$with_pth" != .no; then
16388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: version $_pth_version, $_pth_type under $_pth_location" >&5
16389 $as_echo "version $_pth_version, $_pth_type under $_pth_location" >&6; }
16392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16393 $as_echo "no" >&6; }
16397 ac_fn_c_check_header_mongrel "$LINENO" "argp.h" "ac_cv_header_argp_h" "$ac_includes_default"
16398 if test "x$ac_cv_header_argp_h" = xyes; then :
16401 as_fn_error $? "argp_parse not found" "$LINENO" 5
16405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing argp_parse" >&5
16406 $as_echo_n "checking for library containing argp_parse... " >&6; }
16407 if ${ac_cv_search_argp_parse+:} false; then :
16408 $as_echo_n "(cached) " >&6
16410 ac_func_search_save_LIBS=$LIBS
16411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16412 /* end confdefs.h. */
16414 /* Override any GCC internal prototype to avoid an error.
16415 Use char because int might match the return type of a GCC
16416 builtin and then its argument prototype would still apply. */
16420 char argp_parse ();
16424 return argp_parse ();
16429 for ac_lib in '' argp; do
16430 if test -z "$ac_lib"; then
16431 ac_res="none required"
16434 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16436 if ac_fn_c_try_link "$LINENO"; then :
16437 ac_cv_search_argp_parse=$ac_res
16439 rm -f core conftest.err conftest.$ac_objext \
16441 if ${ac_cv_search_argp_parse+:} false; then :
16445 if ${ac_cv_search_argp_parse+:} false; then :
16448 ac_cv_search_argp_parse=no
16450 rm conftest.$ac_ext
16451 LIBS=$ac_func_search_save_LIBS
16453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_argp_parse" >&5
16454 $as_echo "$ac_cv_search_argp_parse" >&6; }
16455 ac_res=$ac_cv_search_argp_parse
16456 if test "$ac_res" != no; then :
16457 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16460 as_fn_error $? "argp_parse not found" "$LINENO" 5
16463 ac_fn_c_check_header_mongrel "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
16464 if test "x$ac_cv_header_linux_serial_h" = xyes; then :
16466 $as_echo "#define HAVE_LINUX_LOWLATENCY 1 " >>confdefs.h
16469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No supported low latency mode found" >&5
16470 $as_echo "$as_me: WARNING: No supported low latency mode found" >&2;}
16474 have_source_info=no
16476 ac_fn_c_check_header_preproc "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h"
16477 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes; then :
16479 $as_echo "#define HAVE_LINUX_NETLINK 1" >>confdefs.h
16480 have_source_info=yes
16484 ac_fn_c_check_header_preproc "$LINENO" "linux/usbdevice_fs.h" "ac_cv_header_linux_usbdevice_fs_h"
16485 if test "x$ac_cv_header_linux_usbdevice_fs_h" = xyes; then :
16487 $as_echo "#define OS_LINUX 1" >>confdefs.h
16488 have_linux_api=yes; have_usb=yes
16492 ac_fn_c_check_header_preproc "$LINENO" "iphlpapi.h" "ac_cv_header_iphlpapi_h"
16493 if test "x$ac_cv_header_iphlpapi_h" = xyes; then :
16495 $as_echo "#define HAVE_WINDOWS_IPHELPER 1" >>confdefs.h
16497 LIBS="-liphlpapi $LIBS"; have_source_info=yes
16502 ac_fn_c_check_decl "$LINENO" "SA_SIZE" "ac_cv_have_decl_SA_SIZE" "#include <net/route.h>
16504 if test "x$ac_cv_have_decl_SA_SIZE" = xyes; then :
16506 $as_echo "#define HAVE_SA_SIZE 1" >>confdefs.h
16510 have_bsd_source_info=no
16511 ac_fn_c_check_decl "$LINENO" "__FreeBSD__" "ac_cv_have_decl___FreeBSD__" "$ac_includes_default"
16512 if test "x$ac_cv_have_decl___FreeBSD__" = xyes; then :
16513 have_bsd_source_info=yes
16516 ac_fn_c_check_decl "$LINENO" "__APPLE__" "ac_cv_have_decl___APPLE__" "$ac_includes_default"
16517 if test "x$ac_cv_have_decl___APPLE__" = xyes; then :
16518 have_bsd_source_info=yes
16521 if test x$have_bsd_source_info = xyes ; then
16523 $as_echo "#define HAVE_BSD_SOURCEINFO 1" >>confdefs.h
16525 have_source_info=yes
16528 for ac_func in gethostbyname_r
16530 ac_fn_c_check_func "$LINENO" "gethostbyname_r" "ac_cv_func_gethostbyname_r"
16531 if test "x$ac_cv_func_gethostbyname_r" = xyes; then :
16532 cat >>confdefs.h <<_ACEOF
16533 #define HAVE_GETHOSTBYNAME_R 1
16537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: eibd client library not thread safe" >&5
16538 $as_echo "$as_me: WARNING: eibd client library not thread safe" >&2;}
16543 if test x$have_linux_api = xyes; then
16545 LINUX_API_FALSE='#'
16552 # Check whether --enable-onlyeibd was given.
16553 if test "${enable_onlyeibd+set}" = set; then :
16554 enableval=$enable_onlyeibd; case "${enableval}" in
16555 yes) onlyeibd=true ;;
16556 no) onlyeibd=false ;;
16557 *) as_fn_error $? "bad value ${enableval} for --enable-onlyeibd" "$LINENO" 5 ;;
16563 if test x$onlyeibd = xtrue; then
16564 HAVE_ONLYEIBD_TRUE=
16565 HAVE_ONLYEIBD_FALSE='#'
16567 HAVE_ONLYEIBD_TRUE='#'
16568 HAVE_ONLYEIBD_FALSE=
16572 if test x$onlyeibd = xfalse ; then
16576 # Check whether --with-xml-prefix was given.
16577 if test "${with_xml_prefix+set}" = set; then :
16578 withval=$with_xml_prefix; xml_config_prefix="$withval"
16580 xml_config_prefix=""
16584 # Check whether --with-xml-exec-prefix was given.
16585 if test "${with_xml_exec_prefix+set}" = set; then :
16586 withval=$with_xml_exec_prefix; xml_config_exec_prefix="$withval"
16588 xml_config_exec_prefix=""
16591 # Check whether --enable-xmltest was given.
16592 if test "${enable_xmltest+set}" = set; then :
16593 enableval=$enable_xmltest;
16599 if test x$xml_config_exec_prefix != x ; then
16600 xml_config_args="$xml_config_args"
16601 if test x${XML2_CONFIG+set} != xset ; then
16602 XML2_CONFIG=$xml_config_exec_prefix/bin/xml2-config
16605 if test x$xml_config_prefix != x ; then
16606 xml_config_args="$xml_config_args --prefix=$xml_config_prefix"
16607 if test x${XML2_CONFIG+set} != xset ; then
16608 XML2_CONFIG=$xml_config_prefix/bin/xml2-config
16612 # Extract the first word of "xml2-config", so it can be a program name with args.
16613 set dummy xml2-config; ac_word=$2
16614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16615 $as_echo_n "checking for $ac_word... " >&6; }
16616 if ${ac_cv_path_XML2_CONFIG+:} false; then :
16617 $as_echo_n "(cached) " >&6
16619 case $XML2_CONFIG in
16621 ac_cv_path_XML2_CONFIG="$XML2_CONFIG" # Let the user override the test with a path.
16624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16625 for as_dir in $PATH
16628 test -z "$as_dir" && as_dir=.
16629 for ac_exec_ext in '' $ac_executable_extensions; do
16630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16631 ac_cv_path_XML2_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16639 test -z "$ac_cv_path_XML2_CONFIG" && ac_cv_path_XML2_CONFIG="no"
16643 XML2_CONFIG=$ac_cv_path_XML2_CONFIG
16644 if test -n "$XML2_CONFIG"; then
16645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XML2_CONFIG" >&5
16646 $as_echo "$XML2_CONFIG" >&6; }
16648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16649 $as_echo "no" >&6; }
16653 min_xml_version=2.6.16
16654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxml - version >= $min_xml_version" >&5
16655 $as_echo_n "checking for libxml - version >= $min_xml_version... " >&6; }
16657 if test "$XML2_CONFIG" = "no" ; then
16660 XML_CPPFLAGS=`$XML2_CONFIG $xml_config_args --cflags`
16661 XML_LIBS=`$XML2_CONFIG $xml_config_args --libs`
16662 xml_config_major_version=`$XML2_CONFIG $xml_config_args --version | \
16663 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
16664 xml_config_minor_version=`$XML2_CONFIG $xml_config_args --version | \
16665 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
16666 xml_config_micro_version=`$XML2_CONFIG $xml_config_args --version | \
16667 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
16668 if test "x$enable_xmltest" = "xyes" ; then
16669 ac_save_CPPFLAGS="$CPPFLAGS"
16670 ac_save_LIBS="$LIBS"
16671 CPPFLAGS="$CPPFLAGS $XML_CPPFLAGS"
16672 LIBS="$XML_LIBS $LIBS"
16674 if test "$cross_compiling" = yes; then :
16675 echo $ac_n "cross compiling; assumed OK... $ac_c"
16677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16678 /* end confdefs.h. */
16680 #include <stdlib.h>
16682 #include <string.h>
16683 #include <libxml/xmlversion.h>
16688 int xml_major_version, xml_minor_version, xml_micro_version;
16689 int major, minor, micro;
16692 system("touch conf.xmltest");
16694 /* Capture xml2-config output via autoconf/configure variables */
16695 /* HP/UX 9 (%@#!) writes to sscanf strings */
16696 tmp_version = (char *)strdup("$min_xml_version");
16697 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
16698 printf("%s, bad version string from xml2-config\n", "$min_xml_version");
16703 /* Capture the version information from the header files */
16704 tmp_version = (char *)strdup(LIBXML_DOTTED_VERSION);
16705 if (sscanf(tmp_version, "%d.%d.%d", &xml_major_version, &xml_minor_version, &xml_micro_version) != 3) {
16706 printf("%s, bad version string from libxml includes\n", "LIBXML_DOTTED_VERSION");
16711 /* Compare xml2-config output to the libxml headers */
16712 if ((xml_major_version != $xml_config_major_version) ||
16713 (xml_minor_version != $xml_config_minor_version) ||
16714 (xml_micro_version != $xml_config_micro_version))
16716 printf("*** libxml header files (version %d.%d.%d) do not match\n",
16717 xml_major_version, xml_minor_version, xml_micro_version);
16718 printf("*** xml2-config (version %d.%d.%d)\n",
16719 $xml_config_major_version, $xml_config_minor_version, $xml_config_micro_version);
16722 /* Compare the headers to the library to make sure we match */
16723 /* Less than ideal -- doesn't provide us with return value feedback,
16724 * only exits if there's a serious mismatch between header and library.
16726 LIBXML_TEST_VERSION;
16728 /* Test that the library is greater than our minimum version */
16729 if ((xml_major_version > major) ||
16730 ((xml_major_version == major) && (xml_minor_version > minor)) ||
16731 ((xml_major_version == major) && (xml_minor_version == minor) &&
16732 (xml_micro_version >= micro)))
16738 printf("\n*** An old version of libxml (%d.%d.%d) was found.\n",
16739 xml_major_version, xml_minor_version, xml_micro_version);
16740 printf("*** You need a version of libxml newer than %d.%d.%d. The latest version of\n",
16741 major, minor, micro);
16742 printf("*** libxml is always available from ftp://ftp.xmlsoft.org.\n");
16744 printf("*** If you have already installed a sufficiently new version, this error\n");
16745 printf("*** probably means that the wrong copy of the xml2-config shell script is\n");
16746 printf("*** being found. The easiest way to fix this is to remove the old version\n");
16747 printf("*** of LIBXML, but you can also set the XML2_CONFIG environment to point to the\n");
16748 printf("*** correct copy of xml2-config. (In this case, you will have to\n");
16749 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
16750 printf("*** so that the correct libraries are found at run-time))\n");
16756 if ac_fn_c_try_run "$LINENO"; then :
16761 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16762 conftest.$ac_objext conftest.beam conftest.$ac_ext
16765 CPPFLAGS="$ac_save_CPPFLAGS"
16766 LIBS="$ac_save_LIBS"
16770 if test "x$no_xml" = x ; then
16771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $xml_config_major_version.$xml_config_minor_version.$xml_config_micro_version)" >&5
16772 $as_echo "yes (version $xml_config_major_version.$xml_config_minor_version.$xml_config_micro_version)" >&6; }
16775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16776 $as_echo "no" >&6; }
16777 if test "$XML2_CONFIG" = "no" ; then
16778 echo "*** The xml2-config script installed by LIBXML could not be found"
16779 echo "*** If libxml was installed in PREFIX, make sure PREFIX/bin is in"
16780 echo "*** your path, or set the XML2_CONFIG environment variable to the"
16781 echo "*** full path to xml2-config."
16783 if test -f conf.xmltest ; then
16786 echo "*** Could not run libxml test program, checking why..."
16787 CPPFLAGS="$CPPFLAGS $XML_CPPFLAGS"
16788 LIBS="$LIBS $XML_LIBS"
16789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16790 /* end confdefs.h. */
16792 #include <libxml/xmlversion.h>
16798 LIBXML_TEST_VERSION; return 0;
16803 if ac_fn_c_try_link "$LINENO"; then :
16804 echo "*** The test program compiled, but did not run. This usually means"
16805 echo "*** that the run-time linker is not finding LIBXML or finding the wrong"
16806 echo "*** version of LIBXML. If it is not finding LIBXML, you'll need to set your"
16807 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
16808 echo "*** to the installed location Also, make sure you have run ldconfig if that"
16809 echo "*** is required on your system"
16811 echo "*** If you have an old version installed, it is best to remove it, although"
16812 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
16814 echo "*** The test program failed to compile or link. See the file config.log for the"
16815 echo "*** exact error that occured. This usually means LIBXML was incorrectly installed"
16816 echo "*** or that you have moved LIBXML since it was installed. In the latter case, you"
16817 echo "*** may want to edit the xml2-config script: $XML2_CONFIG"
16819 rm -f core conftest.err conftest.$ac_objext \
16820 conftest$ac_exeext conftest.$ac_ext
16821 CPPFLAGS="$ac_save_CPPFLAGS"
16822 LIBS="$ac_save_LIBS"
16828 as_fn_error $? "limxml2 not found" "$LINENO" 5
16834 # Extract the first word of "m68hc05-as", so it can be a program name with args.
16835 set dummy m68hc05-as; ac_word=$2
16836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16837 $as_echo_n "checking for $ac_word... " >&6; }
16838 if ${ac_cv_path_TAS+:} false; then :
16839 $as_echo_n "(cached) " >&6
16843 ac_cv_path_TAS="$TAS" # Let the user override the test with a path.
16846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16847 as_dummy="$PATH:$bindir:$prefix/bin"
16848 for as_dir in $as_dummy
16851 test -z "$as_dir" && as_dir=.
16852 for ac_exec_ext in '' $ac_executable_extensions; do
16853 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16854 ac_cv_path_TAS="$as_dir/$ac_word$ac_exec_ext"
16855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16865 TAS=$ac_cv_path_TAS
16866 if test -n "$TAS"; then
16867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TAS" >&5
16868 $as_echo "$TAS" >&6; }
16870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16871 $as_echo "no" >&6; }
16875 # Extract the first word of "m68hc05-ld", so it can be a program name with args.
16876 set dummy m68hc05-ld; ac_word=$2
16877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16878 $as_echo_n "checking for $ac_word... " >&6; }
16879 if ${ac_cv_path_TLD+:} false; then :
16880 $as_echo_n "(cached) " >&6
16884 ac_cv_path_TLD="$TLD" # Let the user override the test with a path.
16887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16888 as_dummy="$PATH:$bindir:$prefix/bin"
16889 for as_dir in $as_dummy
16892 test -z "$as_dir" && as_dir=.
16893 for ac_exec_ext in '' $ac_executable_extensions; do
16894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16895 ac_cv_path_TLD="$as_dir/$ac_word$ac_exec_ext"
16896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16906 TLD=$ac_cv_path_TLD
16907 if test -n "$TLD"; then
16908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TLD" >&5
16909 $as_echo "$TLD" >&6; }
16911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16912 $as_echo "no" >&6; }
16916 # Extract the first word of "m68hc05-ar", so it can be a program name with args.
16917 set dummy m68hc05-ar; ac_word=$2
16918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16919 $as_echo_n "checking for $ac_word... " >&6; }
16920 if ${ac_cv_path_TAR+:} false; then :
16921 $as_echo_n "(cached) " >&6
16925 ac_cv_path_TAR="$TAR" # Let the user override the test with a path.
16928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16929 as_dummy="$PATH:$bindir:$prefix/bin"
16930 for as_dir in $as_dummy
16933 test -z "$as_dir" && as_dir=.
16934 for ac_exec_ext in '' $ac_executable_extensions; do
16935 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16936 ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext"
16937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16947 TAR=$ac_cv_path_TAR
16948 if test -n "$TAR"; then
16949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TAR" >&5
16950 $as_echo "$TAR" >&6; }
16952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16953 $as_echo "no" >&6; }
16957 # Extract the first word of "m68hc05-ranlib", so it can be a program name with args.
16958 set dummy m68hc05-ranlib; ac_word=$2
16959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16960 $as_echo_n "checking for $ac_word... " >&6; }
16961 if ${ac_cv_path_TRANLIB+:} false; then :
16962 $as_echo_n "(cached) " >&6
16966 ac_cv_path_TRANLIB="$TRANLIB" # Let the user override the test with a path.
16969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16970 as_dummy="$PATH:$bindir:$prefix/bin"
16971 for as_dir in $as_dummy
16974 test -z "$as_dir" && as_dir=.
16975 for ac_exec_ext in '' $ac_executable_extensions; do
16976 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16977 ac_cv_path_TRANLIB="$as_dir/$ac_word$ac_exec_ext"
16978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16988 TRANLIB=$ac_cv_path_TRANLIB
16989 if test -n "$TRANLIB"; then
16990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TRANLIB" >&5
16991 $as_echo "$TRANLIB" >&6; }
16993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16994 $as_echo "no" >&6; }
16998 # Extract the first word of "m68hc05-gcc", so it can be a program name with args.
16999 set dummy m68hc05-gcc; ac_word=$2
17000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17001 $as_echo_n "checking for $ac_word... " >&6; }
17002 if ${ac_cv_path_TGCC+:} false; then :
17003 $as_echo_n "(cached) " >&6
17007 ac_cv_path_TGCC="$TGCC" # Let the user override the test with a path.
17010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17011 as_dummy="$PATH:$bindir:$prefix/bin"
17012 for as_dir in $as_dummy
17015 test -z "$as_dir" && as_dir=.
17016 for ac_exec_ext in '' $ac_executable_extensions; do
17017 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17018 ac_cv_path_TGCC="$as_dir/$ac_word$ac_exec_ext"
17019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17029 TGCC=$ac_cv_path_TGCC
17030 if test -n "$TGCC"; then
17031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TGCC" >&5
17032 $as_echo "$TGCC" >&6; }
17034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17035 $as_echo "no" >&6; }
17040 test -z "$TAS" && as_fn_error $? "m68hc05-as not found" "$LINENO" 5
17041 test -z "$TAR" && as_fn_error $? "m68hc05-ar not found" "$LINENO" 5
17042 test -z "$TLD" && as_fn_error $? "m68hc05-ld not found" "$LINENO" 5
17043 test -z "$TRANLIB" && as_fn_error $? "m68hc05 ranlib not found" "$LINENO" 5
17044 test -z "$TGCC" && as_fn_error $? "m68hc05 gcc not found" "$LINENO" 5
17048 # Check whether --enable-ft12 was given.
17049 if test "${enable_ft12+set}" = set; then :
17050 enableval=$enable_ft12; case "${enableval}" in
17053 *) as_fn_error $? "bad value ${enableval} for --enable-ft12" "$LINENO" 5 ;;
17059 if test x$ft12 = xtrue; then
17061 HAVE_FT12_FALSE='#'
17067 if test x$ft12 = xtrue ; then
17069 $as_echo "#define HAVE_FT12 1 " >>confdefs.h
17073 # Check whether --enable-pei16 was given.
17074 if test "${enable_pei16+set}" = set; then :
17075 enableval=$enable_pei16; case "${enableval}" in
17078 *) as_fn_error $? "bad value ${enableval} for --enable-pei16" "$LINENO" 5 ;;
17084 if test x$pei16 = xtrue; then
17086 HAVE_PEI16_FALSE='#'
17088 HAVE_PEI16_TRUE='#'
17092 if test x$pei16 = xtrue; then
17094 $as_echo "#define HAVE_PEI16 1 " >>confdefs.h
17098 # Check whether --enable-tpuart was given.
17099 if test "${enable_tpuart+set}" = set; then :
17100 enableval=$enable_tpuart; case "${enableval}" in
17101 yes) tpuart=true ;;
17102 no) tpuart=false ;;
17103 *) as_fn_error $? "bad value ${enableval} for --enable-tpuart" "$LINENO" 5 ;;
17109 if test x$tpuart = xtrue; then
17111 HAVE_TPUART_FALSE='#'
17113 HAVE_TPUART_TRUE='#'
17117 if test x$tpuart = xtrue ; then
17119 $as_echo "#define HAVE_TPUART 1 " >>confdefs.h
17123 # Check whether --enable-pei16s was given.
17124 if test "${enable_pei16s+set}" = set; then :
17125 enableval=$enable_pei16s; case "${enableval}" in
17126 yes) pei16s=true ;;
17127 no) pei16s=false ;;
17128 *) as_fn_error $? "bad value ${enableval} for --enable-pei16s" "$LINENO" 5 ;;
17134 if test x$pei16s = xtrue; then
17136 HAVE_PEI16s_FALSE='#'
17138 HAVE_PEI16s_TRUE='#'
17142 if test x$pei16s = xtrue ; then
17144 $as_echo "#define HAVE_PEI16s 1 " >>confdefs.h
17148 # Check whether --enable-tpuarts was given.
17149 if test "${enable_tpuarts+set}" = set; then :
17150 enableval=$enable_tpuarts; case "${enableval}" in
17151 yes) tpuarts=true ;;
17152 no) tpuarts=false ;;
17153 *) as_fn_error $? "bad value ${enableval} for --enable-tpuarts" "$LINENO" 5 ;;
17159 if test x$tpuarts = xtrue; then
17161 HAVE_TPUARTs_FALSE='#'
17163 HAVE_TPUARTs_TRUE='#'
17164 HAVE_TPUARTs_FALSE=
17167 if test x$tpuarts = xtrue ; then
17169 $as_echo "#define HAVE_TPUARTs 1 " >>confdefs.h
17173 # Check whether --enable-eibnetip was given.
17174 if test "${enable_eibnetip+set}" = set; then :
17175 enableval=$enable_eibnetip; case "${enableval}" in
17176 yes) eibnetip=true ;;
17177 no) eibnetip=false ;;
17178 *) as_fn_error $? "bad value ${enableval} for --enable-eibnetip" "$LINENO" 5 ;;
17184 if test x$eibnetip = xtrue; then
17185 HAVE_EIBNETIP_TRUE=
17186 HAVE_EIBNETIP_FALSE='#'
17188 HAVE_EIBNETIP_TRUE='#'
17189 HAVE_EIBNETIP_FALSE=
17192 if test x$eibnetip = xtrue ; then
17194 $as_echo "#define HAVE_EIBNETIP 1 " >>confdefs.h
17198 # Check whether --enable-eibnetiptunnel was given.
17199 if test "${enable_eibnetiptunnel+set}" = set; then :
17200 enableval=$enable_eibnetiptunnel; case "${enableval}" in
17201 yes) eibnetiptunnel=true ;;
17202 no) eibnetiptunnel=false ;;
17203 *) as_fn_error $? "bad value ${enableval} for --enable-eibnetiptunnel" "$LINENO" 5 ;;
17206 eibnetiptunnel=false
17209 if test x$eibnetiptunnel = xtrue; then
17210 HAVE_EIBNETIPTUNNEL_TRUE=
17211 HAVE_EIBNETIPTUNNEL_FALSE='#'
17213 HAVE_EIBNETIPTUNNEL_TRUE='#'
17214 HAVE_EIBNETIPTUNNEL_FALSE=
17217 if test x$eibnetiptunnel = xtrue ; then
17218 if test x$have_source_info != xyes ; then
17219 as_fn_error $? "not all needed functions for EIBnet/IP tunneling backend available" "$LINENO" 5
17222 $as_echo "#define HAVE_EIBNETIPTUNNEL 1 " >>confdefs.h
17226 # Check whether --enable-usb was given.
17227 if test "${enable_usb+set}" = set; then :
17228 enableval=$enable_usb; case "${enableval}" in
17231 *) as_fn_error $? "bad value ${enableval} for --enable-usb" "$LINENO" 5 ;;
17237 if test x$usb = xtrue; then
17245 if test x$usb = xtrue ; then
17246 if test x$have_usb != xyes ; then
17247 as_fn_error $? "not all needed functions for USB backend available" "$LINENO" 5
17250 $as_echo "#define HAVE_USB 1 " >>confdefs.h
17254 # Check whether --enable-eibnetipserver was given.
17255 if test "${enable_eibnetipserver+set}" = set; then :
17256 enableval=$enable_eibnetipserver; case "${enableval}" in
17257 yes) eibnetipserver=true ;;
17258 no) eibnetipserver=false ;;
17259 *) as_fn_error $? "bad value ${enableval} for --enable-eibnetipserver" "$LINENO" 5 ;;
17262 eibnetipserver=false
17265 if test x$eibnetipserver = xtrue ; then
17266 if test x$have_source_info != xyes ; then
17267 as_fn_error $? "not all needed functions for EIBnet/IP server available" "$LINENO" 5
17270 $as_echo "#define HAVE_EIBNETIPSERVER 1 " >>confdefs.h
17274 # Check whether --enable-groupcache was given.
17275 if test "${enable_groupcache+set}" = set; then :
17276 enableval=$enable_groupcache; case "${enableval}" in
17277 yes) groupcache=true ;;
17278 no) groupcache=false ;;
17279 *) as_fn_error $? "bad value ${enableval} for --enable-groupcache" "$LINENO" 5 ;;
17285 if test x$groupcache = xtrue ; then
17287 $as_echo "#define HAVE_GROUPCACHE 1 " >>confdefs.h
17292 if test x$have_source_info = xyes ; then
17293 HAVE_SOURCE_INFO_TRUE=
17294 HAVE_SOURCE_INFO_FALSE='#'
17296 HAVE_SOURCE_INFO_TRUE='#'
17297 HAVE_SOURCE_INFO_FALSE=
17301 for ac_prog in indent
17303 # Extract the first word of "$ac_prog", so it can be a program name with args.
17304 set dummy $ac_prog; ac_word=$2
17305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17306 $as_echo_n "checking for $ac_word... " >&6; }
17307 if ${ac_cv_prog_INDENT+:} false; then :
17308 $as_echo_n "(cached) " >&6
17310 if test -n "$INDENT"; then
17311 ac_cv_prog_INDENT="$INDENT" # Let the user override the test.
17313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17314 for as_dir in $PATH
17317 test -z "$as_dir" && as_dir=.
17318 for ac_exec_ext in '' $ac_executable_extensions; do
17319 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17320 ac_cv_prog_INDENT="$ac_prog"
17321 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17330 INDENT=$ac_cv_prog_INDENT
17331 if test -n "$INDENT"; then
17332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INDENT" >&5
17333 $as_echo "$INDENT" >&6; }
17335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17336 $as_echo "no" >&6; }
17340 test -n "$INDENT" && break
17342 test -n "$INDENT" || INDENT="no"
17344 for ac_prog in fastjar jar
17346 # Extract the first word of "$ac_prog", so it can be a program name with args.
17347 set dummy $ac_prog; ac_word=$2
17348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17349 $as_echo_n "checking for $ac_word... " >&6; }
17350 if ${ac_cv_prog_JAR+:} false; then :
17351 $as_echo_n "(cached) " >&6
17353 if test -n "$JAR"; then
17354 ac_cv_prog_JAR="$JAR" # Let the user override the test.
17356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17357 for as_dir in $PATH
17360 test -z "$as_dir" && as_dir=.
17361 for ac_exec_ext in '' $ac_executable_extensions; do
17362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17363 ac_cv_prog_JAR="$ac_prog"
17364 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17373 JAR=$ac_cv_prog_JAR
17374 if test -n "$JAR"; then
17375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAR" >&5
17376 $as_echo "$JAR" >&6; }
17378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17379 $as_echo "no" >&6; }
17383 test -n "$JAR" && break
17385 test -n "$JAR" || JAR="no"
17387 for ac_prog in "gcj -C" javac
17389 # Extract the first word of "$ac_prog", so it can be a program name with args.
17390 set dummy $ac_prog; ac_word=$2
17391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17392 $as_echo_n "checking for $ac_word... " >&6; }
17393 if ${ac_cv_prog_JAVAC+:} false; then :
17394 $as_echo_n "(cached) " >&6
17396 if test -n "$JAVAC"; then
17397 ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
17399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17400 for as_dir in $PATH
17403 test -z "$as_dir" && as_dir=.
17404 for ac_exec_ext in '' $ac_executable_extensions; do
17405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17406 ac_cv_prog_JAVAC="$ac_prog"
17407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17416 JAVAC=$ac_cv_prog_JAVAC
17417 if test -n "$JAVAC"; then
17418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
17419 $as_echo "$JAVAC" >&6; }
17421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17422 $as_echo "no" >&6; }
17426 test -n "$JAVAC" && break
17428 test -n "$JAVAC" || JAVAC="no"
17431 # Check whether --enable-java was given.
17432 if test "${enable_java+set}" = set; then :
17433 enableval=$enable_java; case "${enableval}" in
17434 yes) enablejava=true ;;
17435 no) enablejava=false ;;
17436 *) as_fn_error $? "bad value ${enableval} for --enable-java" "$LINENO" 5 ;;
17442 if test x$enablejava = xtrue ; then
17444 $as_echo "#define BUILD_JAVA 1 " >>confdefs.h
17447 if test x"$JAVAC" = xno ; then
17448 as_fn_error $? "no java compiler found" "$LINENO" 5
17451 if test x"$JAR" = xno ; then
17452 as_fn_error $? "jar not found" "$LINENO" 5
17458 # Check whether --with-libstdc was given.
17459 if test "${with_libstdc+set}" = set; then :
17460 withval=$with_libstdc; case "${withval}" in
17461 yes) use_libstdc=true ;;
17462 no) use_libstdc=false ;;
17463 *) as_fn_error $? "bad value ${withval} for --with-libstdc" "$LINENO" 5 ;;
17469 if test x$use_libstdc = xfalse ; then
17471 $as_echo "#define USE_NOLIBSTDC 1 " >>confdefs.h
17476 if test x$enablejava = xtrue ; then
17478 BUILD_JAVA_FALSE='#'
17480 BUILD_JAVA_TRUE='#'
17485 ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "
17486 #include <sys/types.h>
17487 #include <sys/socket.h>
17488 #include <netinet/in.h>
17491 if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
17493 $as_echo "#define HAVE_SOCKADDR_IN_LEN 1" >>confdefs.h
17498 ac_config_headers="$ac_config_headers config.h"
17500 ac_config_files="$ac_config_files Makefile common/Makefile eibd/Makefile eibd/include/Makefile eibd/client/Makefile eibd/examples/Makefile eibd/libserver/Makefile eibd/server/Makefile eibd/backend/Makefile eibd/client/def/Makefile eibd/client/c/Makefile eibd/client/java/Makefile eibd/client/php/Makefile eibd/client/cs/Makefile eibd/client/perl/Makefile eibd/client/python/Makefile eibd/client/pascal/Makefile eibd/eibnet/Makefile eibd/bcu/Makefile eibd/usb/Makefile xml/Makefile xml/gui/Makefile xml/gui/examples/Makefile bcu/Makefile bcu/lib/Makefile bcu/include/Makefile bcu/ldscripts/Makefile bcugen/Makefile bcugen/struct/Makefile bcugen/configfile/Makefile bcugen/lib/Makefile archive/Makefile build/Makefile contrib/Makefile debian/Makefile"
17502 cat >confcache <<\_ACEOF
17503 # This file is a shell script that caches the results of configure
17504 # tests run on this system so they can be shared between configure
17505 # scripts and configure runs, see configure's option --config-cache.
17506 # It is not useful on other systems. If it contains results you don't
17507 # want to keep, you may remove or edit it.
17509 # config.status only pays attention to the cache file if you give it
17510 # the --recheck option to rerun configure.
17512 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17513 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17514 # following values.
17518 # The following way of writing the cache mishandles newlines in values,
17519 # but we know of no workaround that is simple, portable, and efficient.
17520 # So, we kill variables containing newlines.
17521 # Ultrix sh set writes to stderr and can't be redirected directly,
17522 # and sets the high bit in the cache file unless we assign to the vars.
17524 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17525 eval ac_val=\$$ac_var
17529 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17530 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17533 _ | IFS | as_nl) ;; #(
17534 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17535 *) { eval $ac_var=; unset $ac_var;} ;;
17541 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17542 *${as_nl}ac_space=\ *)
17543 # `set' does not quote correctly, so add quotes: double-quote
17544 # substitution turns \\\\ into \\, and sed turns \\ into \.
17547 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17550 # `set' quotes correctly as required by POSIX, so do not add quotes.
17551 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17560 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17562 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17564 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17565 if test -w "$cache_file"; then
17566 if test "x$cache_file" != "x/dev/null"; then
17567 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17568 $as_echo "$as_me: updating cache $cache_file" >&6;}
17569 if test ! -f "$cache_file" || test -h "$cache_file"; then
17570 cat confcache >"$cache_file"
17572 case $cache_file in #(
17574 mv -f confcache "$cache_file"$$ &&
17575 mv -f "$cache_file"$$ "$cache_file" ;; #(
17577 mv -f confcache "$cache_file" ;;
17582 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17583 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17588 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17589 # Let make expand exec_prefix.
17590 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17592 DEFS=-DHAVE_CONFIG_H
17597 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17598 # 1. Remove the extension, and $U if already installed.
17599 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17600 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17601 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17602 # will be set to the directory where LIBOBJS objects are built.
17603 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17604 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17606 LIBOBJS=$ac_libobjs
17608 LTLIBOBJS=$ac_ltlibobjs
17611 if test -n "$EXEEXT"; then
17613 am__EXEEXT_FALSE='#'
17615 am__EXEEXT_TRUE='#'
17619 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17620 as_fn_error $? "conditional \"AMDEP\" was never defined.
17621 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17623 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17624 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17625 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17627 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
17628 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
17629 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17631 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
17632 as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined.
17633 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17635 if test -z "${LINUX_API_TRUE}" && test -z "${LINUX_API_FALSE}"; then
17636 as_fn_error $? "conditional \"LINUX_API\" was never defined.
17637 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17639 if test -z "${HAVE_ONLYEIBD_TRUE}" && test -z "${HAVE_ONLYEIBD_FALSE}"; then
17640 as_fn_error $? "conditional \"HAVE_ONLYEIBD\" was never defined.
17641 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17643 if test -z "${HAVE_FT12_TRUE}" && test -z "${HAVE_FT12_FALSE}"; then
17644 as_fn_error $? "conditional \"HAVE_FT12\" was never defined.
17645 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17647 if test -z "${HAVE_PEI16_TRUE}" && test -z "${HAVE_PEI16_FALSE}"; then
17648 as_fn_error $? "conditional \"HAVE_PEI16\" was never defined.
17649 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17651 if test -z "${HAVE_TPUART_TRUE}" && test -z "${HAVE_TPUART_FALSE}"; then
17652 as_fn_error $? "conditional \"HAVE_TPUART\" was never defined.
17653 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17655 if test -z "${HAVE_PEI16s_TRUE}" && test -z "${HAVE_PEI16s_FALSE}"; then
17656 as_fn_error $? "conditional \"HAVE_PEI16s\" was never defined.
17657 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17659 if test -z "${HAVE_TPUARTs_TRUE}" && test -z "${HAVE_TPUARTs_FALSE}"; then
17660 as_fn_error $? "conditional \"HAVE_TPUARTs\" was never defined.
17661 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17663 if test -z "${HAVE_EIBNETIP_TRUE}" && test -z "${HAVE_EIBNETIP_FALSE}"; then
17664 as_fn_error $? "conditional \"HAVE_EIBNETIP\" was never defined.
17665 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17667 if test -z "${HAVE_EIBNETIPTUNNEL_TRUE}" && test -z "${HAVE_EIBNETIPTUNNEL_FALSE}"; then
17668 as_fn_error $? "conditional \"HAVE_EIBNETIPTUNNEL\" was never defined.
17669 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17671 if test -z "${HAVE_USB_TRUE}" && test -z "${HAVE_USB_FALSE}"; then
17672 as_fn_error $? "conditional \"HAVE_USB\" was never defined.
17673 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17675 if test -z "${HAVE_SOURCE_INFO_TRUE}" && test -z "${HAVE_SOURCE_INFO_FALSE}"; then
17676 as_fn_error $? "conditional \"HAVE_SOURCE_INFO\" was never defined.
17677 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17679 if test -z "${BUILD_JAVA_TRUE}" && test -z "${BUILD_JAVA_FALSE}"; then
17680 as_fn_error $? "conditional \"BUILD_JAVA\" was never defined.
17681 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17684 : "${CONFIG_STATUS=./config.status}"
17686 ac_clean_files_save=$ac_clean_files
17687 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17688 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17689 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17691 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17693 # Generated by $as_me.
17694 # Run this file to recreate the current configuration.
17695 # Compiler output produced by configure, useful for debugging
17696 # configure, is in config.log if it exists.
17699 ac_cs_recheck=false
17702 SHELL=\${CONFIG_SHELL-$SHELL}
17705 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17706 ## -------------------- ##
17707 ## M4sh Initialization. ##
17708 ## -------------------- ##
17710 # Be more Bourne compatible
17711 DUALCASE=1; export DUALCASE # for MKS sh
17712 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17715 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17716 # is contrary to our usage. Disable this feature.
17717 alias -g '${1+"$@"}'='"$@"'
17718 setopt NO_GLOB_SUBST
17720 case `(set -o) 2>/dev/null` in #(
17732 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17733 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17734 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17735 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17736 # Prefer a ksh shell builtin over an external printf program on Solaris,
17737 # but without wasting forks for bash or zsh.
17738 if test -z "$BASH_VERSION$ZSH_VERSION" \
17739 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17740 as_echo='print -r --'
17741 as_echo_n='print -rn --'
17742 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17743 as_echo='printf %s\n'
17744 as_echo_n='printf %s'
17746 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17747 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17748 as_echo_n='/usr/ucb/echo -n'
17750 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17751 as_echo_n_body='eval
17755 expr "X$arg" : "X\\(.*\\)$as_nl";
17756 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17758 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17760 export as_echo_n_body
17761 as_echo_n='sh -c $as_echo_n_body as_echo'
17763 export as_echo_body
17764 as_echo='sh -c $as_echo_body as_echo'
17767 # The user is always right.
17768 if test "${PATH_SEPARATOR+set}" != set; then
17770 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17771 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17778 # We need space, tab and new line, in precisely that order. Quoting is
17779 # there to prevent editors from complaining about space-tab.
17780 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17781 # splitting by setting IFS to empty value.)
17784 # Find who we are. Look in the path if we contain no directory separator.
17787 *[\\/]* ) as_myself=$0 ;;
17788 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17789 for as_dir in $PATH
17792 test -z "$as_dir" && as_dir=.
17793 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17799 # We did not find ourselves, most probably we were run as `sh COMMAND'
17800 # in which case we are not to be found in the path.
17801 if test "x$as_myself" = x; then
17804 if test ! -f "$as_myself"; then
17805 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17809 # Unset variables that we do not need and which cause bugs (e.g. in
17810 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17811 # suppresses any "Segmentation fault" message there. '((' could
17812 # trigger a bug in pdksh 5.2.14.
17813 for as_var in BASH_ENV ENV MAIL MAILPATH
17814 do eval test x\${$as_var+set} = xset \
17815 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17828 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17831 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17832 # ----------------------------------------
17833 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17834 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17835 # script with STATUS, using 1 if that was 0.
17838 as_status=$1; test $as_status -eq 0 && as_status=1
17840 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17841 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17843 $as_echo "$as_me: error: $2" >&2
17844 as_fn_exit $as_status
17848 # as_fn_set_status STATUS
17849 # -----------------------
17850 # Set $? to STATUS, without forking.
17851 as_fn_set_status ()
17854 } # as_fn_set_status
17856 # as_fn_exit STATUS
17857 # -----------------
17858 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17862 as_fn_set_status $1
17868 # Portably unset VAR.
17871 { eval $1=; unset $1;}
17873 as_unset=as_fn_unset
17874 # as_fn_append VAR VALUE
17875 # ----------------------
17876 # Append the text in VALUE to the end of the definition contained in VAR. Take
17877 # advantage of any shell optimizations that allow amortized linear growth over
17878 # repeated appends, instead of the typical quadratic growth present in naive
17880 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17881 eval 'as_fn_append ()
17892 # as_fn_arith ARG...
17893 # ------------------
17894 # Perform arithmetic evaluation on the ARGs, and store the result in the
17895 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17896 # must be portable across $(()) and expr.
17897 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17898 eval 'as_fn_arith ()
17905 as_val=`expr "$@" || test $? -eq 1`
17910 if expr a : '\(a\)' >/dev/null 2>&1 &&
17911 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17917 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17918 as_basename=basename
17923 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17929 as_me=`$as_basename -- "$0" ||
17930 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17931 X"$0" : 'X\(//\)$' \| \
17932 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17934 sed '/^.*\/\([^/][^/]*\)\/*$/{
17948 # Avoid depending upon Character Ranges.
17949 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17950 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17951 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17952 as_cr_digits='0123456789'
17953 as_cr_alnum=$as_cr_Letters$as_cr_digits
17955 ECHO_C= ECHO_N= ECHO_T=
17956 case `echo -n x` in #(((((
17958 case `echo 'xy\c'` in
17959 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17961 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17968 rm -f conf$$ conf$$.exe conf$$.file
17969 if test -d conf$$.dir; then
17970 rm -f conf$$.dir/conf$$.file
17973 mkdir conf$$.dir 2>/dev/null
17975 if (echo >conf$$.file) 2>/dev/null; then
17976 if ln -s conf$$.file conf$$ 2>/dev/null; then
17978 # ... but there are two gotchas:
17979 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17980 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17981 # In both cases, we have to default to `cp -p'.
17982 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17984 elif ln conf$$.file conf$$ 2>/dev/null; then
17992 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17993 rmdir conf$$.dir 2>/dev/null
17998 # Create "$as_dir" as a directory, including parents if necessary.
18003 -*) as_dir=./$as_dir;;
18005 test -d "$as_dir" || eval $as_mkdir_p || {
18009 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18010 *) as_qdir=$as_dir;;
18012 as_dirs="'$as_qdir' $as_dirs"
18013 as_dir=`$as_dirname -- "$as_dir" ||
18014 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18015 X"$as_dir" : 'X\(//\)[^/]' \| \
18016 X"$as_dir" : 'X\(//\)$' \| \
18017 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18018 $as_echo X"$as_dir" |
18019 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18023 /^X\(\/\/\)[^/].*/{
18036 test -d "$as_dir" && break
18038 test -z "$as_dirs" || eval "mkdir $as_dirs"
18039 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18043 if mkdir -p . 2>/dev/null; then
18044 as_mkdir_p='mkdir -p "$as_dir"'
18046 test -d ./-p && rmdir ./-p
18050 if test -x / >/dev/null 2>&1; then
18051 as_test_x='test -x'
18053 if ls -dL / >/dev/null 2>&1; then
18060 if test -d "$1"; then
18066 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
18067 ???[sx]*):;;*)false;;esac;fi
18071 as_executable_p=$as_test_x
18073 # Sed expression to map a string onto a valid CPP name.
18074 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18076 # Sed expression to map a string onto a valid variable name.
18077 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18081 ## ----------------------------------- ##
18082 ## Main body of $CONFIG_STATUS script. ##
18083 ## ----------------------------------- ##
18085 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18087 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18088 # Save the log message, to keep $0 and so on meaningful, and to
18089 # report actual input values of CONFIG_FILES etc. instead of their
18090 # values after options handling.
18092 This file was extended by bcusdk $as_me 0.0.5, which was
18093 generated by GNU Autoconf 2.68. Invocation command line was
18095 CONFIG_FILES = $CONFIG_FILES
18096 CONFIG_HEADERS = $CONFIG_HEADERS
18097 CONFIG_LINKS = $CONFIG_LINKS
18098 CONFIG_COMMANDS = $CONFIG_COMMANDS
18101 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18106 case $ac_config_files in *"
18107 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18110 case $ac_config_headers in *"
18111 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18115 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18116 # Files that config.status was made for.
18117 config_files="$ac_config_files"
18118 config_headers="$ac_config_headers"
18119 config_commands="$ac_config_commands"
18123 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18125 \`$as_me' instantiates files and other configuration actions
18126 from templates according to the current configuration. Unless the files
18127 and actions are specified as TAGs, all are instantiated by default.
18129 Usage: $0 [OPTION]... [TAG]...
18131 -h, --help print this help, then exit
18132 -V, --version print version number and configuration settings, then exit
18133 --config print configuration, then exit
18134 -q, --quiet, --silent
18135 do not print progress messages
18136 -d, --debug don't remove temporary files
18137 --recheck update $as_me by reconfiguring in the same conditions
18138 --file=FILE[:TEMPLATE]
18139 instantiate the configuration file FILE
18140 --header=FILE[:TEMPLATE]
18141 instantiate the configuration header FILE
18143 Configuration files:
18146 Configuration headers:
18149 Configuration commands:
18152 Report bugs to the package provider."
18155 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18156 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18158 bcusdk config.status 0.0.5
18159 configured by $0, generated by GNU Autoconf 2.68,
18160 with options \\"\$ac_cs_config\\"
18162 Copyright (C) 2010 Free Software Foundation, Inc.
18163 This config.status script is free software; the Free Software Foundation
18164 gives unlimited permission to copy, distribute and modify it."
18171 test -n "\$AWK" || AWK=awk
18174 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18175 # The default lists apply if the user does not specify any file.
18181 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18182 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18186 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18198 # Handling of the options.
18199 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18201 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18202 $as_echo "$ac_cs_version"; exit ;;
18203 --config | --confi | --conf | --con | --co | --c )
18204 $as_echo "$ac_cs_config"; exit ;;
18205 --debug | --debu | --deb | --de | --d | -d )
18207 --file | --fil | --fi | --f )
18210 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18211 '') as_fn_error $? "missing file argument" ;;
18213 as_fn_append CONFIG_FILES " '$ac_optarg'"
18214 ac_need_defaults=false;;
18215 --header | --heade | --head | --hea )
18218 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18220 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18221 ac_need_defaults=false;;
18223 # Conflict between --help and --header
18224 as_fn_error $? "ambiguous option: \`$1'
18225 Try \`$0 --help' for more information.";;
18226 --help | --hel | -h )
18227 $as_echo "$ac_cs_usage"; exit ;;
18228 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18229 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18232 # This is an error.
18233 -*) as_fn_error $? "unrecognized option: \`$1'
18234 Try \`$0 --help' for more information." ;;
18236 *) as_fn_append ac_config_targets " $1"
18237 ac_need_defaults=false ;;
18243 ac_configure_extra_args=
18245 if $ac_cs_silent; then
18247 ac_configure_extra_args="$ac_configure_extra_args --silent"
18251 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18252 if \$ac_cs_recheck; then
18253 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18255 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18256 CONFIG_SHELL='$SHELL'
18257 export CONFIG_SHELL
18262 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18266 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18267 ## Running $as_me. ##
18273 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18277 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
18280 # The HP-UX ksh and POSIX shell print the target directory to stdout
18281 # if CDPATH is set.
18282 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18284 sed_quote_subst='$sed_quote_subst'
18285 double_quote_subst='$double_quote_subst'
18286 delay_variable_subst='$delay_variable_subst'
18287 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
18288 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
18289 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
18290 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
18291 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
18292 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
18293 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
18294 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
18295 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
18296 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
18297 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
18298 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
18299 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
18300 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
18301 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
18302 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
18303 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
18304 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
18305 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
18306 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
18307 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
18308 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
18309 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
18310 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
18311 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
18312 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
18313 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
18314 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
18315 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
18316 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
18317 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
18318 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
18319 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
18320 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
18321 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
18322 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
18323 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
18324 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
18325 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
18326 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
18327 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
18328 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
18329 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
18330 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
18331 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18332 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18333 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
18334 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
18335 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
18336 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
18337 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
18338 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
18339 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
18340 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
18341 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
18342 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"`'
18343 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
18344 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
18345 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
18346 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
18347 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
18348 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
18349 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
18350 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
18351 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
18352 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
18353 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
18354 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
18355 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
18356 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
18357 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
18358 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
18359 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
18360 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
18361 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18362 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
18363 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
18364 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
18365 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
18366 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
18367 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
18368 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18369 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
18370 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18371 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
18372 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18373 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
18374 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
18375 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
18376 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
18377 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
18378 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
18379 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
18380 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
18381 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
18382 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
18383 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18384 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18385 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18386 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18387 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18388 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18389 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18390 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
18391 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
18392 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18393 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18394 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18395 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
18396 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
18397 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
18398 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
18399 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
18400 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
18401 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
18402 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
18403 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
18404 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18405 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18406 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
18407 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
18408 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
18409 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
18410 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
18411 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18412 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18413 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
18414 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
18415 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
18416 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18417 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
18418 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
18419 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
18420 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
18421 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
18422 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
18423 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
18424 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
18425 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18426 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18427 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
18428 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
18429 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
18430 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
18431 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
18432 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
18433 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
18434 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
18435 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
18436 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18437 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18438 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
18439 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18440 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18441 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18442 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18443 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18444 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18445 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
18446 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18447 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18448 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18449 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
18450 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
18451 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
18452 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
18453 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
18454 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
18455 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
18456 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
18457 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
18458 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
18459 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18460 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18461 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18462 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18463 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18464 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
18465 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
18466 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
18467 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18468 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18469 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
18470 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
18471 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
18474 LTCFLAGS='$LTCFLAGS'
18475 compiler='$compiler_DEFAULT'
18477 # A function that is used when there is no print builtin or printf.
18478 func_fallback_echo ()
18480 eval 'cat <<_LTECHO_EOF
18485 # Quote evaled strings.
18499 deplibs_check_method \
18504 sharedlib_from_linklib_cmd \
18507 archiver_list_spec \
18513 lt_cv_sys_global_symbol_pipe \
18514 lt_cv_sys_global_symbol_to_cdecl \
18515 lt_cv_sys_global_symbol_to_c_name_address \
18516 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18517 nm_file_list_spec \
18518 lt_prog_compiler_no_builtin_flag \
18519 lt_prog_compiler_pic \
18520 lt_prog_compiler_wl \
18521 lt_prog_compiler_static \
18522 lt_cv_prog_compiler_c_o \
18531 export_dynamic_flag_spec \
18532 whole_archive_flag_spec \
18533 compiler_needs_object \
18535 allow_undefined_flag \
18536 no_undefined_flag \
18537 hardcode_libdir_flag_spec \
18538 hardcode_libdir_flag_spec_ld \
18539 hardcode_libdir_separator \
18543 variables_saved_for_relink \
18545 library_names_spec \
18547 install_override_mode \
18551 compiler_lib_search_dirs \
18556 compiler_lib_search_path \
18560 lt_prog_compiler_no_builtin_flag_CXX \
18561 lt_prog_compiler_pic_CXX \
18562 lt_prog_compiler_wl_CXX \
18563 lt_prog_compiler_static_CXX \
18564 lt_cv_prog_compiler_c_o_CXX \
18565 export_dynamic_flag_spec_CXX \
18566 whole_archive_flag_spec_CXX \
18567 compiler_needs_object_CXX \
18569 allow_undefined_flag_CXX \
18570 no_undefined_flag_CXX \
18571 hardcode_libdir_flag_spec_CXX \
18572 hardcode_libdir_flag_spec_ld_CXX \
18573 hardcode_libdir_separator_CXX \
18574 exclude_expsyms_CXX \
18575 include_expsyms_CXX \
18576 file_list_spec_CXX \
18577 compiler_lib_search_dirs_CXX \
18578 predep_objects_CXX \
18579 postdep_objects_CXX \
18582 compiler_lib_search_path_CXX; do
18583 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18584 *[\\\\\\\`\\"\\\$]*)
18585 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
18588 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18593 # Double-quote double-evaled strings.
18594 for var in reload_cmds \
18595 old_postinstall_cmds \
18596 old_postuninstall_cmds \
18598 extract_expsyms_cmds \
18599 old_archive_from_new_cmds \
18600 old_archive_from_expsyms_cmds \
18602 archive_expsym_cmds \
18604 module_expsym_cmds \
18605 export_symbols_cmds \
18609 postuninstall_cmds \
18611 sys_lib_search_path_spec \
18612 sys_lib_dlsearch_path_spec \
18614 old_archive_cmds_CXX \
18615 old_archive_from_new_cmds_CXX \
18616 old_archive_from_expsyms_cmds_CXX \
18618 archive_expsym_cmds_CXX \
18620 module_expsym_cmds_CXX \
18621 export_symbols_cmds_CXX \
18623 postlink_cmds_CXX; do
18624 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18625 *[\\\\\\\`\\"\\\$]*)
18626 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
18629 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18634 ac_aux_dir='$ac_aux_dir'
18635 xsi_shell='$xsi_shell'
18636 lt_shell_append='$lt_shell_append'
18638 # See if we are running on zsh, and set the options which allow our
18639 # commands through without removal of \ escapes INIT.
18640 if test -n "\${ZSH_VERSION+set}" ; then
18641 setopt NO_GLOB_SUBST
18647 TIMESTAMP='$TIMESTAMP'
18658 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18660 # Handling of arguments.
18661 for ac_config_target in $ac_config_targets
18663 case $ac_config_target in
18664 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
18665 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
18666 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
18667 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
18668 "common/Makefile") CONFIG_FILES="$CONFIG_FILES common/Makefile" ;;
18669 "eibd/Makefile") CONFIG_FILES="$CONFIG_FILES eibd/Makefile" ;;
18670 "eibd/include/Makefile") CONFIG_FILES="$CONFIG_FILES eibd/include/Makefile" ;;
18671 "eibd/client/Makefile") CONFIG_FILES="$CONFIG_FILES eibd/client/Makefile" ;;
18672 "eibd/examples/Makefile") CONFIG_FILES="$CONFIG_FILES eibd/examples/Makefile" ;;
18673 "eibd/libserver/Makefile") CONFIG_FILES="$CONFIG_FILES eibd/libserver/Makefile" ;;
18674 "eibd/server/Makefile") CONFIG_FILES="$CONFIG_FILES eibd/server/Makefile" ;;
18675 "eibd/backend/Makefile") CONFIG_FILES="$CONFIG_FILES eibd/backend/Makefile" ;;
18676 "eibd/client/def/Makefile") CONFIG_FILES="$CONFIG_FILES eibd/client/def/Makefile" ;;
18677 "eibd/client/c/Makefile") CONFIG_FILES="$CONFIG_FILES eibd/client/c/Makefile" ;;
18678 "eibd/client/java/Makefile") CONFIG_FILES="$CONFIG_FILES eibd/client/java/Makefile" ;;
18679 "eibd/client/php/Makefile") CONFIG_FILES="$CONFIG_FILES eibd/client/php/Makefile" ;;
18680 "eibd/client/cs/Makefile") CONFIG_FILES="$CONFIG_FILES eibd/client/cs/Makefile" ;;
18681 "eibd/client/perl/Makefile") CONFIG_FILES="$CONFIG_FILES eibd/client/perl/Makefile" ;;
18682 "eibd/client/python/Makefile") CONFIG_FILES="$CONFIG_FILES eibd/client/python/Makefile" ;;
18683 "eibd/client/pascal/Makefile") CONFIG_FILES="$CONFIG_FILES eibd/client/pascal/Makefile" ;;
18684 "eibd/eibnet/Makefile") CONFIG_FILES="$CONFIG_FILES eibd/eibnet/Makefile" ;;
18685 "eibd/bcu/Makefile") CONFIG_FILES="$CONFIG_FILES eibd/bcu/Makefile" ;;
18686 "eibd/usb/Makefile") CONFIG_FILES="$CONFIG_FILES eibd/usb/Makefile" ;;
18687 "xml/Makefile") CONFIG_FILES="$CONFIG_FILES xml/Makefile" ;;
18688 "xml/gui/Makefile") CONFIG_FILES="$CONFIG_FILES xml/gui/Makefile" ;;
18689 "xml/gui/examples/Makefile") CONFIG_FILES="$CONFIG_FILES xml/gui/examples/Makefile" ;;
18690 "bcu/Makefile") CONFIG_FILES="$CONFIG_FILES bcu/Makefile" ;;
18691 "bcu/lib/Makefile") CONFIG_FILES="$CONFIG_FILES bcu/lib/Makefile" ;;
18692 "bcu/include/Makefile") CONFIG_FILES="$CONFIG_FILES bcu/include/Makefile" ;;
18693 "bcu/ldscripts/Makefile") CONFIG_FILES="$CONFIG_FILES bcu/ldscripts/Makefile" ;;
18694 "bcugen/Makefile") CONFIG_FILES="$CONFIG_FILES bcugen/Makefile" ;;
18695 "bcugen/struct/Makefile") CONFIG_FILES="$CONFIG_FILES bcugen/struct/Makefile" ;;
18696 "bcugen/configfile/Makefile") CONFIG_FILES="$CONFIG_FILES bcugen/configfile/Makefile" ;;
18697 "bcugen/lib/Makefile") CONFIG_FILES="$CONFIG_FILES bcugen/lib/Makefile" ;;
18698 "archive/Makefile") CONFIG_FILES="$CONFIG_FILES archive/Makefile" ;;
18699 "build/Makefile") CONFIG_FILES="$CONFIG_FILES build/Makefile" ;;
18700 "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
18701 "debian/Makefile") CONFIG_FILES="$CONFIG_FILES debian/Makefile" ;;
18703 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18708 # If the user did not use the arguments to specify the items to instantiate,
18709 # then the envvar interface is used. Set only those that are not.
18710 # We use the long form for the default assignment because of an extremely
18711 # bizarre bug on SunOS 4.1.3.
18712 if $ac_need_defaults; then
18713 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18714 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18715 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18718 # Have a temporary directory for convenience. Make it in the build tree
18719 # simply because there is no reason against having it here, and in addition,
18720 # creating and moving files from /tmp can sometimes cause problems.
18721 # Hook for its removal unless debugging.
18722 # Note that there is a small window in which the directory will not be cleaned:
18723 # after its creation but before its name has been assigned to `$tmp'.
18727 trap 'exit_status=$?
18728 : "${ac_tmp:=$tmp}"
18729 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18731 trap 'as_fn_exit 1' 1 2 13 15
18733 # Create a (secure) tmp directory for tmp files.
18736 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18740 tmp=./conf$$-$RANDOM
18741 (umask 077 && mkdir "$tmp")
18742 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18745 # Set up the scripts for CONFIG_FILES section.
18746 # No need to generate them if there are no CONFIG_FILES.
18747 # This happens for instance with `./config.status config.h'.
18748 if test -n "$CONFIG_FILES"; then
18751 ac_cr=`echo X | tr X '\015'`
18752 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18753 # But we know of no other shell where ac_cr would be empty at this
18754 # point, so we can use a bashism as a fallback.
18755 if test "x$ac_cr" = x; then
18756 eval ac_cr=\$\'\\r\'
18758 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18759 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18762 ac_cs_awk_cr=$ac_cr
18765 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18770 echo "cat >conf$$subs.awk <<_ACEOF" &&
18771 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18773 } >conf$$subs.sh ||
18774 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18775 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18777 for ac_last_try in false false false false false :; do
18778 . ./conf$$subs.sh ||
18779 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18781 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18782 if test $ac_delim_n = $ac_delim_num; then
18784 elif $ac_last_try; then
18785 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18787 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18790 rm -f conf$$subs.sh
18792 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18793 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18797 s/^/S["/; s/!.*/"]=/
18807 s/\(.\{148\}\)..*/\1/
18809 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18814 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18821 s/\(.\{148\}\)..*/\1/
18823 s/["\\]/\\&/g; s/^/"/; s/$/"/
18827 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18832 ' <conf$$subs.awk | sed '
18837 ' >>$CONFIG_STATUS || ac_write_fail=1
18838 rm -f conf$$subs.awk
18839 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18841 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18842 for (key in S) S_is_set[key] = 1
18848 nfields = split(line, field, "@")
18850 len = length(field[1])
18851 for (i = 2; i < nfields; i++) {
18853 keylen = length(key)
18854 if (S_is_set[key]) {
18856 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18857 len += length(value) + length(field[++i])
18868 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18869 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18870 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18873 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18874 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18877 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18878 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18879 # trailing colons and then remove the whole line if VPATH becomes empty
18880 # (actually we leave an empty line to preserve line numbers).
18881 if test "x$srcdir" = x.; then
18882 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18900 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18901 fi # test -n "$CONFIG_FILES"
18903 # Set up the scripts for CONFIG_HEADERS section.
18904 # No need to generate them if there are no CONFIG_HEADERS.
18905 # This happens for instance with `./config.status Makefile'.
18906 if test -n "$CONFIG_HEADERS"; then
18907 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18911 # Transform confdefs.h into an awk script `defines.awk', embedded as
18912 # here-document in config.status, that substitutes the proper values into
18913 # config.h.in to produce config.h.
18915 # Create a delimiter string that does not exist in confdefs.h, to ease
18916 # handling of long lines.
18918 for ac_last_try in false false :; do
18919 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18920 if test -z "$ac_tt"; then
18922 elif $ac_last_try; then
18923 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18925 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18929 # For the awk script, D is an array of macro values keyed by name,
18930 # likewise P contains macro parameters if any. Preserve backslash
18931 # newline sequences.
18933 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18935 s/.\{148\}/&'"$ac_delim"'/g
18938 s/^[ ]*#[ ]*define[ ][ ]*/ /
18945 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18947 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18951 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18952 D["\1"]=" \3\\\\\\n"\\/p
18954 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18959 s/.\{148\}/&'"$ac_delim"'/g
18964 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18967 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18969 ' <confdefs.h | sed '
18970 s/'"$ac_delim"'/"\\\
18971 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18973 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18974 for (key in D) D_is_set[key] = 1
18977 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18979 split(line, arg, " ")
18980 if (arg[1] == "#") {
18984 defundef = substr(arg[1], 2)
18987 split(mac1, mac2, "(") #)
18989 prefix = substr(line, 1, index(line, defundef) - 1)
18990 if (D_is_set[macro]) {
18991 # Preserve the white space surrounding the "#".
18992 print prefix "define", macro P[macro] D[macro]
18995 # Replace #undef with comments. This is necessary, for example,
18996 # in the case of _POSIX_SOURCE, which is predefined and required
18997 # on some systems where configure will not decide to define it.
18998 if (defundef == "undef") {
18999 print "/*", prefix defundef, macro, "*/"
19007 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19008 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19009 fi # test -n "$CONFIG_HEADERS"
19012 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
19017 :[FHLC]) ac_mode=$ac_tag; continue;;
19019 case $ac_mode$ac_tag in
19021 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19022 :[FH]-) ac_tag=-:-;;
19023 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19040 -) ac_f="$ac_tmp/stdin";;
19041 *) # Look for the file first in the build tree, then in the source tree
19042 # (if the path is not absolute). The absolute path cannot be DOS-style,
19043 # because $ac_f cannot contain `:'.
19047 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19049 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19051 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19052 as_fn_append ac_file_inputs " '$ac_f'"
19055 # Let's still pretend it is `configure' which instantiates (i.e., don't
19056 # use $as_me), people would be surprised to read:
19057 # /* config.h. Generated by config.status. */
19058 configure_input='Generated from '`
19059 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19061 if test x"$ac_file" != x-; then
19062 configure_input="$ac_file. $configure_input"
19063 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19064 $as_echo "$as_me: creating $ac_file" >&6;}
19066 # Neutralize special characters interpreted by sed in replacement strings.
19067 case $configure_input in #(
19068 *\&* | *\|* | *\\* )
19069 ac_sed_conf_input=`$as_echo "$configure_input" |
19070 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19071 *) ac_sed_conf_input=$configure_input;;
19075 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19076 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19081 ac_dir=`$as_dirname -- "$ac_file" ||
19082 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19083 X"$ac_file" : 'X\(//\)[^/]' \| \
19084 X"$ac_file" : 'X\(//\)$' \| \
19085 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19086 $as_echo X"$ac_file" |
19087 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19091 /^X\(\/\/\)[^/].*/{
19104 as_dir="$ac_dir"; as_fn_mkdir_p
19108 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19110 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19111 # A ".." for each directory in $ac_dir_suffix.
19112 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19113 case $ac_top_builddir_sub in
19114 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19115 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19118 ac_abs_top_builddir=$ac_pwd
19119 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19120 # for backward compatibility:
19121 ac_top_builddir=$ac_top_build_prefix
19124 .) # We are building in place.
19126 ac_top_srcdir=$ac_top_builddir_sub
19127 ac_abs_top_srcdir=$ac_pwd ;;
19128 [\\/]* | ?:[\\/]* ) # Absolute name.
19129 ac_srcdir=$srcdir$ac_dir_suffix;
19130 ac_top_srcdir=$srcdir
19131 ac_abs_top_srcdir=$srcdir ;;
19132 *) # Relative name.
19133 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19134 ac_top_srcdir=$ac_top_build_prefix$srcdir
19135 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19137 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19147 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
19148 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
19150 ac_MKDIR_P=$MKDIR_P
19152 [\\/$]* | ?:[\\/]* ) ;;
19153 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
19157 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19158 # If the template does not know about datarootdir, expand it.
19159 # FIXME: This hack should be removed a few years after 2.60.
19160 ac_datarootdir_hack=; ac_datarootdir_seen=
19171 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19172 *datarootdir*) ac_datarootdir_seen=yes;;
19173 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19175 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19177 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19178 ac_datarootdir_hack='
19179 s&@datadir@&$datadir&g
19180 s&@docdir@&$docdir&g
19181 s&@infodir@&$infodir&g
19182 s&@localedir@&$localedir&g
19183 s&@mandir@&$mandir&g
19184 s&\\\${datarootdir}&$datarootdir&g' ;;
19188 # Neutralize VPATH when `$srcdir' = `.'.
19189 # Shell code in configure.ac might set extrasub.
19190 # FIXME: do we really want to maintain this feature?
19191 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19192 ac_sed_extra="$ac_vpsub
19195 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19197 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19198 s|@configure_input@|$ac_sed_conf_input|;t t
19199 s&@top_builddir@&$ac_top_builddir_sub&;t t
19200 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19201 s&@srcdir@&$ac_srcdir&;t t
19202 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19203 s&@top_srcdir@&$ac_top_srcdir&;t t
19204 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19205 s&@builddir@&$ac_builddir&;t t
19206 s&@abs_builddir@&$ac_abs_builddir&;t t
19207 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19208 s&@INSTALL@&$ac_INSTALL&;t t
19209 s&@MKDIR_P@&$ac_MKDIR_P&;t t
19210 $ac_datarootdir_hack
19212 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19213 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19215 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19216 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19217 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19218 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19220 which seems to be undefined. Please make sure it is defined" >&5
19221 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19222 which seems to be undefined. Please make sure it is defined" >&2;}
19224 rm -f "$ac_tmp/stdin"
19226 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19227 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19229 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19235 if test x"$ac_file" != x-; then
19237 $as_echo "/* $configure_input */" \
19238 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19239 } >"$ac_tmp/config.h" \
19240 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19241 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19242 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19243 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19246 mv "$ac_tmp/config.h" "$ac_file" \
19247 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19250 $as_echo "/* $configure_input */" \
19251 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19252 || as_fn_error $? "could not create -" "$LINENO" 5
19254 # Compute "$ac_file"'s index in $config_headers.
19257 for _am_header in $config_headers :; do
19258 case $_am_header in
19259 $_am_arg | $_am_arg:* )
19262 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
19265 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
19266 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19267 X"$_am_arg" : 'X\(//\)[^/]' \| \
19268 X"$_am_arg" : 'X\(//\)$' \| \
19269 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
19270 $as_echo X"$_am_arg" |
19271 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19275 /^X\(\/\/\)[^/].*/{
19287 s/.*/./; q'`/stamp-h$_am_stamp_count
19290 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19291 $as_echo "$as_me: executing $ac_file commands" >&6;}
19296 case $ac_file$ac_mode in
19297 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
19298 # Autoconf 2.62 quotes --file arguments for eval, but not when files
19299 # are listed without --file. Let's play safe and only enable the eval
19300 # if we detect the quoting.
19301 case $CONFIG_FILES in
19302 *\'*) eval set x "$CONFIG_FILES" ;;
19303 *) set x $CONFIG_FILES ;;
19308 # Strip MF so we end up with the name of the file.
19309 mf=`echo "$mf" | sed -e 's/:.*$//'`
19310 # Check whether this is an Automake generated Makefile or not.
19311 # We used to match only the files named `Makefile.in', but
19312 # some people rename them; so instead we look at the file content.
19313 # Grep'ing the first line is not enough: some people post-process
19314 # each Makefile.in and add a new line on top of each file to say so.
19315 # Grep'ing the whole file is not good either: AIX grep has a line
19316 # limit of 2048, but all sed's we know have understand at least 4000.
19317 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
19318 dirpart=`$as_dirname -- "$mf" ||
19319 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19320 X"$mf" : 'X\(//\)[^/]' \| \
19321 X"$mf" : 'X\(//\)$' \| \
19322 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
19324 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19328 /^X\(\/\/\)[^/].*/{
19344 # Extract the definition of DEPDIR, am__include, and am__quote
19345 # from the Makefile without running `make'.
19346 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
19347 test -z "$DEPDIR" && continue
19348 am__include=`sed -n 's/^am__include = //p' < "$mf"`
19349 test -z "am__include" && continue
19350 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
19351 # When using ansi2knr, U may be empty or an underscore; expand it
19352 U=`sed -n 's/^U = //p' < "$mf"`
19353 # Find all dependency output files, they are included files with
19354 # $(DEPDIR) in their names. We invoke sed twice because it is the
19355 # simplest approach to changing $(DEPDIR) to its actual value in the
19357 for file in `sed -n "
19358 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
19359 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
19360 # Make sure the directory exists.
19361 test -f "$dirpart/$file" && continue
19362 fdir=`$as_dirname -- "$file" ||
19363 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19364 X"$file" : 'X\(//\)[^/]' \| \
19365 X"$file" : 'X\(//\)$' \| \
19366 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
19367 $as_echo X"$file" |
19368 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19372 /^X\(\/\/\)[^/].*/{
19385 as_dir=$dirpart/$fdir; as_fn_mkdir_p
19386 # echo "creating $dirpart/$file"
19387 echo '# dummy' > "$dirpart/$file"
19394 # See if we are running on zsh, and set the options which allow our
19395 # commands through without removal of \ escapes.
19396 if test -n "${ZSH_VERSION+set}" ; then
19397 setopt NO_GLOB_SUBST
19400 cfgfile="${ofile}T"
19401 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19404 cat <<_LT_EOF >> "$cfgfile"
19407 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
19408 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
19409 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19410 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
19412 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
19413 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
19415 # Written by Gordon Matzigkeit, 1996
19417 # This file is part of GNU Libtool.
19419 # GNU Libtool is free software; you can redistribute it and/or
19420 # modify it under the terms of the GNU General Public License as
19421 # published by the Free Software Foundation; either version 2 of
19422 # the License, or (at your option) any later version.
19424 # As a special exception to the GNU General Public License,
19425 # if you distribute this file as part of a program or library that
19426 # is built using GNU Libtool, you may include this file under the
19427 # same distribution terms that you use for the rest of that program.
19429 # GNU Libtool is distributed in the hope that it will be useful,
19430 # but WITHOUT ANY WARRANTY; without even the implied warranty of
19431 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19432 # GNU General Public License for more details.
19434 # You should have received a copy of the GNU General Public License
19435 # along with GNU Libtool; see the file COPYING. If not, a copy
19436 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
19437 # obtained by writing to the Free Software Foundation, Inc.,
19438 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19441 # The names of the tagged configurations supported by this script.
19442 available_tags="CXX "
19444 # ### BEGIN LIBTOOL CONFIG
19446 # Which release of libtool.m4 was used?
19447 macro_version=$macro_version
19448 macro_revision=$macro_revision
19450 # Whether or not to build shared libraries.
19451 build_libtool_libs=$enable_shared
19453 # Whether or not to build static libraries.
19454 build_old_libs=$enable_static
19456 # What type of objects to build.
19459 # Whether or not to optimize for fast installation.
19460 fast_install=$enable_fast_install
19462 # Shell to use when invoking shell scripts.
19465 # An echo program that protects backslashes.
19469 host_alias=$host_alias
19473 # The build system.
19474 build_alias=$build_alias
19478 # A sed program that does not truncate output.
19481 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
19482 Xsed="\$SED -e 1s/^X//"
19484 # A grep program that handles long lines.
19490 # A literal string matcher.
19493 # A BSD- or MS-compatible name lister.
19496 # Whether we need soft or hard links.
19499 # What is the maximum length of a command?
19500 max_cmd_len=$max_cmd_len
19502 # Object file suffix (normally "o").
19505 # Executable file suffix (normally "").
19508 # whether the shell understands "unset".
19511 # turn spaces into newlines.
19514 # turn newlines into spaces.
19517 # convert \$build file names to \$host format.
19518 to_host_file_cmd=$lt_cv_to_host_file_cmd
19520 # convert \$build files to toolchain format.
19521 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
19523 # An object symbol dumper.
19524 OBJDUMP=$lt_OBJDUMP
19526 # Method to check whether dependent libraries are shared objects.
19527 deplibs_check_method=$lt_deplibs_check_method
19529 # Command to use when deplibs_check_method = "file_magic".
19530 file_magic_cmd=$lt_file_magic_cmd
19532 # How to find potential files when deplibs_check_method = "file_magic".
19533 file_magic_glob=$lt_file_magic_glob
19535 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
19536 want_nocaseglob=$lt_want_nocaseglob
19538 # DLL creation program.
19539 DLLTOOL=$lt_DLLTOOL
19541 # Command to associate shared and link libraries.
19542 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
19547 # Flags to create an archive.
19548 AR_FLAGS=$lt_AR_FLAGS
19550 # How to feed a file listing to the archiver.
19551 archiver_list_spec=$lt_archiver_list_spec
19553 # A symbol stripping program.
19556 # Commands used to install an old-style archive.
19558 old_postinstall_cmds=$lt_old_postinstall_cmds
19559 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19561 # Whether to use a lock for old archive extraction.
19562 lock_old_archive_extraction=$lock_old_archive_extraction
19567 # LTCC compiler flags.
19568 LTCFLAGS=$lt_CFLAGS
19570 # Take the output of nm and produce a listing of raw symbols and C names.
19571 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19573 # Transform the output of nm in a proper C declaration.
19574 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19576 # Transform the output of nm in a C name address pair.
19577 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19579 # Transform the output of nm in a C name address pair when lib prefix is needed.
19580 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19582 # Specify filename containing input files for \$NM.
19583 nm_file_list_spec=$lt_nm_file_list_spec
19585 # The root where to search for dependent libraries,and in which our libraries should be installed.
19586 lt_sysroot=$lt_sysroot
19588 # The name of the directory that contains temporary libtool files.
19591 # Used to examine libraries when file_magic_cmd begins with "file".
19592 MAGIC_CMD=$MAGIC_CMD
19594 # Must we lock files when doing compilation?
19595 need_locks=$lt_need_locks
19598 MANIFEST_TOOL=$lt_MANIFEST_TOOL
19600 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19601 DSYMUTIL=$lt_DSYMUTIL
19603 # Tool to change global to local symbols on Mac OS X.
19606 # Tool to manipulate fat objects and archives on Mac OS X.
19609 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
19612 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19613 OTOOL64=$lt_OTOOL64
19615 # Old archive suffix (normally "a").
19618 # Shared library suffix (normally ".so").
19619 shrext_cmds=$lt_shrext_cmds
19621 # The commands to extract the exported symbol list from a shared archive.
19622 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19624 # Variables whose values should be saved in libtool wrapper scripts and
19625 # restored at link time.
19626 variables_saved_for_relink=$lt_variables_saved_for_relink
19628 # Do we need the "lib" prefix for modules?
19629 need_lib_prefix=$need_lib_prefix
19631 # Do we need a version for libraries?
19632 need_version=$need_version
19634 # Library versioning type.
19635 version_type=$version_type
19637 # Shared library runtime path variable.
19638 runpath_var=$runpath_var
19640 # Shared library path variable.
19641 shlibpath_var=$shlibpath_var
19643 # Is shlibpath searched before the hard-coded library search path?
19644 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19646 # Format of library name prefix.
19647 libname_spec=$lt_libname_spec
19649 # List of archive names. First name is the real one, the rest are links.
19650 # The last name is the one that the linker finds with -lNAME
19651 library_names_spec=$lt_library_names_spec
19653 # The coded name of the library, if different from the real name.
19654 soname_spec=$lt_soname_spec
19656 # Permission mode override for installation of shared libraries.
19657 install_override_mode=$lt_install_override_mode
19659 # Command to use after installation of a shared archive.
19660 postinstall_cmds=$lt_postinstall_cmds
19662 # Command to use after uninstallation of a shared archive.
19663 postuninstall_cmds=$lt_postuninstall_cmds
19665 # Commands used to finish a libtool library installation in a directory.
19666 finish_cmds=$lt_finish_cmds
19668 # As "finish_cmds", except a single script fragment to be evaled but
19670 finish_eval=$lt_finish_eval
19672 # Whether we should hardcode library paths into libraries.
19673 hardcode_into_libs=$hardcode_into_libs
19675 # Compile-time system search path for libraries.
19676 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19678 # Run-time system search path for libraries.
19679 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19681 # Whether dlopen is supported.
19682 dlopen_support=$enable_dlopen
19684 # Whether dlopen of programs is supported.
19685 dlopen_self=$enable_dlopen_self
19687 # Whether dlopen of statically linked programs is supported.
19688 dlopen_self_static=$enable_dlopen_self_static
19690 # Commands to strip libraries.
19691 old_striplib=$lt_old_striplib
19692 striplib=$lt_striplib
19695 # The linker used to build libraries.
19698 # How to create reloadable object files.
19699 reload_flag=$lt_reload_flag
19700 reload_cmds=$lt_reload_cmds
19702 # Commands used to build an old-style archive.
19703 old_archive_cmds=$lt_old_archive_cmds
19705 # A language specific compiler.
19708 # Is the compiler the GNU compiler?
19711 # Compiler flag to turn off builtin functions.
19712 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19714 # Additional compiler flags for building library objects.
19715 pic_flag=$lt_lt_prog_compiler_pic
19717 # How to pass a linker flag through the compiler.
19718 wl=$lt_lt_prog_compiler_wl
19720 # Compiler flag to prevent dynamic linking.
19721 link_static_flag=$lt_lt_prog_compiler_static
19723 # Does compiler simultaneously support -c and -o options?
19724 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19726 # Whether or not to add -lc for building shared libraries.
19727 build_libtool_need_lc=$archive_cmds_need_lc
19729 # Whether or not to disallow shared libs when runtime libs are static.
19730 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19732 # Compiler flag to allow reflexive dlopens.
19733 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19735 # Compiler flag to generate shared objects directly from archives.
19736 whole_archive_flag_spec=$lt_whole_archive_flag_spec
19738 # Whether the compiler copes with passing no objects directly.
19739 compiler_needs_object=$lt_compiler_needs_object
19741 # Create an old-style archive from a shared archive.
19742 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19744 # Create a temporary old-style archive to link instead of a shared archive.
19745 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19747 # Commands used to build a shared archive.
19748 archive_cmds=$lt_archive_cmds
19749 archive_expsym_cmds=$lt_archive_expsym_cmds
19751 # Commands used to build a loadable module if different from building
19752 # a shared archive.
19753 module_cmds=$lt_module_cmds
19754 module_expsym_cmds=$lt_module_expsym_cmds
19756 # Whether we are building with GNU ld or not.
19757 with_gnu_ld=$lt_with_gnu_ld
19759 # Flag that allows shared libraries with undefined symbols to be built.
19760 allow_undefined_flag=$lt_allow_undefined_flag
19762 # Flag that enforces no undefined symbols.
19763 no_undefined_flag=$lt_no_undefined_flag
19765 # Flag to hardcode \$libdir into a binary during linking.
19766 # This must work even if \$libdir does not exist
19767 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19769 # If ld is used when linking, flag to hardcode \$libdir into a binary
19770 # during linking. This must work even if \$libdir does not exist.
19771 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
19773 # Whether we need a single "-rpath" flag with a separated argument.
19774 hardcode_libdir_separator=$lt_hardcode_libdir_separator
19776 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19777 # DIR into the resulting binary.
19778 hardcode_direct=$hardcode_direct
19780 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19781 # DIR into the resulting binary and the resulting library dependency is
19782 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19783 # library is relocated.
19784 hardcode_direct_absolute=$hardcode_direct_absolute
19786 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19787 # into the resulting binary.
19788 hardcode_minus_L=$hardcode_minus_L
19790 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19791 # into the resulting binary.
19792 hardcode_shlibpath_var=$hardcode_shlibpath_var
19794 # Set to "yes" if building a shared library automatically hardcodes DIR
19795 # into the library and all subsequent libraries and executables linked
19797 hardcode_automatic=$hardcode_automatic
19799 # Set to yes if linker adds runtime paths of dependent libraries
19800 # to runtime path list.
19801 inherit_rpath=$inherit_rpath
19803 # Whether libtool must link a program against all its dependency libraries.
19804 link_all_deplibs=$link_all_deplibs
19806 # Set to "yes" if exported symbols are required.
19807 always_export_symbols=$always_export_symbols
19809 # The commands to list exported symbols.
19810 export_symbols_cmds=$lt_export_symbols_cmds
19812 # Symbols that should not be listed in the preloaded symbols.
19813 exclude_expsyms=$lt_exclude_expsyms
19815 # Symbols that must always be exported.
19816 include_expsyms=$lt_include_expsyms
19818 # Commands necessary for linking programs (against libraries) with templates.
19819 prelink_cmds=$lt_prelink_cmds
19821 # Commands necessary for finishing linking programs.
19822 postlink_cmds=$lt_postlink_cmds
19824 # Specify filename containing input files.
19825 file_list_spec=$lt_file_list_spec
19827 # How to hardcode a shared library path into an executable.
19828 hardcode_action=$hardcode_action
19830 # The directories searched by this compiler when creating a shared library.
19831 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
19833 # Dependencies to place before and after the objects being linked to
19834 # create a shared library.
19835 predep_objects=$lt_predep_objects
19836 postdep_objects=$lt_postdep_objects
19837 predeps=$lt_predeps
19838 postdeps=$lt_postdeps
19840 # The library search path used internally by the compiler when linking
19841 # a shared library.
19842 compiler_lib_search_path=$lt_compiler_lib_search_path
19844 # ### END LIBTOOL CONFIG
19850 cat <<\_LT_EOF >> "$cfgfile"
19851 # AIX sometimes has problems with the GCC collect2 program. For some
19852 # reason, if we set the COLLECT_NAMES environment variable, the problems
19853 # vanish in a puff of smoke.
19854 if test "X${COLLECT_NAMES+set}" != Xset; then
19856 export COLLECT_NAMES
19863 ltmain="$ac_aux_dir/ltmain.sh"
19866 # We use sed instead of cat because bash on DJGPP gets confused if
19867 # if finds mixed CR/LF and LF-only lines. Since sed operates in
19868 # text mode, it properly converts lines to CR/LF. This bash problem
19869 # is reportedly fixed, but why not run on old versions too?
19870 sed '$q' "$ltmain" >> "$cfgfile" \
19871 || (rm -f "$cfgfile"; exit 1)
19873 if test x"$xsi_shell" = xyes; then
19874 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
19878 \ */*) func_dirname_result="${1%/*}${2}" ;;\
19879 \ * ) func_dirname_result="${3}" ;;\
19881 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
19882 && mv -f "$cfgfile.tmp" "$cfgfile" \
19883 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19884 test 0 -eq $? || _lt_function_replace_fail=:
19887 sed -e '/^func_basename ()$/,/^} # func_basename /c\
19890 \ func_basename_result="${1##*/}"\
19891 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
19892 && mv -f "$cfgfile.tmp" "$cfgfile" \
19893 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19894 test 0 -eq $? || _lt_function_replace_fail=:
19897 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
19898 func_dirname_and_basename ()\
19901 \ */*) func_dirname_result="${1%/*}${2}" ;;\
19902 \ * ) func_dirname_result="${3}" ;;\
19904 \ func_basename_result="${1##*/}"\
19905 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
19906 && mv -f "$cfgfile.tmp" "$cfgfile" \
19907 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19908 test 0 -eq $? || _lt_function_replace_fail=:
19911 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
19914 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
19915 \ # positional parameters, so assign one to ordinary parameter first.\
19916 \ func_stripname_result=${3}\
19917 \ func_stripname_result=${func_stripname_result#"${1}"}\
19918 \ func_stripname_result=${func_stripname_result%"${2}"}\
19919 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
19920 && mv -f "$cfgfile.tmp" "$cfgfile" \
19921 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19922 test 0 -eq $? || _lt_function_replace_fail=:
19925 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
19926 func_split_long_opt ()\
19928 \ func_split_long_opt_name=${1%%=*}\
19929 \ func_split_long_opt_arg=${1#*=}\
19930 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
19931 && mv -f "$cfgfile.tmp" "$cfgfile" \
19932 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19933 test 0 -eq $? || _lt_function_replace_fail=:
19936 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
19937 func_split_short_opt ()\
19939 \ func_split_short_opt_arg=${1#??}\
19940 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
19941 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
19942 && mv -f "$cfgfile.tmp" "$cfgfile" \
19943 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19944 test 0 -eq $? || _lt_function_replace_fail=:
19947 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
19951 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
19952 \ *) func_lo2o_result=${1} ;;\
19954 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
19955 && mv -f "$cfgfile.tmp" "$cfgfile" \
19956 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19957 test 0 -eq $? || _lt_function_replace_fail=:
19960 sed -e '/^func_xform ()$/,/^} # func_xform /c\
19963 func_xform_result=${1%.*}.lo\
19964 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
19965 && mv -f "$cfgfile.tmp" "$cfgfile" \
19966 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19967 test 0 -eq $? || _lt_function_replace_fail=:
19970 sed -e '/^func_arith ()$/,/^} # func_arith /c\
19973 func_arith_result=$(( $* ))\
19974 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
19975 && mv -f "$cfgfile.tmp" "$cfgfile" \
19976 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19977 test 0 -eq $? || _lt_function_replace_fail=:
19980 sed -e '/^func_len ()$/,/^} # func_len /c\
19983 func_len_result=${#1}\
19984 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
19985 && mv -f "$cfgfile.tmp" "$cfgfile" \
19986 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19987 test 0 -eq $? || _lt_function_replace_fail=:
19991 if test x"$lt_shell_append" = xyes; then
19992 sed -e '/^func_append ()$/,/^} # func_append /c\
19995 eval "${1}+=\\${2}"\
19996 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
19997 && mv -f "$cfgfile.tmp" "$cfgfile" \
19998 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19999 test 0 -eq $? || _lt_function_replace_fail=:
20002 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
20003 func_append_quoted ()\
20005 \ func_quote_for_eval "${2}"\
20006 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
20007 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
20008 && mv -f "$cfgfile.tmp" "$cfgfile" \
20009 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20010 test 0 -eq $? || _lt_function_replace_fail=:
20013 # Save a `func_append' function call where possible by direct use of '+='
20014 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
20015 && mv -f "$cfgfile.tmp" "$cfgfile" \
20016 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20017 test 0 -eq $? || _lt_function_replace_fail=:
20019 # Save a `func_append' function call even when '+=' is not available
20020 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
20021 && mv -f "$cfgfile.tmp" "$cfgfile" \
20022 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20023 test 0 -eq $? || _lt_function_replace_fail=:
20026 if test x"$_lt_function_replace_fail" = x":"; then
20027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
20028 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
20032 mv -f "$cfgfile" "$ofile" ||
20033 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
20037 cat <<_LT_EOF >> "$ofile"
20039 # ### BEGIN LIBTOOL TAG CONFIG: CXX
20041 # The linker used to build libraries.
20044 # How to create reloadable object files.
20045 reload_flag=$lt_reload_flag_CXX
20046 reload_cmds=$lt_reload_cmds_CXX
20048 # Commands used to build an old-style archive.
20049 old_archive_cmds=$lt_old_archive_cmds_CXX
20051 # A language specific compiler.
20052 CC=$lt_compiler_CXX
20054 # Is the compiler the GNU compiler?
20057 # Compiler flag to turn off builtin functions.
20058 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
20060 # Additional compiler flags for building library objects.
20061 pic_flag=$lt_lt_prog_compiler_pic_CXX
20063 # How to pass a linker flag through the compiler.
20064 wl=$lt_lt_prog_compiler_wl_CXX
20066 # Compiler flag to prevent dynamic linking.
20067 link_static_flag=$lt_lt_prog_compiler_static_CXX
20069 # Does compiler simultaneously support -c and -o options?
20070 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
20072 # Whether or not to add -lc for building shared libraries.
20073 build_libtool_need_lc=$archive_cmds_need_lc_CXX
20075 # Whether or not to disallow shared libs when runtime libs are static.
20076 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
20078 # Compiler flag to allow reflexive dlopens.
20079 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
20081 # Compiler flag to generate shared objects directly from archives.
20082 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
20084 # Whether the compiler copes with passing no objects directly.
20085 compiler_needs_object=$lt_compiler_needs_object_CXX
20087 # Create an old-style archive from a shared archive.
20088 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
20090 # Create a temporary old-style archive to link instead of a shared archive.
20091 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
20093 # Commands used to build a shared archive.
20094 archive_cmds=$lt_archive_cmds_CXX
20095 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
20097 # Commands used to build a loadable module if different from building
20098 # a shared archive.
20099 module_cmds=$lt_module_cmds_CXX
20100 module_expsym_cmds=$lt_module_expsym_cmds_CXX
20102 # Whether we are building with GNU ld or not.
20103 with_gnu_ld=$lt_with_gnu_ld_CXX
20105 # Flag that allows shared libraries with undefined symbols to be built.
20106 allow_undefined_flag=$lt_allow_undefined_flag_CXX
20108 # Flag that enforces no undefined symbols.
20109 no_undefined_flag=$lt_no_undefined_flag_CXX
20111 # Flag to hardcode \$libdir into a binary during linking.
20112 # This must work even if \$libdir does not exist
20113 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
20115 # If ld is used when linking, flag to hardcode \$libdir into a binary
20116 # during linking. This must work even if \$libdir does not exist.
20117 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
20119 # Whether we need a single "-rpath" flag with a separated argument.
20120 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
20122 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20123 # DIR into the resulting binary.
20124 hardcode_direct=$hardcode_direct_CXX
20126 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20127 # DIR into the resulting binary and the resulting library dependency is
20128 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
20129 # library is relocated.
20130 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
20132 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20133 # into the resulting binary.
20134 hardcode_minus_L=$hardcode_minus_L_CXX
20136 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20137 # into the resulting binary.
20138 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
20140 # Set to "yes" if building a shared library automatically hardcodes DIR
20141 # into the library and all subsequent libraries and executables linked
20143 hardcode_automatic=$hardcode_automatic_CXX
20145 # Set to yes if linker adds runtime paths of dependent libraries
20146 # to runtime path list.
20147 inherit_rpath=$inherit_rpath_CXX
20149 # Whether libtool must link a program against all its dependency libraries.
20150 link_all_deplibs=$link_all_deplibs_CXX
20152 # Set to "yes" if exported symbols are required.
20153 always_export_symbols=$always_export_symbols_CXX
20155 # The commands to list exported symbols.
20156 export_symbols_cmds=$lt_export_symbols_cmds_CXX
20158 # Symbols that should not be listed in the preloaded symbols.
20159 exclude_expsyms=$lt_exclude_expsyms_CXX
20161 # Symbols that must always be exported.
20162 include_expsyms=$lt_include_expsyms_CXX
20164 # Commands necessary for linking programs (against libraries) with templates.
20165 prelink_cmds=$lt_prelink_cmds_CXX
20167 # Commands necessary for finishing linking programs.
20168 postlink_cmds=$lt_postlink_cmds_CXX
20170 # Specify filename containing input files.
20171 file_list_spec=$lt_file_list_spec_CXX
20173 # How to hardcode a shared library path into an executable.
20174 hardcode_action=$hardcode_action_CXX
20176 # The directories searched by this compiler when creating a shared library.
20177 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
20179 # Dependencies to place before and after the objects being linked to
20180 # create a shared library.
20181 predep_objects=$lt_predep_objects_CXX
20182 postdep_objects=$lt_postdep_objects_CXX
20183 predeps=$lt_predeps_CXX
20184 postdeps=$lt_postdeps_CXX
20186 # The library search path used internally by the compiler when linking
20187 # a shared library.
20188 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
20190 # ### END LIBTOOL TAG CONFIG: CXX
20201 ac_clean_files=$ac_clean_files_save
20203 test $ac_write_fail = 0 ||
20204 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20207 # configure is writing to config.log, and then calls config.status.
20208 # config.status does its own redirection, appending to config.log.
20209 # Unfortunately, on DOS this fails, as config.log is still kept open
20210 # by configure, so config.status won't be able to write to it; its
20211 # output is simply discarded. So we exec the FD to /dev/null,
20212 # effectively closing config.log, so it can be properly (re)opened and
20213 # appended to by config.status. When coming back to configure, we
20214 # need to make the FD available again.
20215 if test "$no_create" != yes; then
20217 ac_config_status_args=
20218 test "$silent" = yes &&
20219 ac_config_status_args="$ac_config_status_args --quiet"
20221 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20223 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20224 # would make configure fail if this is the last instruction.
20225 $ac_cs_success || as_fn_exit 1
20227 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20229 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}