2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for tagdemo 1.0.
5 # Report bugs to <bug-libtool@gnu.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
178 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182 PATH=/empty FPATH=/empty; export PATH FPATH
183 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185 test \$(( 1 + 1 )) = 2 || exit 1"
186 if (eval "$as_required") 2>/dev/null; then :
191 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
199 test -z "$as_dir" && as_dir=.
203 for as_base in sh bash ksh sh5; do
204 # Try only shells that exist, to save several forks.
205 as_shell=$as_dir/$as_base
206 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 CONFIG_SHELL=$as_shell as_have_required=yes
209 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219 CONFIG_SHELL=$SHELL as_have_required=yes
224 if test "x$CONFIG_SHELL" != x; then :
225 # We cannot yet assume a decent shell, so we have to provide a
226 # neutralization value for shells without unset; and this also
227 # works around shells that cannot unset nonexistent variables.
228 # Preserve -v and -x to the replacement shell.
231 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
234 *v*x* | *x*v* ) as_opts=-vx ;;
239 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
242 if test x$as_have_required = xno; then :
243 $as_echo "$0: This script requires a shell more modern than all"
244 $as_echo "$0: the shells that I found on your system."
245 if test x${ZSH_VERSION+set} = xset ; then
246 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
249 $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: bug-libtool@gnu.org about your system, including any
251 $0: error possibly output before this message. Then install
252 $0: a modern shell, or manually run the script under such a
253 $0: shell if you do have one."
259 SHELL=${CONFIG_SHELL-/bin/sh}
261 # Unset more variables known to interfere with behavior of common tools.
262 CLICOLOR_FORCE= GREP_OPTIONS=
263 unset CLICOLOR_FORCE GREP_OPTIONS
265 ## --------------------- ##
266 ## M4sh Shell Functions. ##
267 ## --------------------- ##
270 # Portably unset VAR.
273 { eval $1=; unset $1;}
277 # as_fn_set_status STATUS
278 # -----------------------
279 # Set $? to STATUS, without forking.
287 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
297 # Create "$as_dir" as a directory, including parents if necessary.
302 -*) as_dir=./$as_dir;;
304 test -d "$as_dir" || eval $as_mkdir_p || {
308 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
311 as_dirs="'$as_qdir' $as_dirs"
312 as_dir=`$as_dirname -- "$as_dir" ||
313 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
314 X"$as_dir" : 'X\(//\)[^/]' \| \
315 X"$as_dir" : 'X\(//\)$' \| \
316 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
317 $as_echo X"$as_dir" |
318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335 test -d "$as_dir" && break
337 test -z "$as_dirs" || eval "mkdir $as_dirs"
338 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
342 # as_fn_append VAR VALUE
343 # ----------------------
344 # Append the text in VALUE to the end of the definition contained in VAR. Take
345 # advantage of any shell optimizations that allow amortized linear growth over
346 # repeated appends, instead of the typical quadratic growth present in naive
348 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
349 eval 'as_fn_append ()
362 # Perform arithmetic evaluation on the ARGs, and store the result in the
363 # global $as_val. Take advantage of shells that can avoid forks. The arguments
364 # must be portable across $(()) and expr.
365 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
373 as_val=`expr "$@" || test $? -eq 1`
378 # as_fn_error STATUS ERROR [LINENO LOG_FD]
379 # ----------------------------------------
380 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
381 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
382 # script with STATUS, using 1 if that was 0.
385 as_status=$1; test $as_status -eq 0 && as_status=1
387 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
388 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
390 $as_echo "$as_me: error: $2" >&2
391 as_fn_exit $as_status
394 if expr a : '\(a\)' >/dev/null 2>&1 &&
395 test "X`expr 00001 : '.*\(...\)'`" = X001; then
401 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
407 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
413 as_me=`$as_basename -- "$0" ||
414 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
415 X"$0" : 'X\(//\)$' \| \
416 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
418 sed '/^.*\/\([^/][^/]*\)\/*$/{
432 # Avoid depending upon Character Ranges.
433 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
434 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
435 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
436 as_cr_digits='0123456789'
437 as_cr_alnum=$as_cr_Letters$as_cr_digits
440 as_lineno_1=$LINENO as_lineno_1a=$LINENO
441 as_lineno_2=$LINENO as_lineno_2a=$LINENO
442 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
443 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
444 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
456 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
460 chmod +x "$as_me.lineno" ||
461 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
463 # Don't try to exec as it changes $[0], causing all sort of problems
464 # (the dirname of $[0] is not the place where we might find the
465 # original and so on. Autoconf is especially sensitive to this).
467 # Exit status is that of the last command.
471 ECHO_C= ECHO_N= ECHO_T=
472 case `echo -n x` in #(((((
474 case `echo 'xy\c'` in
475 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
477 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
484 rm -f conf$$ conf$$.exe conf$$.file
485 if test -d conf$$.dir; then
486 rm -f conf$$.dir/conf$$.file
489 mkdir conf$$.dir 2>/dev/null
491 if (echo >conf$$.file) 2>/dev/null; then
492 if ln -s conf$$.file conf$$ 2>/dev/null; then
494 # ... but there are two gotchas:
495 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497 # In both cases, we have to default to `cp -p'.
498 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
500 elif ln conf$$.file conf$$ 2>/dev/null; then
508 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509 rmdir conf$$.dir 2>/dev/null
511 if mkdir -p . 2>/dev/null; then
512 as_mkdir_p='mkdir -p "$as_dir"'
514 test -d ./-p && rmdir ./-p
518 if test -x / >/dev/null 2>&1; then
521 if ls -dL / >/dev/null 2>&1; then
528 if test -d "$1"; then
534 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
535 ???[sx]*):;;*)false;;esac;fi
539 as_executable_p=$as_test_x
541 # Sed expression to map a string onto a valid CPP name.
542 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
544 # Sed expression to map a string onto a valid variable name.
545 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
547 SHELL=${CONFIG_SHELL-/bin/sh}
550 test -n "$DJDIR" || exec 7<&0 </dev/null
554 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
555 # so uname gets run too.
556 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561 ac_default_prefix=/usr/local
563 ac_config_libobj_dir=.
570 # Identity of this package.
571 PACKAGE_NAME='tagdemo'
572 PACKAGE_TARNAME='tagdemo'
573 PACKAGE_VERSION='1.0'
574 PACKAGE_STRING='tagdemo 1.0'
575 PACKAGE_BUGREPORT='bug-libtool@gnu.org'
578 ac_unique_file="foo.cpp"
579 # Factoring default headers for most tests.
580 ac_includes_default="\
582 #ifdef HAVE_SYS_TYPES_H
583 # include <sys/types.h>
585 #ifdef HAVE_SYS_STAT_H
586 # include <sys/stat.h>
592 # ifdef HAVE_STDLIB_H
597 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 #ifdef HAVE_STRINGS_H
603 # include <strings.h>
605 #ifdef HAVE_INTTYPES_H
606 # include <inttypes.h>
615 ac_subst_vars='am__EXEEXT_FALSE
673 INSTALL_STRIP_PROGRAM
727 program_transform_name
740 enable_option_checking
741 enable_dependency_tracking
750 ac_precious_vars='build_alias
765 # Initialize some variables set by options.
767 ac_init_version=false
768 ac_unrecognized_opts=
770 # The variables have the same names as the options, with
771 # dashes changed to underlines.
779 program_transform_name=s,x,x,
787 # Installation directory options.
788 # These are left unexpanded so users can "make install exec_prefix=/foo"
789 # and all the variables that are supposed to be based on exec_prefix
790 # by default will actually change.
791 # Use braces instead of parens because sh, perl, etc. also accept them.
792 # (The list follows the same order as the GNU Coding Standards.)
793 bindir='${exec_prefix}/bin'
794 sbindir='${exec_prefix}/sbin'
795 libexecdir='${exec_prefix}/libexec'
796 datarootdir='${prefix}/share'
797 datadir='${datarootdir}'
798 sysconfdir='${prefix}/etc'
799 sharedstatedir='${prefix}/com'
800 localstatedir='${prefix}/var'
801 includedir='${prefix}/include'
802 oldincludedir='/usr/include'
803 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
804 infodir='${datarootdir}/info'
809 libdir='${exec_prefix}/lib'
810 localedir='${datarootdir}/locale'
811 mandir='${datarootdir}/man'
817 # If the previous option needs an argument, assign it.
818 if test -n "$ac_prev"; then
819 eval $ac_prev=\$ac_option
825 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
830 # Accept the important Cygnus configure options, so we can diagnose typos.
832 case $ac_dashdash$ac_option in
836 -bindir | --bindir | --bindi | --bind | --bin | --bi)
838 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
841 -build | --build | --buil | --bui | --bu)
842 ac_prev=build_alias ;;
843 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
844 build_alias=$ac_optarg ;;
846 -cache-file | --cache-file | --cache-fil | --cache-fi \
847 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
848 ac_prev=cache_file ;;
849 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
850 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
851 cache_file=$ac_optarg ;;
854 cache_file=config.cache ;;
856 -datadir | --datadir | --datadi | --datad)
858 -datadir=* | --datadir=* | --datadi=* | --datad=*)
859 datadir=$ac_optarg ;;
861 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
862 | --dataroo | --dataro | --datar)
863 ac_prev=datarootdir ;;
864 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
865 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
866 datarootdir=$ac_optarg ;;
868 -disable-* | --disable-*)
869 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
870 # Reject names that are not valid shell variable names.
871 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
872 as_fn_error $? "invalid feature name: $ac_useropt"
873 ac_useropt_orig=$ac_useropt
874 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
875 case $ac_user_opts in
879 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
880 ac_unrecognized_sep=', ';;
882 eval enable_$ac_useropt=no ;;
884 -docdir | --docdir | --docdi | --doc | --do)
886 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
889 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
891 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
894 -enable-* | --enable-*)
895 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
896 # Reject names that are not valid shell variable names.
897 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
898 as_fn_error $? "invalid feature name: $ac_useropt"
899 ac_useropt_orig=$ac_useropt
900 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
901 case $ac_user_opts in
905 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
906 ac_unrecognized_sep=', ';;
908 eval enable_$ac_useropt=\$ac_optarg ;;
910 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
911 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
912 | --exec | --exe | --ex)
913 ac_prev=exec_prefix ;;
914 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
915 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
916 | --exec=* | --exe=* | --ex=*)
917 exec_prefix=$ac_optarg ;;
919 -gas | --gas | --ga | --g)
920 # Obsolete; use --with-gas.
923 -help | --help | --hel | --he | -h)
925 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
926 ac_init_help=recursive ;;
927 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
928 ac_init_help=short ;;
930 -host | --host | --hos | --ho)
931 ac_prev=host_alias ;;
932 -host=* | --host=* | --hos=* | --ho=*)
933 host_alias=$ac_optarg ;;
935 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
937 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
939 htmldir=$ac_optarg ;;
941 -includedir | --includedir | --includedi | --included | --include \
942 | --includ | --inclu | --incl | --inc)
943 ac_prev=includedir ;;
944 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
945 | --includ=* | --inclu=* | --incl=* | --inc=*)
946 includedir=$ac_optarg ;;
948 -infodir | --infodir | --infodi | --infod | --info | --inf)
950 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
951 infodir=$ac_optarg ;;
953 -libdir | --libdir | --libdi | --libd)
955 -libdir=* | --libdir=* | --libdi=* | --libd=*)
958 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
959 | --libexe | --libex | --libe)
960 ac_prev=libexecdir ;;
961 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
962 | --libexe=* | --libex=* | --libe=*)
963 libexecdir=$ac_optarg ;;
965 -localedir | --localedir | --localedi | --localed | --locale)
967 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
968 localedir=$ac_optarg ;;
970 -localstatedir | --localstatedir | --localstatedi | --localstated \
971 | --localstate | --localstat | --localsta | --localst | --locals)
972 ac_prev=localstatedir ;;
973 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
974 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
975 localstatedir=$ac_optarg ;;
977 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
979 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
983 # Obsolete; use --without-fp.
986 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
987 | --no-cr | --no-c | -n)
990 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
991 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
994 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
995 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
996 | --oldin | --oldi | --old | --ol | --o)
997 ac_prev=oldincludedir ;;
998 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
999 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1000 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1001 oldincludedir=$ac_optarg ;;
1003 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1005 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1006 prefix=$ac_optarg ;;
1008 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1009 | --program-pre | --program-pr | --program-p)
1010 ac_prev=program_prefix ;;
1011 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1012 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1013 program_prefix=$ac_optarg ;;
1015 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1016 | --program-suf | --program-su | --program-s)
1017 ac_prev=program_suffix ;;
1018 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1019 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1020 program_suffix=$ac_optarg ;;
1022 -program-transform-name | --program-transform-name \
1023 | --program-transform-nam | --program-transform-na \
1024 | --program-transform-n | --program-transform- \
1025 | --program-transform | --program-transfor \
1026 | --program-transfo | --program-transf \
1027 | --program-trans | --program-tran \
1028 | --progr-tra | --program-tr | --program-t)
1029 ac_prev=program_transform_name ;;
1030 -program-transform-name=* | --program-transform-name=* \
1031 | --program-transform-nam=* | --program-transform-na=* \
1032 | --program-transform-n=* | --program-transform-=* \
1033 | --program-transform=* | --program-transfor=* \
1034 | --program-transfo=* | --program-transf=* \
1035 | --program-trans=* | --program-tran=* \
1036 | --progr-tra=* | --program-tr=* | --program-t=*)
1037 program_transform_name=$ac_optarg ;;
1039 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1041 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1042 pdfdir=$ac_optarg ;;
1044 -psdir | --psdir | --psdi | --psd | --ps)
1046 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1049 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1050 | -silent | --silent | --silen | --sile | --sil)
1053 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1055 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1057 sbindir=$ac_optarg ;;
1059 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1060 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1061 | --sharedst | --shareds | --shared | --share | --shar \
1063 ac_prev=sharedstatedir ;;
1064 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1065 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1066 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1068 sharedstatedir=$ac_optarg ;;
1070 -site | --site | --sit)
1072 -site=* | --site=* | --sit=*)
1075 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1077 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1078 srcdir=$ac_optarg ;;
1080 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1081 | --syscon | --sysco | --sysc | --sys | --sy)
1082 ac_prev=sysconfdir ;;
1083 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1084 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1085 sysconfdir=$ac_optarg ;;
1087 -target | --target | --targe | --targ | --tar | --ta | --t)
1088 ac_prev=target_alias ;;
1089 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1090 target_alias=$ac_optarg ;;
1092 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1095 -version | --version | --versio | --versi | --vers | -V)
1096 ac_init_version=: ;;
1099 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1100 # Reject names that are not valid shell variable names.
1101 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1102 as_fn_error $? "invalid package name: $ac_useropt"
1103 ac_useropt_orig=$ac_useropt
1104 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1105 case $ac_user_opts in
1109 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1110 ac_unrecognized_sep=', ';;
1112 eval with_$ac_useropt=\$ac_optarg ;;
1114 -without-* | --without-*)
1115 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1116 # Reject names that are not valid shell variable names.
1117 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1118 as_fn_error $? "invalid package name: $ac_useropt"
1119 ac_useropt_orig=$ac_useropt
1120 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1121 case $ac_user_opts in
1125 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1126 ac_unrecognized_sep=', ';;
1128 eval with_$ac_useropt=no ;;
1131 # Obsolete; use --with-x.
1134 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1135 | --x-incl | --x-inc | --x-in | --x-i)
1136 ac_prev=x_includes ;;
1137 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1138 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1139 x_includes=$ac_optarg ;;
1141 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1142 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1143 ac_prev=x_libraries ;;
1144 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1145 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1146 x_libraries=$ac_optarg ;;
1148 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1149 Try \`$0 --help' for more information"
1153 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1154 # Reject names that are not valid shell variable names.
1155 case $ac_envvar in #(
1156 '' | [0-9]* | *[!_$as_cr_alnum]* )
1157 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1159 eval $ac_envvar=\$ac_optarg
1160 export $ac_envvar ;;
1163 # FIXME: should be removed in autoconf 3.0.
1164 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1165 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1166 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1167 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1173 if test -n "$ac_prev"; then
1174 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1175 as_fn_error $? "missing argument to $ac_option"
1178 if test -n "$ac_unrecognized_opts"; then
1179 case $enable_option_checking in
1181 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1182 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1186 # Check all directory arguments for consistency.
1187 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1188 datadir sysconfdir sharedstatedir localstatedir includedir \
1189 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1190 libdir localedir mandir
1192 eval ac_val=\$$ac_var
1193 # Remove trailing slashes.
1196 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1197 eval $ac_var=\$ac_val;;
1199 # Be sure to have absolute directory names.
1201 [\\/$]* | ?:[\\/]* ) continue;;
1202 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1204 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1207 # There might be people who depend on the old broken behavior: `$host'
1208 # used to hold the argument of --host etc.
1209 # FIXME: To remove some day.
1212 target=$target_alias
1214 # FIXME: To remove some day.
1215 if test "x$host_alias" != x; then
1216 if test "x$build_alias" = x; then
1217 cross_compiling=maybe
1218 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1219 If a cross compiler is detected then cross compile mode will be used" >&2
1220 elif test "x$build_alias" != "x$host_alias"; then
1226 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1228 test "$silent" = yes && exec 6>/dev/null
1231 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1232 ac_ls_di=`ls -di .` &&
1233 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1234 as_fn_error $? "working directory cannot be determined"
1235 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1236 as_fn_error $? "pwd does not report name of working directory"
1239 # Find the source files, if location was not specified.
1240 if test -z "$srcdir"; then
1241 ac_srcdir_defaulted=yes
1242 # Try the directory containing this script, then the parent directory.
1243 ac_confdir=`$as_dirname -- "$as_myself" ||
1244 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1245 X"$as_myself" : 'X\(//\)[^/]' \| \
1246 X"$as_myself" : 'X\(//\)$' \| \
1247 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1248 $as_echo X"$as_myself" |
1249 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1267 if test ! -r "$srcdir/$ac_unique_file"; then
1271 ac_srcdir_defaulted=no
1273 if test ! -r "$srcdir/$ac_unique_file"; then
1274 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1275 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1277 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1279 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1281 # When building in place, set srcdir=.
1282 if test "$ac_abs_confdir" = "$ac_pwd"; then
1285 # Remove unnecessary trailing slashes from srcdir.
1286 # Double slashes in file names in object file debugging info
1287 # mess up M-x gdb in Emacs.
1289 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1291 for ac_var in $ac_precious_vars; do
1292 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1293 eval ac_env_${ac_var}_value=\$${ac_var}
1294 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1295 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1299 # Report the --help message.
1301 if test "$ac_init_help" = "long"; then
1302 # Omit some internal or obsolete options to make the list less imposing.
1303 # This message is too long to be a string in the A/UX 3.1 sh.
1305 \`configure' configures tagdemo 1.0 to adapt to many kinds of systems.
1307 Usage: $0 [OPTION]... [VAR=VALUE]...
1309 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1310 VAR=VALUE. See below for descriptions of some of the useful variables.
1312 Defaults for the options are specified in brackets.
1315 -h, --help display this help and exit
1316 --help=short display options specific to this package
1317 --help=recursive display the short help of all the included packages
1318 -V, --version display version information and exit
1319 -q, --quiet, --silent do not print \`checking ...' messages
1320 --cache-file=FILE cache test results in FILE [disabled]
1321 -C, --config-cache alias for \`--cache-file=config.cache'
1322 -n, --no-create do not create output files
1323 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1325 Installation directories:
1326 --prefix=PREFIX install architecture-independent files in PREFIX
1327 [$ac_default_prefix]
1328 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1331 By default, \`make install' will install all the files in
1332 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1333 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1334 for instance \`--prefix=\$HOME'.
1336 For better control, use the options below.
1338 Fine tuning of the installation directories:
1339 --bindir=DIR user executables [EPREFIX/bin]
1340 --sbindir=DIR system admin executables [EPREFIX/sbin]
1341 --libexecdir=DIR program executables [EPREFIX/libexec]
1342 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1343 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1344 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1345 --libdir=DIR object code libraries [EPREFIX/lib]
1346 --includedir=DIR C header files [PREFIX/include]
1347 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1348 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1349 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1350 --infodir=DIR info documentation [DATAROOTDIR/info]
1351 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1352 --mandir=DIR man documentation [DATAROOTDIR/man]
1353 --docdir=DIR documentation root [DATAROOTDIR/doc/tagdemo]
1354 --htmldir=DIR html documentation [DOCDIR]
1355 --dvidir=DIR dvi documentation [DOCDIR]
1356 --pdfdir=DIR pdf documentation [DOCDIR]
1357 --psdir=DIR ps documentation [DOCDIR]
1363 --program-prefix=PREFIX prepend PREFIX to installed program names
1364 --program-suffix=SUFFIX append SUFFIX to installed program names
1365 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1368 --build=BUILD configure for building on BUILD [guessed]
1369 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1370 --target=TARGET configure for building compilers for TARGET [HOST]
1374 if test -n "$ac_init_help"; then
1375 case $ac_init_help in
1376 short | recursive ) echo "Configuration of tagdemo 1.0:";;
1381 --disable-option-checking ignore unrecognized --enable/--with options
1382 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1383 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1384 --disable-dependency-tracking speeds up one-time build
1385 --enable-dependency-tracking do not reject slow dependency extractors
1386 --enable-shared[=PKGS] build shared libraries [default=yes]
1387 --enable-static[=PKGS] build static libraries [default=yes]
1388 --enable-fast-install[=PKGS]
1389 optimize for fast installation [default=yes]
1390 --disable-libtool-lock avoid locking (might break parallel builds)
1393 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1394 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1395 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1397 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1398 --with-sysroot=DIR Search for dependent libraries within DIR
1399 (or the compiler's sysroot if not specified).
1401 Some influential environment variables:
1402 CC C compiler command
1403 CFLAGS C compiler flags
1404 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1405 nonstandard directory <lib dir>
1406 LIBS libraries to pass to the linker, e.g. -l<library>
1407 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1408 you have headers in a nonstandard directory <include dir>
1410 CXX C++ compiler command
1411 CXXFLAGS C++ compiler flags
1412 CXXCPP C++ preprocessor
1414 Use these variables to override the choices made by `configure' or to help
1415 it to find libraries and programs with nonstandard names/locations.
1417 Report bugs to <bug-libtool@gnu.org>.
1422 if test "$ac_init_help" = "recursive"; then
1423 # If there are subdirs, report their specific --help.
1424 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1425 test -d "$ac_dir" ||
1426 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1431 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1433 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1434 # A ".." for each directory in $ac_dir_suffix.
1435 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1436 case $ac_top_builddir_sub in
1437 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1438 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1441 ac_abs_top_builddir=$ac_pwd
1442 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1443 # for backward compatibility:
1444 ac_top_builddir=$ac_top_build_prefix
1447 .) # We are building in place.
1449 ac_top_srcdir=$ac_top_builddir_sub
1450 ac_abs_top_srcdir=$ac_pwd ;;
1451 [\\/]* | ?:[\\/]* ) # Absolute name.
1452 ac_srcdir=$srcdir$ac_dir_suffix;
1453 ac_top_srcdir=$srcdir
1454 ac_abs_top_srcdir=$srcdir ;;
1456 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1457 ac_top_srcdir=$ac_top_build_prefix$srcdir
1458 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1460 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1462 cd "$ac_dir" || { ac_status=$?; continue; }
1463 # Check for guested configure.
1464 if test -f "$ac_srcdir/configure.gnu"; then
1466 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1467 elif test -f "$ac_srcdir/configure"; then
1469 $SHELL "$ac_srcdir/configure" --help=recursive
1471 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1473 cd "$ac_pwd" || { ac_status=$?; break; }
1477 test -n "$ac_init_help" && exit $ac_status
1478 if $ac_init_version; then
1480 tagdemo configure 1.0
1481 generated by GNU Autoconf 2.68
1483 Copyright (C) 2010 Free Software Foundation, Inc.
1484 This configure script is free software; the Free Software Foundation
1485 gives unlimited permission to copy, distribute and modify it.
1490 ## ------------------------ ##
1491 ## Autoconf initialization. ##
1492 ## ------------------------ ##
1494 # ac_fn_c_try_compile LINENO
1495 # --------------------------
1496 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1497 ac_fn_c_try_compile ()
1499 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1500 rm -f conftest.$ac_objext
1501 if { { ac_try="$ac_compile"
1503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1504 *) ac_try_echo=$ac_try;;
1506 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1507 $as_echo "$ac_try_echo"; } >&5
1508 (eval "$ac_compile") 2>conftest.err
1510 if test -s conftest.err; then
1511 grep -v '^ *+' conftest.err >conftest.er1
1512 cat conftest.er1 >&5
1513 mv -f conftest.er1 conftest.err
1515 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1516 test $ac_status = 0; } && {
1517 test -z "$ac_c_werror_flag" ||
1518 test ! -s conftest.err
1519 } && test -s conftest.$ac_objext; then :
1522 $as_echo "$as_me: failed program was:" >&5
1523 sed 's/^/| /' conftest.$ac_ext >&5
1527 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1528 as_fn_set_status $ac_retval
1530 } # ac_fn_c_try_compile
1532 # ac_fn_c_try_cpp LINENO
1533 # ----------------------
1534 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1537 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1538 if { { ac_try="$ac_cpp conftest.$ac_ext"
1540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1541 *) ac_try_echo=$ac_try;;
1543 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1544 $as_echo "$ac_try_echo"; } >&5
1545 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1547 if test -s conftest.err; then
1548 grep -v '^ *+' conftest.err >conftest.er1
1549 cat conftest.er1 >&5
1550 mv -f conftest.er1 conftest.err
1552 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1553 test $ac_status = 0; } > conftest.i && {
1554 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1555 test ! -s conftest.err
1559 $as_echo "$as_me: failed program was:" >&5
1560 sed 's/^/| /' conftest.$ac_ext >&5
1564 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1565 as_fn_set_status $ac_retval
1569 # ac_fn_cxx_try_compile LINENO
1570 # ----------------------------
1571 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1572 ac_fn_cxx_try_compile ()
1574 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1575 rm -f conftest.$ac_objext
1576 if { { ac_try="$ac_compile"
1578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1579 *) ac_try_echo=$ac_try;;
1581 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1582 $as_echo "$ac_try_echo"; } >&5
1583 (eval "$ac_compile") 2>conftest.err
1585 if test -s conftest.err; then
1586 grep -v '^ *+' conftest.err >conftest.er1
1587 cat conftest.er1 >&5
1588 mv -f conftest.er1 conftest.err
1590 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1591 test $ac_status = 0; } && {
1592 test -z "$ac_cxx_werror_flag" ||
1593 test ! -s conftest.err
1594 } && test -s conftest.$ac_objext; then :
1597 $as_echo "$as_me: failed program was:" >&5
1598 sed 's/^/| /' conftest.$ac_ext >&5
1602 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1603 as_fn_set_status $ac_retval
1605 } # ac_fn_cxx_try_compile
1607 # ac_fn_cxx_try_cpp LINENO
1608 # ------------------------
1609 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1610 ac_fn_cxx_try_cpp ()
1612 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1613 if { { ac_try="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 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; } > conftest.i && {
1629 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1630 test ! -s conftest.err
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_cxx_try_cpp
1644 # ac_fn_c_try_link LINENO
1645 # -----------------------
1646 # Try to link conftest.$ac_ext, and return whether this succeeded.
1649 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1650 rm -f conftest.$ac_objext conftest$ac_exeext
1651 if { { ac_try="$ac_link"
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_link") 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_c_werror_flag" ||
1668 test ! -s conftest.err
1669 } && test -s conftest$ac_exeext && {
1670 test "$cross_compiling" = yes ||
1671 $as_test_x conftest$ac_exeext
1675 $as_echo "$as_me: failed program was:" >&5
1676 sed 's/^/| /' conftest.$ac_ext >&5
1680 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1681 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1682 # interfere with the next link command; also delete a directory that is
1683 # left behind by Apple's compiler. We do this before executing the actions.
1684 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1685 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1686 as_fn_set_status $ac_retval
1688 } # ac_fn_c_try_link
1690 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1691 # -------------------------------------------------------
1692 # Tests whether HEADER exists and can be compiled using the include files in
1693 # INCLUDES, setting the cache variable VAR accordingly.
1694 ac_fn_c_check_header_compile ()
1696 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1698 $as_echo_n "checking for $2... " >&6; }
1699 if eval \${$3+:} false; then :
1700 $as_echo_n "(cached) " >&6
1702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1703 /* end confdefs.h. */
1707 if ac_fn_c_try_compile "$LINENO"; then :
1712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1716 $as_echo "$ac_res" >&6; }
1717 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1719 } # ac_fn_c_check_header_compile
1721 # ac_fn_c_try_run LINENO
1722 # ----------------------
1723 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1724 # that executables *can* be run.
1727 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1728 if { { ac_try="$ac_link"
1730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1731 *) ac_try_echo=$ac_try;;
1733 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1734 $as_echo "$ac_try_echo"; } >&5
1735 (eval "$ac_link") 2>&5
1737 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1738 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1739 { { case "(($ac_try" in
1740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1741 *) ac_try_echo=$ac_try;;
1743 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1744 $as_echo "$ac_try_echo"; } >&5
1745 (eval "$ac_try") 2>&5
1747 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1748 test $ac_status = 0; }; }; then :
1751 $as_echo "$as_me: program exited with status $ac_status" >&5
1752 $as_echo "$as_me: failed program was:" >&5
1753 sed 's/^/| /' conftest.$ac_ext >&5
1755 ac_retval=$ac_status
1757 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1758 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1759 as_fn_set_status $ac_retval
1763 # ac_fn_c_check_func LINENO FUNC VAR
1764 # ----------------------------------
1765 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1766 ac_fn_c_check_func ()
1768 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1770 $as_echo_n "checking for $2... " >&6; }
1771 if eval \${$3+:} false; then :
1772 $as_echo_n "(cached) " >&6
1774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1775 /* end confdefs.h. */
1776 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1778 #define $2 innocuous_$2
1780 /* System header to define __stub macros and hopefully few prototypes,
1781 which can conflict with char $2 (); below.
1782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1783 <limits.h> exists even on freestanding compilers. */
1786 # include <limits.h>
1788 # include <assert.h>
1793 /* Override any GCC internal prototype to avoid an error.
1794 Use char because int might match the return type of a GCC
1795 builtin and then its argument prototype would still apply. */
1800 /* The GNU C library defines this for functions which it implements
1801 to always fail with ENOSYS. Some functions are actually named
1802 something starting with __ and the normal name is an alias. */
1803 #if defined __stub_$2 || defined __stub___$2
1815 if ac_fn_c_try_link "$LINENO"; then :
1820 rm -f core conftest.err conftest.$ac_objext \
1821 conftest$ac_exeext conftest.$ac_ext
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1825 $as_echo "$ac_res" >&6; }
1826 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1828 } # ac_fn_c_check_func
1830 # ac_fn_cxx_try_link LINENO
1831 # -------------------------
1832 # Try to link conftest.$ac_ext, and return whether this succeeded.
1833 ac_fn_cxx_try_link ()
1835 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1836 rm -f conftest.$ac_objext conftest$ac_exeext
1837 if { { ac_try="$ac_link"
1839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1840 *) ac_try_echo=$ac_try;;
1842 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1843 $as_echo "$ac_try_echo"; } >&5
1844 (eval "$ac_link") 2>conftest.err
1846 if test -s conftest.err; then
1847 grep -v '^ *+' conftest.err >conftest.er1
1848 cat conftest.er1 >&5
1849 mv -f conftest.er1 conftest.err
1851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1852 test $ac_status = 0; } && {
1853 test -z "$ac_cxx_werror_flag" ||
1854 test ! -s conftest.err
1855 } && test -s conftest$ac_exeext && {
1856 test "$cross_compiling" = yes ||
1857 $as_test_x conftest$ac_exeext
1861 $as_echo "$as_me: failed program was:" >&5
1862 sed 's/^/| /' conftest.$ac_ext >&5
1866 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1867 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1868 # interfere with the next link command; also delete a directory that is
1869 # left behind by Apple's compiler. We do this before executing the actions.
1870 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1871 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1872 as_fn_set_status $ac_retval
1874 } # ac_fn_cxx_try_link
1875 cat >config.log <<_ACEOF
1876 This file contains any messages produced by compilers while
1877 running configure, to aid debugging if configure makes a mistake.
1879 It was created by tagdemo $as_me 1.0, which was
1880 generated by GNU Autoconf 2.68. Invocation command line was
1892 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1893 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1894 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1895 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1896 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1898 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1899 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1901 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1902 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1903 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1904 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1905 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1906 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1907 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1915 test -z "$as_dir" && as_dir=.
1916 $as_echo "PATH: $as_dir"
1932 # Keep a trace of the command line.
1933 # Strip out --no-create and --no-recursion so they do not pile up.
1934 # Strip out --silent because we don't want to record it for future runs.
1935 # Also quote any args containing shell meta-characters.
1936 # Make two passes to allow for proper duplicate-argument suppression.
1940 ac_must_keep_next=false
1946 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1947 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1948 | -silent | --silent | --silen | --sile | --sil)
1951 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1954 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1956 as_fn_append ac_configure_args1 " '$ac_arg'"
1957 if test $ac_must_keep_next = true; then
1958 ac_must_keep_next=false # Got value, back to normal.
1961 *=* | --config-cache | -C | -disable-* | --disable-* \
1962 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1963 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1964 | -with-* | --with-* | -without-* | --without-* | --x)
1965 case "$ac_configure_args0 " in
1966 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1969 -* ) ac_must_keep_next=true ;;
1972 as_fn_append ac_configure_args " '$ac_arg'"
1977 { ac_configure_args0=; unset ac_configure_args0;}
1978 { ac_configure_args1=; unset ac_configure_args1;}
1980 # When interrupted or exit'd, cleanup temporary files, and complete
1981 # config.log. We remove comments because anyway the quotes in there
1982 # would cause problems or look ugly.
1983 # WARNING: Use '\'' to represent an apostrophe within the trap.
1984 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1985 trap 'exit_status=$?
1986 # Save into config.log some information that might help in debugging.
1990 $as_echo "## ---------------- ##
1991 ## Cache variables. ##
1992 ## ---------------- ##"
1994 # The following way of writing the cache mishandles newlines in values,
1996 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1997 eval ac_val=\$$ac_var
2001 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2002 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2005 _ | IFS | as_nl) ;; #(
2006 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2007 *) { eval $ac_var=; unset $ac_var;} ;;
2012 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2013 *${as_nl}ac_space=\ *)
2015 "s/'\''/'\''\\\\'\'''\''/g;
2016 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2019 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2026 $as_echo "## ----------------- ##
2027 ## Output variables. ##
2028 ## ----------------- ##"
2030 for ac_var in $ac_subst_vars
2032 eval ac_val=\$$ac_var
2034 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2036 $as_echo "$ac_var='\''$ac_val'\''"
2040 if test -n "$ac_subst_files"; then
2041 $as_echo "## ------------------- ##
2042 ## File substitutions. ##
2043 ## ------------------- ##"
2045 for ac_var in $ac_subst_files
2047 eval ac_val=\$$ac_var
2049 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2051 $as_echo "$ac_var='\''$ac_val'\''"
2056 if test -s confdefs.h; then
2057 $as_echo "## ----------- ##
2064 test "$ac_signal" != 0 &&
2065 $as_echo "$as_me: caught signal $ac_signal"
2066 $as_echo "$as_me: exit $exit_status"
2068 rm -f core *.core core.conftest.* &&
2069 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2072 for ac_signal in 1 2 13 15; do
2073 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2077 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2078 rm -f -r conftest* confdefs.h
2080 $as_echo "/* confdefs.h */" > confdefs.h
2082 # Predefined preprocessor variables.
2084 cat >>confdefs.h <<_ACEOF
2085 #define PACKAGE_NAME "$PACKAGE_NAME"
2088 cat >>confdefs.h <<_ACEOF
2089 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2092 cat >>confdefs.h <<_ACEOF
2093 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2096 cat >>confdefs.h <<_ACEOF
2097 #define PACKAGE_STRING "$PACKAGE_STRING"
2100 cat >>confdefs.h <<_ACEOF
2101 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2104 cat >>confdefs.h <<_ACEOF
2105 #define PACKAGE_URL "$PACKAGE_URL"
2109 # Let the site file select an alternate cache file if it wants to.
2110 # Prefer an explicitly selected file to automatically selected ones.
2113 if test -n "$CONFIG_SITE"; then
2114 # We do not want a PATH search for config.site.
2115 case $CONFIG_SITE in #((
2116 -*) ac_site_file1=./$CONFIG_SITE;;
2117 */*) ac_site_file1=$CONFIG_SITE;;
2118 *) ac_site_file1=./$CONFIG_SITE;;
2120 elif test "x$prefix" != xNONE; then
2121 ac_site_file1=$prefix/share/config.site
2122 ac_site_file2=$prefix/etc/config.site
2124 ac_site_file1=$ac_default_prefix/share/config.site
2125 ac_site_file2=$ac_default_prefix/etc/config.site
2127 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2129 test "x$ac_site_file" = xNONE && continue
2130 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2132 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2133 sed 's/^/| /' "$ac_site_file" >&5
2135 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2136 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2137 as_fn_error $? "failed to load site script $ac_site_file
2138 See \`config.log' for more details" "$LINENO" 5; }
2142 if test -r "$cache_file"; then
2143 # Some versions of bash will fail to source /dev/null (special files
2144 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2145 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2146 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2147 $as_echo "$as_me: loading cache $cache_file" >&6;}
2149 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2150 *) . "./$cache_file";;
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2155 $as_echo "$as_me: creating cache $cache_file" >&6;}
2159 # Check that the precious variables saved in the cache have kept the same
2161 ac_cache_corrupted=false
2162 for ac_var in $ac_precious_vars; do
2163 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2164 eval ac_new_set=\$ac_env_${ac_var}_set
2165 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2166 eval ac_new_val=\$ac_env_${ac_var}_value
2167 case $ac_old_set,$ac_new_set in
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2170 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2171 ac_cache_corrupted=: ;;
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2174 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2175 ac_cache_corrupted=: ;;
2178 if test "x$ac_old_val" != "x$ac_new_val"; then
2179 # differences in whitespace do not lead to failure.
2180 ac_old_val_w=`echo x $ac_old_val`
2181 ac_new_val_w=`echo x $ac_new_val`
2182 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2184 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2185 ac_cache_corrupted=:
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2188 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2189 eval $ac_var=\$ac_old_val
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2192 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2194 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2197 # Pass precious variables to config.status.
2198 if test "$ac_new_set" = set; then
2200 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2201 *) ac_arg=$ac_var=$ac_new_val ;;
2203 case " $ac_configure_args " in
2204 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2205 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2209 if $ac_cache_corrupted; then
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2211 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2213 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2214 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2216 ## -------------------- ##
2217 ## Main body of script. ##
2218 ## -------------------- ##
2221 ac_cpp='$CPP $CPPFLAGS'
2222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2229 for ac_dir in ../../libltdl/config "$srcdir"/../../libltdl/config; do
2230 if test -f "$ac_dir/install-sh"; then
2232 ac_install_sh="$ac_aux_dir/install-sh -c"
2234 elif test -f "$ac_dir/install.sh"; then
2236 ac_install_sh="$ac_aux_dir/install.sh -c"
2238 elif test -f "$ac_dir/shtool"; then
2240 ac_install_sh="$ac_aux_dir/shtool install -c"
2244 if test -z "$ac_aux_dir"; then
2245 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../../libltdl/config \"$srcdir\"/../../libltdl/config" "$LINENO" 5
2248 # These three variables are undocumented and unsupported,
2249 # and are intended to be withdrawn in a future Autoconf release.
2250 # They can cause serious problems if a builder's source tree is in a directory
2251 # whose full name contains unusual characters.
2252 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2253 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2254 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2258 # Make sure we can run config.sub.
2259 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2260 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2263 $as_echo_n "checking build system type... " >&6; }
2264 if ${ac_cv_build+:} false; then :
2265 $as_echo_n "(cached) " >&6
2267 ac_build_alias=$build_alias
2268 test "x$ac_build_alias" = x &&
2269 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2270 test "x$ac_build_alias" = x &&
2271 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2272 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2273 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2277 $as_echo "$ac_cv_build" >&6; }
2278 case $ac_cv_build in
2280 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2283 ac_save_IFS=$IFS; IFS='-'
2289 # Remember, the first character of IFS is used to create $*,
2290 # except with old shells:
2293 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2297 $as_echo_n "checking host system type... " >&6; }
2298 if ${ac_cv_host+:} false; then :
2299 $as_echo_n "(cached) " >&6
2301 if test "x$host_alias" = x; then
2302 ac_cv_host=$ac_cv_build
2304 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2305 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2310 $as_echo "$ac_cv_host" >&6; }
2313 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2316 ac_save_IFS=$IFS; IFS='-'
2322 # Remember, the first character of IFS is used to create $*,
2323 # except with old shells:
2326 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2330 $as_echo_n "checking target system type... " >&6; }
2331 if ${ac_cv_target+:} false; then :
2332 $as_echo_n "(cached) " >&6
2334 if test "x$target_alias" = x; then
2335 ac_cv_target=$ac_cv_host
2337 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2338 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2343 $as_echo "$ac_cv_target" >&6; }
2344 case $ac_cv_target in
2346 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2348 target=$ac_cv_target
2349 ac_save_IFS=$IFS; IFS='-'
2355 # Remember, the first character of IFS is used to create $*,
2356 # except with old shells:
2359 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2362 # The aliases save the names the user supplied, while $host etc.
2363 # will get canonicalized.
2364 test -n "$target_alias" &&
2365 test "$program_prefix$program_suffix$program_transform_name" = \
2367 program_prefix=${target_alias}-
2370 ## ------------------------ ##
2371 ## Automake Initialisation. ##
2372 ## ------------------------ ##
2373 am__api_version='1.11'
2375 # Find a good install program. We prefer a C program (faster),
2376 # so one script is as good as another. But avoid the broken or
2377 # incompatible versions:
2378 # SysV /etc/install, /usr/sbin/install
2379 # SunOS /usr/etc/install
2380 # IRIX /sbin/install
2382 # AmigaOS /C/install, which installs bootblocks on floppy discs
2383 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2384 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2385 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2386 # OS/2's system install, which has a completely different semantic
2387 # ./install, which can be erroneously created by make from ./install.sh.
2388 # Reject install programs that cannot install multiple files.
2389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2390 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2391 if test -z "$INSTALL"; then
2392 if ${ac_cv_path_install+:} false; then :
2393 $as_echo_n "(cached) " >&6
2395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2399 test -z "$as_dir" && as_dir=.
2400 # Account for people who put trailing slashes in PATH elements.
2401 case $as_dir/ in #((
2402 ./ | .// | /[cC]/* | \
2403 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2404 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2407 # OSF1 and SCO ODT 3.0 have their own names for install.
2408 # Don't use installbsd from OSF since it installs stuff as root
2410 for ac_prog in ginstall scoinst install; do
2411 for ac_exec_ext in '' $ac_executable_extensions; do
2412 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2413 if test $ac_prog = install &&
2414 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2415 # AIX install. It has an incompatible calling convention.
2417 elif test $ac_prog = install &&
2418 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2419 # program-specific install script used by HP pwplus--don't use.
2422 rm -rf conftest.one conftest.two conftest.dir
2423 echo one > conftest.one
2424 echo two > conftest.two
2426 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2427 test -s conftest.one && test -s conftest.two &&
2428 test -s conftest.dir/conftest.one &&
2429 test -s conftest.dir/conftest.two
2431 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2444 rm -rf conftest.one conftest.two conftest.dir
2447 if test "${ac_cv_path_install+set}" = set; then
2448 INSTALL=$ac_cv_path_install
2450 # As a last resort, use the slow shell script. Don't cache a
2451 # value for INSTALL within a source directory, because that will
2452 # break other packages using the cache if that directory is
2453 # removed, or if the value is a relative name.
2454 INSTALL=$ac_install_sh
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2458 $as_echo "$INSTALL" >&6; }
2460 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2461 # It thinks the first close brace ends the variable substitution.
2462 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2464 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2466 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2469 $as_echo_n "checking whether build environment is sane... " >&6; }
2472 echo timestamp > conftest.file
2473 # Reject unsafe characters in $srcdir or the absolute working directory
2474 # name. Accept space and tab only in the latter.
2478 *[\\\"\#\$\&\'\`$am_lf]*)
2479 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2482 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2483 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2486 # Do `set' in a subshell so we don't clobber the current shell's
2487 # arguments. Must try -L first in case configure is actually a
2488 # symlink; some systems play weird games with the mod time of symlinks
2489 # (eg FreeBSD returns the mod time of the symlink's containing
2492 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2493 if test "$*" = "X"; then
2495 set X `ls -t "$srcdir/configure" conftest.file`
2498 if test "$*" != "X $srcdir/configure conftest.file" \
2499 && test "$*" != "X conftest.file $srcdir/configure"; then
2501 # If neither matched, then we have a broken ls. This can happen
2502 # if, for instance, CONFIG_SHELL is bash and it inherits a
2503 # broken ls alias from the environment. This has actually
2504 # happened. Such a system could not be considered "sane".
2505 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2506 alias in your environment" "$LINENO" 5
2509 test "$2" = conftest.file
2515 as_fn_error $? "newly created file is older than distributed files!
2516 Check your system clock" "$LINENO" 5
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2519 $as_echo "yes" >&6; }
2520 test "$program_prefix" != NONE &&
2521 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2522 # Use a double $ so make ignores it.
2523 test "$program_suffix" != NONE &&
2524 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2525 # Double any \ or $.
2526 # By default was `s,x,x', remove it if useless.
2527 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2528 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2530 # expand $ac_aux_dir to an absolute path
2531 am_aux_dir=`cd $ac_aux_dir && pwd`
2533 if test x"${MISSING+set}" != xset; then
2536 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2538 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2541 # Use eval to expand $SHELL
2542 if eval "$MISSING --run true"; then
2543 am_missing_run="$MISSING --run "
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2547 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2550 if test x"${install_sh}" != xset; then
2553 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2555 install_sh="\${SHELL} $am_aux_dir/install-sh"
2559 # Installed binaries are usually stripped using `strip' when the user
2560 # run `make install-strip'. However `strip' might not be the right
2561 # tool to use in cross-compilation environments, therefore Automake
2562 # will honor the `STRIP' environment variable to overrule this program.
2563 if test "$cross_compiling" != no; then
2564 if test -n "$ac_tool_prefix"; then
2565 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2566 set dummy ${ac_tool_prefix}strip; ac_word=$2
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2568 $as_echo_n "checking for $ac_word... " >&6; }
2569 if ${ac_cv_prog_STRIP+:} false; then :
2570 $as_echo_n "(cached) " >&6
2572 if test -n "$STRIP"; then
2573 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2579 test -z "$as_dir" && as_dir=.
2580 for ac_exec_ext in '' $ac_executable_extensions; do
2581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2582 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2592 STRIP=$ac_cv_prog_STRIP
2593 if test -n "$STRIP"; then
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2595 $as_echo "$STRIP" >&6; }
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2598 $as_echo "no" >&6; }
2603 if test -z "$ac_cv_prog_STRIP"; then
2605 # Extract the first word of "strip", so it can be a program name with args.
2606 set dummy strip; ac_word=$2
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2608 $as_echo_n "checking for $ac_word... " >&6; }
2609 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2610 $as_echo_n "(cached) " >&6
2612 if test -n "$ac_ct_STRIP"; then
2613 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2619 test -z "$as_dir" && as_dir=.
2620 for ac_exec_ext in '' $ac_executable_extensions; do
2621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2622 ac_cv_prog_ac_ct_STRIP="strip"
2623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2632 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2633 if test -n "$ac_ct_STRIP"; then
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2635 $as_echo "$ac_ct_STRIP" >&6; }
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2638 $as_echo "no" >&6; }
2641 if test "x$ac_ct_STRIP" = x; then
2644 case $cross_compiling:$ac_tool_warned in
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2647 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2648 ac_tool_warned=yes ;;
2653 STRIP="$ac_cv_prog_STRIP"
2657 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2660 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2661 if test -z "$MKDIR_P"; then
2662 if ${ac_cv_path_mkdir+:} false; then :
2663 $as_echo_n "(cached) " >&6
2665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2666 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2669 test -z "$as_dir" && as_dir=.
2670 for ac_prog in mkdir gmkdir; do
2671 for ac_exec_ext in '' $ac_executable_extensions; do
2672 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2673 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2674 'mkdir (GNU coreutils) '* | \
2675 'mkdir (coreutils) '* | \
2676 'mkdir (fileutils) '4.1*)
2677 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2687 test -d ./--version && rmdir ./--version
2688 if test "${ac_cv_path_mkdir+set}" = set; then
2689 MKDIR_P="$ac_cv_path_mkdir -p"
2691 # As a last resort, use the slow shell script. Don't cache a
2692 # value for MKDIR_P within a source directory, because that will
2693 # break other packages using the cache if that directory is
2694 # removed, or if the value is a relative name.
2695 MKDIR_P="$ac_install_sh -d"
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2699 $as_echo "$MKDIR_P" >&6; }
2703 [\\/$]* | ?:[\\/]*) ;;
2704 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2707 for ac_prog in gawk mawk nawk awk
2709 # Extract the first word of "$ac_prog", so it can be a program name with args.
2710 set dummy $ac_prog; ac_word=$2
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2712 $as_echo_n "checking for $ac_word... " >&6; }
2713 if ${ac_cv_prog_AWK+:} false; then :
2714 $as_echo_n "(cached) " >&6
2716 if test -n "$AWK"; then
2717 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2723 test -z "$as_dir" && as_dir=.
2724 for ac_exec_ext in '' $ac_executable_extensions; do
2725 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2726 ac_cv_prog_AWK="$ac_prog"
2727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2737 if test -n "$AWK"; then
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2739 $as_echo "$AWK" >&6; }
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2742 $as_echo "no" >&6; }
2746 test -n "$AWK" && break
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2750 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2752 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2753 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2754 $as_echo_n "(cached) " >&6
2756 cat >conftest.make <<\_ACEOF
2759 @echo '@@@%%%=$(MAKE)=@@@%%%'
2761 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2762 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2764 eval ac_cv_prog_make_${ac_make}_set=yes;;
2766 eval ac_cv_prog_make_${ac_make}_set=no;;
2770 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2772 $as_echo "yes" >&6; }
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2776 $as_echo "no" >&6; }
2777 SET_MAKE="MAKE=${MAKE-make}"
2780 rm -rf .tst 2>/dev/null
2781 mkdir .tst 2>/dev/null
2782 if test -d .tst; then
2787 rmdir .tst 2>/dev/null
2789 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2790 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2791 # is not polluted with repeated "-I."
2792 am__isrc=' -I$(srcdir)'
2793 # test to see if srcdir already configured
2794 if test -f $srcdir/config.status; then
2795 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2799 # test whether we have cygpath
2800 if test -z "$CYGPATH_W"; then
2801 if (cygpath --version) >/dev/null 2>/dev/null; then
2802 CYGPATH_W='cygpath -w'
2809 # Define the identity of the package.
2814 cat >>confdefs.h <<_ACEOF
2815 #define PACKAGE "$PACKAGE"
2819 cat >>confdefs.h <<_ACEOF
2820 #define VERSION "$VERSION"
2823 # Some tools Automake needs.
2825 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2828 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2831 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2834 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2837 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2839 # We need awk for the "check" target. The system "awk" is bad on
2841 # Always define AMTAR for backward compatibility.
2843 AMTAR=${AMTAR-"${am_missing_run}tar"}
2845 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2853 ## ---------------- ##
2854 ## Compiler checks. ##
2855 ## ---------------- ##
2857 ac_cpp='$CPP $CPPFLAGS'
2858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2861 if test -n "$ac_tool_prefix"; then
2862 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2863 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2865 $as_echo_n "checking for $ac_word... " >&6; }
2866 if ${ac_cv_prog_CC+:} false; then :
2867 $as_echo_n "(cached) " >&6
2869 if test -n "$CC"; then
2870 ac_cv_prog_CC="$CC" # Let the user override the test.
2872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2876 test -z "$as_dir" && as_dir=.
2877 for ac_exec_ext in '' $ac_executable_extensions; do
2878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2879 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2890 if test -n "$CC"; then
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2892 $as_echo "$CC" >&6; }
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2895 $as_echo "no" >&6; }
2900 if test -z "$ac_cv_prog_CC"; then
2902 # Extract the first word of "gcc", so it can be a program name with args.
2903 set dummy gcc; ac_word=$2
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2905 $as_echo_n "checking for $ac_word... " >&6; }
2906 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2907 $as_echo_n "(cached) " >&6
2909 if test -n "$ac_ct_CC"; then
2910 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2916 test -z "$as_dir" && as_dir=.
2917 for ac_exec_ext in '' $ac_executable_extensions; do
2918 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2919 ac_cv_prog_ac_ct_CC="gcc"
2920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2929 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2930 if test -n "$ac_ct_CC"; then
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2932 $as_echo "$ac_ct_CC" >&6; }
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2935 $as_echo "no" >&6; }
2938 if test "x$ac_ct_CC" = x; then
2941 case $cross_compiling:$ac_tool_warned in
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2944 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2945 ac_tool_warned=yes ;;
2953 if test -z "$CC"; then
2954 if test -n "$ac_tool_prefix"; then
2955 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2956 set dummy ${ac_tool_prefix}cc; ac_word=$2
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2958 $as_echo_n "checking for $ac_word... " >&6; }
2959 if ${ac_cv_prog_CC+:} false; then :
2960 $as_echo_n "(cached) " >&6
2962 if test -n "$CC"; then
2963 ac_cv_prog_CC="$CC" # Let the user override the test.
2965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2969 test -z "$as_dir" && as_dir=.
2970 for ac_exec_ext in '' $ac_executable_extensions; do
2971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2972 ac_cv_prog_CC="${ac_tool_prefix}cc"
2973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2983 if test -n "$CC"; then
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2985 $as_echo "$CC" >&6; }
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2988 $as_echo "no" >&6; }
2994 if test -z "$CC"; then
2995 # Extract the first word of "cc", so it can be a program name with args.
2996 set dummy cc; ac_word=$2
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2998 $as_echo_n "checking for $ac_word... " >&6; }
2999 if ${ac_cv_prog_CC+:} false; then :
3000 $as_echo_n "(cached) " >&6
3002 if test -n "$CC"; then
3003 ac_cv_prog_CC="$CC" # Let the user override the test.
3006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3010 test -z "$as_dir" && as_dir=.
3011 for ac_exec_ext in '' $ac_executable_extensions; do
3012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3013 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3014 ac_prog_rejected=yes
3018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3025 if test $ac_prog_rejected = yes; then
3026 # We found a bogon in the path, so make sure we never use it.
3027 set dummy $ac_cv_prog_CC
3029 if test $# != 0; then
3030 # We chose a different compiler from the bogus one.
3031 # However, it has the same basename, so the bogon will be chosen
3032 # first if we set CC to just the basename; use the full file name.
3034 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3040 if test -n "$CC"; then
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3042 $as_echo "$CC" >&6; }
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3045 $as_echo "no" >&6; }
3050 if test -z "$CC"; then
3051 if test -n "$ac_tool_prefix"; then
3052 for ac_prog in cl.exe
3054 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3055 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3057 $as_echo_n "checking for $ac_word... " >&6; }
3058 if ${ac_cv_prog_CC+:} false; then :
3059 $as_echo_n "(cached) " >&6
3061 if test -n "$CC"; then
3062 ac_cv_prog_CC="$CC" # Let the user override the test.
3064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3068 test -z "$as_dir" && as_dir=.
3069 for ac_exec_ext in '' $ac_executable_extensions; do
3070 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3071 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3072 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3082 if test -n "$CC"; then
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3084 $as_echo "$CC" >&6; }
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3087 $as_echo "no" >&6; }
3091 test -n "$CC" && break
3094 if test -z "$CC"; then
3096 for ac_prog in cl.exe
3098 # Extract the first word of "$ac_prog", so it can be a program name with args.
3099 set dummy $ac_prog; ac_word=$2
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3101 $as_echo_n "checking for $ac_word... " >&6; }
3102 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3103 $as_echo_n "(cached) " >&6
3105 if test -n "$ac_ct_CC"; then
3106 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3112 test -z "$as_dir" && as_dir=.
3113 for ac_exec_ext in '' $ac_executable_extensions; do
3114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3115 ac_cv_prog_ac_ct_CC="$ac_prog"
3116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3125 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3126 if test -n "$ac_ct_CC"; then
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3128 $as_echo "$ac_ct_CC" >&6; }
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3131 $as_echo "no" >&6; }
3135 test -n "$ac_ct_CC" && break
3138 if test "x$ac_ct_CC" = x; then
3141 case $cross_compiling:$ac_tool_warned in
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3144 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3145 ac_tool_warned=yes ;;
3154 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3155 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3156 as_fn_error $? "no acceptable C compiler found in \$PATH
3157 See \`config.log' for more details" "$LINENO" 5; }
3159 # Provide some information about the compiler.
3160 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3163 for ac_option in --version -v -V -qversion; do
3164 { { ac_try="$ac_compiler $ac_option >&5"
3166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3167 *) ac_try_echo=$ac_try;;
3169 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3170 $as_echo "$ac_try_echo"; } >&5
3171 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3173 if test -s conftest.err; then
3175 ... rest of stderr output deleted ...
3176 10q' conftest.err >conftest.er1
3177 cat conftest.er1 >&5
3179 rm -f conftest.er1 conftest.err
3180 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3181 test $ac_status = 0; }
3184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3185 /* end confdefs.h. */
3195 ac_clean_files_save=$ac_clean_files
3196 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3197 # Try to create an executable without -o first, disregard a.out.
3198 # It will help us diagnose broken compilers, and finding out an intuition
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3201 $as_echo_n "checking whether the C compiler works... " >&6; }
3202 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3204 # The possible output files:
3205 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3208 for ac_file in $ac_files
3211 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3212 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3217 if { { ac_try="$ac_link_default"
3219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3220 *) ac_try_echo=$ac_try;;
3222 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3223 $as_echo "$ac_try_echo"; } >&5
3224 (eval "$ac_link_default") 2>&5
3226 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3227 test $ac_status = 0; }; then :
3228 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3229 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3230 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3231 # so that the user can short-circuit this test for compilers unknown to
3233 for ac_file in $ac_files ''
3235 test -f "$ac_file" || continue
3237 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3240 # We found the default executable, but exeext='' is most
3244 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3246 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3248 # We set ac_cv_exeext here because the later test for it is not
3249 # safe: cross compilers may not add the suffix if given an `-o'
3250 # argument, so we may need to know it at that point already.
3251 # Even if this section looks crufty: it has the advantage of
3258 test "$ac_cv_exeext" = no && ac_cv_exeext=
3263 if test -z "$ac_file"; then :
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3265 $as_echo "no" >&6; }
3266 $as_echo "$as_me: failed program was:" >&5
3267 sed 's/^/| /' conftest.$ac_ext >&5
3269 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3270 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3271 as_fn_error 77 "C compiler cannot create executables
3272 See \`config.log' for more details" "$LINENO" 5; }
3274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3275 $as_echo "yes" >&6; }
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3278 $as_echo_n "checking for C compiler default output file name... " >&6; }
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3280 $as_echo "$ac_file" >&6; }
3281 ac_exeext=$ac_cv_exeext
3283 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3284 ac_clean_files=$ac_clean_files_save
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3286 $as_echo_n "checking for suffix of executables... " >&6; }
3287 if { { ac_try="$ac_link"
3289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3290 *) ac_try_echo=$ac_try;;
3292 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3293 $as_echo "$ac_try_echo"; } >&5
3294 (eval "$ac_link") 2>&5
3296 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3297 test $ac_status = 0; }; then :
3298 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3299 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3300 # work properly (i.e., refer to `conftest.exe'), while it won't with
3302 for ac_file in conftest.exe conftest conftest.*; do
3303 test -f "$ac_file" || continue
3305 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3306 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3312 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3313 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3314 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3315 See \`config.log' for more details" "$LINENO" 5; }
3317 rm -f conftest conftest$ac_cv_exeext
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3319 $as_echo "$ac_cv_exeext" >&6; }
3321 rm -f conftest.$ac_ext
3322 EXEEXT=$ac_cv_exeext
3324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3325 /* end confdefs.h. */
3330 FILE *f = fopen ("conftest.out", "w");
3331 return ferror (f) || fclose (f) != 0;
3337 ac_clean_files="$ac_clean_files conftest.out"
3338 # Check that the compiler produces executables we can run. If not, either
3339 # the compiler is broken, or we cross compile.
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3341 $as_echo_n "checking whether we are cross compiling... " >&6; }
3342 if test "$cross_compiling" != yes; then
3343 { { ac_try="$ac_link"
3345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3346 *) ac_try_echo=$ac_try;;
3348 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3349 $as_echo "$ac_try_echo"; } >&5
3350 (eval "$ac_link") 2>&5
3352 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3353 test $ac_status = 0; }
3354 if { ac_try='./conftest$ac_cv_exeext'
3355 { { case "(($ac_try" in
3356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3357 *) ac_try_echo=$ac_try;;
3359 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3360 $as_echo "$ac_try_echo"; } >&5
3361 (eval "$ac_try") 2>&5
3363 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3364 test $ac_status = 0; }; }; then
3367 if test "$cross_compiling" = maybe; then
3370 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3371 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3372 as_fn_error $? "cannot run C compiled programs.
3373 If you meant to cross compile, use \`--host'.
3374 See \`config.log' for more details" "$LINENO" 5; }
3378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3379 $as_echo "$cross_compiling" >&6; }
3381 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3382 ac_clean_files=$ac_clean_files_save
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3384 $as_echo_n "checking for suffix of object files... " >&6; }
3385 if ${ac_cv_objext+:} false; then :
3386 $as_echo_n "(cached) " >&6
3388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3389 /* end confdefs.h. */
3399 rm -f conftest.o conftest.obj
3400 if { { ac_try="$ac_compile"
3402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3403 *) ac_try_echo=$ac_try;;
3405 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3406 $as_echo "$ac_try_echo"; } >&5
3407 (eval "$ac_compile") 2>&5
3409 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3410 test $ac_status = 0; }; then :
3411 for ac_file in conftest.o conftest.obj conftest.*; do
3412 test -f "$ac_file" || continue;
3414 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3415 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3420 $as_echo "$as_me: failed program was:" >&5
3421 sed 's/^/| /' conftest.$ac_ext >&5
3423 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3424 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3425 as_fn_error $? "cannot compute suffix of object files: cannot compile
3426 See \`config.log' for more details" "$LINENO" 5; }
3428 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3431 $as_echo "$ac_cv_objext" >&6; }
3432 OBJEXT=$ac_cv_objext
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3435 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3436 if ${ac_cv_c_compiler_gnu+:} false; then :
3437 $as_echo_n "(cached) " >&6
3439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3440 /* end confdefs.h. */
3453 if ac_fn_c_try_compile "$LINENO"; then :
3458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3459 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3463 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3464 if test $ac_compiler_gnu = yes; then
3469 ac_test_CFLAGS=${CFLAGS+set}
3470 ac_save_CFLAGS=$CFLAGS
3471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3472 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3473 if ${ac_cv_prog_cc_g+:} false; then :
3474 $as_echo_n "(cached) " >&6
3476 ac_save_c_werror_flag=$ac_c_werror_flag
3477 ac_c_werror_flag=yes
3480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3481 /* end confdefs.h. */
3491 if ac_fn_c_try_compile "$LINENO"; then :
3495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3496 /* end confdefs.h. */
3506 if ac_fn_c_try_compile "$LINENO"; then :
3509 ac_c_werror_flag=$ac_save_c_werror_flag
3511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3512 /* end confdefs.h. */
3522 if ac_fn_c_try_compile "$LINENO"; then :
3525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3530 ac_c_werror_flag=$ac_save_c_werror_flag
3532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3533 $as_echo "$ac_cv_prog_cc_g" >&6; }
3534 if test "$ac_test_CFLAGS" = set; then
3535 CFLAGS=$ac_save_CFLAGS
3536 elif test $ac_cv_prog_cc_g = yes; then
3537 if test "$GCC" = yes; then
3543 if test "$GCC" = yes; then
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3550 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3551 if ${ac_cv_prog_cc_c89+:} false; then :
3552 $as_echo_n "(cached) " >&6
3554 ac_cv_prog_cc_c89=no
3556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3557 /* end confdefs.h. */
3560 #include <sys/types.h>
3561 #include <sys/stat.h>
3562 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3563 struct buf { int x; };
3564 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3565 static char *e (p, i)
3571 static char *f (char * (*g) (char **, int), char **p, ...)
3576 s = g (p, va_arg (v,int));
3581 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3582 function prototypes and stuff, but not '\xHH' hex character constants.
3583 These don't provoke an error unfortunately, instead are silently treated
3584 as 'x'. The following induces an error, until -std is added to get
3585 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3586 array size at least. It's necessary to write '\x00'==0 to get something
3587 that's true only with -std. */
3588 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3590 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3591 inside strings and character constants. */
3593 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3595 int test (int i, double x);
3596 struct s1 {int (*f) (int a);};
3597 struct s2 {int (*f) (double a);};
3598 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3604 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3609 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3610 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3612 CC="$ac_save_CC $ac_arg"
3613 if ac_fn_c_try_compile "$LINENO"; then :
3614 ac_cv_prog_cc_c89=$ac_arg
3616 rm -f core conftest.err conftest.$ac_objext
3617 test "x$ac_cv_prog_cc_c89" != "xno" && break
3619 rm -f conftest.$ac_ext
3624 case "x$ac_cv_prog_cc_c89" in
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3627 $as_echo "none needed" >&6; } ;;
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3630 $as_echo "unsupported" >&6; } ;;
3632 CC="$CC $ac_cv_prog_cc_c89"
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3634 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3636 if test "x$ac_cv_prog_cc_c89" != xno; then :
3641 ac_cpp='$CPP $CPPFLAGS'
3642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3645 DEPDIR="${am__leading_dot}deps"
3647 ac_config_commands="$ac_config_commands depfiles"
3650 am_make=${MAKE-make}
3651 cat > confinc << 'END'
3653 @echo this is the am__doit target
3656 # If we don't find an include directive, just comment out the code.
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3658 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3662 # First try GNU make style include.
3663 echo "include confinc" > confmf
3664 # Ignore all kinds of additional output from `make'.
3665 case `$am_make -s -f confmf 2> /dev/null` in #(
3666 *the\ am__doit\ target*)
3672 # Now try BSD make style include.
3673 if test "$am__include" = "#"; then
3674 echo '.include "confinc"' > confmf
3675 case `$am_make -s -f confmf 2> /dev/null` in #(
3676 *the\ am__doit\ target*)
3677 am__include=.include
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3686 $as_echo "$_am_result" >&6; }
3687 rm -f confinc confmf
3689 # Check whether --enable-dependency-tracking was given.
3690 if test "${enable_dependency_tracking+set}" = set; then :
3691 enableval=$enable_dependency_tracking;
3694 if test "x$enable_dependency_tracking" != xno; then
3695 am_depcomp="$ac_aux_dir/depcomp"
3698 if test "x$enable_dependency_tracking" != xno; then
3708 depcc="$CC" am_compiler_list=
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3711 $as_echo_n "checking dependency style of $depcc... " >&6; }
3712 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3713 $as_echo_n "(cached) " >&6
3715 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3716 # We make a subdir and do the tests there. Otherwise we can end up
3717 # making bogus files that we don't know about and never remove. For
3718 # instance it was reported that on HP-UX the gcc test will end up
3719 # making a dummy file named `D' -- because `-MD' means `put the output
3722 # Copy depcomp to subdir because otherwise we won't find it if we're
3723 # using a relative directory.
3724 cp "$am_depcomp" conftest.dir
3726 # We will build objects and dependencies in a subdirectory because
3727 # it helps to detect inapplicable dependency modes. For instance
3728 # both Tru64's cc and ICC support -MD to output dependencies as a
3729 # side effect of compilation, but ICC will put the dependencies in
3730 # the current directory while Tru64 will put them in the object
3734 am_cv_CC_dependencies_compiler_type=none
3735 if test "$am_compiler_list" = ""; then
3736 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3739 case " $depcc " in #(
3740 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3743 for depmode in $am_compiler_list; do
3744 # Setup a source with many dependencies, because some compilers
3745 # like to wrap large dependency lists on column 80 (with \), and
3746 # we should not choose a depcomp mode which is confused by this.
3748 # We need to recreate these files for each test, as the compiler may
3749 # overwrite some of them when testing with obscure command lines.
3750 # This happens at least with the AIX C compiler.
3752 for i in 1 2 3 4 5 6; do
3753 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3754 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3755 # Solaris 8's {/usr,}/bin/sh.
3756 touch sub/conftst$i.h
3758 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3760 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3761 # mode. It turns out that the SunPro C++ compiler does not properly
3762 # handle `-M -o', and we need to detect this. Also, some Intel
3763 # versions had trouble with output in subdirs
3764 am__obj=sub/conftest.${OBJEXT-o}
3765 am__minus_obj="-o $am__obj"
3768 # This depmode causes a compiler race in universal mode.
3769 test "$am__universal" = false || continue
3772 # after this tag, mechanisms are not by side-effect, so they'll
3773 # only be used when explicitly requested
3774 if test "x$enable_dependency_tracking" = xyes; then
3780 msvisualcpp | msvcmsys)
3781 # This compiler won't grok `-c -o', but also, the minuso test has
3782 # not run yet. These depmodes are late enough in the game, and
3783 # so weak that their functioning should not be impacted.
3784 am__obj=conftest.${OBJEXT-o}
3789 if depmode=$depmode \
3790 source=sub/conftest.c object=$am__obj \
3791 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3792 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3793 >/dev/null 2>conftest.err &&
3794 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3795 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3796 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3797 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3798 # icc doesn't choke on unknown options, it will just issue warnings
3799 # or remarks (even with -Werror). So we grep stderr for any message
3800 # that says an option was ignored or not supported.
3801 # When given -MP, icc 7.0 and 7.1 complain thusly:
3802 # icc: Command line warning: ignoring option '-M'; no argument required
3803 # The diagnosis changed in icc 8.0:
3804 # icc: Command line remark: option '-MP' not supported
3805 if (grep 'ignoring option' conftest.err ||
3806 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3807 am_cv_CC_dependencies_compiler_type=$depmode
3816 am_cv_CC_dependencies_compiler_type=none
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3821 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3822 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3825 test "x$enable_dependency_tracking" != xno \
3826 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3828 am__fastdepCC_FALSE='#'
3830 am__fastdepCC_TRUE='#'
3831 am__fastdepCC_FALSE=
3836 ac_cpp='$CPP $CPPFLAGS'
3837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3841 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3842 # On Suns, sometimes $CPP names a directory.
3843 if test -n "$CPP" && test -d "$CPP"; then
3846 if test -z "$CPP"; then
3847 if ${ac_cv_prog_CPP+:} false; then :
3848 $as_echo_n "(cached) " >&6
3850 # Double quotes because CPP needs to be expanded
3851 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3854 for ac_c_preproc_warn_flag in '' yes
3856 # Use a header file that comes with gcc, so configuring glibc
3857 # with a fresh cross-compiler works.
3858 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3859 # <limits.h> exists even on freestanding compilers.
3860 # On the NeXT, cc -E runs the code through the compiler's parser,
3861 # not just through cpp. "Syntax error" is here to catch this case.
3862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3863 /* end confdefs.h. */
3865 # include <limits.h>
3867 # include <assert.h>
3871 if ac_fn_c_try_cpp "$LINENO"; then :
3874 # Broken: fails on valid input.
3877 rm -f conftest.err conftest.i conftest.$ac_ext
3879 # OK, works on sane cases. Now check whether nonexistent headers
3880 # can be detected and how.
3881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3882 /* end confdefs.h. */
3883 #include <ac_nonexistent.h>
3885 if ac_fn_c_try_cpp "$LINENO"; then :
3886 # Broken: success on invalid input.
3889 # Passes both tests.
3893 rm -f conftest.err conftest.i conftest.$ac_ext
3896 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3897 rm -f conftest.i conftest.err conftest.$ac_ext
3898 if $ac_preproc_ok; then :
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3911 $as_echo "$CPP" >&6; }
3913 for ac_c_preproc_warn_flag in '' yes
3915 # Use a header file that comes with gcc, so configuring glibc
3916 # with a fresh cross-compiler works.
3917 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3918 # <limits.h> exists even on freestanding compilers.
3919 # On the NeXT, cc -E runs the code through the compiler's parser,
3920 # not just through cpp. "Syntax error" is here to catch this case.
3921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3922 /* end confdefs.h. */
3924 # include <limits.h>
3926 # include <assert.h>
3930 if ac_fn_c_try_cpp "$LINENO"; then :
3933 # Broken: fails on valid input.
3936 rm -f conftest.err conftest.i conftest.$ac_ext
3938 # OK, works on sane cases. Now check whether nonexistent headers
3939 # can be detected and how.
3940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3941 /* end confdefs.h. */
3942 #include <ac_nonexistent.h>
3944 if ac_fn_c_try_cpp "$LINENO"; then :
3945 # Broken: success on invalid input.
3948 # Passes both tests.
3952 rm -f conftest.err conftest.i conftest.$ac_ext
3955 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3956 rm -f conftest.i conftest.err conftest.$ac_ext
3957 if $ac_preproc_ok; then :
3960 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3961 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3962 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3963 See \`config.log' for more details" "$LINENO" 5; }
3967 ac_cpp='$CPP $CPPFLAGS'
3968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3972 if test "x$CC" != xcc; then
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
3974 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
3977 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3979 set dummy $CC; ac_cc=`$as_echo "$2" |
3980 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3981 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
3982 $as_echo_n "(cached) " >&6
3984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3985 /* end confdefs.h. */
3995 # Make sure it works both with $CC and with simple cc.
3996 # We do the test twice because some compilers refuse to overwrite an
3997 # existing .o file with -o, though they will create one.
3998 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4000 if { { case "(($ac_try" in
4001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4002 *) ac_try_echo=$ac_try;;
4004 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4005 $as_echo "$ac_try_echo"; } >&5
4006 (eval "$ac_try") 2>&5
4008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4009 test $ac_status = 0; } &&
4010 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4012 *) ac_try_echo=$ac_try;;
4014 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4015 $as_echo "$ac_try_echo"; } >&5
4016 (eval "$ac_try") 2>&5
4018 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4019 test $ac_status = 0; };
4021 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4022 if test "x$CC" != xcc; then
4023 # Test first that cc exists at all.
4024 if { ac_try='cc -c conftest.$ac_ext >&5'
4025 { { case "(($ac_try" in
4026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4027 *) ac_try_echo=$ac_try;;
4029 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4030 $as_echo "$ac_try_echo"; } >&5
4031 (eval "$ac_try") 2>&5
4033 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4034 test $ac_status = 0; }; }; then
4035 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4037 if { { case "(($ac_try" in
4038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4039 *) ac_try_echo=$ac_try;;
4041 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4042 $as_echo "$ac_try_echo"; } >&5
4043 (eval "$ac_try") 2>&5
4045 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4046 test $ac_status = 0; } &&
4047 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4049 *) ac_try_echo=$ac_try;;
4051 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4052 $as_echo "$ac_try_echo"; } >&5
4053 (eval "$ac_try") 2>&5
4055 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4056 test $ac_status = 0; };
4061 # cc exists but doesn't like -o.
4062 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4067 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4069 rm -f core conftest*
4072 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4074 $as_echo "yes" >&6; }
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4077 $as_echo "no" >&6; }
4079 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4085 ac_cpp='$CXXCPP $CPPFLAGS'
4086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4089 if test -z "$CXX"; then
4090 if test -n "$CCC"; then
4093 if test -n "$ac_tool_prefix"; then
4094 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4096 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4097 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4099 $as_echo_n "checking for $ac_word... " >&6; }
4100 if ${ac_cv_prog_CXX+:} false; then :
4101 $as_echo_n "(cached) " >&6
4103 if test -n "$CXX"; then
4104 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4110 test -z "$as_dir" && as_dir=.
4111 for ac_exec_ext in '' $ac_executable_extensions; do
4112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4113 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4124 if test -n "$CXX"; then
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4126 $as_echo "$CXX" >&6; }
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4129 $as_echo "no" >&6; }
4133 test -n "$CXX" && break
4136 if test -z "$CXX"; then
4138 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4140 # Extract the first word of "$ac_prog", so it can be a program name with args.
4141 set dummy $ac_prog; ac_word=$2
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4143 $as_echo_n "checking for $ac_word... " >&6; }
4144 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4145 $as_echo_n "(cached) " >&6
4147 if test -n "$ac_ct_CXX"; then
4148 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4154 test -z "$as_dir" && as_dir=.
4155 for ac_exec_ext in '' $ac_executable_extensions; do
4156 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4157 ac_cv_prog_ac_ct_CXX="$ac_prog"
4158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4167 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4168 if test -n "$ac_ct_CXX"; then
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4170 $as_echo "$ac_ct_CXX" >&6; }
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4173 $as_echo "no" >&6; }
4177 test -n "$ac_ct_CXX" && break
4180 if test "x$ac_ct_CXX" = x; then
4183 case $cross_compiling:$ac_tool_warned in
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4186 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4187 ac_tool_warned=yes ;;
4195 # Provide some information about the compiler.
4196 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4199 for ac_option in --version -v -V -qversion; do
4200 { { ac_try="$ac_compiler $ac_option >&5"
4202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4203 *) ac_try_echo=$ac_try;;
4205 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4206 $as_echo "$ac_try_echo"; } >&5
4207 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4209 if test -s conftest.err; then
4211 ... rest of stderr output deleted ...
4212 10q' conftest.err >conftest.er1
4213 cat conftest.er1 >&5
4215 rm -f conftest.er1 conftest.err
4216 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4217 test $ac_status = 0; }
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4221 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4222 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4223 $as_echo_n "(cached) " >&6
4225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4226 /* end confdefs.h. */
4239 if ac_fn_cxx_try_compile "$LINENO"; then :
4244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4245 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4249 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4250 if test $ac_compiler_gnu = yes; then
4255 ac_test_CXXFLAGS=${CXXFLAGS+set}
4256 ac_save_CXXFLAGS=$CXXFLAGS
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4258 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4259 if ${ac_cv_prog_cxx_g+:} false; then :
4260 $as_echo_n "(cached) " >&6
4262 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4263 ac_cxx_werror_flag=yes
4266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4267 /* end confdefs.h. */
4277 if ac_fn_cxx_try_compile "$LINENO"; then :
4278 ac_cv_prog_cxx_g=yes
4281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4282 /* end confdefs.h. */
4292 if ac_fn_cxx_try_compile "$LINENO"; then :
4295 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4298 /* end confdefs.h. */
4308 if ac_fn_cxx_try_compile "$LINENO"; then :
4309 ac_cv_prog_cxx_g=yes
4311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4316 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4319 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4320 if test "$ac_test_CXXFLAGS" = set; then
4321 CXXFLAGS=$ac_save_CXXFLAGS
4322 elif test $ac_cv_prog_cxx_g = yes; then
4323 if test "$GXX" = yes; then
4329 if test "$GXX" = yes; then
4336 ac_cpp='$CPP $CPPFLAGS'
4337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4341 depcc="$CXX" am_compiler_list=
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4344 $as_echo_n "checking dependency style of $depcc... " >&6; }
4345 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
4346 $as_echo_n "(cached) " >&6
4348 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4349 # We make a subdir and do the tests there. Otherwise we can end up
4350 # making bogus files that we don't know about and never remove. For
4351 # instance it was reported that on HP-UX the gcc test will end up
4352 # making a dummy file named `D' -- because `-MD' means `put the output
4355 # Copy depcomp to subdir because otherwise we won't find it if we're
4356 # using a relative directory.
4357 cp "$am_depcomp" conftest.dir
4359 # We will build objects and dependencies in a subdirectory because
4360 # it helps to detect inapplicable dependency modes. For instance
4361 # both Tru64's cc and ICC support -MD to output dependencies as a
4362 # side effect of compilation, but ICC will put the dependencies in
4363 # the current directory while Tru64 will put them in the object
4367 am_cv_CXX_dependencies_compiler_type=none
4368 if test "$am_compiler_list" = ""; then
4369 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4372 case " $depcc " in #(
4373 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4376 for depmode in $am_compiler_list; do
4377 # Setup a source with many dependencies, because some compilers
4378 # like to wrap large dependency lists on column 80 (with \), and
4379 # we should not choose a depcomp mode which is confused by this.
4381 # We need to recreate these files for each test, as the compiler may
4382 # overwrite some of them when testing with obscure command lines.
4383 # This happens at least with the AIX C compiler.
4385 for i in 1 2 3 4 5 6; do
4386 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4387 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4388 # Solaris 8's {/usr,}/bin/sh.
4389 touch sub/conftst$i.h
4391 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4393 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4394 # mode. It turns out that the SunPro C++ compiler does not properly
4395 # handle `-M -o', and we need to detect this. Also, some Intel
4396 # versions had trouble with output in subdirs
4397 am__obj=sub/conftest.${OBJEXT-o}
4398 am__minus_obj="-o $am__obj"
4401 # This depmode causes a compiler race in universal mode.
4402 test "$am__universal" = false || continue
4405 # after this tag, mechanisms are not by side-effect, so they'll
4406 # only be used when explicitly requested
4407 if test "x$enable_dependency_tracking" = xyes; then
4413 msvisualcpp | msvcmsys)
4414 # This compiler won't grok `-c -o', but also, the minuso test has
4415 # not run yet. These depmodes are late enough in the game, and
4416 # so weak that their functioning should not be impacted.
4417 am__obj=conftest.${OBJEXT-o}
4422 if depmode=$depmode \
4423 source=sub/conftest.c object=$am__obj \
4424 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4425 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4426 >/dev/null 2>conftest.err &&
4427 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4428 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4429 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4430 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4431 # icc doesn't choke on unknown options, it will just issue warnings
4432 # or remarks (even with -Werror). So we grep stderr for any message
4433 # that says an option was ignored or not supported.
4434 # When given -MP, icc 7.0 and 7.1 complain thusly:
4435 # icc: Command line warning: ignoring option '-M'; no argument required
4436 # The diagnosis changed in icc 8.0:
4437 # icc: Command line remark: option '-MP' not supported
4438 if (grep 'ignoring option' conftest.err ||
4439 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4440 am_cv_CXX_dependencies_compiler_type=$depmode
4449 am_cv_CXX_dependencies_compiler_type=none
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4454 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4455 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4458 test "x$enable_dependency_tracking" != xno \
4459 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4460 am__fastdepCXX_TRUE=
4461 am__fastdepCXX_FALSE='#'
4463 am__fastdepCXX_TRUE='#'
4464 am__fastdepCXX_FALSE=
4469 ac_cpp='$CXXCPP $CPPFLAGS'
4470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
4474 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
4475 if test -z "$CXXCPP"; then
4476 if ${ac_cv_prog_CXXCPP+:} false; then :
4477 $as_echo_n "(cached) " >&6
4479 # Double quotes because CXXCPP needs to be expanded
4480 for CXXCPP in "$CXX -E" "/lib/cpp"
4483 for ac_cxx_preproc_warn_flag in '' yes
4485 # Use a header file that comes with gcc, so configuring glibc
4486 # with a fresh cross-compiler works.
4487 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4488 # <limits.h> exists even on freestanding compilers.
4489 # On the NeXT, cc -E runs the code through the compiler's parser,
4490 # not just through cpp. "Syntax error" is here to catch this case.
4491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4492 /* end confdefs.h. */
4494 # include <limits.h>
4496 # include <assert.h>
4500 if ac_fn_cxx_try_cpp "$LINENO"; then :
4503 # Broken: fails on valid input.
4506 rm -f conftest.err conftest.i conftest.$ac_ext
4508 # OK, works on sane cases. Now check whether nonexistent headers
4509 # can be detected and how.
4510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4511 /* end confdefs.h. */
4512 #include <ac_nonexistent.h>
4514 if ac_fn_cxx_try_cpp "$LINENO"; then :
4515 # Broken: success on invalid input.
4518 # Passes both tests.
4522 rm -f conftest.err conftest.i conftest.$ac_ext
4525 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4526 rm -f conftest.i conftest.err conftest.$ac_ext
4527 if $ac_preproc_ok; then :
4532 ac_cv_prog_CXXCPP=$CXXCPP
4535 CXXCPP=$ac_cv_prog_CXXCPP
4537 ac_cv_prog_CXXCPP=$CXXCPP
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
4540 $as_echo "$CXXCPP" >&6; }
4542 for ac_cxx_preproc_warn_flag in '' yes
4544 # Use a header file that comes with gcc, so configuring glibc
4545 # with a fresh cross-compiler works.
4546 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4547 # <limits.h> exists even on freestanding compilers.
4548 # On the NeXT, cc -E runs the code through the compiler's parser,
4549 # not just through cpp. "Syntax error" is here to catch this case.
4550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4551 /* end confdefs.h. */
4553 # include <limits.h>
4555 # include <assert.h>
4559 if ac_fn_cxx_try_cpp "$LINENO"; then :
4562 # Broken: fails on valid input.
4565 rm -f conftest.err conftest.i conftest.$ac_ext
4567 # OK, works on sane cases. Now check whether nonexistent headers
4568 # can be detected and how.
4569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4570 /* end confdefs.h. */
4571 #include <ac_nonexistent.h>
4573 if ac_fn_cxx_try_cpp "$LINENO"; then :
4574 # Broken: success on invalid input.
4577 # Passes both tests.
4581 rm -f conftest.err conftest.i conftest.$ac_ext
4584 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4585 rm -f conftest.i conftest.err conftest.$ac_ext
4586 if $ac_preproc_ok; then :
4589 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4590 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4591 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
4592 See \`config.log' for more details" "$LINENO" 5; }
4596 ac_cpp='$CPP $CPPFLAGS'
4597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4602 # Check for namespace support and new-style headers
4604 ac_cpp='$CXXCPP $CPPFLAGS'
4605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler implements namespaces" >&5
4610 $as_echo_n "checking whether the compiler implements namespaces... " >&6; }
4612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4613 /* end confdefs.h. */
4614 namespace A { namespace B { int i = 0; }}
4618 using namespace A::B; return i;
4623 if ac_fn_cxx_try_compile "$LINENO"; then :
4624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4625 $as_echo "yes" >&6; }
4627 $as_echo "#define HAVE_NAMESPACES 1" >>confdefs.h
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4631 $as_echo "no" >&6; }
4633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler has ISO C++ iostream" >&5
4636 $as_echo_n "checking whether the compiler has ISO C++ iostream... " >&6; }
4637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4638 /* end confdefs.h. */
4640 #ifdef HAVE_NAMESPACES
4641 using namespace std;
4646 cout << "bingo\n"; return 0;
4651 if ac_fn_cxx_try_compile "$LINENO"; then :
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4653 $as_echo "yes" >&6; }
4655 $as_echo "#define HAVE_IOSTREAM 1" >>confdefs.h
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4659 $as_echo "no" >&6; }
4661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4663 ac_cpp='$CPP $CPPFLAGS'
4664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4670 ## ----------------------- ##
4671 ## Libtool initialisation. ##
4672 ## ----------------------- ##
4674 # Set the test language to C++.
4676 ac_cpp='$CXXCPP $CPPFLAGS'
4677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4684 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4689 macro_version='2.4.2'
4690 macro_revision='1.3337'
4704 ltmain="$ac_aux_dir/ltmain.sh"
4706 # Backslashify metacharacters that are still active within
4707 # double-quoted strings.
4708 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4710 # Same as above, but do not quote variable references.
4711 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4713 # Sed substitution to delay expansion of an escaped shell variable in a
4714 # double_quote_subst'ed string.
4715 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4717 # Sed substitution to delay expansion of an escaped single quote.
4718 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4720 # Sed substitution to avoid accidental globbing in evaled expressions
4721 no_glob_subst='s/\*/\\\*/g'
4723 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4724 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4725 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4728 $as_echo_n "checking how to print strings... " >&6; }
4729 # Test print first, because it will be a builtin if present.
4730 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4731 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4733 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4736 # Use this function as a fallback that always works.
4737 func_fallback_echo ()
4739 eval 'cat <<_LTECHO_EOF
4743 ECHO='func_fallback_echo'
4746 # func_echo_all arg...
4747 # Invoke $ECHO with all args, space-separated.
4754 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4755 $as_echo "printf" >&6; } ;;
4756 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4757 $as_echo "print -r" >&6; } ;;
4758 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4759 $as_echo "cat" >&6; } ;;
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4776 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4777 if ${ac_cv_path_SED+:} false; then :
4778 $as_echo_n "(cached) " >&6
4780 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4781 for ac_i in 1 2 3 4 5 6 7; do
4782 ac_script="$ac_script$as_nl$ac_script"
4784 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4785 { ac_script=; unset ac_script;}
4786 if test -z "$SED"; then
4787 ac_path_SED_found=false
4788 # Loop through the user's path and test for each of PROGNAME-LIST
4789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4793 test -z "$as_dir" && as_dir=.
4794 for ac_prog in sed gsed; do
4795 for ac_exec_ext in '' $ac_executable_extensions; do
4796 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4797 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4798 # Check for GNU ac_path_SED and select it if it is found.
4799 # Check for GNU $ac_path_SED
4800 case `"$ac_path_SED" --version 2>&1` in
4802 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4805 $as_echo_n 0123456789 >"conftest.in"
4808 cat "conftest.in" "conftest.in" >"conftest.tmp"
4809 mv "conftest.tmp" "conftest.in"
4810 cp "conftest.in" "conftest.nl"
4811 $as_echo '' >> "conftest.nl"
4812 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4813 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4814 as_fn_arith $ac_count + 1 && ac_count=$as_val
4815 if test $ac_count -gt ${ac_path_SED_max-0}; then
4816 # Best one so far, save it but keep looking for a better one
4817 ac_cv_path_SED="$ac_path_SED"
4818 ac_path_SED_max=$ac_count
4820 # 10*(2^10) chars as input seems more than enough
4821 test $ac_count -gt 10 && break
4823 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4826 $ac_path_SED_found && break 3
4831 if test -z "$ac_cv_path_SED"; then
4832 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4840 $as_echo "$ac_cv_path_SED" >&6; }
4841 SED="$ac_cv_path_SED"
4844 test -z "$SED" && SED=sed
4845 Xsed="$SED -e 1s/^X//"
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4858 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4859 if ${ac_cv_path_GREP+:} false; then :
4860 $as_echo_n "(cached) " >&6
4862 if test -z "$GREP"; then
4863 ac_path_GREP_found=false
4864 # Loop through the user's path and test for each of PROGNAME-LIST
4865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4866 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4869 test -z "$as_dir" && as_dir=.
4870 for ac_prog in grep ggrep; do
4871 for ac_exec_ext in '' $ac_executable_extensions; do
4872 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4873 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4874 # Check for GNU ac_path_GREP and select it if it is found.
4875 # Check for GNU $ac_path_GREP
4876 case `"$ac_path_GREP" --version 2>&1` in
4878 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4881 $as_echo_n 0123456789 >"conftest.in"
4884 cat "conftest.in" "conftest.in" >"conftest.tmp"
4885 mv "conftest.tmp" "conftest.in"
4886 cp "conftest.in" "conftest.nl"
4887 $as_echo 'GREP' >> "conftest.nl"
4888 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4889 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4890 as_fn_arith $ac_count + 1 && ac_count=$as_val
4891 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4892 # Best one so far, save it but keep looking for a better one
4893 ac_cv_path_GREP="$ac_path_GREP"
4894 ac_path_GREP_max=$ac_count
4896 # 10*(2^10) chars as input seems more than enough
4897 test $ac_count -gt 10 && break
4899 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4902 $ac_path_GREP_found && break 3
4907 if test -z "$ac_cv_path_GREP"; then
4908 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4911 ac_cv_path_GREP=$GREP
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4916 $as_echo "$ac_cv_path_GREP" >&6; }
4917 GREP="$ac_cv_path_GREP"
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4921 $as_echo_n "checking for egrep... " >&6; }
4922 if ${ac_cv_path_EGREP+:} false; then :
4923 $as_echo_n "(cached) " >&6
4925 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4926 then ac_cv_path_EGREP="$GREP -E"
4928 if test -z "$EGREP"; then
4929 ac_path_EGREP_found=false
4930 # Loop through the user's path and test for each of PROGNAME-LIST
4931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4932 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4935 test -z "$as_dir" && as_dir=.
4936 for ac_prog in egrep; do
4937 for ac_exec_ext in '' $ac_executable_extensions; do
4938 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4939 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4940 # Check for GNU ac_path_EGREP and select it if it is found.
4941 # Check for GNU $ac_path_EGREP
4942 case `"$ac_path_EGREP" --version 2>&1` in
4944 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4947 $as_echo_n 0123456789 >"conftest.in"
4950 cat "conftest.in" "conftest.in" >"conftest.tmp"
4951 mv "conftest.tmp" "conftest.in"
4952 cp "conftest.in" "conftest.nl"
4953 $as_echo 'EGREP' >> "conftest.nl"
4954 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4955 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4956 as_fn_arith $ac_count + 1 && ac_count=$as_val
4957 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4958 # Best one so far, save it but keep looking for a better one
4959 ac_cv_path_EGREP="$ac_path_EGREP"
4960 ac_path_EGREP_max=$ac_count
4962 # 10*(2^10) chars as input seems more than enough
4963 test $ac_count -gt 10 && break
4965 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4968 $ac_path_EGREP_found && break 3
4973 if test -z "$ac_cv_path_EGREP"; then
4974 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4977 ac_cv_path_EGREP=$EGREP
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4983 $as_echo "$ac_cv_path_EGREP" >&6; }
4984 EGREP="$ac_cv_path_EGREP"
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4988 $as_echo_n "checking for fgrep... " >&6; }
4989 if ${ac_cv_path_FGREP+:} false; then :
4990 $as_echo_n "(cached) " >&6
4992 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4993 then ac_cv_path_FGREP="$GREP -F"
4995 if test -z "$FGREP"; then
4996 ac_path_FGREP_found=false
4997 # Loop through the user's path and test for each of PROGNAME-LIST
4998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4999 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5002 test -z "$as_dir" && as_dir=.
5003 for ac_prog in fgrep; do
5004 for ac_exec_ext in '' $ac_executable_extensions; do
5005 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5006 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5007 # Check for GNU ac_path_FGREP and select it if it is found.
5008 # Check for GNU $ac_path_FGREP
5009 case `"$ac_path_FGREP" --version 2>&1` in
5011 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5014 $as_echo_n 0123456789 >"conftest.in"
5017 cat "conftest.in" "conftest.in" >"conftest.tmp"
5018 mv "conftest.tmp" "conftest.in"
5019 cp "conftest.in" "conftest.nl"
5020 $as_echo 'FGREP' >> "conftest.nl"
5021 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5022 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5023 as_fn_arith $ac_count + 1 && ac_count=$as_val
5024 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5025 # Best one so far, save it but keep looking for a better one
5026 ac_cv_path_FGREP="$ac_path_FGREP"
5027 ac_path_FGREP_max=$ac_count
5029 # 10*(2^10) chars as input seems more than enough
5030 test $ac_count -gt 10 && break
5032 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5035 $ac_path_FGREP_found && break 3
5040 if test -z "$ac_cv_path_FGREP"; then
5041 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5044 ac_cv_path_FGREP=$FGREP
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5050 $as_echo "$ac_cv_path_FGREP" >&6; }
5051 FGREP="$ac_cv_path_FGREP"
5054 test -z "$GREP" && GREP=grep
5074 # Check whether --with-gnu-ld was given.
5075 if test "${with_gnu_ld+set}" = set; then :
5076 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5082 if test "$GCC" = yes; then
5083 # Check if gcc -print-prog-name=ld gives a path.
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5085 $as_echo_n "checking for ld used by $CC... " >&6; }
5088 # gcc leaves a trailing carriage return which upsets mingw
5089 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5091 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5094 # Accept absolute paths.
5096 re_direlt='/[^/][^/]*/\.\./'
5097 # Canonicalize the pathname of ld
5098 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5099 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5100 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5102 test -z "$LD" && LD="$ac_prog"
5105 # If it fails, then pretend we aren't using GCC.
5109 # If it is relative, then search for the first ld in PATH.
5113 elif test "$with_gnu_ld" = yes; then
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5115 $as_echo_n "checking for GNU ld... " >&6; }
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5118 $as_echo_n "checking for non-GNU ld... " >&6; }
5120 if ${lt_cv_path_LD+:} false; then :
5121 $as_echo_n "(cached) " >&6
5123 if test -z "$LD"; then
5124 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5125 for ac_dir in $PATH; do
5127 test -z "$ac_dir" && ac_dir=.
5128 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5129 lt_cv_path_LD="$ac_dir/$ac_prog"
5130 # Check to see if the program is GNU ld. I'd rather use --version,
5131 # but apparently some variants of GNU ld only accept -v.
5132 # Break only if it was the GNU/non-GNU ld that we prefer.
5133 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5134 *GNU* | *'with BFD'*)
5135 test "$with_gnu_ld" != no && break
5138 test "$with_gnu_ld" != yes && break
5145 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5150 if test -n "$LD"; then
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5152 $as_echo "$LD" >&6; }
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5155 $as_echo "no" >&6; }
5157 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5159 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5160 if ${lt_cv_prog_gnu_ld+:} false; then :
5161 $as_echo_n "(cached) " >&6
5163 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5164 case `$LD -v 2>&1 </dev/null` in
5165 *GNU* | *'with BFD'*)
5166 lt_cv_prog_gnu_ld=yes
5169 lt_cv_prog_gnu_ld=no
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5174 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5175 with_gnu_ld=$lt_cv_prog_gnu_ld
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5186 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5187 if ${lt_cv_path_NM+:} false; then :
5188 $as_echo_n "(cached) " >&6
5190 if test -n "$NM"; then
5191 # Let the user override the test.
5194 lt_nm_to_check="${ac_tool_prefix}nm"
5195 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5196 lt_nm_to_check="$lt_nm_to_check nm"
5198 for lt_tmp_nm in $lt_nm_to_check; do
5199 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5200 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5202 test -z "$ac_dir" && ac_dir=.
5203 tmp_nm="$ac_dir/$lt_tmp_nm"
5204 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5205 # Check to see if the nm accepts a BSD-compat flag.
5206 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5207 # nm: unknown option "B" ignored
5208 # Tru64's nm complains that /dev/null is an invalid object file
5209 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5210 */dev/null* | *'Invalid file or object type'*)
5211 lt_cv_path_NM="$tmp_nm -B"
5215 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5217 lt_cv_path_NM="$tmp_nm -p"
5221 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5222 continue # so that we can try to find one that supports BSD flags
5231 : ${lt_cv_path_NM=no}
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5235 $as_echo "$lt_cv_path_NM" >&6; }
5236 if test "$lt_cv_path_NM" != "no"; then
5239 # Didn't find any BSD compatible name lister, look for dumpbin.
5240 if test -n "$DUMPBIN"; then :
5241 # Let the user override the test.
5243 if test -n "$ac_tool_prefix"; then
5244 for ac_prog in dumpbin "link -dump"
5246 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5247 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5249 $as_echo_n "checking for $ac_word... " >&6; }
5250 if ${ac_cv_prog_DUMPBIN+:} false; then :
5251 $as_echo_n "(cached) " >&6
5253 if test -n "$DUMPBIN"; then
5254 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5260 test -z "$as_dir" && as_dir=.
5261 for ac_exec_ext in '' $ac_executable_extensions; do
5262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5263 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5273 DUMPBIN=$ac_cv_prog_DUMPBIN
5274 if test -n "$DUMPBIN"; then
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5276 $as_echo "$DUMPBIN" >&6; }
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5279 $as_echo "no" >&6; }
5283 test -n "$DUMPBIN" && break
5286 if test -z "$DUMPBIN"; then
5287 ac_ct_DUMPBIN=$DUMPBIN
5288 for ac_prog in dumpbin "link -dump"
5290 # Extract the first word of "$ac_prog", so it can be a program name with args.
5291 set dummy $ac_prog; ac_word=$2
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5293 $as_echo_n "checking for $ac_word... " >&6; }
5294 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5295 $as_echo_n "(cached) " >&6
5297 if test -n "$ac_ct_DUMPBIN"; then
5298 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5304 test -z "$as_dir" && as_dir=.
5305 for ac_exec_ext in '' $ac_executable_extensions; do
5306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5307 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5308 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5317 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5318 if test -n "$ac_ct_DUMPBIN"; then
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5320 $as_echo "$ac_ct_DUMPBIN" >&6; }
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5323 $as_echo "no" >&6; }
5327 test -n "$ac_ct_DUMPBIN" && break
5330 if test "x$ac_ct_DUMPBIN" = x; then
5333 case $cross_compiling:$ac_tool_warned in
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5336 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5337 ac_tool_warned=yes ;;
5339 DUMPBIN=$ac_ct_DUMPBIN
5343 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5345 DUMPBIN="$DUMPBIN -symbols"
5353 if test "$DUMPBIN" != ":"; then
5357 test -z "$NM" && NM=nm
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5365 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5366 if ${lt_cv_nm_interface+:} false; then :
5367 $as_echo_n "(cached) " >&6
5369 lt_cv_nm_interface="BSD nm"
5370 echo "int some_variable = 0;" > conftest.$ac_ext
5371 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5372 (eval "$ac_compile" 2>conftest.err)
5373 cat conftest.err >&5
5374 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5375 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5376 cat conftest.err >&5
5377 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5378 cat conftest.out >&5
5379 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5380 lt_cv_nm_interface="MS dumpbin"
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5385 $as_echo "$lt_cv_nm_interface" >&6; }
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5388 $as_echo_n "checking whether ln -s works... " >&6; }
5390 if test "$LN_S" = "ln -s"; then
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5392 $as_echo "yes" >&6; }
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5395 $as_echo "no, using $LN_S" >&6; }
5398 # find the maximum length of command line arguments
5399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5400 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5401 if ${lt_cv_sys_max_cmd_len+:} false; then :
5402 $as_echo_n "(cached) " >&6
5409 # On DJGPP, this test can blow up pretty badly due to problems in libc
5410 # (any single argument exceeding 2000 bytes causes a buffer overrun
5411 # during glob expansion). Even if it were fixed, the result of this
5412 # check would be larger than it should be.
5413 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5417 # Under GNU Hurd, this test is not required because there is
5418 # no limit to the length of command line arguments.
5419 # Libtool will interpret -1 as no limit whatsoever
5420 lt_cv_sys_max_cmd_len=-1;
5423 cygwin* | mingw* | cegcc*)
5424 # On Win9x/ME, this test blows up -- it succeeds, but takes
5425 # about 5 minutes as the teststring grows exponentially.
5426 # Worse, since 9x/ME are not pre-emptively multitasking,
5427 # you end up with a "frozen" computer, even though with patience
5428 # the test eventually succeeds (with a max line length of 256k).
5429 # Instead, let's just punt: use the minimum linelength reported by
5430 # all of the supported platforms: 8192 (on NT/2K/XP).
5431 lt_cv_sys_max_cmd_len=8192;
5435 # On MiNT this can take a long time and run out of memory.
5436 lt_cv_sys_max_cmd_len=8192;
5440 # On AmigaOS with pdksh, this test takes hours, literally.
5441 # So we just punt and use a minimum line length of 8192.
5442 lt_cv_sys_max_cmd_len=8192;
5445 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5446 # This has been around since 386BSD, at least. Likely further.
5447 if test -x /sbin/sysctl; then
5448 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5449 elif test -x /usr/sbin/sysctl; then
5450 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5452 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5454 # And add a safety zone
5455 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5456 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5460 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5461 lt_cv_sys_max_cmd_len=196608
5465 # The test takes a long time on OS/2.
5466 lt_cv_sys_max_cmd_len=8192
5470 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5471 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5472 # nice to cause kernel panics so lets avoid the loop below.
5473 # First set a reasonable default.
5474 lt_cv_sys_max_cmd_len=16384
5476 if test -x /sbin/sysconfig; then
5477 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5478 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5483 lt_cv_sys_max_cmd_len=102400
5485 sysv5* | sco5v6* | sysv4.2uw2*)
5486 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5487 if test -n "$kargmax"; then
5488 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5490 lt_cv_sys_max_cmd_len=32768
5494 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5495 if test -n "$lt_cv_sys_max_cmd_len"; then
5496 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5497 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5499 # Make teststring a little bigger before we do anything with it.
5500 # a 1K string should be a reasonable start.
5501 for i in 1 2 3 4 5 6 7 8 ; do
5502 teststring=$teststring$teststring
5504 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5505 # If test is not a shell built-in, we'll probably end up computing a
5506 # maximum length that is only half of the actual maximum length, but
5508 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5509 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5510 test $i != 17 # 1/2 MB should be enough
5513 teststring=$teststring$teststring
5515 # Only check the string length outside the loop.
5516 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5518 # Add a significant safety factor because C++ compilers can tack on
5519 # massive amounts of additional arguments before passing them to the
5520 # linker. It appears as though 1/2 is a usable value.
5521 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5528 if test -n $lt_cv_sys_max_cmd_len ; then
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5530 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5533 $as_echo "none" >&6; }
5535 max_cmd_len=$lt_cv_sys_max_cmd_len
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5547 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5548 # Try some XSI features
5551 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5553 && eval 'test $(( 1 + 1 )) -eq 2 \
5554 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5557 $as_echo "$xsi_shell" >&6; }
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5561 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5563 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5565 && lt_shell_append=yes
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5567 $as_echo "$lt_shell_append" >&6; }
5570 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5580 # test EBCDIC or ASCII
5581 case `echo X|tr X '\101'` in
5582 A) # ASCII based system
5583 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5584 lt_SP2NL='tr \040 \012'
5585 lt_NL2SP='tr \015\012 \040\040'
5587 *) # EBCDIC based system
5588 lt_SP2NL='tr \100 \n'
5589 lt_NL2SP='tr \r\n \100\100'
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5602 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5603 if ${lt_cv_to_host_file_cmd+:} false; then :
5604 $as_echo_n "(cached) " >&6
5609 *-*-mingw* ) # actually msys
5610 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5613 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5615 * ) # otherwise, assume *nix
5616 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5622 *-*-mingw* ) # actually msys
5623 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5626 lt_cv_to_host_file_cmd=func_convert_file_noop
5628 * ) # otherwise, assume *nix
5629 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5633 * ) # unhandled hosts (and "normal" native builds)
5634 lt_cv_to_host_file_cmd=func_convert_file_noop
5640 to_host_file_cmd=$lt_cv_to_host_file_cmd
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5642 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5649 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5650 if ${lt_cv_to_tool_file_cmd+:} false; then :
5651 $as_echo_n "(cached) " >&6
5653 #assume ordinary cross tools, or native build.
5654 lt_cv_to_tool_file_cmd=func_convert_file_noop
5658 *-*-mingw* ) # actually msys
5659 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5667 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5669 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5676 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5677 if ${lt_cv_ld_reload_flag+:} false; then :
5678 $as_echo_n "(cached) " >&6
5680 lt_cv_ld_reload_flag='-r'
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5683 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5684 reload_flag=$lt_cv_ld_reload_flag
5685 case $reload_flag in
5687 *) reload_flag=" $reload_flag" ;;
5689 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5691 cygwin* | mingw* | pw32* | cegcc*)
5692 if test "$GCC" != yes; then
5697 if test "$GCC" = yes; then
5698 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5700 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5713 if test -n "$ac_tool_prefix"; then
5714 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5715 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5717 $as_echo_n "checking for $ac_word... " >&6; }
5718 if ${ac_cv_prog_OBJDUMP+:} false; then :
5719 $as_echo_n "(cached) " >&6
5721 if test -n "$OBJDUMP"; then
5722 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5728 test -z "$as_dir" && as_dir=.
5729 for ac_exec_ext in '' $ac_executable_extensions; do
5730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5731 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5741 OBJDUMP=$ac_cv_prog_OBJDUMP
5742 if test -n "$OBJDUMP"; then
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5744 $as_echo "$OBJDUMP" >&6; }
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5747 $as_echo "no" >&6; }
5752 if test -z "$ac_cv_prog_OBJDUMP"; then
5753 ac_ct_OBJDUMP=$OBJDUMP
5754 # Extract the first word of "objdump", so it can be a program name with args.
5755 set dummy objdump; ac_word=$2
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5757 $as_echo_n "checking for $ac_word... " >&6; }
5758 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5759 $as_echo_n "(cached) " >&6
5761 if test -n "$ac_ct_OBJDUMP"; then
5762 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5768 test -z "$as_dir" && as_dir=.
5769 for ac_exec_ext in '' $ac_executable_extensions; do
5770 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5771 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5781 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5782 if test -n "$ac_ct_OBJDUMP"; then
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5784 $as_echo "$ac_ct_OBJDUMP" >&6; }
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5787 $as_echo "no" >&6; }
5790 if test "x$ac_ct_OBJDUMP" = x; then
5793 case $cross_compiling:$ac_tool_warned in
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5796 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5797 ac_tool_warned=yes ;;
5799 OBJDUMP=$ac_ct_OBJDUMP
5802 OBJDUMP="$ac_cv_prog_OBJDUMP"
5805 test -z "$OBJDUMP" && OBJDUMP=objdump
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5816 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5817 if ${lt_cv_deplibs_check_method+:} false; then :
5818 $as_echo_n "(cached) " >&6
5820 lt_cv_file_magic_cmd='$MAGIC_CMD'
5821 lt_cv_file_magic_test_file=
5822 lt_cv_deplibs_check_method='unknown'
5823 # Need to set the preceding variable on all platforms that support
5824 # interlibrary dependencies.
5825 # 'none' -- dependencies not supported.
5826 # `unknown' -- same as none, but documents that we really don't know.
5827 # 'pass_all' -- all dependencies passed with no checks.
5828 # 'test_compile' -- check by making test program.
5829 # 'file_magic [[regex]]' -- check by looking for files in library path
5830 # which responds to the $file_magic_cmd with a given extended regex.
5831 # If you have `file' or equivalent on your system and you're not sure
5832 # whether `pass_all' will *always* work, you probably want this one.
5836 lt_cv_deplibs_check_method=pass_all
5840 lt_cv_deplibs_check_method=pass_all
5844 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5845 lt_cv_file_magic_cmd='/usr/bin/file -L'
5846 lt_cv_file_magic_test_file=/shlib/libc.so
5850 # func_win32_libid is a shell function defined in ltmain.sh
5851 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5852 lt_cv_file_magic_cmd='func_win32_libid'
5856 # Base MSYS/MinGW do not provide the 'file' command needed by
5857 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5858 # unless we find 'file', for example because we are cross-compiling.
5859 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5860 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5861 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5862 lt_cv_file_magic_cmd='func_win32_libid'
5864 # Keep this pattern in sync with the one in func_win32_libid.
5865 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5866 lt_cv_file_magic_cmd='$OBJDUMP -f'
5871 # use the weaker test based on 'objdump'. See mingw*.
5872 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5873 lt_cv_file_magic_cmd='$OBJDUMP -f'
5876 darwin* | rhapsody*)
5877 lt_cv_deplibs_check_method=pass_all
5880 freebsd* | dragonfly*)
5881 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5884 # Not sure whether the presence of OpenBSD here was a mistake.
5885 # Let's accept both of them until this is cleared up.
5886 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5887 lt_cv_file_magic_cmd=/usr/bin/file
5888 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5892 lt_cv_deplibs_check_method=pass_all
5897 lt_cv_deplibs_check_method=pass_all
5901 lt_cv_deplibs_check_method=pass_all
5904 hpux10.20* | hpux11*)
5905 lt_cv_file_magic_cmd=/usr/bin/file
5908 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5909 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5912 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]'
5913 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5916 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5917 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5923 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5924 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5927 irix5* | irix6* | nonstopux*)
5929 *-32|*"-32 ") libmagic=32-bit;;
5930 *-n32|*"-n32 ") libmagic=N32;;
5931 *-64|*"-64 ") libmagic=64-bit;;
5932 *) libmagic=never-match;;
5934 lt_cv_deplibs_check_method=pass_all
5937 # This must be glibc/ELF.
5938 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5939 lt_cv_deplibs_check_method=pass_all
5943 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5944 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5946 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5951 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5952 lt_cv_file_magic_cmd=/usr/bin/file
5953 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5957 lt_cv_deplibs_check_method=pass_all
5961 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5962 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5964 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5968 osf3* | osf4* | osf5*)
5969 lt_cv_deplibs_check_method=pass_all
5973 lt_cv_deplibs_check_method=pass_all
5977 lt_cv_deplibs_check_method=pass_all
5980 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5981 lt_cv_deplibs_check_method=pass_all
5985 case $host_vendor in
5987 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]'
5988 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5991 lt_cv_deplibs_check_method=pass_all
5994 lt_cv_file_magic_cmd='/bin/file'
5995 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5998 lt_cv_file_magic_cmd='/bin/file'
5999 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6000 lt_cv_file_magic_test_file=/lib/libc.so
6003 lt_cv_deplibs_check_method=pass_all
6006 lt_cv_deplibs_check_method=pass_all
6012 lt_cv_deplibs_check_method=pass_all
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6018 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6022 if test "$build" = "$host"; then
6025 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6028 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6034 file_magic_cmd=$lt_cv_file_magic_cmd
6035 deplibs_check_method=$lt_cv_deplibs_check_method
6036 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6059 if test -n "$ac_tool_prefix"; then
6060 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6061 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6063 $as_echo_n "checking for $ac_word... " >&6; }
6064 if ${ac_cv_prog_DLLTOOL+:} false; then :
6065 $as_echo_n "(cached) " >&6
6067 if test -n "$DLLTOOL"; then
6068 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6074 test -z "$as_dir" && as_dir=.
6075 for ac_exec_ext in '' $ac_executable_extensions; do
6076 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6077 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6087 DLLTOOL=$ac_cv_prog_DLLTOOL
6088 if test -n "$DLLTOOL"; then
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6090 $as_echo "$DLLTOOL" >&6; }
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6093 $as_echo "no" >&6; }
6098 if test -z "$ac_cv_prog_DLLTOOL"; then
6099 ac_ct_DLLTOOL=$DLLTOOL
6100 # Extract the first word of "dlltool", so it can be a program name with args.
6101 set dummy dlltool; ac_word=$2
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6103 $as_echo_n "checking for $ac_word... " >&6; }
6104 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6105 $as_echo_n "(cached) " >&6
6107 if test -n "$ac_ct_DLLTOOL"; then
6108 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6114 test -z "$as_dir" && as_dir=.
6115 for ac_exec_ext in '' $ac_executable_extensions; do
6116 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6117 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6127 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6128 if test -n "$ac_ct_DLLTOOL"; then
6129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6130 $as_echo "$ac_ct_DLLTOOL" >&6; }
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6133 $as_echo "no" >&6; }
6136 if test "x$ac_ct_DLLTOOL" = x; then
6139 case $cross_compiling:$ac_tool_warned in
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6142 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6143 ac_tool_warned=yes ;;
6145 DLLTOOL=$ac_ct_DLLTOOL
6148 DLLTOOL="$ac_cv_prog_DLLTOOL"
6151 test -z "$DLLTOOL" && DLLTOOL=dlltool
6162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6163 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6164 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6165 $as_echo_n "(cached) " >&6
6167 lt_cv_sharedlib_from_linklib_cmd='unknown'
6170 cygwin* | mingw* | pw32* | cegcc*)
6171 # two different shell functions defined in ltmain.sh
6172 # decide which to use based on capabilities of $DLLTOOL
6173 case `$DLLTOOL --help 2>&1` in
6174 *--identify-strict*)
6175 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6178 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6183 # fallback: assume linklib IS sharedlib
6184 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6190 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6191 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6192 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6200 if test -n "$ac_tool_prefix"; then
6203 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6204 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6206 $as_echo_n "checking for $ac_word... " >&6; }
6207 if ${ac_cv_prog_AR+:} false; then :
6208 $as_echo_n "(cached) " >&6
6210 if test -n "$AR"; then
6211 ac_cv_prog_AR="$AR" # Let the user override the test.
6213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6217 test -z "$as_dir" && as_dir=.
6218 for ac_exec_ext in '' $ac_executable_extensions; do
6219 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6220 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6221 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6231 if test -n "$AR"; then
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6233 $as_echo "$AR" >&6; }
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6236 $as_echo "no" >&6; }
6240 test -n "$AR" && break
6243 if test -z "$AR"; then
6247 # Extract the first word of "$ac_prog", so it can be a program name with args.
6248 set dummy $ac_prog; ac_word=$2
6249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6250 $as_echo_n "checking for $ac_word... " >&6; }
6251 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6252 $as_echo_n "(cached) " >&6
6254 if test -n "$ac_ct_AR"; then
6255 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6261 test -z "$as_dir" && as_dir=.
6262 for ac_exec_ext in '' $ac_executable_extensions; do
6263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6264 ac_cv_prog_ac_ct_AR="$ac_prog"
6265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6274 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6275 if test -n "$ac_ct_AR"; then
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6277 $as_echo "$ac_ct_AR" >&6; }
6279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6280 $as_echo "no" >&6; }
6284 test -n "$ac_ct_AR" && break
6287 if test "x$ac_ct_AR" = x; then
6290 case $cross_compiling:$ac_tool_warned in
6292 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6293 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6294 ac_tool_warned=yes ;;
6313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6314 $as_echo_n "checking for archiver @FILE support... " >&6; }
6315 if ${lt_cv_ar_at_file+:} false; then :
6316 $as_echo_n "(cached) " >&6
6319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6320 /* end confdefs.h. */
6330 if ac_fn_cxx_try_compile "$LINENO"; then :
6331 echo conftest.$ac_objext > conftest.lst
6332 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6333 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6334 (eval $lt_ar_try) 2>&5
6336 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6337 test $ac_status = 0; }
6338 if test "$ac_status" -eq 0; then
6339 # Ensure the archiver fails upon bogus file names.
6340 rm -f conftest.$ac_objext libconftest.a
6341 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6342 (eval $lt_ar_try) 2>&5
6344 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6345 test $ac_status = 0; }
6346 if test "$ac_status" -ne 0; then
6350 rm -f conftest.* libconftest.a
6353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6357 $as_echo "$lt_cv_ar_at_file" >&6; }
6359 if test "x$lt_cv_ar_at_file" = xno; then
6362 archiver_list_spec=$lt_cv_ar_at_file
6371 if test -n "$ac_tool_prefix"; then
6372 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6373 set dummy ${ac_tool_prefix}strip; ac_word=$2
6374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6375 $as_echo_n "checking for $ac_word... " >&6; }
6376 if ${ac_cv_prog_STRIP+:} false; then :
6377 $as_echo_n "(cached) " >&6
6379 if test -n "$STRIP"; then
6380 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6386 test -z "$as_dir" && as_dir=.
6387 for ac_exec_ext in '' $ac_executable_extensions; do
6388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6389 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6399 STRIP=$ac_cv_prog_STRIP
6400 if test -n "$STRIP"; then
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6402 $as_echo "$STRIP" >&6; }
6404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6405 $as_echo "no" >&6; }
6410 if test -z "$ac_cv_prog_STRIP"; then
6412 # Extract the first word of "strip", so it can be a program name with args.
6413 set dummy strip; ac_word=$2
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6415 $as_echo_n "checking for $ac_word... " >&6; }
6416 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6417 $as_echo_n "(cached) " >&6
6419 if test -n "$ac_ct_STRIP"; then
6420 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6426 test -z "$as_dir" && as_dir=.
6427 for ac_exec_ext in '' $ac_executable_extensions; do
6428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6429 ac_cv_prog_ac_ct_STRIP="strip"
6430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6439 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6440 if test -n "$ac_ct_STRIP"; then
6441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6442 $as_echo "$ac_ct_STRIP" >&6; }
6444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6445 $as_echo "no" >&6; }
6448 if test "x$ac_ct_STRIP" = x; then
6451 case $cross_compiling:$ac_tool_warned in
6453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6454 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6455 ac_tool_warned=yes ;;
6460 STRIP="$ac_cv_prog_STRIP"
6463 test -z "$STRIP" && STRIP=:
6470 if test -n "$ac_tool_prefix"; then
6471 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6472 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6474 $as_echo_n "checking for $ac_word... " >&6; }
6475 if ${ac_cv_prog_RANLIB+:} false; then :
6476 $as_echo_n "(cached) " >&6
6478 if test -n "$RANLIB"; then
6479 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6485 test -z "$as_dir" && as_dir=.
6486 for ac_exec_ext in '' $ac_executable_extensions; do
6487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6488 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6498 RANLIB=$ac_cv_prog_RANLIB
6499 if test -n "$RANLIB"; then
6500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6501 $as_echo "$RANLIB" >&6; }
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6504 $as_echo "no" >&6; }
6509 if test -z "$ac_cv_prog_RANLIB"; then
6510 ac_ct_RANLIB=$RANLIB
6511 # Extract the first word of "ranlib", so it can be a program name with args.
6512 set dummy ranlib; ac_word=$2
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6514 $as_echo_n "checking for $ac_word... " >&6; }
6515 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6516 $as_echo_n "(cached) " >&6
6518 if test -n "$ac_ct_RANLIB"; then
6519 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6525 test -z "$as_dir" && as_dir=.
6526 for ac_exec_ext in '' $ac_executable_extensions; do
6527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6528 ac_cv_prog_ac_ct_RANLIB="ranlib"
6529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6538 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6539 if test -n "$ac_ct_RANLIB"; then
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6541 $as_echo "$ac_ct_RANLIB" >&6; }
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6544 $as_echo "no" >&6; }
6547 if test "x$ac_ct_RANLIB" = x; then
6550 case $cross_compiling:$ac_tool_warned in
6552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6553 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6554 ac_tool_warned=yes ;;
6556 RANLIB=$ac_ct_RANLIB
6559 RANLIB="$ac_cv_prog_RANLIB"
6562 test -z "$RANLIB" && RANLIB=:
6569 # Determine commands to create old-style static archives.
6570 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6571 old_postinstall_cmds='chmod 644 $oldlib'
6572 old_postuninstall_cmds=
6574 if test -n "$RANLIB"; then
6577 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6580 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6583 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6588 lock_old_archive_extraction=yes ;;
6590 lock_old_archive_extraction=no ;;
6631 # If no C compiler was specified, use CC.
6634 # If no C compiler flags were specified, use CFLAGS.
6635 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6637 # Allow CC to be a program name with arguments.
6641 # Check for command to grab the raw symbol name followed by C symbol from nm.
6642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6643 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6644 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6645 $as_echo_n "(cached) " >&6
6648 # These are sane defaults that work on at least a few old systems.
6649 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6651 # Character class describing NM global symbol codes.
6652 symcode='[BCDEGRST]'
6654 # Regexp to match symbols that can be accessed directly from C.
6655 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6657 # Define system-specific variables.
6662 cygwin* | mingw* | pw32* | cegcc*)
6663 symcode='[ABCDGISTW]'
6666 if test "$host_cpu" = ia64; then
6667 symcode='[ABCDEGRST]'
6671 symcode='[BCDEGRST]'
6674 symcode='[BCDEGQRST]'
6685 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6693 # If we're using GNU nm, then use its standard symbol codes.
6694 case `$NM -V 2>&1` in
6695 *GNU* | *'with BFD'*)
6696 symcode='[ABCDGIRSTW]' ;;
6699 # Transform an extracted symbol line into a proper C declaration.
6700 # Some systems (esp. on ia64) link data and code symbols differently,
6701 # so use this general approach.
6702 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6704 # Transform an extracted symbol line into symbol name and symbol address
6705 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6706 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'"
6708 # Handle CRLF in mingw tool chain
6712 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6716 # Try without a prefix underscore, then with it.
6717 for ac_symprfx in "" "_"; do
6719 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6720 symxfrm="\\1 $ac_symprfx\\2 \\2"
6722 # Write the raw and C identifiers.
6723 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6724 # Fake it for dumpbin and say T for any non-static function
6725 # and D for any global variable.
6726 # Also find C++ and __fastcall symbols from MSVC++,
6727 # which start with @ or ?.
6728 lt_cv_sys_global_symbol_pipe="$AWK '"\
6729 " {last_section=section; section=\$ 3};"\
6730 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6731 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6732 " \$ 0!~/External *\|/{next};"\
6733 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6734 " {if(hide[section]) next};"\
6735 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6736 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6737 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6738 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6739 " ' prfx=^$ac_symprfx"
6741 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6743 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6745 # Check to see that the pipe works correctly.
6749 cat > conftest.$ac_ext <<_LT_EOF
6754 void nm_test_func(void);
6755 void nm_test_func(void){}
6759 int main(){nm_test_var='a';nm_test_func();return(0);}
6762 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6763 (eval $ac_compile) 2>&5
6765 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6766 test $ac_status = 0; }; then
6767 # Now try to grab the symbols.
6769 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6770 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6772 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6773 test $ac_status = 0; } && test -s "$nlist"; then
6774 # Try sorting and uniquifying the output.
6775 if sort "$nlist" | uniq > "$nlist"T; then
6776 mv -f "$nlist"T "$nlist"
6781 # Make sure that we snagged all the symbols we need.
6782 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6783 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6784 cat <<_LT_EOF > conftest.$ac_ext
6785 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6786 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6787 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6788 relocations are performed -- see ld's documentation on pseudo-relocs. */
6789 # define LT_DLSYM_CONST
6790 #elif defined(__osf__)
6791 /* This system does not cope well with relocations in const data. */
6792 # define LT_DLSYM_CONST
6794 # define LT_DLSYM_CONST const
6802 # Now generate the symbol file.
6803 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6805 cat <<_LT_EOF >> conftest.$ac_ext
6807 /* The mapping between symbol names and symbols. */
6808 LT_DLSYM_CONST struct {
6812 lt__PROGRAM__LTX_preloaded_symbols[] =
6814 { "@PROGRAM@", (void *) 0 },
6816 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6817 cat <<\_LT_EOF >> conftest.$ac_ext
6821 /* This works around a problem in FreeBSD linker */
6822 #ifdef FREEBSD_WORKAROUND
6823 static const void *lt_preloaded_setup() {
6824 return lt__PROGRAM__LTX_preloaded_symbols;
6832 # Now try linking the two files.
6833 mv conftest.$ac_objext conftstm.$ac_objext
6834 lt_globsym_save_LIBS=$LIBS
6835 lt_globsym_save_CFLAGS=$CFLAGS
6836 LIBS="conftstm.$ac_objext"
6837 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6838 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6839 (eval $ac_link) 2>&5
6841 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6842 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6845 LIBS=$lt_globsym_save_LIBS
6846 CFLAGS=$lt_globsym_save_CFLAGS
6848 echo "cannot find nm_test_func in $nlist" >&5
6851 echo "cannot find nm_test_var in $nlist" >&5
6854 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6857 echo "$progname: failed program was:" >&5
6858 cat conftest.$ac_ext >&5
6860 rm -rf conftest* conftst*
6862 # Do not use the global_symbol_pipe unless it works.
6863 if test "$pipe_works" = yes; then
6866 lt_cv_sys_global_symbol_pipe=
6872 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6873 lt_cv_sys_global_symbol_to_cdecl=
6875 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6877 $as_echo "failed" >&6; }
6879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6880 $as_echo "ok" >&6; }
6883 # Response file support.
6884 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6885 nm_file_list_spec='@'
6886 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6887 nm_file_list_spec='@'
6916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6917 $as_echo_n "checking for sysroot... " >&6; }
6919 # Check whether --with-sysroot was given.
6920 if test "${with_sysroot+set}" = set; then :
6921 withval=$with_sysroot;
6928 case ${with_sysroot} in #(
6930 if test "$GCC" = yes; then
6931 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6935 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6941 $as_echo "${with_sysroot}" >&6; }
6942 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6947 $as_echo "${lt_sysroot:-no}" >&6; }
6954 # Check whether --enable-libtool-lock was given.
6955 if test "${enable_libtool_lock+set}" = set; then :
6956 enableval=$enable_libtool_lock;
6959 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6961 # Some flags need to be propagated to the compiler or linker for good
6965 # Find out which ABI we are using.
6966 echo 'int i;' > conftest.$ac_ext
6967 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6968 (eval $ac_compile) 2>&5
6970 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6971 test $ac_status = 0; }; then
6972 case `/usr/bin/file conftest.$ac_objext` in
6984 # Find out which ABI we are using.
6985 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6986 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6987 (eval $ac_compile) 2>&5
6989 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6990 test $ac_status = 0; }; then
6991 if test "$lt_cv_prog_gnu_ld" = yes; then
6992 case `/usr/bin/file conftest.$ac_objext` in
6994 LD="${LD-ld} -melf32bsmip"
6997 LD="${LD-ld} -melf32bmipn32"
7000 LD="${LD-ld} -melf64bmip"
7004 case `/usr/bin/file conftest.$ac_objext` in
7020 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7021 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7022 # Find out which ABI we are using.
7023 echo 'int i;' > conftest.$ac_ext
7024 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7025 (eval $ac_compile) 2>&5
7027 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7028 test $ac_status = 0; }; then
7029 case `/usr/bin/file conftest.o` in
7032 x86_64-*kfreebsd*-gnu)
7033 LD="${LD-ld} -m elf_i386_fbsd"
7036 LD="${LD-ld} -m elf_i386"
7038 ppc64-*linux*|powerpc64-*linux*)
7039 LD="${LD-ld} -m elf32ppclinux"
7042 LD="${LD-ld} -m elf_s390"
7045 LD="${LD-ld} -m elf32_sparc"
7051 x86_64-*kfreebsd*-gnu)
7052 LD="${LD-ld} -m elf_x86_64_fbsd"
7055 LD="${LD-ld} -m elf_x86_64"
7057 ppc*-*linux*|powerpc*-*linux*)
7058 LD="${LD-ld} -m elf64ppc"
7060 s390*-*linux*|s390*-*tpf*)
7061 LD="${LD-ld} -m elf64_s390"
7064 LD="${LD-ld} -m elf64_sparc"
7074 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7075 SAVE_CFLAGS="$CFLAGS"
7076 CFLAGS="$CFLAGS -belf"
7077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7078 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7079 if ${lt_cv_cc_needs_belf+:} false; then :
7080 $as_echo_n "(cached) " >&6
7083 ac_cpp='$CPP $CPPFLAGS'
7084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7089 /* end confdefs.h. */
7099 if ac_fn_c_try_link "$LINENO"; then :
7100 lt_cv_cc_needs_belf=yes
7102 lt_cv_cc_needs_belf=no
7104 rm -f core conftest.err conftest.$ac_objext \
7105 conftest$ac_exeext conftest.$ac_ext
7107 ac_cpp='$CPP $CPPFLAGS'
7108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7114 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7115 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7116 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7117 CFLAGS="$SAVE_CFLAGS"
7121 # Find out which ABI we are using.
7122 echo 'int i;' > conftest.$ac_ext
7123 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7124 (eval $ac_compile) 2>&5
7126 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7127 test $ac_status = 0; }; then
7128 case `/usr/bin/file conftest.o` in
7130 case $lt_cv_prog_gnu_ld in
7134 LD="${LD-ld} -m elf_x86_64"
7137 LD="${LD-ld} -m elf64_sparc"
7140 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7141 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7146 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7158 need_locks="$enable_libtool_lock"
7160 if test -n "$ac_tool_prefix"; then
7161 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7162 set dummy ${ac_tool_prefix}mt; ac_word=$2
7163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7164 $as_echo_n "checking for $ac_word... " >&6; }
7165 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7166 $as_echo_n "(cached) " >&6
7168 if test -n "$MANIFEST_TOOL"; then
7169 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7175 test -z "$as_dir" && as_dir=.
7176 for ac_exec_ext in '' $ac_executable_extensions; do
7177 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7178 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7188 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7189 if test -n "$MANIFEST_TOOL"; then
7190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7191 $as_echo "$MANIFEST_TOOL" >&6; }
7193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7194 $as_echo "no" >&6; }
7199 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7200 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7201 # Extract the first word of "mt", so it can be a program name with args.
7202 set dummy mt; ac_word=$2
7203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7204 $as_echo_n "checking for $ac_word... " >&6; }
7205 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7206 $as_echo_n "(cached) " >&6
7208 if test -n "$ac_ct_MANIFEST_TOOL"; then
7209 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7215 test -z "$as_dir" && as_dir=.
7216 for ac_exec_ext in '' $ac_executable_extensions; do
7217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7218 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7228 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7229 if test -n "$ac_ct_MANIFEST_TOOL"; then
7230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7231 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7234 $as_echo "no" >&6; }
7237 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7240 case $cross_compiling:$ac_tool_warned in
7242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7243 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7244 ac_tool_warned=yes ;;
7246 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7249 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7252 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7254 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7255 if ${lt_cv_path_mainfest_tool+:} false; then :
7256 $as_echo_n "(cached) " >&6
7258 lt_cv_path_mainfest_tool=no
7259 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7260 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7261 cat conftest.err >&5
7262 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7263 lt_cv_path_mainfest_tool=yes
7267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7268 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7269 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7279 rhapsody* | darwin*)
7280 if test -n "$ac_tool_prefix"; then
7281 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7282 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7284 $as_echo_n "checking for $ac_word... " >&6; }
7285 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7286 $as_echo_n "(cached) " >&6
7288 if test -n "$DSYMUTIL"; then
7289 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7295 test -z "$as_dir" && as_dir=.
7296 for ac_exec_ext in '' $ac_executable_extensions; do
7297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7298 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7308 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7309 if test -n "$DSYMUTIL"; then
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7311 $as_echo "$DSYMUTIL" >&6; }
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7314 $as_echo "no" >&6; }
7319 if test -z "$ac_cv_prog_DSYMUTIL"; then
7320 ac_ct_DSYMUTIL=$DSYMUTIL
7321 # Extract the first word of "dsymutil", so it can be a program name with args.
7322 set dummy dsymutil; ac_word=$2
7323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7324 $as_echo_n "checking for $ac_word... " >&6; }
7325 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7326 $as_echo_n "(cached) " >&6
7328 if test -n "$ac_ct_DSYMUTIL"; then
7329 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7335 test -z "$as_dir" && as_dir=.
7336 for ac_exec_ext in '' $ac_executable_extensions; do
7337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7338 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7348 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7349 if test -n "$ac_ct_DSYMUTIL"; then
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7351 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7354 $as_echo "no" >&6; }
7357 if test "x$ac_ct_DSYMUTIL" = x; then
7360 case $cross_compiling:$ac_tool_warned in
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7363 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7364 ac_tool_warned=yes ;;
7366 DSYMUTIL=$ac_ct_DSYMUTIL
7369 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7372 if test -n "$ac_tool_prefix"; then
7373 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7374 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7376 $as_echo_n "checking for $ac_word... " >&6; }
7377 if ${ac_cv_prog_NMEDIT+:} false; then :
7378 $as_echo_n "(cached) " >&6
7380 if test -n "$NMEDIT"; then
7381 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7387 test -z "$as_dir" && as_dir=.
7388 for ac_exec_ext in '' $ac_executable_extensions; do
7389 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7390 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7400 NMEDIT=$ac_cv_prog_NMEDIT
7401 if test -n "$NMEDIT"; then
7402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7403 $as_echo "$NMEDIT" >&6; }
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7406 $as_echo "no" >&6; }
7411 if test -z "$ac_cv_prog_NMEDIT"; then
7412 ac_ct_NMEDIT=$NMEDIT
7413 # Extract the first word of "nmedit", so it can be a program name with args.
7414 set dummy nmedit; ac_word=$2
7415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7416 $as_echo_n "checking for $ac_word... " >&6; }
7417 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7418 $as_echo_n "(cached) " >&6
7420 if test -n "$ac_ct_NMEDIT"; then
7421 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7427 test -z "$as_dir" && as_dir=.
7428 for ac_exec_ext in '' $ac_executable_extensions; do
7429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7430 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7440 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7441 if test -n "$ac_ct_NMEDIT"; then
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7443 $as_echo "$ac_ct_NMEDIT" >&6; }
7445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7446 $as_echo "no" >&6; }
7449 if test "x$ac_ct_NMEDIT" = x; then
7452 case $cross_compiling:$ac_tool_warned in
7454 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7455 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7456 ac_tool_warned=yes ;;
7458 NMEDIT=$ac_ct_NMEDIT
7461 NMEDIT="$ac_cv_prog_NMEDIT"
7464 if test -n "$ac_tool_prefix"; then
7465 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7466 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7468 $as_echo_n "checking for $ac_word... " >&6; }
7469 if ${ac_cv_prog_LIPO+:} false; then :
7470 $as_echo_n "(cached) " >&6
7472 if test -n "$LIPO"; then
7473 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7479 test -z "$as_dir" && as_dir=.
7480 for ac_exec_ext in '' $ac_executable_extensions; do
7481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7482 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7492 LIPO=$ac_cv_prog_LIPO
7493 if test -n "$LIPO"; then
7494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7495 $as_echo "$LIPO" >&6; }
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7498 $as_echo "no" >&6; }
7503 if test -z "$ac_cv_prog_LIPO"; then
7505 # Extract the first word of "lipo", so it can be a program name with args.
7506 set dummy lipo; ac_word=$2
7507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7508 $as_echo_n "checking for $ac_word... " >&6; }
7509 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7510 $as_echo_n "(cached) " >&6
7512 if test -n "$ac_ct_LIPO"; then
7513 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7519 test -z "$as_dir" && as_dir=.
7520 for ac_exec_ext in '' $ac_executable_extensions; do
7521 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7522 ac_cv_prog_ac_ct_LIPO="lipo"
7523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7532 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7533 if test -n "$ac_ct_LIPO"; then
7534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7535 $as_echo "$ac_ct_LIPO" >&6; }
7537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7538 $as_echo "no" >&6; }
7541 if test "x$ac_ct_LIPO" = x; then
7544 case $cross_compiling:$ac_tool_warned in
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7547 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7548 ac_tool_warned=yes ;;
7553 LIPO="$ac_cv_prog_LIPO"
7556 if test -n "$ac_tool_prefix"; then
7557 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7558 set dummy ${ac_tool_prefix}otool; ac_word=$2
7559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7560 $as_echo_n "checking for $ac_word... " >&6; }
7561 if ${ac_cv_prog_OTOOL+:} false; then :
7562 $as_echo_n "(cached) " >&6
7564 if test -n "$OTOOL"; then
7565 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7571 test -z "$as_dir" && as_dir=.
7572 for ac_exec_ext in '' $ac_executable_extensions; do
7573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7574 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7584 OTOOL=$ac_cv_prog_OTOOL
7585 if test -n "$OTOOL"; then
7586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7587 $as_echo "$OTOOL" >&6; }
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7590 $as_echo "no" >&6; }
7595 if test -z "$ac_cv_prog_OTOOL"; then
7597 # Extract the first word of "otool", so it can be a program name with args.
7598 set dummy otool; ac_word=$2
7599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7600 $as_echo_n "checking for $ac_word... " >&6; }
7601 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7602 $as_echo_n "(cached) " >&6
7604 if test -n "$ac_ct_OTOOL"; then
7605 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7611 test -z "$as_dir" && as_dir=.
7612 for ac_exec_ext in '' $ac_executable_extensions; do
7613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7614 ac_cv_prog_ac_ct_OTOOL="otool"
7615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7624 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7625 if test -n "$ac_ct_OTOOL"; then
7626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7627 $as_echo "$ac_ct_OTOOL" >&6; }
7629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7630 $as_echo "no" >&6; }
7633 if test "x$ac_ct_OTOOL" = x; then
7636 case $cross_compiling:$ac_tool_warned in
7638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7639 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7640 ac_tool_warned=yes ;;
7645 OTOOL="$ac_cv_prog_OTOOL"
7648 if test -n "$ac_tool_prefix"; then
7649 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7650 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7652 $as_echo_n "checking for $ac_word... " >&6; }
7653 if ${ac_cv_prog_OTOOL64+:} false; then :
7654 $as_echo_n "(cached) " >&6
7656 if test -n "$OTOOL64"; then
7657 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7663 test -z "$as_dir" && as_dir=.
7664 for ac_exec_ext in '' $ac_executable_extensions; do
7665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7666 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7676 OTOOL64=$ac_cv_prog_OTOOL64
7677 if test -n "$OTOOL64"; then
7678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7679 $as_echo "$OTOOL64" >&6; }
7681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7682 $as_echo "no" >&6; }
7687 if test -z "$ac_cv_prog_OTOOL64"; then
7688 ac_ct_OTOOL64=$OTOOL64
7689 # Extract the first word of "otool64", so it can be a program name with args.
7690 set dummy otool64; ac_word=$2
7691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7692 $as_echo_n "checking for $ac_word... " >&6; }
7693 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7694 $as_echo_n "(cached) " >&6
7696 if test -n "$ac_ct_OTOOL64"; then
7697 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7703 test -z "$as_dir" && as_dir=.
7704 for ac_exec_ext in '' $ac_executable_extensions; do
7705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7706 ac_cv_prog_ac_ct_OTOOL64="otool64"
7707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7716 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7717 if test -n "$ac_ct_OTOOL64"; then
7718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7719 $as_echo "$ac_ct_OTOOL64" >&6; }
7721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7722 $as_echo "no" >&6; }
7725 if test "x$ac_ct_OTOOL64" = x; then
7728 case $cross_compiling:$ac_tool_warned in
7730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7731 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7732 ac_tool_warned=yes ;;
7734 OTOOL64=$ac_ct_OTOOL64
7737 OTOOL64="$ac_cv_prog_OTOOL64"
7766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7767 $as_echo_n "checking for -single_module linker flag... " >&6; }
7768 if ${lt_cv_apple_cc_single_mod+:} false; then :
7769 $as_echo_n "(cached) " >&6
7771 lt_cv_apple_cc_single_mod=no
7772 if test -z "${LT_MULTI_MODULE}"; then
7773 # By default we will add the -single_module flag. You can override
7774 # by either setting the environment variable LT_MULTI_MODULE
7775 # non-empty at configure time, or by adding -multi_module to the
7777 rm -rf libconftest.dylib*
7778 echo "int foo(void){return 1;}" > conftest.c
7779 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7780 -dynamiclib -Wl,-single_module conftest.c" >&5
7781 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7782 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7784 # If there is a non-empty error log, and "single_module"
7785 # appears in it, assume the flag caused a linker warning
7786 if test -s conftest.err && $GREP single_module conftest.err; then
7787 cat conftest.err >&5
7788 # Otherwise, if the output was created with a 0 exit code from
7789 # the compiler, it worked.
7790 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7791 lt_cv_apple_cc_single_mod=yes
7793 cat conftest.err >&5
7795 rm -rf libconftest.dylib*
7799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7800 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7803 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7804 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7805 $as_echo_n "(cached) " >&6
7807 lt_cv_ld_exported_symbols_list=no
7808 save_LDFLAGS=$LDFLAGS
7809 echo "_main" > conftest.sym
7810 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7812 /* end confdefs.h. */
7822 if ac_fn_c_try_link "$LINENO"; then :
7823 lt_cv_ld_exported_symbols_list=yes
7825 lt_cv_ld_exported_symbols_list=no
7827 rm -f core conftest.err conftest.$ac_objext \
7828 conftest$ac_exeext conftest.$ac_ext
7829 LDFLAGS="$save_LDFLAGS"
7832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7833 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7836 $as_echo_n "checking for -force_load linker flag... " >&6; }
7837 if ${lt_cv_ld_force_load+:} false; then :
7838 $as_echo_n "(cached) " >&6
7840 lt_cv_ld_force_load=no
7841 cat > conftest.c << _LT_EOF
7842 int forced_loaded() { return 2;}
7844 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7845 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7846 echo "$AR cru libconftest.a conftest.o" >&5
7847 $AR cru libconftest.a conftest.o 2>&5
7848 echo "$RANLIB libconftest.a" >&5
7849 $RANLIB libconftest.a 2>&5
7850 cat > conftest.c << _LT_EOF
7851 int main() { return 0;}
7853 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7854 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7856 if test -s conftest.err && $GREP force_load conftest.err; then
7857 cat conftest.err >&5
7858 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7859 lt_cv_ld_force_load=yes
7861 cat conftest.err >&5
7863 rm -f conftest.err libconftest.a conftest conftest.c
7864 rm -rf conftest.dSYM
7867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7868 $as_echo "$lt_cv_ld_force_load" >&6; }
7870 rhapsody* | darwin1.[012])
7871 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7873 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7874 darwin*) # darwin 5.x on
7875 # if running on 10.5 or later, the deployment target defaults
7876 # to the OS version, if on x86, and 10.4, the deployment
7877 # target defaults to 10.4. Don't you love it?
7878 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7879 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7880 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7882 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7884 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7888 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7889 _lt_dar_single_mod='$single_module'
7891 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7892 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7894 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7896 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7897 _lt_dsymutil='~$DSYMUTIL $lib || :'
7905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7906 $as_echo_n "checking for ANSI C header files... " >&6; }
7907 if ${ac_cv_header_stdc+:} false; then :
7908 $as_echo_n "(cached) " >&6
7910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7911 /* end confdefs.h. */
7925 if ac_fn_c_try_compile "$LINENO"; then :
7926 ac_cv_header_stdc=yes
7928 ac_cv_header_stdc=no
7930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7932 if test $ac_cv_header_stdc = yes; then
7933 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7935 /* end confdefs.h. */
7939 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7940 $EGREP "memchr" >/dev/null 2>&1; then :
7943 ac_cv_header_stdc=no
7949 if test $ac_cv_header_stdc = yes; then
7950 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7952 /* end confdefs.h. */
7956 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7957 $EGREP "free" >/dev/null 2>&1; then :
7960 ac_cv_header_stdc=no
7966 if test $ac_cv_header_stdc = yes; then
7967 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7968 if test "$cross_compiling" = yes; then :
7971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7972 /* end confdefs.h. */
7975 #if ((' ' & 0x0FF) == 0x020)
7976 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7977 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7979 # define ISLOWER(c) \
7980 (('a' <= (c) && (c) <= 'i') \
7981 || ('j' <= (c) && (c) <= 'r') \
7982 || ('s' <= (c) && (c) <= 'z'))
7983 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7986 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7991 for (i = 0; i < 256; i++)
7992 if (XOR (islower (i), ISLOWER (i))
7993 || toupper (i) != TOUPPER (i))
7998 if ac_fn_c_try_run "$LINENO"; then :
8001 ac_cv_header_stdc=no
8003 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8004 conftest.$ac_objext conftest.beam conftest.$ac_ext
8009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8010 $as_echo "$ac_cv_header_stdc" >&6; }
8011 if test $ac_cv_header_stdc = yes; then
8013 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8017 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8018 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8019 inttypes.h stdint.h unistd.h
8021 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8022 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8024 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8025 cat >>confdefs.h <<_ACEOF
8026 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8034 for ac_header in dlfcn.h
8036 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8038 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8039 cat >>confdefs.h <<_ACEOF
8040 #define HAVE_DLFCN_H 1
8049 func_stripname_cnf ()
8052 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
8053 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
8055 } # func_stripname_cnf
8071 # Check whether --enable-shared was given.
8072 if test "${enable_shared+set}" = set; then :
8073 enableval=$enable_shared; p=${PACKAGE-default}
8075 yes) enable_shared=yes ;;
8076 no) enable_shared=no ;;
8079 # Look at the argument we got. We use all the common list separators.
8080 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8081 for pkg in $enableval; do
8083 if test "X$pkg" = "X$p"; then
8102 # Check whether --enable-static was given.
8103 if test "${enable_static+set}" = set; then :
8104 enableval=$enable_static; p=${PACKAGE-default}
8106 yes) enable_static=yes ;;
8107 no) enable_static=no ;;
8110 # Look at the argument we got. We use all the common list separators.
8111 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8112 for pkg in $enableval; do
8114 if test "X$pkg" = "X$p"; then
8134 # Check whether --with-pic was given.
8135 if test "${with_pic+set}" = set; then :
8136 withval=$with_pic; lt_p=${PACKAGE-default}
8138 yes|no) pic_mode=$withval ;;
8141 # Look at the argument we got. We use all the common list separators.
8142 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8143 for lt_pkg in $withval; do
8145 if test "X$lt_pkg" = "X$lt_p"; then
8157 test -z "$pic_mode" && pic_mode=default
8165 # Check whether --enable-fast-install was given.
8166 if test "${enable_fast_install+set}" = set; then :
8167 enableval=$enable_fast_install; p=${PACKAGE-default}
8169 yes) enable_fast_install=yes ;;
8170 no) enable_fast_install=no ;;
8172 enable_fast_install=no
8173 # Look at the argument we got. We use all the common list separators.
8174 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8175 for pkg in $enableval; do
8177 if test "X$pkg" = "X$p"; then
8178 enable_fast_install=yes
8185 enable_fast_install=yes
8198 # This can be used to rebuild libtool when needed
8199 LIBTOOL_DEPS="$ltmain"
8201 # Always use our own libtool.
8202 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8233 test -z "$LN_S" && LN_S="ln -s"
8248 if test -n "${ZSH_VERSION+set}" ; then
8249 setopt NO_GLOB_SUBST
8252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8253 $as_echo_n "checking for objdir... " >&6; }
8254 if ${lt_cv_objdir+:} false; then :
8255 $as_echo_n "(cached) " >&6
8257 rm -f .libs 2>/dev/null
8258 mkdir .libs 2>/dev/null
8259 if test -d .libs; then
8262 # MS-DOS does not allow filenames that begin with a dot.
8265 rmdir .libs 2>/dev/null
8267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8268 $as_echo "$lt_cv_objdir" >&6; }
8269 objdir=$lt_cv_objdir
8275 cat >>confdefs.h <<_ACEOF
8276 #define LT_OBJDIR "$lt_cv_objdir/"
8284 # AIX sometimes has problems with the GCC collect2 program. For some
8285 # reason, if we set the COLLECT_NAMES environment variable, the problems
8286 # vanish in a puff of smoke.
8287 if test "X${COLLECT_NAMES+set}" != Xset; then
8289 export COLLECT_NAMES
8296 can_build_shared=yes
8298 # All known linkers require a `.a' archive for static linking (except MSVC,
8299 # which needs '.lib').
8302 with_gnu_ld="$lt_cv_prog_gnu_ld"
8305 old_CFLAGS="$CFLAGS"
8307 # Set sane defaults for various variables
8308 test -z "$CC" && CC=cc
8309 test -z "$LTCC" && LTCC=$CC
8310 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8311 test -z "$LD" && LD=ld
8312 test -z "$ac_objext" && ac_objext=o
8314 for cc_temp in $compiler""; do
8316 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8317 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8322 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8325 # Only perform the check for file, if the check method requires it
8326 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8327 case $deplibs_check_method in
8329 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8331 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8332 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8333 $as_echo_n "(cached) " >&6
8337 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8340 lt_save_MAGIC_CMD="$MAGIC_CMD"
8341 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8342 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8343 for ac_dir in $ac_dummy; do
8345 test -z "$ac_dir" && ac_dir=.
8346 if test -f $ac_dir/${ac_tool_prefix}file; then
8347 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8348 if test -n "$file_magic_test_file"; then
8349 case $deplibs_check_method in
8351 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8352 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8353 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8354 $EGREP "$file_magic_regex" > /dev/null; then
8359 *** Warning: the command libtool uses to detect shared libraries,
8360 *** $file_magic_cmd, produces output that libtool cannot recognize.
8361 *** The result is that libtool may fail to recognize shared libraries
8362 *** as such. This will affect the creation of libtool libraries that
8363 *** depend on shared libraries, but programs linked with such libtool
8364 *** libraries will work regardless of this problem. Nevertheless, you
8365 *** may want to report the problem to your system manager and/or to
8366 *** bug-libtool@gnu.org
8376 MAGIC_CMD="$lt_save_MAGIC_CMD"
8381 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8382 if test -n "$MAGIC_CMD"; then
8383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8384 $as_echo "$MAGIC_CMD" >&6; }
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8387 $as_echo "no" >&6; }
8394 if test -z "$lt_cv_path_MAGIC_CMD"; then
8395 if test -n "$ac_tool_prefix"; then
8396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8397 $as_echo_n "checking for file... " >&6; }
8398 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8399 $as_echo_n "(cached) " >&6
8403 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8406 lt_save_MAGIC_CMD="$MAGIC_CMD"
8407 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8408 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8409 for ac_dir in $ac_dummy; do
8411 test -z "$ac_dir" && ac_dir=.
8412 if test -f $ac_dir/file; then
8413 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8414 if test -n "$file_magic_test_file"; then
8415 case $deplibs_check_method in
8417 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8418 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8419 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8420 $EGREP "$file_magic_regex" > /dev/null; then
8425 *** Warning: the command libtool uses to detect shared libraries,
8426 *** $file_magic_cmd, produces output that libtool cannot recognize.
8427 *** The result is that libtool may fail to recognize shared libraries
8428 *** as such. This will affect the creation of libtool libraries that
8429 *** depend on shared libraries, but programs linked with such libtool
8430 *** libraries will work regardless of this problem. Nevertheless, you
8431 *** may want to report the problem to your system manager and/or to
8432 *** bug-libtool@gnu.org
8442 MAGIC_CMD="$lt_save_MAGIC_CMD"
8447 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8448 if test -n "$MAGIC_CMD"; then
8449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8450 $as_echo "$MAGIC_CMD" >&6; }
8452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8453 $as_echo "no" >&6; }
8466 # Use C for the default configuration in the libtool script
8470 ac_cpp='$CPP $CPPFLAGS'
8471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8476 # Source file extension for C test sources.
8479 # Object file extension for compiled C test sources.
8483 # Code to be used in simple compile tests
8484 lt_simple_compile_test_code="int some_variable = 0;"
8486 # Code to be used in simple link tests
8487 lt_simple_link_test_code='int main(){return(0);}'
8495 # If no C compiler was specified, use CC.
8498 # If no C compiler flags were specified, use CFLAGS.
8499 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8501 # Allow CC to be a program name with arguments.
8504 # Save the default compiler, since it gets overwritten when the other
8505 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8506 compiler_DEFAULT=$CC
8508 # save warnings/boilerplate of simple test code
8509 ac_outfile=conftest.$ac_objext
8510 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8511 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8512 _lt_compiler_boilerplate=`cat conftest.err`
8515 ac_outfile=conftest.$ac_objext
8516 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8517 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8518 _lt_linker_boilerplate=`cat conftest.err`
8523 ## There is no encapsulation within the following macros, do not change
8524 ## the running order or otherwise move them around unless you know exactly
8525 ## what you are doing...
8526 if test -n "$compiler"; then
8528 lt_prog_compiler_no_builtin_flag=
8530 if test "$GCC" = yes; then
8531 case $cc_basename in
8533 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8535 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8539 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8540 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8541 $as_echo_n "(cached) " >&6
8543 lt_cv_prog_compiler_rtti_exceptions=no
8544 ac_outfile=conftest.$ac_objext
8545 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8546 lt_compiler_flag="-fno-rtti -fno-exceptions"
8547 # Insert the option either (1) after the last *FLAGS variable, or
8548 # (2) before a word containing "conftest.", or (3) at the end.
8549 # Note that $ac_compile itself does not contain backslashes and begins
8550 # with a dollar sign (not a hyphen), so the echo should work correctly.
8551 # The option is referenced via a variable to avoid confusing sed.
8552 lt_compile=`echo "$ac_compile" | $SED \
8553 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8554 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8555 -e 's:$: $lt_compiler_flag:'`
8556 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8557 (eval "$lt_compile" 2>conftest.err)
8559 cat conftest.err >&5
8560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8561 if (exit $ac_status) && test -s "$ac_outfile"; then
8562 # The compiler can only warn and ignore the option if not recognized
8563 # So say no if there are warnings other than the usual output.
8564 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8565 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8566 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8567 lt_cv_prog_compiler_rtti_exceptions=yes
8573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8574 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8576 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8577 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8589 lt_prog_compiler_wl=
8590 lt_prog_compiler_pic=
8591 lt_prog_compiler_static=
8594 if test "$GCC" = yes; then
8595 lt_prog_compiler_wl='-Wl,'
8596 lt_prog_compiler_static='-static'
8600 # All AIX code is PIC.
8601 if test "$host_cpu" = ia64; then
8602 # AIX 5 now supports IA64 processor
8603 lt_prog_compiler_static='-Bstatic'
8610 # see comment about AmigaOS4 .so support
8611 lt_prog_compiler_pic='-fPIC'
8614 # FIXME: we need at least 68020 code to build shared libraries, but
8615 # adding the `-m68020' flag to GCC prevents building anything better,
8617 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8622 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8623 # PIC is the default for these OSes.
8626 mingw* | cygwin* | pw32* | os2* | cegcc*)
8627 # This hack is so that the source file can tell whether it is being
8628 # built for inclusion in a dll (and should export symbols for example).
8629 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8630 # (--disable-auto-import) libraries
8631 lt_prog_compiler_pic='-DDLL_EXPORT'
8634 darwin* | rhapsody*)
8635 # PIC is the default on this platform
8636 # Common symbols not allowed in MH_DYLIB files
8637 lt_prog_compiler_pic='-fno-common'
8641 # PIC is the default for Haiku.
8642 # The "-static" flag exists, but is broken.
8643 lt_prog_compiler_static=
8647 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8648 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8649 # sets the default TLS model and affects inlining.
8655 lt_prog_compiler_pic='-fPIC'
8661 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8662 # Instead, we relocate shared libraries at runtime.
8666 # Just because we use GCC doesn't mean we suddenly get shared libraries
8667 # on systems that don't support them.
8668 lt_prog_compiler_can_build_shared=no
8673 # QNX uses GNU C++, but need to define -shared option too, otherwise
8675 lt_prog_compiler_pic='-fPIC -shared'
8679 if test -d /usr/nec; then
8680 lt_prog_compiler_pic=-Kconform_pic
8685 lt_prog_compiler_pic='-fPIC'
8689 case $cc_basename in
8690 nvcc*) # Cuda Compiler Driver 2.2
8691 lt_prog_compiler_wl='-Xlinker '
8692 if test -n "$lt_prog_compiler_pic"; then
8693 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8698 # PORTME Check for flag to pass linker flags through the system compiler.
8701 lt_prog_compiler_wl='-Wl,'
8702 if test "$host_cpu" = ia64; then
8703 # AIX 5 now supports IA64 processor
8704 lt_prog_compiler_static='-Bstatic'
8706 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8710 mingw* | cygwin* | pw32* | os2* | cegcc*)
8711 # This hack is so that the source file can tell whether it is being
8712 # built for inclusion in a dll (and should export symbols for example).
8713 lt_prog_compiler_pic='-DDLL_EXPORT'
8716 hpux9* | hpux10* | hpux11*)
8717 lt_prog_compiler_wl='-Wl,'
8718 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8725 lt_prog_compiler_pic='+Z'
8728 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8729 lt_prog_compiler_static='${wl}-a ${wl}archive'
8732 irix5* | irix6* | nonstopux*)
8733 lt_prog_compiler_wl='-Wl,'
8734 # PIC (with -KPIC) is the default.
8735 lt_prog_compiler_static='-non_shared'
8738 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8739 case $cc_basename in
8740 # old Intel for x86_64 which still supported -KPIC.
8742 lt_prog_compiler_wl='-Wl,'
8743 lt_prog_compiler_pic='-KPIC'
8744 lt_prog_compiler_static='-static'
8746 # icc used to be incompatible with GCC.
8747 # ICC 10 doesn't accept -KPIC any more.
8749 lt_prog_compiler_wl='-Wl,'
8750 lt_prog_compiler_pic='-fPIC'
8751 lt_prog_compiler_static='-static'
8753 # Lahey Fortran 8.1.
8755 lt_prog_compiler_wl='-Wl,'
8756 lt_prog_compiler_pic='--shared'
8757 lt_prog_compiler_static='--static'
8760 # NAG Fortran compiler
8761 lt_prog_compiler_wl='-Wl,-Wl,,'
8762 lt_prog_compiler_pic='-PIC'
8763 lt_prog_compiler_static='-Bstatic'
8765 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8766 # Portland Group compilers (*not* the Pentium gcc compiler,
8767 # which looks to be a dead project)
8768 lt_prog_compiler_wl='-Wl,'
8769 lt_prog_compiler_pic='-fpic'
8770 lt_prog_compiler_static='-Bstatic'
8773 lt_prog_compiler_wl='-Wl,'
8774 # All Alpha code is PIC.
8775 lt_prog_compiler_static='-non_shared'
8777 xl* | bgxl* | bgf* | mpixl*)
8778 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8779 lt_prog_compiler_wl='-Wl,'
8780 lt_prog_compiler_pic='-qpic'
8781 lt_prog_compiler_static='-qstaticlink'
8784 case `$CC -V 2>&1 | sed 5q` in
8785 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8786 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8787 lt_prog_compiler_pic='-KPIC'
8788 lt_prog_compiler_static='-Bstatic'
8789 lt_prog_compiler_wl=''
8791 *Sun\ F* | *Sun*Fortran*)
8792 lt_prog_compiler_pic='-KPIC'
8793 lt_prog_compiler_static='-Bstatic'
8794 lt_prog_compiler_wl='-Qoption ld '
8798 lt_prog_compiler_pic='-KPIC'
8799 lt_prog_compiler_static='-Bstatic'
8800 lt_prog_compiler_wl='-Wl,'
8802 *Intel*\ [CF]*Compiler*)
8803 lt_prog_compiler_wl='-Wl,'
8804 lt_prog_compiler_pic='-fPIC'
8805 lt_prog_compiler_static='-static'
8808 lt_prog_compiler_wl='-Wl,'
8809 lt_prog_compiler_pic='-fpic'
8810 lt_prog_compiler_static='-Bstatic'
8818 lt_prog_compiler_pic='-KPIC'
8819 lt_prog_compiler_static='-Bstatic'
8823 # QNX uses GNU C++, but need to define -shared option too, otherwise
8825 lt_prog_compiler_pic='-fPIC -shared'
8828 osf3* | osf4* | osf5*)
8829 lt_prog_compiler_wl='-Wl,'
8830 # All OSF/1 code is PIC.
8831 lt_prog_compiler_static='-non_shared'
8835 lt_prog_compiler_static='-non_shared'
8839 lt_prog_compiler_pic='-KPIC'
8840 lt_prog_compiler_static='-Bstatic'
8841 case $cc_basename in
8842 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8843 lt_prog_compiler_wl='-Qoption ld ';;
8845 lt_prog_compiler_wl='-Wl,';;
8850 lt_prog_compiler_wl='-Qoption ld '
8851 lt_prog_compiler_pic='-PIC'
8852 lt_prog_compiler_static='-Bstatic'
8855 sysv4 | sysv4.2uw2* | sysv4.3*)
8856 lt_prog_compiler_wl='-Wl,'
8857 lt_prog_compiler_pic='-KPIC'
8858 lt_prog_compiler_static='-Bstatic'
8862 if test -d /usr/nec ;then
8863 lt_prog_compiler_pic='-Kconform_pic'
8864 lt_prog_compiler_static='-Bstatic'
8868 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8869 lt_prog_compiler_wl='-Wl,'
8870 lt_prog_compiler_pic='-KPIC'
8871 lt_prog_compiler_static='-Bstatic'
8875 lt_prog_compiler_wl='-Wl,'
8876 lt_prog_compiler_can_build_shared=no
8880 lt_prog_compiler_pic='-pic'
8881 lt_prog_compiler_static='-Bstatic'
8885 lt_prog_compiler_can_build_shared=no
8891 # For platforms which do not support PIC, -DPIC is meaningless:
8893 lt_prog_compiler_pic=
8896 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8901 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8902 if ${lt_cv_prog_compiler_pic+:} false; then :
8903 $as_echo_n "(cached) " >&6
8905 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8908 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8909 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8912 # Check to make sure the PIC flag actually works.
8914 if test -n "$lt_prog_compiler_pic"; then
8915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8916 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8917 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8918 $as_echo_n "(cached) " >&6
8920 lt_cv_prog_compiler_pic_works=no
8921 ac_outfile=conftest.$ac_objext
8922 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8923 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8924 # Insert the option either (1) after the last *FLAGS variable, or
8925 # (2) before a word containing "conftest.", or (3) at the end.
8926 # Note that $ac_compile itself does not contain backslashes and begins
8927 # with a dollar sign (not a hyphen), so the echo should work correctly.
8928 # The option is referenced via a variable to avoid confusing sed.
8929 lt_compile=`echo "$ac_compile" | $SED \
8930 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8931 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8932 -e 's:$: $lt_compiler_flag:'`
8933 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8934 (eval "$lt_compile" 2>conftest.err)
8936 cat conftest.err >&5
8937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8938 if (exit $ac_status) && test -s "$ac_outfile"; then
8939 # The compiler can only warn and ignore the option if not recognized
8940 # So say no if there are warnings other than the usual output.
8941 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8942 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8943 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8944 lt_cv_prog_compiler_pic_works=yes
8950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8951 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8953 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8954 case $lt_prog_compiler_pic in
8956 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8959 lt_prog_compiler_pic=
8960 lt_prog_compiler_can_build_shared=no
8976 # Check to make sure the static flag actually works.
8978 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8980 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8981 if ${lt_cv_prog_compiler_static_works+:} false; then :
8982 $as_echo_n "(cached) " >&6
8984 lt_cv_prog_compiler_static_works=no
8985 save_LDFLAGS="$LDFLAGS"
8986 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8987 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8988 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8989 # The linker can only warn and ignore the option if not recognized
8990 # So say no if there are warnings
8991 if test -s conftest.err; then
8992 # Append any errors to the config.log.
8993 cat conftest.err 1>&5
8994 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8995 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8996 if diff conftest.exp conftest.er2 >/dev/null; then
8997 lt_cv_prog_compiler_static_works=yes
9000 lt_cv_prog_compiler_static_works=yes
9004 LDFLAGS="$save_LDFLAGS"
9007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9008 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9010 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9013 lt_prog_compiler_static=
9022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9023 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9024 if ${lt_cv_prog_compiler_c_o+:} false; then :
9025 $as_echo_n "(cached) " >&6
9027 lt_cv_prog_compiler_c_o=no
9028 $RM -r conftest 2>/dev/null
9032 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9034 lt_compiler_flag="-o out/conftest2.$ac_objext"
9035 # Insert the option either (1) after the last *FLAGS variable, or
9036 # (2) before a word containing "conftest.", or (3) at the end.
9037 # Note that $ac_compile itself does not contain backslashes and begins
9038 # with a dollar sign (not a hyphen), so the echo should work correctly.
9039 lt_compile=`echo "$ac_compile" | $SED \
9040 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9041 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9042 -e 's:$: $lt_compiler_flag:'`
9043 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9044 (eval "$lt_compile" 2>out/conftest.err)
9046 cat out/conftest.err >&5
9047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9048 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9050 # The compiler can only warn and ignore the option if not recognized
9051 # So say no if there are warnings
9052 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9053 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9054 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9055 lt_cv_prog_compiler_c_o=yes
9060 # SGI C++ compiler will create directory out/ii_files/ for
9061 # template instantiation
9062 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9063 $RM out/* && rmdir out
9069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9070 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9078 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9079 if ${lt_cv_prog_compiler_c_o+:} false; then :
9080 $as_echo_n "(cached) " >&6
9082 lt_cv_prog_compiler_c_o=no
9083 $RM -r conftest 2>/dev/null
9087 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9089 lt_compiler_flag="-o out/conftest2.$ac_objext"
9090 # Insert the option either (1) after the last *FLAGS variable, or
9091 # (2) before a word containing "conftest.", or (3) at the end.
9092 # Note that $ac_compile itself does not contain backslashes and begins
9093 # with a dollar sign (not a hyphen), so the echo should work correctly.
9094 lt_compile=`echo "$ac_compile" | $SED \
9095 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9096 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9097 -e 's:$: $lt_compiler_flag:'`
9098 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9099 (eval "$lt_compile" 2>out/conftest.err)
9101 cat out/conftest.err >&5
9102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9103 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9105 # The compiler can only warn and ignore the option if not recognized
9106 # So say no if there are warnings
9107 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9108 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9109 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9110 lt_cv_prog_compiler_c_o=yes
9115 # SGI C++ compiler will create directory out/ii_files/ for
9116 # template instantiation
9117 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9118 $RM out/* && rmdir out
9124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9125 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9130 hard_links="nottested"
9131 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9132 # do not overwrite the value of need_locks provided by the user
9133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9134 $as_echo_n "checking if we can lock with hard links... " >&6; }
9137 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9139 ln conftest.a conftest.b 2>&5 || hard_links=no
9140 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9142 $as_echo "$hard_links" >&6; }
9143 if test "$hard_links" = no; then
9144 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9145 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9158 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9161 allow_undefined_flag=
9162 always_export_symbols=no
9164 archive_expsym_cmds=
9165 compiler_needs_object=no
9166 enable_shared_with_static_runtimes=no
9167 export_dynamic_flag_spec=
9168 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9169 hardcode_automatic=no
9171 hardcode_direct_absolute=no
9172 hardcode_libdir_flag_spec=
9173 hardcode_libdir_separator=
9175 hardcode_shlibpath_var=unsupported
9177 link_all_deplibs=unknown
9180 old_archive_from_new_cmds=
9181 old_archive_from_expsyms_cmds=
9182 thread_safe_flag_spec=
9183 whole_archive_flag_spec=
9184 # include_expsyms should be a list of space-separated symbols to be *always*
9185 # included in the symbol list
9187 # exclude_expsyms can be an extended regexp of symbols to exclude
9188 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9189 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9190 # as well as any symbol that contains `d'.
9191 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9192 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9193 # platforms (ab)use it in PIC code, but their linkers get confused if
9194 # the symbol is explicitly referenced. Since portable code cannot
9195 # rely on this symbol name, it's probably fine to never include it in
9196 # preloaded symbol tables.
9197 # Exclude shared library initialization/finalization symbols.
9198 extract_expsyms_cmds=
9201 cygwin* | mingw* | pw32* | cegcc*)
9202 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9203 # When not using gcc, we currently assume that we are using
9204 # Microsoft Visual C++.
9205 if test "$GCC" != yes; then
9210 # we just hope/assume this is gcc and not c89 (= MSVC++)
9220 # On some targets, GNU ld is compatible enough with the native linker
9221 # that we're better off using the native interface for both.
9222 lt_use_gnu_ld_interface=no
9223 if test "$with_gnu_ld" = yes; then
9226 # The AIX port of GNU ld has always aspired to compatibility
9227 # with the native linker. However, as the warning in the GNU ld
9228 # block says, versions before 2.19.5* couldn't really create working
9229 # shared libraries, regardless of the interface used.
9230 case `$LD -v 2>&1` in
9231 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9232 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9233 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9235 lt_use_gnu_ld_interface=yes
9240 lt_use_gnu_ld_interface=yes
9245 if test "$lt_use_gnu_ld_interface" = yes; then
9246 # If archive_cmds runs LD, not CC, wlarc should be empty
9249 # Set some defaults for GNU ld with shared library support. These
9250 # are reset later if shared libraries are not supported. Putting them
9251 # here allows them to be overridden if necessary.
9252 runpath_var=LD_RUN_PATH
9253 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9254 export_dynamic_flag_spec='${wl}--export-dynamic'
9255 # ancient GNU ld didn't support --whole-archive et. al.
9256 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9257 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9259 whole_archive_flag_spec=
9261 supports_anon_versioning=no
9262 case `$LD -v 2>&1` in
9263 *GNU\ gold*) supports_anon_versioning=yes ;;
9264 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9265 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9266 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9267 *\ 2.11.*) ;; # other 2.11 versions
9268 *) supports_anon_versioning=yes ;;
9271 # See if GNU ld supports shared libraries.
9274 # On AIX/PPC, the GNU linker is very broken
9275 if test "$host_cpu" != ia64; then
9279 *** Warning: the GNU linker, at least up to release 2.19, is reported
9280 *** to be unable to reliably create shared libraries on AIX.
9281 *** Therefore, libtool is disabling shared libraries support. If you
9282 *** really care for shared libraries, you may want to install binutils
9283 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9284 *** You will then need to restart the configuration process.
9293 # see comment about AmigaOS4 .so support
9294 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9295 archive_expsym_cmds=''
9298 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)'
9299 hardcode_libdir_flag_spec='-L$libdir'
9300 hardcode_minus_L=yes
9306 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9307 allow_undefined_flag=unsupported
9308 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9309 # support --undefined. This deserves some investigation. FIXME
9310 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9316 cygwin* | mingw* | pw32* | cegcc*)
9317 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9318 # as there is no search path for DLLs.
9319 hardcode_libdir_flag_spec='-L$libdir'
9320 export_dynamic_flag_spec='${wl}--export-all-symbols'
9321 allow_undefined_flag=unsupported
9322 always_export_symbols=no
9323 enable_shared_with_static_runtimes=yes
9324 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'
9325 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9327 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9328 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9329 # If the export-symbols file already is a .def file (1st line
9330 # is EXPORTS), use it as is; otherwise, prepend...
9331 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9332 cp $export_symbols $output_objdir/$soname.def;
9334 echo EXPORTS > $output_objdir/$soname.def;
9335 cat $export_symbols >> $output_objdir/$soname.def;
9337 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9344 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9345 link_all_deplibs=yes
9350 hardcode_shlibpath_var=no
9351 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9352 export_dynamic_flag_spec='${wl}-E'
9353 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9354 # Instead, shared libraries are loaded at an image base (0x10000000 by
9355 # default) and relocated if they conflict, which is a slow very memory
9356 # consuming and fragmenting process. To avoid this, we pick a random,
9357 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9358 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9359 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9360 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'
9363 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9365 if test "$host_os" = linux-dietlibc; then
9366 case $cc_basename in
9367 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9370 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9371 && test "$tmp_diet" = no
9373 tmp_addflag=' $pic_flag'
9374 tmp_sharedflag='-shared'
9375 case $cc_basename,$host_cpu in
9376 pgcc*) # Portland Group C compiler
9377 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'
9378 tmp_addflag=' $pic_flag'
9380 pgf77* | pgf90* | pgf95* | pgfortran*)
9381 # Portland Group f77 and f90 compilers
9382 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'
9383 tmp_addflag=' $pic_flag -Mnomain' ;;
9384 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9385 tmp_addflag=' -i_dynamic' ;;
9386 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9387 tmp_addflag=' -i_dynamic -nofor_main' ;;
9388 ifc* | ifort*) # Intel Fortran compiler
9389 tmp_addflag=' -nofor_main' ;;
9390 lf95*) # Lahey Fortran 8.1
9391 whole_archive_flag_spec=
9392 tmp_sharedflag='--shared' ;;
9393 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9394 tmp_sharedflag='-qmkshrobj'
9396 nvcc*) # Cuda Compiler Driver 2.2
9397 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'
9398 compiler_needs_object=yes
9401 case `$CC -V 2>&1 | sed 5q` in
9402 *Sun\ C*) # Sun C 5.9
9403 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'
9404 compiler_needs_object=yes
9405 tmp_sharedflag='-G' ;;
9406 *Sun\ F*) # Sun Fortran 8.3
9407 tmp_sharedflag='-G' ;;
9409 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9411 if test "x$supports_anon_versioning" = xyes; then
9412 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9413 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9414 echo "local: *; };" >> $output_objdir/$libname.ver~
9415 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9418 case $cc_basename in
9419 xlf* | bgf* | bgxlf* | mpixlf*)
9420 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9421 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9422 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9423 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9424 if test "x$supports_anon_versioning" = xyes; then
9425 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9426 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9427 echo "local: *; };" >> $output_objdir/$libname.ver~
9428 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9438 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9439 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9442 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9443 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9448 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9452 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9453 *** create shared libraries on Solaris systems. Therefore, libtool
9454 *** is disabling shared libraries support. We urge you to upgrade GNU
9455 *** binutils to release 2.9.1 or newer. Another option is to modify
9456 *** your PATH or compiler configuration so that the native linker is
9457 *** used, and then restart.
9460 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9461 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9462 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9468 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9469 case `$LD -v 2>&1` in
9470 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9474 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9475 *** reliably create shared libraries on SCO systems. Therefore, libtool
9476 *** is disabling shared libraries support. We urge you to upgrade GNU
9477 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9478 *** your PATH or compiler configuration so that the native linker is
9479 *** used, and then restart.
9484 # For security reasons, it is highly recommended that you always
9485 # use absolute paths for naming shared libraries, and exclude the
9486 # DT_RUNPATH tag from executables and libraries. But doing so
9487 # requires that you compile everything twice, which is a pain.
9488 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9489 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9490 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9491 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9500 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9503 hardcode_shlibpath_var=no
9507 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9508 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9509 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9516 if test "$ld_shlibs" = no; then
9518 hardcode_libdir_flag_spec=
9519 export_dynamic_flag_spec=
9520 whole_archive_flag_spec=
9523 # PORTME fill in a description of your system's linker (not GNU ld)
9526 allow_undefined_flag=unsupported
9527 always_export_symbols=yes
9528 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'
9529 # Note: this linker hardcodes the directories in LIBPATH if there
9530 # are no directories specified by -L.
9531 hardcode_minus_L=yes
9532 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9533 # Neither direct hardcoding nor static linking is supported with a
9535 hardcode_direct=unsupported
9540 if test "$host_cpu" = ia64; then
9541 # On IA64, the linker does run time linking by default, so we don't
9542 # have to do anything special.
9543 aix_use_runtimelinking=no
9544 exp_sym_flag='-Bexport'
9547 # If we're using GNU nm, then we don't want the "-C" option.
9548 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9549 # Also, AIX nm treats weak defined symbols like other global
9550 # defined symbols, whereas GNU nm marks them as "W".
9551 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9552 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'
9554 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'
9556 aix_use_runtimelinking=no
9558 # Test if we are trying to use run time linking or normal
9559 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9560 # need to do runtime linking.
9561 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9562 for ld_flag in $LDFLAGS; do
9563 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9564 aix_use_runtimelinking=yes
9571 exp_sym_flag='-bexport'
9572 no_entry_flag='-bnoentry'
9575 # When large executables or shared objects are built, AIX ld can
9576 # have problems creating the table of contents. If linking a library
9577 # or program results in "error TOC overflow" add -mminimal-toc to
9578 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9579 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9583 hardcode_direct_absolute=yes
9584 hardcode_libdir_separator=':'
9585 link_all_deplibs=yes
9586 file_list_spec='${wl}-f,'
9588 if test "$GCC" = yes; then
9589 case $host_os in aix4.[012]|aix4.[012].*)
9590 # We only want to do this on AIX 4.2 and lower, the check
9591 # below for broken collect2 doesn't work under 4.3+
9592 collect2name=`${CC} -print-prog-name=collect2`
9593 if test -f "$collect2name" &&
9594 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9596 # We have reworked collect2
9599 # We have old collect2
9600 hardcode_direct=unsupported
9601 # It fails to find uninstalled libraries when the uninstalled
9602 # path is not listed in the libpath. Setting hardcode_minus_L
9603 # to unsupported forces relinking
9604 hardcode_minus_L=yes
9605 hardcode_libdir_flag_spec='-L$libdir'
9606 hardcode_libdir_separator=
9610 shared_flag='-shared'
9611 if test "$aix_use_runtimelinking" = yes; then
9612 shared_flag="$shared_flag "'${wl}-G'
9616 if test "$host_cpu" = ia64; then
9617 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9618 # chokes on -Wl,-G. The following line is correct:
9621 if test "$aix_use_runtimelinking" = yes; then
9622 shared_flag='${wl}-G'
9624 shared_flag='${wl}-bM:SRE'
9629 export_dynamic_flag_spec='${wl}-bexpall'
9630 # It seems that -bexpall does not export symbols beginning with
9631 # underscore (_), so it is better to generate a list of symbols to export.
9632 always_export_symbols=yes
9633 if test "$aix_use_runtimelinking" = yes; then
9634 # Warning - without using the other runtime loading flags (-brtl),
9635 # -berok will link without error, but may produce a broken library.
9636 allow_undefined_flag='-berok'
9637 # Determine the default libpath from the value encoded in an
9639 if test "${lt_cv_aix_libpath+set}" = set; then
9640 aix_libpath=$lt_cv_aix_libpath
9642 if ${lt_cv_aix_libpath_+:} false; then :
9643 $as_echo_n "(cached) " >&6
9645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9646 /* end confdefs.h. */
9656 if ac_fn_c_try_link "$LINENO"; then :
9658 lt_aix_libpath_sed='
9659 /Import File Strings/,/^$/ {
9661 s/^0 *\([^ ]*\) *$/\1/
9665 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9666 # Check for a 64-bit object if we didn't find anything.
9667 if test -z "$lt_cv_aix_libpath_"; then
9668 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9671 rm -f core conftest.err conftest.$ac_objext \
9672 conftest$ac_exeext conftest.$ac_ext
9673 if test -z "$lt_cv_aix_libpath_"; then
9674 lt_cv_aix_libpath_="/usr/lib:/lib"
9679 aix_libpath=$lt_cv_aix_libpath_
9682 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9683 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"
9685 if test "$host_cpu" = ia64; then
9686 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9687 allow_undefined_flag="-z nodefs"
9688 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"
9690 # Determine the default libpath from the value encoded in an
9692 if test "${lt_cv_aix_libpath+set}" = set; then
9693 aix_libpath=$lt_cv_aix_libpath
9695 if ${lt_cv_aix_libpath_+:} false; then :
9696 $as_echo_n "(cached) " >&6
9698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9699 /* end confdefs.h. */
9709 if ac_fn_c_try_link "$LINENO"; then :
9711 lt_aix_libpath_sed='
9712 /Import File Strings/,/^$/ {
9714 s/^0 *\([^ ]*\) *$/\1/
9718 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9719 # Check for a 64-bit object if we didn't find anything.
9720 if test -z "$lt_cv_aix_libpath_"; then
9721 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9724 rm -f core conftest.err conftest.$ac_objext \
9725 conftest$ac_exeext conftest.$ac_ext
9726 if test -z "$lt_cv_aix_libpath_"; then
9727 lt_cv_aix_libpath_="/usr/lib:/lib"
9732 aix_libpath=$lt_cv_aix_libpath_
9735 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9736 # Warning - without using the other run time loading flags,
9737 # -berok will link without error, but may produce a broken library.
9738 no_undefined_flag=' ${wl}-bernotok'
9739 allow_undefined_flag=' ${wl}-berok'
9740 if test "$with_gnu_ld" = yes; then
9741 # We only use this code for GNU lds that support --whole-archive.
9742 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9744 # Exported symbols can be pulled into shared objects from archives
9745 whole_archive_flag_spec='$convenience'
9747 archive_cmds_need_lc=yes
9748 # This is similar to how AIX traditionally builds its shared libraries.
9749 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'
9757 # see comment about AmigaOS4 .so support
9758 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9759 archive_expsym_cmds=''
9762 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)'
9763 hardcode_libdir_flag_spec='-L$libdir'
9764 hardcode_minus_L=yes
9770 export_dynamic_flag_spec=-rdynamic
9773 cygwin* | mingw* | pw32* | cegcc*)
9774 # When not using gcc, we currently assume that we are using
9775 # Microsoft Visual C++.
9776 # hardcode_libdir_flag_spec is actually meaningless, as there is
9777 # no search path for DLLs.
9778 case $cc_basename in
9781 hardcode_libdir_flag_spec=' '
9782 allow_undefined_flag=unsupported
9783 always_export_symbols=yes
9785 # Tell ltmain to make .lib files, not .a files.
9787 # Tell ltmain to make .dll files, not .so files.
9789 # FIXME: Setting linknames here is a bad hack.
9790 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9791 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9792 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9794 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9796 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9798 # The linker will not automatically build a static lib if we build a DLL.
9799 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9800 enable_shared_with_static_runtimes=yes
9801 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9802 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9804 old_postinstall_cmds='chmod 644 $oldlib'
9805 postlink_cmds='lt_outputfile="@OUTPUT@"~
9806 lt_tool_outputfile="@TOOL_OUTPUT@"~
9807 case $lt_outputfile in
9810 lt_outputfile="$lt_outputfile.exe"
9811 lt_tool_outputfile="$lt_tool_outputfile.exe"
9814 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9815 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9816 $RM "$lt_outputfile.manifest";
9820 # Assume MSVC wrapper
9821 hardcode_libdir_flag_spec=' '
9822 allow_undefined_flag=unsupported
9823 # Tell ltmain to make .lib files, not .a files.
9825 # Tell ltmain to make .dll files, not .so files.
9827 # FIXME: Setting linknames here is a bad hack.
9828 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9829 # The linker will automatically build a .lib file if we build a DLL.
9830 old_archive_from_new_cmds='true'
9831 # FIXME: Should let the user specify the lib program.
9832 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9833 enable_shared_with_static_runtimes=yes
9838 darwin* | rhapsody*)
9841 archive_cmds_need_lc=no
9843 hardcode_automatic=yes
9844 hardcode_shlibpath_var=unsupported
9845 if test "$lt_cv_ld_force_load" = "yes"; then
9846 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\"`'
9849 whole_archive_flag_spec=''
9851 link_all_deplibs=yes
9852 allow_undefined_flag="$_lt_dar_allow_undefined"
9853 case $cc_basename in
9854 ifort*) _lt_dar_can_shared=yes ;;
9855 *) _lt_dar_can_shared=$GCC ;;
9857 if test "$_lt_dar_can_shared" = "yes"; then
9858 output_verbose_link_cmd=func_echo_all
9859 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9860 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9861 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}"
9862 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}"
9871 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9872 hardcode_libdir_flag_spec='-L$libdir'
9873 hardcode_shlibpath_var=no
9876 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9877 # support. Future versions do this automatically, but an explicit c++rt0.o
9878 # does not break anything, and helps significantly (at the cost of a little
9881 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9882 hardcode_libdir_flag_spec='-R$libdir'
9884 hardcode_shlibpath_var=no
9887 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9889 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9891 hardcode_minus_L=yes
9892 hardcode_shlibpath_var=no
9895 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9896 freebsd* | dragonfly*)
9897 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9898 hardcode_libdir_flag_spec='-R$libdir'
9900 hardcode_shlibpath_var=no
9904 if test "$GCC" = yes; then
9905 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'
9907 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'
9909 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9910 hardcode_libdir_separator=:
9913 # hardcode_minus_L: Not really in the search PATH,
9914 # but as the default location of the library.
9915 hardcode_minus_L=yes
9916 export_dynamic_flag_spec='${wl}-E'
9920 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9921 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9923 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9925 if test "$with_gnu_ld" = no; then
9926 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9927 hardcode_libdir_separator=:
9929 hardcode_direct_absolute=yes
9930 export_dynamic_flag_spec='${wl}-E'
9931 # hardcode_minus_L: Not really in the search PATH,
9932 # but as the default location of the library.
9933 hardcode_minus_L=yes
9938 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9941 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9944 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9947 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9953 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9956 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9960 # Older versions of the 11.00 compiler do not understand -b yet
9961 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9963 $as_echo_n "checking if $CC understands -b... " >&6; }
9964 if ${lt_cv_prog_compiler__b+:} false; then :
9965 $as_echo_n "(cached) " >&6
9967 lt_cv_prog_compiler__b=no
9968 save_LDFLAGS="$LDFLAGS"
9969 LDFLAGS="$LDFLAGS -b"
9970 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9971 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9972 # The linker can only warn and ignore the option if not recognized
9973 # So say no if there are warnings
9974 if test -s conftest.err; then
9975 # Append any errors to the config.log.
9976 cat conftest.err 1>&5
9977 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9978 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9979 if diff conftest.exp conftest.er2 >/dev/null; then
9980 lt_cv_prog_compiler__b=yes
9983 lt_cv_prog_compiler__b=yes
9987 LDFLAGS="$save_LDFLAGS"
9990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9991 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9993 if test x"$lt_cv_prog_compiler__b" = xyes; then
9994 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9996 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10002 if test "$with_gnu_ld" = no; then
10003 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10004 hardcode_libdir_separator=:
10009 hardcode_shlibpath_var=no
10012 hardcode_direct=yes
10013 hardcode_direct_absolute=yes
10014 export_dynamic_flag_spec='${wl}-E'
10016 # hardcode_minus_L: Not really in the search PATH,
10017 # but as the default location of the library.
10018 hardcode_minus_L=yes
10024 irix5* | irix6* | nonstopux*)
10025 if test "$GCC" = yes; then
10026 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'
10027 # Try to use the -exported_symbol ld option, if it does not
10028 # work, assume that -exports_file does not work either and
10029 # implicitly export all symbols.
10030 # This should be the same for all languages, so no per-tag cache variable.
10031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10032 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10033 if ${lt_cv_irix_exported_symbol+:} false; then :
10034 $as_echo_n "(cached) " >&6
10036 save_LDFLAGS="$LDFLAGS"
10037 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10039 /* end confdefs.h. */
10040 int foo (void) { return 0; }
10042 if ac_fn_c_try_link "$LINENO"; then :
10043 lt_cv_irix_exported_symbol=yes
10045 lt_cv_irix_exported_symbol=no
10047 rm -f core conftest.err conftest.$ac_objext \
10048 conftest$ac_exeext conftest.$ac_ext
10049 LDFLAGS="$save_LDFLAGS"
10051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10052 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10053 if test "$lt_cv_irix_exported_symbol" = yes; then
10054 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'
10057 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'
10058 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'
10060 archive_cmds_need_lc='no'
10061 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10062 hardcode_libdir_separator=:
10064 link_all_deplibs=yes
10068 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10069 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10071 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10073 hardcode_libdir_flag_spec='-R$libdir'
10074 hardcode_direct=yes
10075 hardcode_shlibpath_var=no
10079 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10080 hardcode_direct=yes
10081 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10082 hardcode_libdir_separator=:
10083 hardcode_shlibpath_var=no
10090 if test -f /usr/libexec/ld.so; then
10091 hardcode_direct=yes
10092 hardcode_shlibpath_var=no
10093 hardcode_direct_absolute=yes
10094 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10095 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10096 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10097 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10098 export_dynamic_flag_spec='${wl}-E'
10101 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10102 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10103 hardcode_libdir_flag_spec='-R$libdir'
10106 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10107 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10117 hardcode_libdir_flag_spec='-L$libdir'
10118 hardcode_minus_L=yes
10119 allow_undefined_flag=unsupported
10120 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'
10121 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10125 if test "$GCC" = yes; then
10126 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10127 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'
10129 allow_undefined_flag=' -expect_unresolved \*'
10130 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'
10132 archive_cmds_need_lc='no'
10133 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10134 hardcode_libdir_separator=:
10137 osf4* | osf5*) # as osf3* with the addition of -msym flag
10138 if test "$GCC" = yes; then
10139 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10140 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'
10141 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10143 allow_undefined_flag=' -expect_unresolved \*'
10144 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'
10145 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~
10146 $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'
10148 # Both c and cxx compiler support -rpath directly
10149 hardcode_libdir_flag_spec='-rpath $libdir'
10151 archive_cmds_need_lc='no'
10152 hardcode_libdir_separator=:
10156 no_undefined_flag=' -z defs'
10157 if test "$GCC" = yes; then
10159 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10160 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10161 $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'
10163 case `$CC -V 2>&1` in
10166 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10167 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10168 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10172 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10173 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10174 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10178 hardcode_libdir_flag_spec='-R$libdir'
10179 hardcode_shlibpath_var=no
10181 solaris2.[0-5] | solaris2.[0-5].*) ;;
10183 # The compiler driver will combine and reorder linker options,
10184 # but understands `-z linker_flag'. GCC discards it without `$wl',
10185 # but is careful enough not to reorder.
10186 # Supported since Solaris 2.6 (maybe 2.5.1?)
10187 if test "$GCC" = yes; then
10188 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10190 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10194 link_all_deplibs=yes
10198 if test "x$host_vendor" = xsequent; then
10199 # Use $CC to link under sequent, because it throws in some extra .o
10200 # files that make .init and .fini sections work.
10201 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10203 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10205 hardcode_libdir_flag_spec='-L$libdir'
10206 hardcode_direct=yes
10207 hardcode_minus_L=yes
10208 hardcode_shlibpath_var=no
10212 case $host_vendor in
10214 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10215 hardcode_direct=yes # is this really true???
10218 ## LD is ld it makes a PLAMLIB
10219 ## CC just makes a GrossModule.
10220 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10221 reload_cmds='$CC -r -o $output$reload_objs'
10225 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10226 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10229 runpath_var='LD_RUN_PATH'
10230 hardcode_shlibpath_var=no
10234 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10235 hardcode_shlibpath_var=no
10236 export_dynamic_flag_spec='-Bexport'
10240 if test -d /usr/nec; then
10241 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10242 hardcode_shlibpath_var=no
10243 runpath_var=LD_RUN_PATH
10244 hardcode_runpath_var=yes
10249 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10250 no_undefined_flag='${wl}-z,text'
10251 archive_cmds_need_lc=no
10252 hardcode_shlibpath_var=no
10253 runpath_var='LD_RUN_PATH'
10255 if test "$GCC" = yes; then
10256 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10257 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10259 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10260 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10264 sysv5* | sco3.2v5* | sco5v6*)
10265 # Note: We can NOT use -z defs as we might desire, because we do not
10266 # link with -lc, and that would cause any symbols used from libc to
10267 # always be unresolved, which means just about no library would
10268 # ever link correctly. If we're not using GNU ld we use -z text
10269 # though, which does catch some bad symbols but isn't as heavy-handed
10271 no_undefined_flag='${wl}-z,text'
10272 allow_undefined_flag='${wl}-z,nodefs'
10273 archive_cmds_need_lc=no
10274 hardcode_shlibpath_var=no
10275 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10276 hardcode_libdir_separator=':'
10277 link_all_deplibs=yes
10278 export_dynamic_flag_spec='${wl}-Bexport'
10279 runpath_var='LD_RUN_PATH'
10281 if test "$GCC" = yes; then
10282 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10283 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10285 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10286 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10291 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10292 hardcode_libdir_flag_spec='-L$libdir'
10293 hardcode_shlibpath_var=no
10301 if test x$host_vendor = xsni; then
10303 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10304 export_dynamic_flag_spec='${wl}-Blargedynsym'
10310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10311 $as_echo "$ld_shlibs" >&6; }
10312 test "$ld_shlibs" = no && can_build_shared=no
10314 with_gnu_ld=$with_gnu_ld
10331 # Do we need to explicitly link libc?
10333 case "x$archive_cmds_need_lc" in
10335 # Assume -lc should be added
10336 archive_cmds_need_lc=yes
10338 if test "$enable_shared" = yes && test "$GCC" = yes; then
10339 case $archive_cmds in
10341 # FIXME: we may have to deal with multi-command sequences.
10344 # Test whether the compiler implicitly links with -lc since on some
10345 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10346 # to ld, don't add -lc before -lgcc.
10347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10348 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10349 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10350 $as_echo_n "(cached) " >&6
10353 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10355 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10356 (eval $ac_compile) 2>&5
10358 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10359 test $ac_status = 0; } 2>conftest.err; then
10362 libobjs=conftest.$ac_objext
10364 wl=$lt_prog_compiler_wl
10365 pic_flag=$lt_prog_compiler_pic
10371 lt_save_allow_undefined_flag=$allow_undefined_flag
10372 allow_undefined_flag=
10373 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10374 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10376 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10377 test $ac_status = 0; }
10379 lt_cv_archive_cmds_need_lc=no
10381 lt_cv_archive_cmds_need_lc=yes
10383 allow_undefined_flag=$lt_save_allow_undefined_flag
10385 cat conftest.err 1>&5
10390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10391 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10392 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10551 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10553 if test "$GCC" = yes; then
10555 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10556 *) lt_awk_arg="/^libraries:/" ;;
10559 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10560 *) lt_sed_strip_eq="s,=/,/,g" ;;
10562 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10563 case $lt_search_path_spec in
10565 # if the path contains ";" then we assume it to be the separator
10566 # otherwise default to the standard path separator (i.e. ":") - it is
10567 # assumed that no part of a normal pathname contains ";" but that should
10568 # okay in the real world where ";" in dirpaths is itself problematic.
10569 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10572 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10575 # Ok, now we have the path, separated by spaces, we can step through it
10576 # and add multilib dir if necessary.
10577 lt_tmp_lt_search_path_spec=
10578 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10579 for lt_sys_path in $lt_search_path_spec; do
10580 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10581 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10583 test -d "$lt_sys_path" && \
10584 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10587 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10588 BEGIN {RS=" "; FS="/|\n";} {
10591 for (lt_i = NF; lt_i > 0; lt_i--) {
10592 if ($lt_i != "" && $lt_i != ".") {
10593 if ($lt_i == "..") {
10596 if (lt_count == 0) {
10597 lt_foo="/" $lt_i lt_foo;
10604 if (lt_foo != "") { lt_freq[lt_foo]++; }
10605 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10607 # AWK program above erroneously prepends '/' to C:/dos/paths
10610 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10611 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10613 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10615 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10617 library_names_spec=
10618 libname_spec='lib$name'
10622 postuninstall_cmds=
10626 shlibpath_overrides_runpath=unknown
10628 dynamic_linker="$host_os ld.so"
10629 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10630 need_lib_prefix=unknown
10631 hardcode_into_libs=no
10633 # when you set need_version to no, make sure it does not cause -set_version
10634 # flags to be left without arguments
10635 need_version=unknown
10639 version_type=linux # correct to gnu/linux during the next big refactor
10640 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10641 shlibpath_var=LIBPATH
10643 # AIX 3 has no versioning support, so we append a major version to the name.
10644 soname_spec='${libname}${release}${shared_ext}$major'
10648 version_type=linux # correct to gnu/linux during the next big refactor
10651 hardcode_into_libs=yes
10652 if test "$host_cpu" = ia64; then
10653 # AIX 5 supports IA64
10654 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10655 shlibpath_var=LD_LIBRARY_PATH
10657 # With GCC up to 2.95.x, collect2 would create an import file
10658 # for dependence libraries. The import file would start with
10659 # the line `#! .'. This would cause the generated library to
10660 # depend on `.', always an invalid library. This was fixed in
10661 # development snapshots of GCC prior to 3.0.
10663 aix4 | aix4.[01] | aix4.[01].*)
10664 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10666 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10669 can_build_shared=no
10673 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10674 # soname into executable. Probably we can add versioning support to
10675 # collect2, so additional links can be useful in future.
10676 if test "$aix_use_runtimelinking" = yes; then
10677 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10678 # instead of lib<name>.a to let people know that these are not
10679 # typical AIX shared libraries.
10680 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10682 # We preserve .a as extension for shared libraries through AIX4.2
10683 # and later when we are not doing run time linking.
10684 library_names_spec='${libname}${release}.a $libname.a'
10685 soname_spec='${libname}${release}${shared_ext}$major'
10687 shlibpath_var=LIBPATH
10694 # Since July 2007 AmigaOS4 officially supports .so libraries.
10695 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10696 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10699 library_names_spec='$libname.ixlibrary $libname.a'
10700 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10701 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'
10707 library_names_spec='${libname}${shared_ext}'
10708 dynamic_linker="$host_os ld.so"
10709 shlibpath_var=LIBRARY_PATH
10713 version_type=linux # correct to gnu/linux during the next big refactor
10715 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10716 soname_spec='${libname}${release}${shared_ext}$major'
10717 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10718 shlibpath_var=LD_LIBRARY_PATH
10719 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10720 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10721 # the default ld.so.conf also contains /usr/contrib/lib and
10722 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10723 # libtool to hard-code these into programs
10726 cygwin* | mingw* | pw32* | cegcc*)
10727 version_type=windows
10732 case $GCC,$cc_basename in
10735 library_names_spec='$libname.dll.a'
10736 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10737 postinstall_cmds='base_file=`basename \${file}`~
10738 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10739 dldir=$destdir/`dirname \$dlpath`~
10740 test -d \$dldir || mkdir -p \$dldir~
10741 $install_prog $dir/$dlname \$dldir/$dlname~
10742 chmod a+x \$dldir/$dlname~
10743 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10744 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10746 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10747 dlpath=$dir/\$dldll~
10749 shlibpath_overrides_runpath=yes
10753 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10754 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10756 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10759 # MinGW DLLs use traditional 'lib' prefix
10760 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10763 # pw32 DLLs use 'pw' prefix rather than 'lib'
10764 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10767 dynamic_linker='Win32 ld.exe'
10772 libname_spec='$name'
10773 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10774 library_names_spec='${libname}.dll.lib'
10778 sys_lib_search_path_spec=
10781 for lt_path in $LIB
10784 # Let DOS variable expansion print the short 8.3 style file name.
10785 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10786 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10789 # Convert to MSYS style.
10790 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10793 # Convert to unix form, then to dos form, then back to unix form
10794 # but this time dos style (no spaces!) so that the unix form looks
10795 # like /cygdrive/c/PROGRA~1:/cygdr...
10796 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10797 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10798 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10801 sys_lib_search_path_spec="$LIB"
10802 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10803 # It is most probably a Windows format PATH.
10804 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10806 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10808 # FIXME: find the short name or the path components, as spaces are
10809 # common. (e.g. "Program Files" -> "PROGRA~1")
10813 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10814 postinstall_cmds='base_file=`basename \${file}`~
10815 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10816 dldir=$destdir/`dirname \$dlpath`~
10817 test -d \$dldir || mkdir -p \$dldir~
10818 $install_prog $dir/$dlname \$dldir/$dlname'
10819 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10820 dlpath=$dir/\$dldll~
10822 shlibpath_overrides_runpath=yes
10823 dynamic_linker='Win32 link.exe'
10827 # Assume MSVC wrapper
10828 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10829 dynamic_linker='Win32 ld.exe'
10832 # FIXME: first we should search . and the directory the executable is in
10836 darwin* | rhapsody*)
10837 dynamic_linker="$host_os dyld"
10838 version_type=darwin
10841 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10842 soname_spec='${libname}${release}${major}$shared_ext'
10843 shlibpath_overrides_runpath=yes
10844 shlibpath_var=DYLD_LIBRARY_PATH
10845 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10847 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10848 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10852 version_type=linux # correct to gnu/linux during the next big refactor
10855 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10856 soname_spec='${libname}${release}${shared_ext}$major'
10857 shlibpath_var=LD_LIBRARY_PATH
10860 freebsd* | dragonfly*)
10861 # DragonFly does not have aout. When/if they implement a new
10862 # versioning mechanism, adjust this.
10863 if test -x /usr/bin/objformat; then
10864 objformat=`/usr/bin/objformat`
10867 freebsd[23].*) objformat=aout ;;
10868 *) objformat=elf ;;
10871 version_type=freebsd-$objformat
10872 case $version_type in
10874 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10879 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10883 shlibpath_var=LD_LIBRARY_PATH
10886 shlibpath_overrides_runpath=yes
10888 freebsd3.[01]* | freebsdelf3.[01]*)
10889 shlibpath_overrides_runpath=yes
10890 hardcode_into_libs=yes
10892 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10893 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10894 shlibpath_overrides_runpath=no
10895 hardcode_into_libs=yes
10897 *) # from 4.6 on, and DragonFly
10898 shlibpath_overrides_runpath=yes
10899 hardcode_into_libs=yes
10905 version_type=linux # correct to gnu/linux during the next big refactor
10908 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10909 soname_spec='${libname}${release}${shared_ext}$major'
10910 shlibpath_var=LD_LIBRARY_PATH
10911 shlibpath_overrides_runpath=no
10912 hardcode_into_libs=yes
10916 version_type=linux # correct to gnu/linux during the next big refactor
10919 dynamic_linker="$host_os runtime_loader"
10920 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10921 soname_spec='${libname}${release}${shared_ext}$major'
10922 shlibpath_var=LIBRARY_PATH
10923 shlibpath_overrides_runpath=yes
10924 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10925 hardcode_into_libs=yes
10928 hpux9* | hpux10* | hpux11*)
10929 # Give a soname corresponding to the major version so that dld.sl refuses to
10930 # link against other versions.
10937 hardcode_into_libs=yes
10938 dynamic_linker="$host_os dld.so"
10939 shlibpath_var=LD_LIBRARY_PATH
10940 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10941 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10942 soname_spec='${libname}${release}${shared_ext}$major'
10943 if test "X$HPUX_IA64_MODE" = X32; then
10944 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10946 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10948 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10952 hardcode_into_libs=yes
10953 dynamic_linker="$host_os dld.sl"
10954 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10955 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10956 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10957 soname_spec='${libname}${release}${shared_ext}$major'
10958 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10959 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10963 dynamic_linker="$host_os dld.sl"
10964 shlibpath_var=SHLIB_PATH
10965 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10966 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10967 soname_spec='${libname}${release}${shared_ext}$major'
10970 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10971 postinstall_cmds='chmod 555 $lib'
10972 # or fails outright, so override atomically:
10973 install_override_mode=555
10977 version_type=linux # correct to gnu/linux during the next big refactor
10980 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10981 soname_spec='${libname}${release}${shared_ext}$major'
10982 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10983 shlibpath_var=LD_LIBRARY_PATH
10984 shlibpath_overrides_runpath=no
10985 hardcode_into_libs=yes
10988 irix5* | irix6* | nonstopux*)
10990 nonstopux*) version_type=nonstopux ;;
10992 if test "$lt_cv_prog_gnu_ld" = yes; then
10993 version_type=linux # correct to gnu/linux during the next big refactor
11000 soname_spec='${libname}${release}${shared_ext}$major'
11001 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11003 irix5* | nonstopux*)
11004 libsuff= shlibsuff=
11007 case $LD in # libtool.m4 will add one of these switches to LD
11008 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11009 libsuff= shlibsuff= libmagic=32-bit;;
11010 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11011 libsuff=32 shlibsuff=N32 libmagic=N32;;
11012 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11013 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11014 *) libsuff= shlibsuff= libmagic=never-match;;
11018 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11019 shlibpath_overrides_runpath=no
11020 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11021 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11022 hardcode_into_libs=yes
11025 # No shared lib support for Linux oldld, aout, or coff.
11026 linux*oldld* | linux*aout* | linux*coff*)
11030 # This must be glibc/ELF.
11031 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11032 version_type=linux # correct to gnu/linux during the next big refactor
11035 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11036 soname_spec='${libname}${release}${shared_ext}$major'
11037 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11038 shlibpath_var=LD_LIBRARY_PATH
11039 shlibpath_overrides_runpath=no
11041 # Some binutils ld are patched to set DT_RUNPATH
11042 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11043 $as_echo_n "(cached) " >&6
11045 lt_cv_shlibpath_overrides_runpath=no
11046 save_LDFLAGS=$LDFLAGS
11047 save_libdir=$libdir
11048 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11049 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11051 /* end confdefs.h. */
11061 if ac_fn_c_try_link "$LINENO"; then :
11062 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11063 lt_cv_shlibpath_overrides_runpath=yes
11066 rm -f core conftest.err conftest.$ac_objext \
11067 conftest$ac_exeext conftest.$ac_ext
11068 LDFLAGS=$save_LDFLAGS
11069 libdir=$save_libdir
11073 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11075 # This implies no fast_install, which is unacceptable.
11076 # Some rework will be needed to allow for fast_install
11077 # before this can be enabled.
11078 hardcode_into_libs=yes
11080 # Append ld.so.conf contents to the search path
11081 if test -f /etc/ld.so.conf; then
11082 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' ' '`
11083 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11086 # We used to test for /lib/ld.so.1 and disable shared libraries on
11087 # powerpc, because MkLinux only supported shared libraries with the
11088 # GNU dynamic linker. Since this was broken with cross compilers,
11089 # most powerpc-linux boxes support dynamic linking these days and
11090 # people can always --disable-shared, the test was removed, and we
11091 # assume the GNU/Linux dynamic linker is in use.
11092 dynamic_linker='GNU/Linux ld.so'
11099 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11100 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11101 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11102 dynamic_linker='NetBSD (a.out) ld.so'
11104 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11105 soname_spec='${libname}${release}${shared_ext}$major'
11106 dynamic_linker='NetBSD ld.elf_so'
11108 shlibpath_var=LD_LIBRARY_PATH
11109 shlibpath_overrides_runpath=yes
11110 hardcode_into_libs=yes
11114 version_type=linux # correct to gnu/linux during the next big refactor
11115 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11116 shlibpath_var=LD_LIBRARY_PATH
11117 shlibpath_overrides_runpath=yes
11124 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11125 soname_spec='${libname}${release}${shared_ext}$major'
11126 shlibpath_var=LD_LIBRARY_PATH
11127 shlibpath_overrides_runpath=no
11128 hardcode_into_libs=yes
11129 dynamic_linker='ldqnx.so'
11134 sys_lib_dlsearch_path_spec="/usr/lib"
11136 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11138 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11139 *) need_version=no ;;
11141 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11142 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11143 shlibpath_var=LD_LIBRARY_PATH
11144 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11146 openbsd2.[89] | openbsd2.[89].*)
11147 shlibpath_overrides_runpath=no
11150 shlibpath_overrides_runpath=yes
11154 shlibpath_overrides_runpath=yes
11159 libname_spec='$name'
11162 library_names_spec='$libname${shared_ext} $libname.a'
11163 dynamic_linker='OS/2 ld.exe'
11164 shlibpath_var=LIBPATH
11167 osf3* | osf4* | osf5*)
11171 soname_spec='${libname}${release}${shared_ext}$major'
11172 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11173 shlibpath_var=LD_LIBRARY_PATH
11174 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11175 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11183 version_type=linux # correct to gnu/linux during the next big refactor
11186 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11187 soname_spec='${libname}${release}${shared_ext}$major'
11188 shlibpath_var=LD_LIBRARY_PATH
11189 shlibpath_overrides_runpath=yes
11190 hardcode_into_libs=yes
11191 # ldd complains unless libraries are executable
11192 postinstall_cmds='chmod +x $lib'
11197 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11198 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11199 shlibpath_var=LD_LIBRARY_PATH
11200 shlibpath_overrides_runpath=yes
11201 if test "$with_gnu_ld" = yes; then
11208 version_type=linux # correct to gnu/linux during the next big refactor
11209 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11210 soname_spec='${libname}${release}${shared_ext}$major'
11211 shlibpath_var=LD_LIBRARY_PATH
11212 case $host_vendor in
11214 shlibpath_overrides_runpath=no
11216 runpath_var=LD_RUN_PATH
11224 shlibpath_overrides_runpath=no
11225 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11231 if test -d /usr/nec ;then
11232 version_type=linux # correct to gnu/linux during the next big refactor
11233 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11234 soname_spec='$libname${shared_ext}.$major'
11235 shlibpath_var=LD_LIBRARY_PATH
11239 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11240 version_type=freebsd-elf
11243 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11244 soname_spec='${libname}${release}${shared_ext}$major'
11245 shlibpath_var=LD_LIBRARY_PATH
11246 shlibpath_overrides_runpath=yes
11247 hardcode_into_libs=yes
11248 if test "$with_gnu_ld" = yes; then
11249 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11251 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11254 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11258 sys_lib_dlsearch_path_spec='/usr/lib'
11262 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11263 version_type=linux # correct to gnu/linux during the next big refactor
11266 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11267 shlibpath_var=LD_LIBRARY_PATH
11268 shlibpath_overrides_runpath=no
11269 hardcode_into_libs=yes
11273 version_type=linux # correct to gnu/linux during the next big refactor
11274 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11275 soname_spec='${libname}${release}${shared_ext}$major'
11276 shlibpath_var=LD_LIBRARY_PATH
11283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11284 $as_echo "$dynamic_linker" >&6; }
11285 test "$dynamic_linker" = no && can_build_shared=no
11287 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11288 if test "$GCC" = yes; then
11289 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11292 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11293 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11295 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11296 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11391 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11393 if test -n "$hardcode_libdir_flag_spec" ||
11394 test -n "$runpath_var" ||
11395 test "X$hardcode_automatic" = "Xyes" ; then
11397 # We can hardcode non-existent directories.
11398 if test "$hardcode_direct" != no &&
11399 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11400 # have to relink, otherwise we might link with an installed library
11401 # when we should be linking with a yet-to-be-installed one
11402 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11403 test "$hardcode_minus_L" != no; then
11404 # Linking always hardcodes the temporary library directory.
11405 hardcode_action=relink
11407 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11408 hardcode_action=immediate
11411 # We cannot hardcode anything, or else we can only hardcode existing
11413 hardcode_action=unsupported
11415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11416 $as_echo "$hardcode_action" >&6; }
11418 if test "$hardcode_action" = relink ||
11419 test "$inherit_rpath" = yes; then
11420 # Fast installation is not supported
11421 enable_fast_install=no
11422 elif test "$shlibpath_overrides_runpath" = yes ||
11423 test "$enable_shared" = no; then
11424 # Fast installation is not necessary
11425 enable_fast_install=needless
11433 if test "x$enable_dlopen" != xyes; then
11434 enable_dlopen=unknown
11435 enable_dlopen_self=unknown
11436 enable_dlopen_self_static=unknown
11443 lt_cv_dlopen="load_add_on"
11445 lt_cv_dlopen_self=yes
11448 mingw* | pw32* | cegcc*)
11449 lt_cv_dlopen="LoadLibrary"
11454 lt_cv_dlopen="dlopen"
11459 # if libdl is installed we need to link against it
11460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11461 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11462 if ${ac_cv_lib_dl_dlopen+:} false; then :
11463 $as_echo_n "(cached) " >&6
11465 ac_check_lib_save_LIBS=$LIBS
11467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11468 /* end confdefs.h. */
11470 /* Override any GCC internal prototype to avoid an error.
11471 Use char because int might match the return type of a GCC
11472 builtin and then its argument prototype would still apply. */
11485 if ac_fn_c_try_link "$LINENO"; then :
11486 ac_cv_lib_dl_dlopen=yes
11488 ac_cv_lib_dl_dlopen=no
11490 rm -f core conftest.err conftest.$ac_objext \
11491 conftest$ac_exeext conftest.$ac_ext
11492 LIBS=$ac_check_lib_save_LIBS
11494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11495 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11496 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11497 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11500 lt_cv_dlopen="dyld"
11502 lt_cv_dlopen_self=yes
11509 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11510 if test "x$ac_cv_func_shl_load" = xyes; then :
11511 lt_cv_dlopen="shl_load"
11513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11514 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11515 if ${ac_cv_lib_dld_shl_load+:} false; then :
11516 $as_echo_n "(cached) " >&6
11518 ac_check_lib_save_LIBS=$LIBS
11520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11521 /* end confdefs.h. */
11523 /* Override any GCC internal prototype to avoid an error.
11524 Use char because int might match the return type of a GCC
11525 builtin and then its argument prototype would still apply. */
11533 return shl_load ();
11538 if ac_fn_c_try_link "$LINENO"; then :
11539 ac_cv_lib_dld_shl_load=yes
11541 ac_cv_lib_dld_shl_load=no
11543 rm -f core conftest.err conftest.$ac_objext \
11544 conftest$ac_exeext conftest.$ac_ext
11545 LIBS=$ac_check_lib_save_LIBS
11547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11548 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11549 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11550 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11552 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11553 if test "x$ac_cv_func_dlopen" = xyes; then :
11554 lt_cv_dlopen="dlopen"
11556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11557 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11558 if ${ac_cv_lib_dl_dlopen+:} false; then :
11559 $as_echo_n "(cached) " >&6
11561 ac_check_lib_save_LIBS=$LIBS
11563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11564 /* end confdefs.h. */
11566 /* Override any GCC internal prototype to avoid an error.
11567 Use char because int might match the return type of a GCC
11568 builtin and then its argument prototype would still apply. */
11581 if ac_fn_c_try_link "$LINENO"; then :
11582 ac_cv_lib_dl_dlopen=yes
11584 ac_cv_lib_dl_dlopen=no
11586 rm -f core conftest.err conftest.$ac_objext \
11587 conftest$ac_exeext conftest.$ac_ext
11588 LIBS=$ac_check_lib_save_LIBS
11590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11591 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11592 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11593 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11596 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11597 if ${ac_cv_lib_svld_dlopen+:} false; then :
11598 $as_echo_n "(cached) " >&6
11600 ac_check_lib_save_LIBS=$LIBS
11601 LIBS="-lsvld $LIBS"
11602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11603 /* end confdefs.h. */
11605 /* Override any GCC internal prototype to avoid an error.
11606 Use char because int might match the return type of a GCC
11607 builtin and then its argument prototype would still apply. */
11620 if ac_fn_c_try_link "$LINENO"; then :
11621 ac_cv_lib_svld_dlopen=yes
11623 ac_cv_lib_svld_dlopen=no
11625 rm -f core conftest.err conftest.$ac_objext \
11626 conftest$ac_exeext conftest.$ac_ext
11627 LIBS=$ac_check_lib_save_LIBS
11629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11630 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11631 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11632 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11635 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11636 if ${ac_cv_lib_dld_dld_link+:} false; then :
11637 $as_echo_n "(cached) " >&6
11639 ac_check_lib_save_LIBS=$LIBS
11641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11642 /* end confdefs.h. */
11644 /* Override any GCC internal prototype to avoid an error.
11645 Use char because int might match the return type of a GCC
11646 builtin and then its argument prototype would still apply. */
11654 return dld_link ();
11659 if ac_fn_c_try_link "$LINENO"; then :
11660 ac_cv_lib_dld_dld_link=yes
11662 ac_cv_lib_dld_dld_link=no
11664 rm -f core conftest.err conftest.$ac_objext \
11665 conftest$ac_exeext conftest.$ac_ext
11666 LIBS=$ac_check_lib_save_LIBS
11668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11669 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11670 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11671 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11692 if test "x$lt_cv_dlopen" != xno; then
11698 case $lt_cv_dlopen in
11700 save_CPPFLAGS="$CPPFLAGS"
11701 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11703 save_LDFLAGS="$LDFLAGS"
11704 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11707 LIBS="$lt_cv_dlopen_libs $LIBS"
11709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11710 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11711 if ${lt_cv_dlopen_self+:} false; then :
11712 $as_echo_n "(cached) " >&6
11714 if test "$cross_compiling" = yes; then :
11715 lt_cv_dlopen_self=cross
11717 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11718 lt_status=$lt_dlunknown
11719 cat > conftest.$ac_ext <<_LT_EOF
11720 #line $LINENO "configure"
11721 #include "confdefs.h"
11730 # define LT_DLGLOBAL RTLD_GLOBAL
11733 # define LT_DLGLOBAL DL_GLOBAL
11735 # define LT_DLGLOBAL 0
11739 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11740 find out it does not work in some platform. */
11741 #ifndef LT_DLLAZY_OR_NOW
11743 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11746 # define LT_DLLAZY_OR_NOW DL_LAZY
11749 # define LT_DLLAZY_OR_NOW RTLD_NOW
11752 # define LT_DLLAZY_OR_NOW DL_NOW
11754 # define LT_DLLAZY_OR_NOW 0
11761 /* When -fvisbility=hidden is used, assume the code has been annotated
11762 correspondingly for the symbols needed. */
11763 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11764 int fnord () __attribute__((visibility("default")));
11767 int fnord () { return 42; }
11770 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11771 int status = $lt_dlunknown;
11775 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11778 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11779 else puts (dlerror ());
11781 /* dlclose (self); */
11789 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11790 (eval $ac_link) 2>&5
11792 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11793 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11794 (./conftest; exit; ) >&5 2>/dev/null
11796 case x$lt_status in
11797 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11798 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11799 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11802 # compilation failed
11803 lt_cv_dlopen_self=no
11810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11811 $as_echo "$lt_cv_dlopen_self" >&6; }
11813 if test "x$lt_cv_dlopen_self" = xyes; then
11814 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11816 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11817 if ${lt_cv_dlopen_self_static+:} false; then :
11818 $as_echo_n "(cached) " >&6
11820 if test "$cross_compiling" = yes; then :
11821 lt_cv_dlopen_self_static=cross
11823 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11824 lt_status=$lt_dlunknown
11825 cat > conftest.$ac_ext <<_LT_EOF
11826 #line $LINENO "configure"
11827 #include "confdefs.h"
11836 # define LT_DLGLOBAL RTLD_GLOBAL
11839 # define LT_DLGLOBAL DL_GLOBAL
11841 # define LT_DLGLOBAL 0
11845 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11846 find out it does not work in some platform. */
11847 #ifndef LT_DLLAZY_OR_NOW
11849 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11852 # define LT_DLLAZY_OR_NOW DL_LAZY
11855 # define LT_DLLAZY_OR_NOW RTLD_NOW
11858 # define LT_DLLAZY_OR_NOW DL_NOW
11860 # define LT_DLLAZY_OR_NOW 0
11867 /* When -fvisbility=hidden is used, assume the code has been annotated
11868 correspondingly for the symbols needed. */
11869 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11870 int fnord () __attribute__((visibility("default")));
11873 int fnord () { return 42; }
11876 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11877 int status = $lt_dlunknown;
11881 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11884 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11885 else puts (dlerror ());
11887 /* dlclose (self); */
11895 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11896 (eval $ac_link) 2>&5
11898 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11899 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11900 (./conftest; exit; ) >&5 2>/dev/null
11902 case x$lt_status in
11903 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11904 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11905 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11908 # compilation failed
11909 lt_cv_dlopen_self_static=no
11916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11917 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11920 CPPFLAGS="$save_CPPFLAGS"
11921 LDFLAGS="$save_LDFLAGS"
11926 case $lt_cv_dlopen_self in
11927 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11928 *) enable_dlopen_self=unknown ;;
11931 case $lt_cv_dlopen_self_static in
11932 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11933 *) enable_dlopen_self_static=unknown ;;
11955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11956 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11957 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11958 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11959 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11961 $as_echo "yes" >&6; }
11963 # FIXME - insert some real tests, host_os isn't really good enough
11966 if test -n "$STRIP" ; then
11967 striplib="$STRIP -x"
11968 old_striplib="$STRIP -S"
11969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11970 $as_echo "yes" >&6; }
11972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11973 $as_echo "no" >&6; }
11977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11978 $as_echo "no" >&6; }
11994 # Report which library types will actually be built
11995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11996 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11998 $as_echo "$can_build_shared" >&6; }
12000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12001 $as_echo_n "checking whether to build shared libraries... " >&6; }
12002 test "$can_build_shared" = "no" && enable_shared=no
12004 # On AIX, shared libraries and static libraries use the same namespace, and
12005 # are all built from PIC.
12008 test "$enable_shared" = yes && enable_static=no
12009 if test -n "$RANLIB"; then
12010 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12011 postinstall_cmds='$RANLIB $lib'
12016 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12017 test "$enable_shared" = yes && enable_static=no
12021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12022 $as_echo "$enable_shared" >&6; }
12024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12025 $as_echo_n "checking whether to build static libraries... " >&6; }
12026 # Make sure either enable_shared or enable_static is yes.
12027 test "$enable_shared" = yes || enable_static=yes
12028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12029 $as_echo "$enable_static" >&6; }
12036 ac_cpp='$CXXCPP $CPPFLAGS'
12037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12043 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12044 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12045 (test "X$CXX" != "Xg++"))) ; then
12047 ac_cpp='$CXXCPP $CPPFLAGS'
12048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12052 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12053 if test -z "$CXXCPP"; then
12054 if ${ac_cv_prog_CXXCPP+:} false; then :
12055 $as_echo_n "(cached) " >&6
12057 # Double quotes because CXXCPP needs to be expanded
12058 for CXXCPP in "$CXX -E" "/lib/cpp"
12060 ac_preproc_ok=false
12061 for ac_cxx_preproc_warn_flag in '' yes
12063 # Use a header file that comes with gcc, so configuring glibc
12064 # with a fresh cross-compiler works.
12065 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12066 # <limits.h> exists even on freestanding compilers.
12067 # On the NeXT, cc -E runs the code through the compiler's parser,
12068 # not just through cpp. "Syntax error" is here to catch this case.
12069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12070 /* end confdefs.h. */
12072 # include <limits.h>
12074 # include <assert.h>
12078 if ac_fn_cxx_try_cpp "$LINENO"; then :
12081 # Broken: fails on valid input.
12084 rm -f conftest.err conftest.i conftest.$ac_ext
12086 # OK, works on sane cases. Now check whether nonexistent headers
12087 # can be detected and how.
12088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12089 /* end confdefs.h. */
12090 #include <ac_nonexistent.h>
12092 if ac_fn_cxx_try_cpp "$LINENO"; then :
12093 # Broken: success on invalid input.
12096 # Passes both tests.
12100 rm -f conftest.err conftest.i conftest.$ac_ext
12103 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12104 rm -f conftest.i conftest.err conftest.$ac_ext
12105 if $ac_preproc_ok; then :
12110 ac_cv_prog_CXXCPP=$CXXCPP
12113 CXXCPP=$ac_cv_prog_CXXCPP
12115 ac_cv_prog_CXXCPP=$CXXCPP
12117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12118 $as_echo "$CXXCPP" >&6; }
12119 ac_preproc_ok=false
12120 for ac_cxx_preproc_warn_flag in '' yes
12122 # Use a header file that comes with gcc, so configuring glibc
12123 # with a fresh cross-compiler works.
12124 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12125 # <limits.h> exists even on freestanding compilers.
12126 # On the NeXT, cc -E runs the code through the compiler's parser,
12127 # not just through cpp. "Syntax error" is here to catch this case.
12128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12129 /* end confdefs.h. */
12131 # include <limits.h>
12133 # include <assert.h>
12137 if ac_fn_cxx_try_cpp "$LINENO"; then :
12140 # Broken: fails on valid input.
12143 rm -f conftest.err conftest.i conftest.$ac_ext
12145 # OK, works on sane cases. Now check whether nonexistent headers
12146 # can be detected and how.
12147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12148 /* end confdefs.h. */
12149 #include <ac_nonexistent.h>
12151 if ac_fn_cxx_try_cpp "$LINENO"; then :
12152 # Broken: success on invalid input.
12155 # Passes both tests.
12159 rm -f conftest.err conftest.i conftest.$ac_ext
12162 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12163 rm -f conftest.i conftest.err conftest.$ac_ext
12164 if $ac_preproc_ok; then :
12167 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12168 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12169 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12170 See \`config.log' for more details" "$LINENO" 5; }
12174 ac_cpp='$CXXCPP $CPPFLAGS'
12175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12180 _lt_caught_CXX_error=yes
12184 ac_cpp='$CXXCPP $CPPFLAGS'
12185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12189 archive_cmds_need_lc_CXX=no
12190 allow_undefined_flag_CXX=
12191 always_export_symbols_CXX=no
12192 archive_expsym_cmds_CXX=
12193 compiler_needs_object_CXX=no
12194 export_dynamic_flag_spec_CXX=
12195 hardcode_direct_CXX=no
12196 hardcode_direct_absolute_CXX=no
12197 hardcode_libdir_flag_spec_CXX=
12198 hardcode_libdir_separator_CXX=
12199 hardcode_minus_L_CXX=no
12200 hardcode_shlibpath_var_CXX=unsupported
12201 hardcode_automatic_CXX=no
12202 inherit_rpath_CXX=no
12204 module_expsym_cmds_CXX=
12205 link_all_deplibs_CXX=unknown
12206 old_archive_cmds_CXX=$old_archive_cmds
12207 reload_flag_CXX=$reload_flag
12208 reload_cmds_CXX=$reload_cmds
12209 no_undefined_flag_CXX=
12210 whole_archive_flag_spec_CXX=
12211 enable_shared_with_static_runtimes_CXX=no
12213 # Source file extension for C++ test sources.
12216 # Object file extension for compiled C++ test sources.
12220 # No sense in running all these tests if we already determined that
12221 # the CXX compiler isn't working. Some variables (like enable_shared)
12222 # are currently assumed to apply to all compilers on this platform,
12223 # and will be corrupted by setting them based on a non-working compiler.
12224 if test "$_lt_caught_CXX_error" != yes; then
12225 # Code to be used in simple compile tests
12226 lt_simple_compile_test_code="int some_variable = 0;"
12228 # Code to be used in simple link tests
12229 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12231 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12238 # If no C compiler was specified, use CC.
12241 # If no C compiler flags were specified, use CFLAGS.
12242 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12244 # Allow CC to be a program name with arguments.
12248 # save warnings/boilerplate of simple test code
12249 ac_outfile=conftest.$ac_objext
12250 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12251 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12252 _lt_compiler_boilerplate=`cat conftest.err`
12255 ac_outfile=conftest.$ac_objext
12256 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12257 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12258 _lt_linker_boilerplate=`cat conftest.err`
12262 # Allow CC to be a program name with arguments.
12264 lt_save_CFLAGS=$CFLAGS
12268 lt_save_with_gnu_ld=$with_gnu_ld
12269 lt_save_path_LD=$lt_cv_path_LD
12270 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12271 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12273 $as_unset lt_cv_prog_gnu_ld
12275 if test -n "${lt_cv_path_LDCXX+set}"; then
12276 lt_cv_path_LD=$lt_cv_path_LDCXX
12278 $as_unset lt_cv_path_LD
12280 test -z "${LDCXX+set}" || LD=$LDCXX
12285 for cc_temp in $compiler""; do
12287 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12288 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12293 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12296 if test -n "$compiler"; then
12297 # We don't want -fno-exception when compiling C++ code, so set the
12298 # no_builtin_flag separately
12299 if test "$GXX" = yes; then
12300 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12302 lt_prog_compiler_no_builtin_flag_CXX=
12305 if test "$GXX" = yes; then
12306 # Set up default GNU C++ configuration
12310 # Check whether --with-gnu-ld was given.
12311 if test "${with_gnu_ld+set}" = set; then :
12312 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12318 if test "$GCC" = yes; then
12319 # Check if gcc -print-prog-name=ld gives a path.
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12321 $as_echo_n "checking for ld used by $CC... " >&6; }
12324 # gcc leaves a trailing carriage return which upsets mingw
12325 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12327 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12330 # Accept absolute paths.
12332 re_direlt='/[^/][^/]*/\.\./'
12333 # Canonicalize the pathname of ld
12334 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12335 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12336 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12338 test -z "$LD" && LD="$ac_prog"
12341 # If it fails, then pretend we aren't using GCC.
12345 # If it is relative, then search for the first ld in PATH.
12346 with_gnu_ld=unknown
12349 elif test "$with_gnu_ld" = yes; then
12350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12351 $as_echo_n "checking for GNU ld... " >&6; }
12353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12354 $as_echo_n "checking for non-GNU ld... " >&6; }
12356 if ${lt_cv_path_LD+:} false; then :
12357 $as_echo_n "(cached) " >&6
12359 if test -z "$LD"; then
12360 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12361 for ac_dir in $PATH; do
12363 test -z "$ac_dir" && ac_dir=.
12364 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12365 lt_cv_path_LD="$ac_dir/$ac_prog"
12366 # Check to see if the program is GNU ld. I'd rather use --version,
12367 # but apparently some variants of GNU ld only accept -v.
12368 # Break only if it was the GNU/non-GNU ld that we prefer.
12369 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12370 *GNU* | *'with BFD'*)
12371 test "$with_gnu_ld" != no && break
12374 test "$with_gnu_ld" != yes && break
12381 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12385 LD="$lt_cv_path_LD"
12386 if test -n "$LD"; then
12387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12388 $as_echo "$LD" >&6; }
12390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12391 $as_echo "no" >&6; }
12393 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12395 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12396 if ${lt_cv_prog_gnu_ld+:} false; then :
12397 $as_echo_n "(cached) " >&6
12399 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12400 case `$LD -v 2>&1 </dev/null` in
12401 *GNU* | *'with BFD'*)
12402 lt_cv_prog_gnu_ld=yes
12405 lt_cv_prog_gnu_ld=no
12409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12410 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12411 with_gnu_ld=$lt_cv_prog_gnu_ld
12419 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12420 # archiving commands below assume that GNU ld is being used.
12421 if test "$with_gnu_ld" = yes; then
12422 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12423 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'
12425 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12426 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12428 # If archive_cmds runs LD, not CC, wlarc should be empty
12429 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12430 # investigate it a little bit more. (MM)
12433 # ancient GNU ld didn't support --whole-archive et. al.
12434 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12435 $GREP 'no-whole-archive' > /dev/null; then
12436 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12438 whole_archive_flag_spec_CXX=
12444 # A generic and very simple default shared library creation
12445 # command for GNU C++ for the case where it uses the native
12446 # linker, instead of GNU ld. If possible, this setting should
12447 # overridden to take advantage of the native linker features on
12448 # the platform it is being used on.
12449 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12452 # Commands to make compiler produce verbose output that lists
12453 # what "hidden" libraries, object files and flags are used when
12454 # linking a shared library.
12455 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12463 # PORTME: fill in a description of your system's C++ link characteristics
12464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12465 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12469 # FIXME: insert proper C++ library support
12473 if test "$host_cpu" = ia64; then
12474 # On IA64, the linker does run time linking by default, so we don't
12475 # have to do anything special.
12476 aix_use_runtimelinking=no
12477 exp_sym_flag='-Bexport'
12480 aix_use_runtimelinking=no
12482 # Test if we are trying to use run time linking or normal
12483 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12484 # need to do runtime linking.
12485 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12486 for ld_flag in $LDFLAGS; do
12489 aix_use_runtimelinking=yes
12497 exp_sym_flag='-bexport'
12498 no_entry_flag='-bnoentry'
12501 # When large executables or shared objects are built, AIX ld can
12502 # have problems creating the table of contents. If linking a library
12503 # or program results in "error TOC overflow" add -mminimal-toc to
12504 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12505 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12507 archive_cmds_CXX=''
12508 hardcode_direct_CXX=yes
12509 hardcode_direct_absolute_CXX=yes
12510 hardcode_libdir_separator_CXX=':'
12511 link_all_deplibs_CXX=yes
12512 file_list_spec_CXX='${wl}-f,'
12514 if test "$GXX" = yes; then
12515 case $host_os in aix4.[012]|aix4.[012].*)
12516 # We only want to do this on AIX 4.2 and lower, the check
12517 # below for broken collect2 doesn't work under 4.3+
12518 collect2name=`${CC} -print-prog-name=collect2`
12519 if test -f "$collect2name" &&
12520 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12522 # We have reworked collect2
12525 # We have old collect2
12526 hardcode_direct_CXX=unsupported
12527 # It fails to find uninstalled libraries when the uninstalled
12528 # path is not listed in the libpath. Setting hardcode_minus_L
12529 # to unsupported forces relinking
12530 hardcode_minus_L_CXX=yes
12531 hardcode_libdir_flag_spec_CXX='-L$libdir'
12532 hardcode_libdir_separator_CXX=
12535 shared_flag='-shared'
12536 if test "$aix_use_runtimelinking" = yes; then
12537 shared_flag="$shared_flag "'${wl}-G'
12541 if test "$host_cpu" = ia64; then
12542 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12543 # chokes on -Wl,-G. The following line is correct:
12546 if test "$aix_use_runtimelinking" = yes; then
12547 shared_flag='${wl}-G'
12549 shared_flag='${wl}-bM:SRE'
12554 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12555 # It seems that -bexpall does not export symbols beginning with
12556 # underscore (_), so it is better to generate a list of symbols to
12558 always_export_symbols_CXX=yes
12559 if test "$aix_use_runtimelinking" = yes; then
12560 # Warning - without using the other runtime loading flags (-brtl),
12561 # -berok will link without error, but may produce a broken library.
12562 allow_undefined_flag_CXX='-berok'
12563 # Determine the default libpath from the value encoded in an empty
12565 if test "${lt_cv_aix_libpath+set}" = set; then
12566 aix_libpath=$lt_cv_aix_libpath
12568 if ${lt_cv_aix_libpath__CXX+:} false; then :
12569 $as_echo_n "(cached) " >&6
12571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12572 /* end confdefs.h. */
12582 if ac_fn_cxx_try_link "$LINENO"; then :
12584 lt_aix_libpath_sed='
12585 /Import File Strings/,/^$/ {
12587 s/^0 *\([^ ]*\) *$/\1/
12591 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12592 # Check for a 64-bit object if we didn't find anything.
12593 if test -z "$lt_cv_aix_libpath__CXX"; then
12594 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12597 rm -f core conftest.err conftest.$ac_objext \
12598 conftest$ac_exeext conftest.$ac_ext
12599 if test -z "$lt_cv_aix_libpath__CXX"; then
12600 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
12605 aix_libpath=$lt_cv_aix_libpath__CXX
12608 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12610 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"
12612 if test "$host_cpu" = ia64; then
12613 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12614 allow_undefined_flag_CXX="-z nodefs"
12615 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"
12617 # Determine the default libpath from the value encoded in an
12618 # empty executable.
12619 if test "${lt_cv_aix_libpath+set}" = set; then
12620 aix_libpath=$lt_cv_aix_libpath
12622 if ${lt_cv_aix_libpath__CXX+:} false; then :
12623 $as_echo_n "(cached) " >&6
12625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12626 /* end confdefs.h. */
12636 if ac_fn_cxx_try_link "$LINENO"; then :
12638 lt_aix_libpath_sed='
12639 /Import File Strings/,/^$/ {
12641 s/^0 *\([^ ]*\) *$/\1/
12645 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12646 # Check for a 64-bit object if we didn't find anything.
12647 if test -z "$lt_cv_aix_libpath__CXX"; then
12648 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12651 rm -f core conftest.err conftest.$ac_objext \
12652 conftest$ac_exeext conftest.$ac_ext
12653 if test -z "$lt_cv_aix_libpath__CXX"; then
12654 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
12659 aix_libpath=$lt_cv_aix_libpath__CXX
12662 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12663 # Warning - without using the other run time loading flags,
12664 # -berok will link without error, but may produce a broken library.
12665 no_undefined_flag_CXX=' ${wl}-bernotok'
12666 allow_undefined_flag_CXX=' ${wl}-berok'
12667 if test "$with_gnu_ld" = yes; then
12668 # We only use this code for GNU lds that support --whole-archive.
12669 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12671 # Exported symbols can be pulled into shared objects from archives
12672 whole_archive_flag_spec_CXX='$convenience'
12674 archive_cmds_need_lc_CXX=yes
12675 # This is similar to how AIX traditionally builds its shared
12677 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'
12683 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12684 allow_undefined_flag_CXX=unsupported
12685 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12686 # support --undefined. This deserves some investigation. FIXME
12687 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12694 case $cc_basename in
12696 # FIXME: insert proper C++ library support
12702 cygwin* | mingw* | pw32* | cegcc*)
12703 case $GXX,$cc_basename in
12706 # hardcode_libdir_flag_spec is actually meaningless, as there is
12707 # no search path for DLLs.
12708 hardcode_libdir_flag_spec_CXX=' '
12709 allow_undefined_flag_CXX=unsupported
12710 always_export_symbols_CXX=yes
12711 file_list_spec_CXX='@'
12712 # Tell ltmain to make .lib files, not .a files.
12714 # Tell ltmain to make .dll files, not .so files.
12716 # FIXME: Setting linknames here is a bad hack.
12717 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
12718 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12719 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
12721 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
12723 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12725 # The linker will not automatically build a static lib if we build a DLL.
12726 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
12727 enable_shared_with_static_runtimes_CXX=yes
12729 old_postinstall_cmds_CXX='chmod 644 $oldlib'
12730 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
12731 lt_tool_outputfile="@TOOL_OUTPUT@"~
12732 case $lt_outputfile in
12735 lt_outputfile="$lt_outputfile.exe"
12736 lt_tool_outputfile="$lt_tool_outputfile.exe"
12739 func_to_tool_file "$lt_outputfile"~
12740 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
12741 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12742 $RM "$lt_outputfile.manifest";
12747 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12748 # as there is no search path for DLLs.
12749 hardcode_libdir_flag_spec_CXX='-L$libdir'
12750 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12751 allow_undefined_flag_CXX=unsupported
12752 always_export_symbols_CXX=no
12753 enable_shared_with_static_runtimes_CXX=yes
12755 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12756 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'
12757 # If the export-symbols file already is a .def file (1st line
12758 # is EXPORTS), use it as is; otherwise, prepend...
12759 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12760 cp $export_symbols $output_objdir/$soname.def;
12762 echo EXPORTS > $output_objdir/$soname.def;
12763 cat $export_symbols >> $output_objdir/$soname.def;
12765 $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'
12772 darwin* | rhapsody*)
12775 archive_cmds_need_lc_CXX=no
12776 hardcode_direct_CXX=no
12777 hardcode_automatic_CXX=yes
12778 hardcode_shlibpath_var_CXX=unsupported
12779 if test "$lt_cv_ld_force_load" = "yes"; then
12780 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\"`'
12783 whole_archive_flag_spec_CXX=''
12785 link_all_deplibs_CXX=yes
12786 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12787 case $cc_basename in
12788 ifort*) _lt_dar_can_shared=yes ;;
12789 *) _lt_dar_can_shared=$GCC ;;
12791 if test "$_lt_dar_can_shared" = "yes"; then
12792 output_verbose_link_cmd=func_echo_all
12793 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}"
12794 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12795 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}"
12796 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}"
12797 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12798 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}"
12799 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}"
12809 case $cc_basename in
12811 # FIXME: insert proper C++ library support
12815 # Green Hills C++ Compiler
12816 # FIXME: insert proper C++ library support
12820 # FIXME: insert proper C++ library support
12827 # C++ shared libraries reported to be fairly broken before
12833 archive_cmds_need_lc_CXX=no
12836 freebsd* | dragonfly*)
12837 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12846 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12847 link_all_deplibs_CXX=yes
12851 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12852 hardcode_libdir_separator_CXX=:
12853 export_dynamic_flag_spec_CXX='${wl}-E'
12854 hardcode_direct_CXX=yes
12855 hardcode_minus_L_CXX=yes # Not in the search PATH,
12856 # but as the default
12857 # location of the library.
12859 case $cc_basename in
12861 # FIXME: insert proper C++ library support
12865 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'
12866 # Commands to make compiler produce verbose output that lists
12867 # what "hidden" libraries, object files and flags are used when
12868 # linking a shared library.
12870 # There doesn't appear to be a way to prevent this compiler from
12871 # explicitly linking system object files so we need to strip them
12872 # from the output so that they don't get included in the library
12874 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"'
12877 if test "$GXX" = yes; then
12878 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'
12880 # FIXME: insert proper C++ library support
12888 if test $with_gnu_ld = no; then
12889 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12890 hardcode_libdir_separator_CXX=:
12896 export_dynamic_flag_spec_CXX='${wl}-E'
12902 hardcode_direct_CXX=no
12903 hardcode_shlibpath_var_CXX=no
12906 hardcode_direct_CXX=yes
12907 hardcode_direct_absolute_CXX=yes
12908 hardcode_minus_L_CXX=yes # Not in the search PATH,
12909 # but as the default
12910 # location of the library.
12914 case $cc_basename in
12916 # FIXME: insert proper C++ library support
12922 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12925 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12928 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12931 # Commands to make compiler produce verbose output that lists
12932 # what "hidden" libraries, object files and flags are used when
12933 # linking a shared library.
12935 # There doesn't appear to be a way to prevent this compiler from
12936 # explicitly linking system object files so we need to strip them
12937 # from the output so that they don't get included in the library
12939 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"'
12942 if test "$GXX" = yes; then
12943 if test $with_gnu_ld = no; then
12946 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12949 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12952 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'
12957 # FIXME: insert proper C++ library support
12965 hardcode_direct_CXX=no
12966 hardcode_shlibpath_var_CXX=no
12967 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12968 export_dynamic_flag_spec_CXX='${wl}-E'
12969 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12970 # Instead, shared libraries are loaded at an image base (0x10000000 by
12971 # default) and relocated if they conflict, which is a slow very memory
12972 # consuming and fragmenting process. To avoid this, we pick a random,
12973 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12974 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12975 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'
12976 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'
12979 case $cc_basename in
12982 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'
12984 # Archives containing C++ object files must be created using
12985 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12986 # necessary to make sure instantiated templates are included
12988 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12991 if test "$GXX" = yes; then
12992 if test "$with_gnu_ld" = no; then
12993 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'
12995 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'
12998 link_all_deplibs_CXX=yes
13001 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13002 hardcode_libdir_separator_CXX=:
13003 inherit_rpath_CXX=yes
13006 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13007 case $cc_basename in
13009 # Kuck and Associates, Inc. (KAI) C++ Compiler
13011 # KCC will only create a shared library if the output file
13012 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13013 # to its proper name (with version) after linking.
13014 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'
13015 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'
13016 # Commands to make compiler produce verbose output that lists
13017 # what "hidden" libraries, object files and flags are used when
13018 # linking a shared library.
13020 # There doesn't appear to be a way to prevent this compiler from
13021 # explicitly linking system object files so we need to strip them
13022 # from the output so that they don't get included in the library
13024 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"'
13026 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13027 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13029 # Archives containing C++ object files must be created using
13030 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13031 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13036 # version 8.0 and above of icpc choke on multiply defined symbols
13037 # if we add $predep_objects and $postdep_objects, however 7.1 and
13038 # earlier do not add the objects themselves.
13039 case `$CC -V 2>&1` in
13041 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13042 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'
13044 *) # Version 8.0 or newer
13047 ia64*) tmp_idyn=' -i_dynamic';;
13049 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13050 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'
13053 archive_cmds_need_lc_CXX=no
13054 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13055 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13056 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13059 # Portland Group C++ compiler
13061 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13062 prelink_cmds_CXX='tpldir=Template.dir~
13064 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13065 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13066 old_archive_cmds_CXX='tpldir=Template.dir~
13068 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13069 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13071 archive_cmds_CXX='tpldir=Template.dir~
13073 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13074 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13075 archive_expsym_cmds_CXX='tpldir=Template.dir~
13077 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13078 $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'
13080 *) # Version 6 and above use weak symbols
13081 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13082 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'
13086 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13087 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13088 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'
13092 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13093 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'
13095 runpath_var=LD_RUN_PATH
13096 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13097 hardcode_libdir_separator_CXX=:
13099 # Commands to make compiler produce verbose output that lists
13100 # what "hidden" libraries, object files and flags are used when
13101 # linking a shared library.
13103 # There doesn't appear to be a way to prevent this compiler from
13104 # explicitly linking system object files so we need to strip them
13105 # from the output so that they don't get included in the library
13107 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'
13109 xl* | mpixl* | bgxl*)
13110 # IBM XL 8.0 on PPC, with GNU ld
13111 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13112 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13113 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13114 if test "x$supports_anon_versioning" = xyes; then
13115 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13116 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13117 echo "local: *; };" >> $output_objdir/$libname.ver~
13118 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13122 case `$CC -V 2>&1 | sed 5q` in
13125 no_undefined_flag_CXX=' -zdefs'
13126 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13127 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'
13128 hardcode_libdir_flag_spec_CXX='-R$libdir'
13129 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'
13130 compiler_needs_object_CXX=yes
13132 # Not sure whether something based on
13133 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13135 output_verbose_link_cmd='func_echo_all'
13137 # Archives containing C++ object files must be created using
13138 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13139 # necessary to make sure instantiated templates are included
13141 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13149 # FIXME: insert proper C++ library support
13154 # FIXME: insert proper C++ library support
13159 case $cc_basename in
13161 # FIXME: insert proper C++ library support
13165 # FIXME: insert proper C++ library support
13172 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13173 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13175 hardcode_libdir_flag_spec_CXX='-R$libdir'
13176 hardcode_direct_CXX=yes
13177 hardcode_shlibpath_var_CXX=no
13179 # Workaround some broken pre-1.5 toolchains
13180 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13188 # C++ shared libraries are fairly broken
13193 if test -f /usr/libexec/ld.so; then
13194 hardcode_direct_CXX=yes
13195 hardcode_shlibpath_var_CXX=no
13196 hardcode_direct_absolute_CXX=yes
13197 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13198 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13199 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13200 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13201 export_dynamic_flag_spec_CXX='${wl}-E'
13202 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13204 output_verbose_link_cmd=func_echo_all
13210 osf3* | osf4* | osf5*)
13211 case $cc_basename in
13213 # Kuck and Associates, Inc. (KAI) C++ Compiler
13215 # KCC will only create a shared library if the output file
13216 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13217 # to its proper name (with version) after linking.
13218 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'
13220 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13221 hardcode_libdir_separator_CXX=:
13223 # Archives containing C++ object files must be created using
13224 # the KAI C++ compiler.
13226 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13227 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13231 # Rational C++ 2.4.1
13232 # FIXME: insert proper C++ library support
13238 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13239 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'
13240 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13243 allow_undefined_flag_CXX=' -expect_unresolved \*'
13244 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'
13245 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13246 echo "-hidden">> $lib.exp~
13247 $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~
13249 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13253 hardcode_libdir_separator_CXX=:
13255 # Commands to make compiler produce verbose output that lists
13256 # what "hidden" libraries, object files and flags are used when
13257 # linking a shared library.
13259 # There doesn't appear to be a way to prevent this compiler from
13260 # explicitly linking system object files so we need to strip them
13261 # from the output so that they don't get included in the library
13263 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"'
13266 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13267 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13270 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'
13273 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'
13277 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13278 hardcode_libdir_separator_CXX=:
13280 # Commands to make compiler produce verbose output that lists
13281 # what "hidden" libraries, object files and flags are used when
13282 # linking a shared library.
13283 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13286 # FIXME: insert proper C++ library support
13294 # FIXME: insert proper C++ library support
13299 case $cc_basename in
13302 # FIXME: insert proper C++ library support
13307 # FIXME: insert proper C++ library support
13311 # FIXME: insert proper C++ library support
13318 case $cc_basename in
13320 # Sun C++ 4.2, 5.x and Centerline C++
13321 archive_cmds_need_lc_CXX=yes
13322 no_undefined_flag_CXX=' -zdefs'
13323 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13324 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13325 $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'
13327 hardcode_libdir_flag_spec_CXX='-R$libdir'
13328 hardcode_shlibpath_var_CXX=no
13330 solaris2.[0-5] | solaris2.[0-5].*) ;;
13332 # The compiler driver will combine and reorder linker options,
13333 # but understands `-z linker_flag'.
13334 # Supported since Solaris 2.6 (maybe 2.5.1?)
13335 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13338 link_all_deplibs_CXX=yes
13340 output_verbose_link_cmd='func_echo_all'
13342 # Archives containing C++ object files must be created using
13343 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13344 # necessary to make sure instantiated templates are included
13346 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13349 # Green Hills C++ Compiler
13350 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13352 # The C++ compiler must be used to create the archive.
13353 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13356 # GNU C++ compiler with Solaris linker
13357 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13358 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13359 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13360 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13361 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13362 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13364 # Commands to make compiler produce verbose output that lists
13365 # what "hidden" libraries, object files and flags are used when
13366 # linking a shared library.
13367 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13369 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13371 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13372 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13373 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13375 # Commands to make compiler produce verbose output that lists
13376 # what "hidden" libraries, object files and flags are used when
13377 # linking a shared library.
13378 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13381 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13383 solaris2.[0-5] | solaris2.[0-5].*) ;;
13385 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13393 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13394 no_undefined_flag_CXX='${wl}-z,text'
13395 archive_cmds_need_lc_CXX=no
13396 hardcode_shlibpath_var_CXX=no
13397 runpath_var='LD_RUN_PATH'
13399 case $cc_basename in
13401 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13402 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13405 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13406 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13411 sysv5* | sco3.2v5* | sco5v6*)
13412 # Note: We can NOT use -z defs as we might desire, because we do not
13413 # link with -lc, and that would cause any symbols used from libc to
13414 # always be unresolved, which means just about no library would
13415 # ever link correctly. If we're not using GNU ld we use -z text
13416 # though, which does catch some bad symbols but isn't as heavy-handed
13418 no_undefined_flag_CXX='${wl}-z,text'
13419 allow_undefined_flag_CXX='${wl}-z,nodefs'
13420 archive_cmds_need_lc_CXX=no
13421 hardcode_shlibpath_var_CXX=no
13422 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13423 hardcode_libdir_separator_CXX=':'
13424 link_all_deplibs_CXX=yes
13425 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13426 runpath_var='LD_RUN_PATH'
13428 case $cc_basename in
13430 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13431 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13432 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13433 '"$old_archive_cmds_CXX"
13434 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13435 '"$reload_cmds_CXX"
13438 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13439 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13445 case $cc_basename in
13447 # NonStop-UX NCC 3.20
13448 # FIXME: insert proper C++ library support
13452 # FIXME: insert proper C++ library support
13459 # FIXME: insert proper C++ library support
13464 # FIXME: insert proper C++ library support
13469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13470 $as_echo "$ld_shlibs_CXX" >&6; }
13471 test "$ld_shlibs_CXX" = no && can_build_shared=no
13477 ## There is no encapsulation within the following macros, do not change
13478 ## the running order or otherwise move them around unless you know exactly
13479 ## what you are doing...
13480 # Dependencies to place before and after the object being linked:
13481 predep_objects_CXX=
13482 postdep_objects_CXX=
13485 compiler_lib_search_path_CXX=
13487 cat > conftest.$ac_ext <<_LT_EOF
13491 Foo (void) { a = 0; }
13498 _lt_libdeps_save_CFLAGS=$CFLAGS
13499 case "$CC $CFLAGS " in #(
13500 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
13501 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
13502 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
13505 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13506 (eval $ac_compile) 2>&5
13508 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13509 test $ac_status = 0; }; then
13510 # Parse the compiler output and extract the necessary
13511 # objects, libraries and library flags.
13513 # Sentinel used to keep track of whether or not we are before
13514 # the conftest object file.
13515 pre_test_object_deps_done=no
13517 for p in `eval "$output_verbose_link_cmd"`; do
13518 case ${prev}${p} in
13521 # Some compilers place space between "-{L,R}" and the path.
13522 # Remove the space.
13523 if test $p = "-L" ||
13524 test $p = "-R"; then
13529 # Expand the sysroot to ease extracting the directories later.
13530 if test -z "$prev"; then
13532 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
13533 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
13534 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
13538 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
13540 if test "$pre_test_object_deps_done" = no; then
13543 # Internal compiler library paths should come after those
13544 # provided the user. The postdeps already come after the
13545 # user supplied libs so there is no need to process them.
13546 if test -z "$compiler_lib_search_path_CXX"; then
13547 compiler_lib_search_path_CXX="${prev}${p}"
13549 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13552 # The "-l" case would never come before the object being
13553 # linked, so don't bother handling this case.
13556 if test -z "$postdeps_CXX"; then
13557 postdeps_CXX="${prev}${p}"
13559 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13565 *.lto.$objext) ;; # Ignore GCC LTO objects
13567 # This assumes that the test object file only shows up
13568 # once in the compiler output.
13569 if test "$p" = "conftest.$objext"; then
13570 pre_test_object_deps_done=yes
13574 if test "$pre_test_object_deps_done" = no; then
13575 if test -z "$predep_objects_CXX"; then
13576 predep_objects_CXX="$p"
13578 predep_objects_CXX="$predep_objects_CXX $p"
13581 if test -z "$postdep_objects_CXX"; then
13582 postdep_objects_CXX="$p"
13584 postdep_objects_CXX="$postdep_objects_CXX $p"
13589 *) ;; # Ignore the rest.
13597 echo "libtool.m4: error: problem compiling CXX test program"
13600 $RM -f confest.$objext
13601 CFLAGS=$_lt_libdeps_save_CFLAGS
13603 # PORTME: override above test on systems where it is broken
13606 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13607 # hack all around it, let's just trust "g++" to DTRT.
13608 predep_objects_CXX=
13609 postdep_objects_CXX=
13614 case `$CC -V 2>&1 | sed 5q` in
13618 # The more standards-conforming stlport4 library is
13619 # incompatible with the Cstd library. Avoid specifying
13620 # it if it's in CXXFLAGS. Ignore libCrun as
13621 # -library=stlport4 depends on it.
13622 case " $CXX $CXXFLAGS " in
13623 *" -library=stlport4 "*)
13624 solaris_use_stlport4=yes
13628 if test "$solaris_use_stlport4" != yes; then
13629 postdeps_CXX='-library=Cstd -library=Crun'
13636 case $cc_basename in
13638 # The more standards-conforming stlport4 library is
13639 # incompatible with the Cstd library. Avoid specifying
13640 # it if it's in CXXFLAGS. Ignore libCrun as
13641 # -library=stlport4 depends on it.
13642 case " $CXX $CXXFLAGS " in
13643 *" -library=stlport4 "*)
13644 solaris_use_stlport4=yes
13648 # Adding this requires a known-good setup of shared libraries for
13649 # Sun compiler versions before 5.6, else PIC objects from an old
13650 # archive will be linked into the output, leading to subtle bugs.
13651 if test "$solaris_use_stlport4" != yes; then
13652 postdeps_CXX='-library=Cstd -library=Crun'
13660 case " $postdeps_CXX " in
13661 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13663 compiler_lib_search_dirs_CXX=
13664 if test -n "${compiler_lib_search_path_CXX}"; then
13665 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13698 lt_prog_compiler_wl_CXX=
13699 lt_prog_compiler_pic_CXX=
13700 lt_prog_compiler_static_CXX=
13703 # C++ specific cases for pic, static, wl, etc.
13704 if test "$GXX" = yes; then
13705 lt_prog_compiler_wl_CXX='-Wl,'
13706 lt_prog_compiler_static_CXX='-static'
13710 # All AIX code is PIC.
13711 if test "$host_cpu" = ia64; then
13712 # AIX 5 now supports IA64 processor
13713 lt_prog_compiler_static_CXX='-Bstatic'
13720 # see comment about AmigaOS4 .so support
13721 lt_prog_compiler_pic_CXX='-fPIC'
13724 # FIXME: we need at least 68020 code to build shared libraries, but
13725 # adding the `-m68020' flag to GCC prevents building anything better,
13727 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13732 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13733 # PIC is the default for these OSes.
13735 mingw* | cygwin* | os2* | pw32* | cegcc*)
13736 # This hack is so that the source file can tell whether it is being
13737 # built for inclusion in a dll (and should export symbols for example).
13738 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13739 # (--disable-auto-import) libraries
13740 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13742 darwin* | rhapsody*)
13743 # PIC is the default on this platform
13744 # Common symbols not allowed in MH_DYLIB files
13745 lt_prog_compiler_pic_CXX='-fno-common'
13748 # DJGPP does not support shared libraries at all
13749 lt_prog_compiler_pic_CXX=
13752 # PIC is the default for Haiku.
13753 # The "-static" flag exists, but is broken.
13754 lt_prog_compiler_static_CXX=
13757 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13758 # Instead, we relocate shared libraries at runtime.
13761 if test -d /usr/nec; then
13762 lt_prog_compiler_pic_CXX=-Kconform_pic
13766 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13767 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13768 # sets the default TLS model and affects inlining.
13773 lt_prog_compiler_pic_CXX='-fPIC'
13778 # QNX uses GNU C++, but need to define -shared option too, otherwise
13779 # it will coredump.
13780 lt_prog_compiler_pic_CXX='-fPIC -shared'
13783 lt_prog_compiler_pic_CXX='-fPIC'
13789 # All AIX code is PIC.
13790 if test "$host_cpu" = ia64; then
13791 # AIX 5 now supports IA64 processor
13792 lt_prog_compiler_static_CXX='-Bstatic'
13794 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13798 case $cc_basename in
13800 # Green Hills C++ Compiler
13801 # _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"
13805 mingw* | cygwin* | os2* | pw32* | cegcc*)
13806 # This hack is so that the source file can tell whether it is being
13807 # built for inclusion in a dll (and should export symbols for example).
13808 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13811 case $cc_basename in
13813 lt_prog_compiler_pic_CXX='-KPIC'
13816 # Green Hills C++ Compiler
13817 lt_prog_compiler_pic_CXX='-pic'
13823 freebsd* | dragonfly*)
13824 # FreeBSD uses GNU C++
13826 hpux9* | hpux10* | hpux11*)
13827 case $cc_basename in
13829 lt_prog_compiler_wl_CXX='-Wl,'
13830 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13831 if test "$host_cpu" != ia64; then
13832 lt_prog_compiler_pic_CXX='+Z'
13836 lt_prog_compiler_wl_CXX='-Wl,'
13837 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13843 lt_prog_compiler_pic_CXX='+Z'
13852 # This is c89, which is MS Visual C++ (no shared libs)
13853 # Anyone wants to do a port?
13855 irix5* | irix6* | nonstopux*)
13856 case $cc_basename in
13858 lt_prog_compiler_wl_CXX='-Wl,'
13859 lt_prog_compiler_static_CXX='-non_shared'
13860 # CC pic flag -KPIC is the default.
13866 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13867 case $cc_basename in
13870 lt_prog_compiler_wl_CXX='--backend -Wl,'
13871 lt_prog_compiler_pic_CXX='-fPIC'
13874 # old Intel C++ for x86_64 which still supported -KPIC.
13875 lt_prog_compiler_wl_CXX='-Wl,'
13876 lt_prog_compiler_pic_CXX='-KPIC'
13877 lt_prog_compiler_static_CXX='-static'
13880 # Intel C++, used to be incompatible with GCC.
13881 # ICC 10 doesn't accept -KPIC any more.
13882 lt_prog_compiler_wl_CXX='-Wl,'
13883 lt_prog_compiler_pic_CXX='-fPIC'
13884 lt_prog_compiler_static_CXX='-static'
13887 # Portland Group C++ compiler
13888 lt_prog_compiler_wl_CXX='-Wl,'
13889 lt_prog_compiler_pic_CXX='-fpic'
13890 lt_prog_compiler_static_CXX='-Bstatic'
13894 # Make sure the PIC flag is empty. It appears that all Alpha
13895 # Linux and Compaq Tru64 Unix objects are PIC.
13896 lt_prog_compiler_pic_CXX=
13897 lt_prog_compiler_static_CXX='-non_shared'
13899 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13900 # IBM XL 8.0, 9.0 on PPC and BlueGene
13901 lt_prog_compiler_wl_CXX='-Wl,'
13902 lt_prog_compiler_pic_CXX='-qpic'
13903 lt_prog_compiler_static_CXX='-qstaticlink'
13906 case `$CC -V 2>&1 | sed 5q` in
13909 lt_prog_compiler_pic_CXX='-KPIC'
13910 lt_prog_compiler_static_CXX='-Bstatic'
13911 lt_prog_compiler_wl_CXX='-Qoption ld '
13922 case $cc_basename in
13924 lt_prog_compiler_pic_CXX='-W c,exportall'
13933 # QNX uses GNU C++, but need to define -shared option too, otherwise
13934 # it will coredump.
13935 lt_prog_compiler_pic_CXX='-fPIC -shared'
13937 osf3* | osf4* | osf5*)
13938 case $cc_basename in
13940 lt_prog_compiler_wl_CXX='--backend -Wl,'
13943 # Rational C++ 2.4.1
13944 lt_prog_compiler_pic_CXX='-pic'
13947 # Digital/Compaq C++
13948 lt_prog_compiler_wl_CXX='-Wl,'
13949 # Make sure the PIC flag is empty. It appears that all Alpha
13950 # Linux and Compaq Tru64 Unix objects are PIC.
13951 lt_prog_compiler_pic_CXX=
13952 lt_prog_compiler_static_CXX='-non_shared'
13961 case $cc_basename in
13963 # Sun C++ 4.2, 5.x and Centerline C++
13964 lt_prog_compiler_pic_CXX='-KPIC'
13965 lt_prog_compiler_static_CXX='-Bstatic'
13966 lt_prog_compiler_wl_CXX='-Qoption ld '
13969 # Green Hills C++ Compiler
13970 lt_prog_compiler_pic_CXX='-PIC'
13977 case $cc_basename in
13980 lt_prog_compiler_pic_CXX='-pic'
13981 lt_prog_compiler_static_CXX='-Bstatic'
13985 lt_prog_compiler_pic_CXX='-pic'
13991 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13992 case $cc_basename in
13994 lt_prog_compiler_wl_CXX='-Wl,'
13995 lt_prog_compiler_pic_CXX='-KPIC'
13996 lt_prog_compiler_static_CXX='-Bstatic'
14001 case $cc_basename in
14003 # NonStop-UX NCC 3.20
14004 lt_prog_compiler_pic_CXX='-KPIC'
14013 lt_prog_compiler_can_build_shared_CXX=no
14019 # For platforms which do not support PIC, -DPIC is meaningless:
14021 lt_prog_compiler_pic_CXX=
14024 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14029 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14030 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
14031 $as_echo_n "(cached) " >&6
14033 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
14035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14036 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14037 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
14040 # Check to make sure the PIC flag actually works.
14042 if test -n "$lt_prog_compiler_pic_CXX"; then
14043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14044 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14045 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14046 $as_echo_n "(cached) " >&6
14048 lt_cv_prog_compiler_pic_works_CXX=no
14049 ac_outfile=conftest.$ac_objext
14050 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14051 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14052 # Insert the option either (1) after the last *FLAGS variable, or
14053 # (2) before a word containing "conftest.", or (3) at the end.
14054 # Note that $ac_compile itself does not contain backslashes and begins
14055 # with a dollar sign (not a hyphen), so the echo should work correctly.
14056 # The option is referenced via a variable to avoid confusing sed.
14057 lt_compile=`echo "$ac_compile" | $SED \
14058 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14059 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14060 -e 's:$: $lt_compiler_flag:'`
14061 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14062 (eval "$lt_compile" 2>conftest.err)
14064 cat conftest.err >&5
14065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14066 if (exit $ac_status) && test -s "$ac_outfile"; then
14067 # The compiler can only warn and ignore the option if not recognized
14068 # So say no if there are warnings other than the usual output.
14069 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14070 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14071 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14072 lt_cv_prog_compiler_pic_works_CXX=yes
14078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14079 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14081 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14082 case $lt_prog_compiler_pic_CXX in
14084 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14087 lt_prog_compiler_pic_CXX=
14088 lt_prog_compiler_can_build_shared_CXX=no
14098 # Check to make sure the static flag actually works.
14100 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14102 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14103 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14104 $as_echo_n "(cached) " >&6
14106 lt_cv_prog_compiler_static_works_CXX=no
14107 save_LDFLAGS="$LDFLAGS"
14108 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14109 echo "$lt_simple_link_test_code" > conftest.$ac_ext
14110 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14111 # The linker can only warn and ignore the option if not recognized
14112 # So say no if there are warnings
14113 if test -s conftest.err; then
14114 # Append any errors to the config.log.
14115 cat conftest.err 1>&5
14116 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14117 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14118 if diff conftest.exp conftest.er2 >/dev/null; then
14119 lt_cv_prog_compiler_static_works_CXX=yes
14122 lt_cv_prog_compiler_static_works_CXX=yes
14126 LDFLAGS="$save_LDFLAGS"
14129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14130 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14132 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14135 lt_prog_compiler_static_CXX=
14141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14142 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14143 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14144 $as_echo_n "(cached) " >&6
14146 lt_cv_prog_compiler_c_o_CXX=no
14147 $RM -r conftest 2>/dev/null
14151 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14153 lt_compiler_flag="-o out/conftest2.$ac_objext"
14154 # Insert the option either (1) after the last *FLAGS variable, or
14155 # (2) before a word containing "conftest.", or (3) at the end.
14156 # Note that $ac_compile itself does not contain backslashes and begins
14157 # with a dollar sign (not a hyphen), so the echo should work correctly.
14158 lt_compile=`echo "$ac_compile" | $SED \
14159 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14160 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14161 -e 's:$: $lt_compiler_flag:'`
14162 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14163 (eval "$lt_compile" 2>out/conftest.err)
14165 cat out/conftest.err >&5
14166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14167 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14169 # The compiler can only warn and ignore the option if not recognized
14170 # So say no if there are warnings
14171 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14172 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14173 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14174 lt_cv_prog_compiler_c_o_CXX=yes
14179 # SGI C++ compiler will create directory out/ii_files/ for
14180 # template instantiation
14181 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14182 $RM out/* && rmdir out
14188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14189 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14194 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14195 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14196 $as_echo_n "(cached) " >&6
14198 lt_cv_prog_compiler_c_o_CXX=no
14199 $RM -r conftest 2>/dev/null
14203 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14205 lt_compiler_flag="-o out/conftest2.$ac_objext"
14206 # Insert the option either (1) after the last *FLAGS variable, or
14207 # (2) before a word containing "conftest.", or (3) at the end.
14208 # Note that $ac_compile itself does not contain backslashes and begins
14209 # with a dollar sign (not a hyphen), so the echo should work correctly.
14210 lt_compile=`echo "$ac_compile" | $SED \
14211 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14212 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14213 -e 's:$: $lt_compiler_flag:'`
14214 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14215 (eval "$lt_compile" 2>out/conftest.err)
14217 cat out/conftest.err >&5
14218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14219 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14221 # The compiler can only warn and ignore the option if not recognized
14222 # So say no if there are warnings
14223 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14224 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14225 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14226 lt_cv_prog_compiler_c_o_CXX=yes
14231 # SGI C++ compiler will create directory out/ii_files/ for
14232 # template instantiation
14233 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14234 $RM out/* && rmdir out
14240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14241 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14246 hard_links="nottested"
14247 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14248 # do not overwrite the value of need_locks provided by the user
14249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14250 $as_echo_n "checking if we can lock with hard links... " >&6; }
14253 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14255 ln conftest.a conftest.b 2>&5 || hard_links=no
14256 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14258 $as_echo "$hard_links" >&6; }
14259 if test "$hard_links" = no; then
14260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14261 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14271 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14273 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14274 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14277 # If we're using GNU nm, then we don't want the "-C" option.
14278 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14279 # Also, AIX nm treats weak defined symbols like other global defined
14280 # symbols, whereas GNU nm marks them as "W".
14281 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14282 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'
14284 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'
14288 export_symbols_cmds_CXX="$ltdll_cmds"
14290 cygwin* | mingw* | cegcc*)
14291 case $cc_basename in
14293 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
14296 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'
14297 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14302 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14307 $as_echo "$ld_shlibs_CXX" >&6; }
14308 test "$ld_shlibs_CXX" = no && can_build_shared=no
14310 with_gnu_ld_CXX=$with_gnu_ld
14318 # Do we need to explicitly link libc?
14320 case "x$archive_cmds_need_lc_CXX" in
14322 # Assume -lc should be added
14323 archive_cmds_need_lc_CXX=yes
14325 if test "$enable_shared" = yes && test "$GCC" = yes; then
14326 case $archive_cmds_CXX in
14328 # FIXME: we may have to deal with multi-command sequences.
14331 # Test whether the compiler implicitly links with -lc since on some
14332 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14333 # to ld, don't add -lc before -lgcc.
14334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14335 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14336 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14337 $as_echo_n "(cached) " >&6
14340 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14342 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14343 (eval $ac_compile) 2>&5
14345 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14346 test $ac_status = 0; } 2>conftest.err; then
14349 libobjs=conftest.$ac_objext
14351 wl=$lt_prog_compiler_wl_CXX
14352 pic_flag=$lt_prog_compiler_pic_CXX
14358 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14359 allow_undefined_flag_CXX=
14360 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14361 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14363 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14364 test $ac_status = 0; }
14366 lt_cv_archive_cmds_need_lc_CXX=no
14368 lt_cv_archive_cmds_need_lc_CXX=yes
14370 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14372 cat conftest.err 1>&5
14377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14378 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14379 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14448 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14450 library_names_spec=
14451 libname_spec='lib$name'
14455 postuninstall_cmds=
14459 shlibpath_overrides_runpath=unknown
14461 dynamic_linker="$host_os ld.so"
14462 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14463 need_lib_prefix=unknown
14464 hardcode_into_libs=no
14466 # when you set need_version to no, make sure it does not cause -set_version
14467 # flags to be left without arguments
14468 need_version=unknown
14472 version_type=linux # correct to gnu/linux during the next big refactor
14473 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14474 shlibpath_var=LIBPATH
14476 # AIX 3 has no versioning support, so we append a major version to the name.
14477 soname_spec='${libname}${release}${shared_ext}$major'
14481 version_type=linux # correct to gnu/linux during the next big refactor
14484 hardcode_into_libs=yes
14485 if test "$host_cpu" = ia64; then
14486 # AIX 5 supports IA64
14487 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14488 shlibpath_var=LD_LIBRARY_PATH
14490 # With GCC up to 2.95.x, collect2 would create an import file
14491 # for dependence libraries. The import file would start with
14492 # the line `#! .'. This would cause the generated library to
14493 # depend on `.', always an invalid library. This was fixed in
14494 # development snapshots of GCC prior to 3.0.
14496 aix4 | aix4.[01] | aix4.[01].*)
14497 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14499 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14502 can_build_shared=no
14506 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14507 # soname into executable. Probably we can add versioning support to
14508 # collect2, so additional links can be useful in future.
14509 if test "$aix_use_runtimelinking" = yes; then
14510 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14511 # instead of lib<name>.a to let people know that these are not
14512 # typical AIX shared libraries.
14513 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14515 # We preserve .a as extension for shared libraries through AIX4.2
14516 # and later when we are not doing run time linking.
14517 library_names_spec='${libname}${release}.a $libname.a'
14518 soname_spec='${libname}${release}${shared_ext}$major'
14520 shlibpath_var=LIBPATH
14527 # Since July 2007 AmigaOS4 officially supports .so libraries.
14528 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14529 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14532 library_names_spec='$libname.ixlibrary $libname.a'
14533 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14534 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'
14540 library_names_spec='${libname}${shared_ext}'
14541 dynamic_linker="$host_os ld.so"
14542 shlibpath_var=LIBRARY_PATH
14546 version_type=linux # correct to gnu/linux during the next big refactor
14548 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14549 soname_spec='${libname}${release}${shared_ext}$major'
14550 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14551 shlibpath_var=LD_LIBRARY_PATH
14552 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14553 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14554 # the default ld.so.conf also contains /usr/contrib/lib and
14555 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14556 # libtool to hard-code these into programs
14559 cygwin* | mingw* | pw32* | cegcc*)
14560 version_type=windows
14565 case $GCC,$cc_basename in
14568 library_names_spec='$libname.dll.a'
14569 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14570 postinstall_cmds='base_file=`basename \${file}`~
14571 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14572 dldir=$destdir/`dirname \$dlpath`~
14573 test -d \$dldir || mkdir -p \$dldir~
14574 $install_prog $dir/$dlname \$dldir/$dlname~
14575 chmod a+x \$dldir/$dlname~
14576 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14577 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14579 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14580 dlpath=$dir/\$dldll~
14582 shlibpath_overrides_runpath=yes
14586 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14587 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14591 # MinGW DLLs use traditional 'lib' prefix
14592 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14595 # pw32 DLLs use 'pw' prefix rather than 'lib'
14596 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14599 dynamic_linker='Win32 ld.exe'
14604 libname_spec='$name'
14605 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14606 library_names_spec='${libname}.dll.lib'
14610 sys_lib_search_path_spec=
14613 for lt_path in $LIB
14616 # Let DOS variable expansion print the short 8.3 style file name.
14617 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
14618 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
14621 # Convert to MSYS style.
14622 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
14625 # Convert to unix form, then to dos form, then back to unix form
14626 # but this time dos style (no spaces!) so that the unix form looks
14627 # like /cygdrive/c/PROGRA~1:/cygdr...
14628 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
14629 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
14630 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14633 sys_lib_search_path_spec="$LIB"
14634 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14635 # It is most probably a Windows format PATH.
14636 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14638 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14640 # FIXME: find the short name or the path components, as spaces are
14641 # common. (e.g. "Program Files" -> "PROGRA~1")
14645 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14646 postinstall_cmds='base_file=`basename \${file}`~
14647 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14648 dldir=$destdir/`dirname \$dlpath`~
14649 test -d \$dldir || mkdir -p \$dldir~
14650 $install_prog $dir/$dlname \$dldir/$dlname'
14651 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14652 dlpath=$dir/\$dldll~
14654 shlibpath_overrides_runpath=yes
14655 dynamic_linker='Win32 link.exe'
14659 # Assume MSVC wrapper
14660 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14661 dynamic_linker='Win32 ld.exe'
14664 # FIXME: first we should search . and the directory the executable is in
14668 darwin* | rhapsody*)
14669 dynamic_linker="$host_os dyld"
14670 version_type=darwin
14673 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14674 soname_spec='${libname}${release}${major}$shared_ext'
14675 shlibpath_overrides_runpath=yes
14676 shlibpath_var=DYLD_LIBRARY_PATH
14677 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14679 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14683 version_type=linux # correct to gnu/linux during the next big refactor
14686 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14687 soname_spec='${libname}${release}${shared_ext}$major'
14688 shlibpath_var=LD_LIBRARY_PATH
14691 freebsd* | dragonfly*)
14692 # DragonFly does not have aout. When/if they implement a new
14693 # versioning mechanism, adjust this.
14694 if test -x /usr/bin/objformat; then
14695 objformat=`/usr/bin/objformat`
14698 freebsd[23].*) objformat=aout ;;
14699 *) objformat=elf ;;
14702 version_type=freebsd-$objformat
14703 case $version_type in
14705 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14710 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14714 shlibpath_var=LD_LIBRARY_PATH
14717 shlibpath_overrides_runpath=yes
14719 freebsd3.[01]* | freebsdelf3.[01]*)
14720 shlibpath_overrides_runpath=yes
14721 hardcode_into_libs=yes
14723 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14724 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14725 shlibpath_overrides_runpath=no
14726 hardcode_into_libs=yes
14728 *) # from 4.6 on, and DragonFly
14729 shlibpath_overrides_runpath=yes
14730 hardcode_into_libs=yes
14736 version_type=linux # correct to gnu/linux during the next big refactor
14739 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14740 soname_spec='${libname}${release}${shared_ext}$major'
14741 shlibpath_var=LD_LIBRARY_PATH
14742 shlibpath_overrides_runpath=no
14743 hardcode_into_libs=yes
14747 version_type=linux # correct to gnu/linux during the next big refactor
14750 dynamic_linker="$host_os runtime_loader"
14751 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14752 soname_spec='${libname}${release}${shared_ext}$major'
14753 shlibpath_var=LIBRARY_PATH
14754 shlibpath_overrides_runpath=yes
14755 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
14756 hardcode_into_libs=yes
14759 hpux9* | hpux10* | hpux11*)
14760 # Give a soname corresponding to the major version so that dld.sl refuses to
14761 # link against other versions.
14768 hardcode_into_libs=yes
14769 dynamic_linker="$host_os dld.so"
14770 shlibpath_var=LD_LIBRARY_PATH
14771 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14772 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14773 soname_spec='${libname}${release}${shared_ext}$major'
14774 if test "X$HPUX_IA64_MODE" = X32; then
14775 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14777 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14779 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14783 hardcode_into_libs=yes
14784 dynamic_linker="$host_os dld.sl"
14785 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14786 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14787 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14788 soname_spec='${libname}${release}${shared_ext}$major'
14789 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14790 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14794 dynamic_linker="$host_os dld.sl"
14795 shlibpath_var=SHLIB_PATH
14796 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14797 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14798 soname_spec='${libname}${release}${shared_ext}$major'
14801 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14802 postinstall_cmds='chmod 555 $lib'
14803 # or fails outright, so override atomically:
14804 install_override_mode=555
14808 version_type=linux # correct to gnu/linux during the next big refactor
14811 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14812 soname_spec='${libname}${release}${shared_ext}$major'
14813 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14814 shlibpath_var=LD_LIBRARY_PATH
14815 shlibpath_overrides_runpath=no
14816 hardcode_into_libs=yes
14819 irix5* | irix6* | nonstopux*)
14821 nonstopux*) version_type=nonstopux ;;
14823 if test "$lt_cv_prog_gnu_ld" = yes; then
14824 version_type=linux # correct to gnu/linux during the next big refactor
14831 soname_spec='${libname}${release}${shared_ext}$major'
14832 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14834 irix5* | nonstopux*)
14835 libsuff= shlibsuff=
14838 case $LD in # libtool.m4 will add one of these switches to LD
14839 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14840 libsuff= shlibsuff= libmagic=32-bit;;
14841 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14842 libsuff=32 shlibsuff=N32 libmagic=N32;;
14843 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14844 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14845 *) libsuff= shlibsuff= libmagic=never-match;;
14849 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14850 shlibpath_overrides_runpath=no
14851 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14852 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14853 hardcode_into_libs=yes
14856 # No shared lib support for Linux oldld, aout, or coff.
14857 linux*oldld* | linux*aout* | linux*coff*)
14861 # This must be glibc/ELF.
14862 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14863 version_type=linux # correct to gnu/linux during the next big refactor
14866 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14867 soname_spec='${libname}${release}${shared_ext}$major'
14868 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14869 shlibpath_var=LD_LIBRARY_PATH
14870 shlibpath_overrides_runpath=no
14872 # Some binutils ld are patched to set DT_RUNPATH
14873 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
14874 $as_echo_n "(cached) " >&6
14876 lt_cv_shlibpath_overrides_runpath=no
14877 save_LDFLAGS=$LDFLAGS
14878 save_libdir=$libdir
14879 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14880 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14882 /* end confdefs.h. */
14892 if ac_fn_cxx_try_link "$LINENO"; then :
14893 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14894 lt_cv_shlibpath_overrides_runpath=yes
14897 rm -f core conftest.err conftest.$ac_objext \
14898 conftest$ac_exeext conftest.$ac_ext
14899 LDFLAGS=$save_LDFLAGS
14900 libdir=$save_libdir
14904 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14906 # This implies no fast_install, which is unacceptable.
14907 # Some rework will be needed to allow for fast_install
14908 # before this can be enabled.
14909 hardcode_into_libs=yes
14911 # Append ld.so.conf contents to the search path
14912 if test -f /etc/ld.so.conf; then
14913 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' ' '`
14914 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14917 # We used to test for /lib/ld.so.1 and disable shared libraries on
14918 # powerpc, because MkLinux only supported shared libraries with the
14919 # GNU dynamic linker. Since this was broken with cross compilers,
14920 # most powerpc-linux boxes support dynamic linking these days and
14921 # people can always --disable-shared, the test was removed, and we
14922 # assume the GNU/Linux dynamic linker is in use.
14923 dynamic_linker='GNU/Linux ld.so'
14930 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14931 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14932 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14933 dynamic_linker='NetBSD (a.out) ld.so'
14935 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14936 soname_spec='${libname}${release}${shared_ext}$major'
14937 dynamic_linker='NetBSD ld.elf_so'
14939 shlibpath_var=LD_LIBRARY_PATH
14940 shlibpath_overrides_runpath=yes
14941 hardcode_into_libs=yes
14945 version_type=linux # correct to gnu/linux during the next big refactor
14946 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14947 shlibpath_var=LD_LIBRARY_PATH
14948 shlibpath_overrides_runpath=yes
14955 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14956 soname_spec='${libname}${release}${shared_ext}$major'
14957 shlibpath_var=LD_LIBRARY_PATH
14958 shlibpath_overrides_runpath=no
14959 hardcode_into_libs=yes
14960 dynamic_linker='ldqnx.so'
14965 sys_lib_dlsearch_path_spec="/usr/lib"
14967 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14969 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14970 *) need_version=no ;;
14972 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14973 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14974 shlibpath_var=LD_LIBRARY_PATH
14975 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14977 openbsd2.[89] | openbsd2.[89].*)
14978 shlibpath_overrides_runpath=no
14981 shlibpath_overrides_runpath=yes
14985 shlibpath_overrides_runpath=yes
14990 libname_spec='$name'
14993 library_names_spec='$libname${shared_ext} $libname.a'
14994 dynamic_linker='OS/2 ld.exe'
14995 shlibpath_var=LIBPATH
14998 osf3* | osf4* | osf5*)
15002 soname_spec='${libname}${release}${shared_ext}$major'
15003 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15004 shlibpath_var=LD_LIBRARY_PATH
15005 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15006 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15014 version_type=linux # correct to gnu/linux during the next big refactor
15017 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15018 soname_spec='${libname}${release}${shared_ext}$major'
15019 shlibpath_var=LD_LIBRARY_PATH
15020 shlibpath_overrides_runpath=yes
15021 hardcode_into_libs=yes
15022 # ldd complains unless libraries are executable
15023 postinstall_cmds='chmod +x $lib'
15028 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15029 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15030 shlibpath_var=LD_LIBRARY_PATH
15031 shlibpath_overrides_runpath=yes
15032 if test "$with_gnu_ld" = yes; then
15039 version_type=linux # correct to gnu/linux during the next big refactor
15040 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15041 soname_spec='${libname}${release}${shared_ext}$major'
15042 shlibpath_var=LD_LIBRARY_PATH
15043 case $host_vendor in
15045 shlibpath_overrides_runpath=no
15047 runpath_var=LD_RUN_PATH
15055 shlibpath_overrides_runpath=no
15056 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15062 if test -d /usr/nec ;then
15063 version_type=linux # correct to gnu/linux during the next big refactor
15064 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15065 soname_spec='$libname${shared_ext}.$major'
15066 shlibpath_var=LD_LIBRARY_PATH
15070 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15071 version_type=freebsd-elf
15074 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15075 soname_spec='${libname}${release}${shared_ext}$major'
15076 shlibpath_var=LD_LIBRARY_PATH
15077 shlibpath_overrides_runpath=yes
15078 hardcode_into_libs=yes
15079 if test "$with_gnu_ld" = yes; then
15080 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15082 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15085 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15089 sys_lib_dlsearch_path_spec='/usr/lib'
15093 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15094 version_type=linux # correct to gnu/linux during the next big refactor
15097 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15098 shlibpath_var=LD_LIBRARY_PATH
15099 shlibpath_overrides_runpath=no
15100 hardcode_into_libs=yes
15104 version_type=linux # correct to gnu/linux during the next big refactor
15105 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15106 soname_spec='${libname}${release}${shared_ext}$major'
15107 shlibpath_var=LD_LIBRARY_PATH
15114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15115 $as_echo "$dynamic_linker" >&6; }
15116 test "$dynamic_linker" = no && can_build_shared=no
15118 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15119 if test "$GCC" = yes; then
15120 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15123 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15124 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15126 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15127 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15168 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15169 hardcode_action_CXX=
15170 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15171 test -n "$runpath_var_CXX" ||
15172 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15174 # We can hardcode non-existent directories.
15175 if test "$hardcode_direct_CXX" != no &&
15176 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15177 # have to relink, otherwise we might link with an installed library
15178 # when we should be linking with a yet-to-be-installed one
15179 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15180 test "$hardcode_minus_L_CXX" != no; then
15181 # Linking always hardcodes the temporary library directory.
15182 hardcode_action_CXX=relink
15184 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15185 hardcode_action_CXX=immediate
15188 # We cannot hardcode anything, or else we can only hardcode existing
15190 hardcode_action_CXX=unsupported
15192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15193 $as_echo "$hardcode_action_CXX" >&6; }
15195 if test "$hardcode_action_CXX" = relink ||
15196 test "$inherit_rpath_CXX" = yes; then
15197 # Fast installation is not supported
15198 enable_fast_install=no
15199 elif test "$shlibpath_overrides_runpath" = yes ||
15200 test "$enable_shared" = no; then
15201 # Fast installation is not necessary
15202 enable_fast_install=needless
15211 fi # test -n "$compiler"
15214 CFLAGS=$lt_save_CFLAGS
15218 with_gnu_ld=$lt_save_with_gnu_ld
15219 lt_cv_path_LDCXX=$lt_cv_path_LD
15220 lt_cv_path_LD=$lt_save_path_LD
15221 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15222 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15223 fi # test "$_lt_caught_CXX_error" != yes
15226 ac_cpp='$CXXCPP $CPPFLAGS'
15227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15245 ac_config_commands="$ac_config_commands libtool"
15250 # Only expand once:
15255 ## ------------------------------ ##
15256 ## Libraries required by tagdemo. ##
15257 ## ------------------------------ ##
15260 *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
15261 # These system don't have libm, or don't need it
15264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
15265 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
15266 if ${ac_cv_lib_mw__mwvalidcheckl+:} false; then :
15267 $as_echo_n "(cached) " >&6
15269 ac_check_lib_save_LIBS=$LIBS
15271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15272 /* end confdefs.h. */
15274 /* Override any GCC internal prototype to avoid an error.
15275 Use char because int might match the return type of a GCC
15276 builtin and then its argument prototype would still apply. */
15280 char _mwvalidcheckl ();
15284 return _mwvalidcheckl ();
15289 if ac_fn_cxx_try_link "$LINENO"; then :
15290 ac_cv_lib_mw__mwvalidcheckl=yes
15292 ac_cv_lib_mw__mwvalidcheckl=no
15294 rm -f core conftest.err conftest.$ac_objext \
15295 conftest$ac_exeext conftest.$ac_ext
15296 LIBS=$ac_check_lib_save_LIBS
15298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
15299 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
15300 if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes; then :
15304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
15305 $as_echo_n "checking for cos in -lm... " >&6; }
15306 if ${ac_cv_lib_m_cos+:} false; then :
15307 $as_echo_n "(cached) " >&6
15309 ac_check_lib_save_LIBS=$LIBS
15311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15312 /* end confdefs.h. */
15314 /* Override any GCC internal prototype to avoid an error.
15315 Use char because int might match the return type of a GCC
15316 builtin and then its argument prototype would still apply. */
15329 if ac_fn_cxx_try_link "$LINENO"; then :
15330 ac_cv_lib_m_cos=yes
15334 rm -f core conftest.err conftest.$ac_objext \
15335 conftest$ac_exeext conftest.$ac_ext
15336 LIBS=$ac_check_lib_save_LIBS
15338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
15339 $as_echo "$ac_cv_lib_m_cos" >&6; }
15340 if test "x$ac_cv_lib_m_cos" = xyes; then :
15346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
15347 $as_echo_n "checking for cos in -lm... " >&6; }
15348 if ${ac_cv_lib_m_cos+:} false; then :
15349 $as_echo_n "(cached) " >&6
15351 ac_check_lib_save_LIBS=$LIBS
15353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15354 /* end confdefs.h. */
15356 /* Override any GCC internal prototype to avoid an error.
15357 Use char because int might match the return type of a GCC
15358 builtin and then its argument prototype would still apply. */
15371 if ac_fn_cxx_try_link "$LINENO"; then :
15372 ac_cv_lib_m_cos=yes
15376 rm -f core conftest.err conftest.$ac_objext \
15377 conftest$ac_exeext conftest.$ac_ext
15378 LIBS=$ac_check_lib_save_LIBS
15380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
15381 $as_echo "$ac_cv_lib_m_cos" >&6; }
15382 if test "x$ac_cv_lib_m_cos" = xyes; then :
15395 ac_config_files="$ac_config_files Makefile"
15397 cat >confcache <<\_ACEOF
15398 # This file is a shell script that caches the results of configure
15399 # tests run on this system so they can be shared between configure
15400 # scripts and configure runs, see configure's option --config-cache.
15401 # It is not useful on other systems. If it contains results you don't
15402 # want to keep, you may remove or edit it.
15404 # config.status only pays attention to the cache file if you give it
15405 # the --recheck option to rerun configure.
15407 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15408 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15409 # following values.
15413 # The following way of writing the cache mishandles newlines in values,
15414 # but we know of no workaround that is simple, portable, and efficient.
15415 # So, we kill variables containing newlines.
15416 # Ultrix sh set writes to stderr and can't be redirected directly,
15417 # and sets the high bit in the cache file unless we assign to the vars.
15419 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15420 eval ac_val=\$$ac_var
15424 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15425 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15428 _ | IFS | as_nl) ;; #(
15429 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15430 *) { eval $ac_var=; unset $ac_var;} ;;
15436 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15437 *${as_nl}ac_space=\ *)
15438 # `set' does not quote correctly, so add quotes: double-quote
15439 # substitution turns \\\\ into \\, and sed turns \\ into \.
15442 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15445 # `set' quotes correctly as required by POSIX, so do not add quotes.
15446 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15455 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15457 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15459 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15460 if test -w "$cache_file"; then
15461 if test "x$cache_file" != "x/dev/null"; then
15462 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15463 $as_echo "$as_me: updating cache $cache_file" >&6;}
15464 if test ! -f "$cache_file" || test -h "$cache_file"; then
15465 cat confcache >"$cache_file"
15467 case $cache_file in #(
15469 mv -f confcache "$cache_file"$$ &&
15470 mv -f "$cache_file"$$ "$cache_file" ;; #(
15472 mv -f confcache "$cache_file" ;;
15477 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15478 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15483 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15484 # Let make expand exec_prefix.
15485 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15487 # Transform confdefs.h into DEFS.
15488 # Protect against shell expansion while executing Makefile rules.
15489 # Protect against Makefile macro expansion.
15491 # If the first sed substitution is executed (which looks for macros that
15492 # take arguments), then branch to the quote section. Otherwise,
15493 # look for a macro that doesn't take arguments.
15503 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
15505 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
15509 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
15522 DEFS=`sed -n "$ac_script" confdefs.h`
15528 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15529 # 1. Remove the extension, and $U if already installed.
15530 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15531 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15532 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15533 # will be set to the directory where LIBOBJS objects are built.
15534 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15535 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15537 LIBOBJS=$ac_libobjs
15539 LTLIBOBJS=$ac_ltlibobjs
15542 if test -n "$EXEEXT"; then
15544 am__EXEEXT_FALSE='#'
15546 am__EXEEXT_TRUE='#'
15550 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15551 as_fn_error $? "conditional \"AMDEP\" was never defined.
15552 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15554 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15555 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15556 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15558 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15559 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
15560 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15563 : "${CONFIG_STATUS=./config.status}"
15565 ac_clean_files_save=$ac_clean_files
15566 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15567 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15568 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15570 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15572 # Generated by $as_me.
15573 # Run this file to recreate the current configuration.
15574 # Compiler output produced by configure, useful for debugging
15575 # configure, is in config.log if it exists.
15578 ac_cs_recheck=false
15581 SHELL=\${CONFIG_SHELL-$SHELL}
15584 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15585 ## -------------------- ##
15586 ## M4sh Initialization. ##
15587 ## -------------------- ##
15589 # Be more Bourne compatible
15590 DUALCASE=1; export DUALCASE # for MKS sh
15591 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15594 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15595 # is contrary to our usage. Disable this feature.
15596 alias -g '${1+"$@"}'='"$@"'
15597 setopt NO_GLOB_SUBST
15599 case `(set -o) 2>/dev/null` in #(
15611 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15612 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15613 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15614 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15615 # Prefer a ksh shell builtin over an external printf program on Solaris,
15616 # but without wasting forks for bash or zsh.
15617 if test -z "$BASH_VERSION$ZSH_VERSION" \
15618 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15619 as_echo='print -r --'
15620 as_echo_n='print -rn --'
15621 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15622 as_echo='printf %s\n'
15623 as_echo_n='printf %s'
15625 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15626 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15627 as_echo_n='/usr/ucb/echo -n'
15629 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15630 as_echo_n_body='eval
15634 expr "X$arg" : "X\\(.*\\)$as_nl";
15635 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15637 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15639 export as_echo_n_body
15640 as_echo_n='sh -c $as_echo_n_body as_echo'
15642 export as_echo_body
15643 as_echo='sh -c $as_echo_body as_echo'
15646 # The user is always right.
15647 if test "${PATH_SEPARATOR+set}" != set; then
15649 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15650 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15657 # We need space, tab and new line, in precisely that order. Quoting is
15658 # there to prevent editors from complaining about space-tab.
15659 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15660 # splitting by setting IFS to empty value.)
15663 # Find who we are. Look in the path if we contain no directory separator.
15666 *[\\/]* ) as_myself=$0 ;;
15667 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15668 for as_dir in $PATH
15671 test -z "$as_dir" && as_dir=.
15672 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15678 # We did not find ourselves, most probably we were run as `sh COMMAND'
15679 # in which case we are not to be found in the path.
15680 if test "x$as_myself" = x; then
15683 if test ! -f "$as_myself"; then
15684 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15688 # Unset variables that we do not need and which cause bugs (e.g. in
15689 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15690 # suppresses any "Segmentation fault" message there. '((' could
15691 # trigger a bug in pdksh 5.2.14.
15692 for as_var in BASH_ENV ENV MAIL MAILPATH
15693 do eval test x\${$as_var+set} = xset \
15694 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15707 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15710 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15711 # ----------------------------------------
15712 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15713 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15714 # script with STATUS, using 1 if that was 0.
15717 as_status=$1; test $as_status -eq 0 && as_status=1
15719 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15720 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15722 $as_echo "$as_me: error: $2" >&2
15723 as_fn_exit $as_status
15727 # as_fn_set_status STATUS
15728 # -----------------------
15729 # Set $? to STATUS, without forking.
15730 as_fn_set_status ()
15733 } # as_fn_set_status
15735 # as_fn_exit STATUS
15736 # -----------------
15737 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15741 as_fn_set_status $1
15747 # Portably unset VAR.
15750 { eval $1=; unset $1;}
15752 as_unset=as_fn_unset
15753 # as_fn_append VAR VALUE
15754 # ----------------------
15755 # Append the text in VALUE to the end of the definition contained in VAR. Take
15756 # advantage of any shell optimizations that allow amortized linear growth over
15757 # repeated appends, instead of the typical quadratic growth present in naive
15759 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15760 eval 'as_fn_append ()
15771 # as_fn_arith ARG...
15772 # ------------------
15773 # Perform arithmetic evaluation on the ARGs, and store the result in the
15774 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15775 # must be portable across $(()) and expr.
15776 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15777 eval 'as_fn_arith ()
15784 as_val=`expr "$@" || test $? -eq 1`
15789 if expr a : '\(a\)' >/dev/null 2>&1 &&
15790 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15796 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15797 as_basename=basename
15802 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15808 as_me=`$as_basename -- "$0" ||
15809 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15810 X"$0" : 'X\(//\)$' \| \
15811 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15813 sed '/^.*\/\([^/][^/]*\)\/*$/{
15827 # Avoid depending upon Character Ranges.
15828 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15829 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15830 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15831 as_cr_digits='0123456789'
15832 as_cr_alnum=$as_cr_Letters$as_cr_digits
15834 ECHO_C= ECHO_N= ECHO_T=
15835 case `echo -n x` in #(((((
15837 case `echo 'xy\c'` in
15838 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15840 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15847 rm -f conf$$ conf$$.exe conf$$.file
15848 if test -d conf$$.dir; then
15849 rm -f conf$$.dir/conf$$.file
15852 mkdir conf$$.dir 2>/dev/null
15854 if (echo >conf$$.file) 2>/dev/null; then
15855 if ln -s conf$$.file conf$$ 2>/dev/null; then
15857 # ... but there are two gotchas:
15858 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15859 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15860 # In both cases, we have to default to `cp -p'.
15861 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15863 elif ln conf$$.file conf$$ 2>/dev/null; then
15871 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15872 rmdir conf$$.dir 2>/dev/null
15877 # Create "$as_dir" as a directory, including parents if necessary.
15882 -*) as_dir=./$as_dir;;
15884 test -d "$as_dir" || eval $as_mkdir_p || {
15888 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15889 *) as_qdir=$as_dir;;
15891 as_dirs="'$as_qdir' $as_dirs"
15892 as_dir=`$as_dirname -- "$as_dir" ||
15893 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15894 X"$as_dir" : 'X\(//\)[^/]' \| \
15895 X"$as_dir" : 'X\(//\)$' \| \
15896 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15897 $as_echo X"$as_dir" |
15898 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15902 /^X\(\/\/\)[^/].*/{
15915 test -d "$as_dir" && break
15917 test -z "$as_dirs" || eval "mkdir $as_dirs"
15918 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15922 if mkdir -p . 2>/dev/null; then
15923 as_mkdir_p='mkdir -p "$as_dir"'
15925 test -d ./-p && rmdir ./-p
15929 if test -x / >/dev/null 2>&1; then
15930 as_test_x='test -x'
15932 if ls -dL / >/dev/null 2>&1; then
15939 if test -d "$1"; then
15945 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15946 ???[sx]*):;;*)false;;esac;fi
15950 as_executable_p=$as_test_x
15952 # Sed expression to map a string onto a valid CPP name.
15953 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15955 # Sed expression to map a string onto a valid variable name.
15956 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15960 ## ----------------------------------- ##
15961 ## Main body of $CONFIG_STATUS script. ##
15962 ## ----------------------------------- ##
15964 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15966 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15967 # Save the log message, to keep $0 and so on meaningful, and to
15968 # report actual input values of CONFIG_FILES etc. instead of their
15969 # values after options handling.
15971 This file was extended by tagdemo $as_me 1.0, which was
15972 generated by GNU Autoconf 2.68. Invocation command line was
15974 CONFIG_FILES = $CONFIG_FILES
15975 CONFIG_HEADERS = $CONFIG_HEADERS
15976 CONFIG_LINKS = $CONFIG_LINKS
15977 CONFIG_COMMANDS = $CONFIG_COMMANDS
15980 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15985 case $ac_config_files in *"
15986 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15991 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15992 # Files that config.status was made for.
15993 config_files="$ac_config_files"
15994 config_commands="$ac_config_commands"
15998 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16000 \`$as_me' instantiates files and other configuration actions
16001 from templates according to the current configuration. Unless the files
16002 and actions are specified as TAGs, all are instantiated by default.
16004 Usage: $0 [OPTION]... [TAG]...
16006 -h, --help print this help, then exit
16007 -V, --version print version number and configuration settings, then exit
16008 --config print configuration, then exit
16009 -q, --quiet, --silent
16010 do not print progress messages
16011 -d, --debug don't remove temporary files
16012 --recheck update $as_me by reconfiguring in the same conditions
16013 --file=FILE[:TEMPLATE]
16014 instantiate the configuration file FILE
16016 Configuration files:
16019 Configuration commands:
16022 Report bugs to <bug-libtool@gnu.org>."
16025 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16026 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16028 tagdemo config.status 1.0
16029 configured by $0, generated by GNU Autoconf 2.68,
16030 with options \\"\$ac_cs_config\\"
16032 Copyright (C) 2010 Free Software Foundation, Inc.
16033 This config.status script is free software; the Free Software Foundation
16034 gives unlimited permission to copy, distribute and modify it."
16041 test -n "\$AWK" || AWK=awk
16044 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16045 # The default lists apply if the user does not specify any file.
16051 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16052 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16056 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16068 # Handling of the options.
16069 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16071 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16072 $as_echo "$ac_cs_version"; exit ;;
16073 --config | --confi | --conf | --con | --co | --c )
16074 $as_echo "$ac_cs_config"; exit ;;
16075 --debug | --debu | --deb | --de | --d | -d )
16077 --file | --fil | --fi | --f )
16080 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16081 '') as_fn_error $? "missing file argument" ;;
16083 as_fn_append CONFIG_FILES " '$ac_optarg'"
16084 ac_need_defaults=false;;
16085 --he | --h | --help | --hel | -h )
16086 $as_echo "$ac_cs_usage"; exit ;;
16087 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16088 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16091 # This is an error.
16092 -*) as_fn_error $? "unrecognized option: \`$1'
16093 Try \`$0 --help' for more information." ;;
16095 *) as_fn_append ac_config_targets " $1"
16096 ac_need_defaults=false ;;
16102 ac_configure_extra_args=
16104 if $ac_cs_silent; then
16106 ac_configure_extra_args="$ac_configure_extra_args --silent"
16110 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16111 if \$ac_cs_recheck; then
16112 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16114 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16115 CONFIG_SHELL='$SHELL'
16116 export CONFIG_SHELL
16121 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16125 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16126 ## Running $as_me. ##
16132 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16136 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16139 # The HP-UX ksh and POSIX shell print the target directory to stdout
16140 # if CDPATH is set.
16141 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16143 sed_quote_subst='$sed_quote_subst'
16144 double_quote_subst='$double_quote_subst'
16145 delay_variable_subst='$delay_variable_subst'
16146 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16147 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16148 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16149 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16150 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16151 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16152 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16153 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16154 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16155 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16156 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16157 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16158 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16159 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16160 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16161 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16162 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16163 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16164 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16165 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16166 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16167 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16168 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16169 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16170 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16171 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16172 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16173 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16174 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16175 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16176 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16177 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16178 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16179 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16180 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16181 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16182 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16183 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16184 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16185 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16186 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16187 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16188 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16189 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16190 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16191 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16192 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16193 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16194 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16195 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16196 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16197 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16198 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16199 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16200 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16201 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16202 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"`'
16203 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16204 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16205 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16206 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16207 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16208 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16209 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16210 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16211 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16212 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16213 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16214 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16215 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16216 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16217 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16218 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16219 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16220 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16221 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16222 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16223 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16224 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16225 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16226 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16227 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16228 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16229 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16230 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16231 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16232 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16233 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16234 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16235 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16236 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16237 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16238 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16239 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16240 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16241 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16242 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16243 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16244 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16245 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16246 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16247 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16248 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16249 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16250 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16251 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16252 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16253 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16254 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16255 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16256 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16257 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16258 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16259 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16260 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16261 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16262 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16263 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16264 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16265 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16266 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16267 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16268 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16269 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16270 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16271 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16272 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16273 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16274 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16275 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16276 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
16277 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
16278 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
16279 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
16280 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
16281 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
16282 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
16283 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
16284 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16285 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16286 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
16287 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
16288 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
16289 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
16290 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
16291 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
16292 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
16293 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
16294 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
16295 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16296 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16297 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
16298 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16299 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16300 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16301 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16302 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16303 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16304 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
16305 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
16306 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
16307 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16308 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
16309 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
16310 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
16311 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
16312 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
16313 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
16314 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
16315 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
16316 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
16317 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16318 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
16319 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
16320 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16321 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16322 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
16323 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
16324 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
16325 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
16326 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
16327 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
16328 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
16329 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
16332 LTCFLAGS='$LTCFLAGS'
16333 compiler='$compiler_DEFAULT'
16335 # A function that is used when there is no print builtin or printf.
16336 func_fallback_echo ()
16338 eval 'cat <<_LTECHO_EOF
16343 # Quote evaled strings.
16358 deplibs_check_method \
16363 sharedlib_from_linklib_cmd \
16366 archiver_list_spec \
16372 lt_cv_sys_global_symbol_pipe \
16373 lt_cv_sys_global_symbol_to_cdecl \
16374 lt_cv_sys_global_symbol_to_c_name_address \
16375 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16376 nm_file_list_spec \
16377 lt_prog_compiler_no_builtin_flag \
16378 lt_prog_compiler_pic \
16379 lt_prog_compiler_wl \
16380 lt_prog_compiler_static \
16381 lt_cv_prog_compiler_c_o \
16390 export_dynamic_flag_spec \
16391 whole_archive_flag_spec \
16392 compiler_needs_object \
16394 allow_undefined_flag \
16395 no_undefined_flag \
16396 hardcode_libdir_flag_spec \
16397 hardcode_libdir_separator \
16401 variables_saved_for_relink \
16403 library_names_spec \
16405 install_override_mode \
16409 compiler_lib_search_dirs \
16414 compiler_lib_search_path \
16418 lt_prog_compiler_no_builtin_flag_CXX \
16419 lt_prog_compiler_pic_CXX \
16420 lt_prog_compiler_wl_CXX \
16421 lt_prog_compiler_static_CXX \
16422 lt_cv_prog_compiler_c_o_CXX \
16423 export_dynamic_flag_spec_CXX \
16424 whole_archive_flag_spec_CXX \
16425 compiler_needs_object_CXX \
16427 allow_undefined_flag_CXX \
16428 no_undefined_flag_CXX \
16429 hardcode_libdir_flag_spec_CXX \
16430 hardcode_libdir_separator_CXX \
16431 exclude_expsyms_CXX \
16432 include_expsyms_CXX \
16433 file_list_spec_CXX \
16434 compiler_lib_search_dirs_CXX \
16435 predep_objects_CXX \
16436 postdep_objects_CXX \
16439 compiler_lib_search_path_CXX; do
16440 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16441 *[\\\\\\\`\\"\\\$]*)
16442 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16445 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16450 # Double-quote double-evaled strings.
16451 for var in reload_cmds \
16452 old_postinstall_cmds \
16453 old_postuninstall_cmds \
16455 extract_expsyms_cmds \
16456 old_archive_from_new_cmds \
16457 old_archive_from_expsyms_cmds \
16459 archive_expsym_cmds \
16461 module_expsym_cmds \
16462 export_symbols_cmds \
16466 postuninstall_cmds \
16468 sys_lib_search_path_spec \
16469 sys_lib_dlsearch_path_spec \
16471 old_archive_cmds_CXX \
16472 old_archive_from_new_cmds_CXX \
16473 old_archive_from_expsyms_cmds_CXX \
16475 archive_expsym_cmds_CXX \
16477 module_expsym_cmds_CXX \
16478 export_symbols_cmds_CXX \
16480 postlink_cmds_CXX; do
16481 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16482 *[\\\\\\\`\\"\\\$]*)
16483 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16486 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16491 ac_aux_dir='$ac_aux_dir'
16492 xsi_shell='$xsi_shell'
16493 lt_shell_append='$lt_shell_append'
16495 # See if we are running on zsh, and set the options which allow our
16496 # commands through without removal of \ escapes INIT.
16497 if test -n "\${ZSH_VERSION+set}" ; then
16498 setopt NO_GLOB_SUBST
16504 TIMESTAMP='$TIMESTAMP'
16515 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16517 # Handling of arguments.
16518 for ac_config_target in $ac_config_targets
16520 case $ac_config_target in
16521 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16522 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16523 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16525 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16530 # If the user did not use the arguments to specify the items to instantiate,
16531 # then the envvar interface is used. Set only those that are not.
16532 # We use the long form for the default assignment because of an extremely
16533 # bizarre bug on SunOS 4.1.3.
16534 if $ac_need_defaults; then
16535 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16536 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16539 # Have a temporary directory for convenience. Make it in the build tree
16540 # simply because there is no reason against having it here, and in addition,
16541 # creating and moving files from /tmp can sometimes cause problems.
16542 # Hook for its removal unless debugging.
16543 # Note that there is a small window in which the directory will not be cleaned:
16544 # after its creation but before its name has been assigned to `$tmp'.
16548 trap 'exit_status=$?
16549 : "${ac_tmp:=$tmp}"
16550 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16552 trap 'as_fn_exit 1' 1 2 13 15
16554 # Create a (secure) tmp directory for tmp files.
16557 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16561 tmp=./conf$$-$RANDOM
16562 (umask 077 && mkdir "$tmp")
16563 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16566 # Set up the scripts for CONFIG_FILES section.
16567 # No need to generate them if there are no CONFIG_FILES.
16568 # This happens for instance with `./config.status config.h'.
16569 if test -n "$CONFIG_FILES"; then
16572 ac_cr=`echo X | tr X '\015'`
16573 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16574 # But we know of no other shell where ac_cr would be empty at this
16575 # point, so we can use a bashism as a fallback.
16576 if test "x$ac_cr" = x; then
16577 eval ac_cr=\$\'\\r\'
16579 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16580 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16583 ac_cs_awk_cr=$ac_cr
16586 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16591 echo "cat >conf$$subs.awk <<_ACEOF" &&
16592 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16594 } >conf$$subs.sh ||
16595 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16596 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16598 for ac_last_try in false false false false false :; do
16599 . ./conf$$subs.sh ||
16600 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16602 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16603 if test $ac_delim_n = $ac_delim_num; then
16605 elif $ac_last_try; then
16606 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16608 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16611 rm -f conf$$subs.sh
16613 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16614 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16618 s/^/S["/; s/!.*/"]=/
16628 s/\(.\{148\}\)..*/\1/
16630 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16635 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16642 s/\(.\{148\}\)..*/\1/
16644 s/["\\]/\\&/g; s/^/"/; s/$/"/
16648 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16653 ' <conf$$subs.awk | sed '
16658 ' >>$CONFIG_STATUS || ac_write_fail=1
16659 rm -f conf$$subs.awk
16660 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16662 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16663 for (key in S) S_is_set[key] = 1
16669 nfields = split(line, field, "@")
16671 len = length(field[1])
16672 for (i = 2; i < nfields; i++) {
16674 keylen = length(key)
16675 if (S_is_set[key]) {
16677 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16678 len += length(value) + length(field[++i])
16689 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16690 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16691 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16694 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16695 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16698 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16699 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16700 # trailing colons and then remove the whole line if VPATH becomes empty
16701 # (actually we leave an empty line to preserve line numbers).
16702 if test "x$srcdir" = x.; then
16703 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16721 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16722 fi # test -n "$CONFIG_FILES"
16725 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
16730 :[FHLC]) ac_mode=$ac_tag; continue;;
16732 case $ac_mode$ac_tag in
16734 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16735 :[FH]-) ac_tag=-:-;;
16736 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16753 -) ac_f="$ac_tmp/stdin";;
16754 *) # Look for the file first in the build tree, then in the source tree
16755 # (if the path is not absolute). The absolute path cannot be DOS-style,
16756 # because $ac_f cannot contain `:'.
16760 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16762 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16764 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16765 as_fn_append ac_file_inputs " '$ac_f'"
16768 # Let's still pretend it is `configure' which instantiates (i.e., don't
16769 # use $as_me), people would be surprised to read:
16770 # /* config.h. Generated by config.status. */
16771 configure_input='Generated from '`
16772 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16774 if test x"$ac_file" != x-; then
16775 configure_input="$ac_file. $configure_input"
16776 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16777 $as_echo "$as_me: creating $ac_file" >&6;}
16779 # Neutralize special characters interpreted by sed in replacement strings.
16780 case $configure_input in #(
16781 *\&* | *\|* | *\\* )
16782 ac_sed_conf_input=`$as_echo "$configure_input" |
16783 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16784 *) ac_sed_conf_input=$configure_input;;
16788 *:-:* | *:-) cat >"$ac_tmp/stdin" \
16789 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16794 ac_dir=`$as_dirname -- "$ac_file" ||
16795 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16796 X"$ac_file" : 'X\(//\)[^/]' \| \
16797 X"$ac_file" : 'X\(//\)$' \| \
16798 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16799 $as_echo X"$ac_file" |
16800 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16804 /^X\(\/\/\)[^/].*/{
16817 as_dir="$ac_dir"; as_fn_mkdir_p
16821 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16823 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16824 # A ".." for each directory in $ac_dir_suffix.
16825 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16826 case $ac_top_builddir_sub in
16827 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16828 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16831 ac_abs_top_builddir=$ac_pwd
16832 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16833 # for backward compatibility:
16834 ac_top_builddir=$ac_top_build_prefix
16837 .) # We are building in place.
16839 ac_top_srcdir=$ac_top_builddir_sub
16840 ac_abs_top_srcdir=$ac_pwd ;;
16841 [\\/]* | ?:[\\/]* ) # Absolute name.
16842 ac_srcdir=$srcdir$ac_dir_suffix;
16843 ac_top_srcdir=$srcdir
16844 ac_abs_top_srcdir=$srcdir ;;
16845 *) # Relative name.
16846 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16847 ac_top_srcdir=$ac_top_build_prefix$srcdir
16848 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16850 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16860 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16861 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16863 ac_MKDIR_P=$MKDIR_P
16865 [\\/$]* | ?:[\\/]* ) ;;
16866 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16870 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16871 # If the template does not know about datarootdir, expand it.
16872 # FIXME: This hack should be removed a few years after 2.60.
16873 ac_datarootdir_hack=; ac_datarootdir_seen=
16884 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16885 *datarootdir*) ac_datarootdir_seen=yes;;
16886 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16888 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16890 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16891 ac_datarootdir_hack='
16892 s&@datadir@&$datadir&g
16893 s&@docdir@&$docdir&g
16894 s&@infodir@&$infodir&g
16895 s&@localedir@&$localedir&g
16896 s&@mandir@&$mandir&g
16897 s&\\\${datarootdir}&$datarootdir&g' ;;
16901 # Neutralize VPATH when `$srcdir' = `.'.
16902 # Shell code in configure.ac might set extrasub.
16903 # FIXME: do we really want to maintain this feature?
16904 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16905 ac_sed_extra="$ac_vpsub
16908 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16910 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16911 s|@configure_input@|$ac_sed_conf_input|;t t
16912 s&@top_builddir@&$ac_top_builddir_sub&;t t
16913 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16914 s&@srcdir@&$ac_srcdir&;t t
16915 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16916 s&@top_srcdir@&$ac_top_srcdir&;t t
16917 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16918 s&@builddir@&$ac_builddir&;t t
16919 s&@abs_builddir@&$ac_abs_builddir&;t t
16920 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16921 s&@INSTALL@&$ac_INSTALL&;t t
16922 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16923 $ac_datarootdir_hack
16925 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16926 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16928 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16929 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16930 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16931 "$ac_tmp/out"`; test -z "$ac_out"; } &&
16932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16933 which seems to be undefined. Please make sure it is defined" >&5
16934 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16935 which seems to be undefined. Please make sure it is defined" >&2;}
16937 rm -f "$ac_tmp/stdin"
16939 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16940 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16942 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16946 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16947 $as_echo "$as_me: executing $ac_file commands" >&6;}
16952 case $ac_file$ac_mode in
16953 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16954 # Autoconf 2.62 quotes --file arguments for eval, but not when files
16955 # are listed without --file. Let's play safe and only enable the eval
16956 # if we detect the quoting.
16957 case $CONFIG_FILES in
16958 *\'*) eval set x "$CONFIG_FILES" ;;
16959 *) set x $CONFIG_FILES ;;
16964 # Strip MF so we end up with the name of the file.
16965 mf=`echo "$mf" | sed -e 's/:.*$//'`
16966 # Check whether this is an Automake generated Makefile or not.
16967 # We used to match only the files named `Makefile.in', but
16968 # some people rename them; so instead we look at the file content.
16969 # Grep'ing the first line is not enough: some people post-process
16970 # each Makefile.in and add a new line on top of each file to say so.
16971 # Grep'ing the whole file is not good either: AIX grep has a line
16972 # limit of 2048, but all sed's we know have understand at least 4000.
16973 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16974 dirpart=`$as_dirname -- "$mf" ||
16975 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16976 X"$mf" : 'X\(//\)[^/]' \| \
16977 X"$mf" : 'X\(//\)$' \| \
16978 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16980 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16984 /^X\(\/\/\)[^/].*/{
17000 # Extract the definition of DEPDIR, am__include, and am__quote
17001 # from the Makefile without running `make'.
17002 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17003 test -z "$DEPDIR" && continue
17004 am__include=`sed -n 's/^am__include = //p' < "$mf"`
17005 test -z "am__include" && continue
17006 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17007 # When using ansi2knr, U may be empty or an underscore; expand it
17008 U=`sed -n 's/^U = //p' < "$mf"`
17009 # Find all dependency output files, they are included files with
17010 # $(DEPDIR) in their names. We invoke sed twice because it is the
17011 # simplest approach to changing $(DEPDIR) to its actual value in the
17013 for file in `sed -n "
17014 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17015 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17016 # Make sure the directory exists.
17017 test -f "$dirpart/$file" && continue
17018 fdir=`$as_dirname -- "$file" ||
17019 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17020 X"$file" : 'X\(//\)[^/]' \| \
17021 X"$file" : 'X\(//\)$' \| \
17022 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17023 $as_echo X"$file" |
17024 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17028 /^X\(\/\/\)[^/].*/{
17041 as_dir=$dirpart/$fdir; as_fn_mkdir_p
17042 # echo "creating $dirpart/$file"
17043 echo '# dummy' > "$dirpart/$file"
17050 # See if we are running on zsh, and set the options which allow our
17051 # commands through without removal of \ escapes.
17052 if test -n "${ZSH_VERSION+set}" ; then
17053 setopt NO_GLOB_SUBST
17056 cfgfile="${ofile}T"
17057 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17060 cat <<_LT_EOF >> "$cfgfile"
17063 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17064 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17065 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17066 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17068 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17069 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
17071 # Written by Gordon Matzigkeit, 1996
17073 # This file is part of GNU Libtool.
17075 # GNU Libtool is free software; you can redistribute it and/or
17076 # modify it under the terms of the GNU General Public License as
17077 # published by the Free Software Foundation; either version 2 of
17078 # the License, or (at your option) any later version.
17080 # As a special exception to the GNU General Public License,
17081 # if you distribute this file as part of a program or library that
17082 # is built using GNU Libtool, you may include this file under the
17083 # same distribution terms that you use for the rest of that program.
17085 # GNU Libtool is distributed in the hope that it will be useful,
17086 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17087 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17088 # GNU General Public License for more details.
17090 # You should have received a copy of the GNU General Public License
17091 # along with GNU Libtool; see the file COPYING. If not, a copy
17092 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17093 # obtained by writing to the Free Software Foundation, Inc.,
17094 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17097 # The names of the tagged configurations supported by this script.
17098 available_tags="CXX "
17100 # ### BEGIN LIBTOOL CONFIG
17102 # Which release of libtool.m4 was used?
17103 macro_version=$macro_version
17104 macro_revision=$macro_revision
17106 # Whether or not to build shared libraries.
17107 build_libtool_libs=$enable_shared
17109 # Whether or not to build static libraries.
17110 build_old_libs=$enable_static
17112 # What type of objects to build.
17115 # Whether or not to optimize for fast installation.
17116 fast_install=$enable_fast_install
17118 # Shell to use when invoking shell scripts.
17121 # An echo program that protects backslashes.
17124 # The PATH separator for the build system.
17125 PATH_SEPARATOR=$lt_PATH_SEPARATOR
17128 host_alias=$host_alias
17132 # The build system.
17133 build_alias=$build_alias
17137 # A sed program that does not truncate output.
17140 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17141 Xsed="\$SED -e 1s/^X//"
17143 # A grep program that handles long lines.
17149 # A literal string matcher.
17152 # A BSD- or MS-compatible name lister.
17155 # Whether we need soft or hard links.
17158 # What is the maximum length of a command?
17159 max_cmd_len=$max_cmd_len
17161 # Object file suffix (normally "o").
17164 # Executable file suffix (normally "").
17167 # whether the shell understands "unset".
17170 # turn spaces into newlines.
17173 # turn newlines into spaces.
17176 # convert \$build file names to \$host format.
17177 to_host_file_cmd=$lt_cv_to_host_file_cmd
17179 # convert \$build files to toolchain format.
17180 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17182 # An object symbol dumper.
17183 OBJDUMP=$lt_OBJDUMP
17185 # Method to check whether dependent libraries are shared objects.
17186 deplibs_check_method=$lt_deplibs_check_method
17188 # Command to use when deplibs_check_method = "file_magic".
17189 file_magic_cmd=$lt_file_magic_cmd
17191 # How to find potential files when deplibs_check_method = "file_magic".
17192 file_magic_glob=$lt_file_magic_glob
17194 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17195 want_nocaseglob=$lt_want_nocaseglob
17197 # DLL creation program.
17198 DLLTOOL=$lt_DLLTOOL
17200 # Command to associate shared and link libraries.
17201 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17206 # Flags to create an archive.
17207 AR_FLAGS=$lt_AR_FLAGS
17209 # How to feed a file listing to the archiver.
17210 archiver_list_spec=$lt_archiver_list_spec
17212 # A symbol stripping program.
17215 # Commands used to install an old-style archive.
17217 old_postinstall_cmds=$lt_old_postinstall_cmds
17218 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17220 # Whether to use a lock for old archive extraction.
17221 lock_old_archive_extraction=$lock_old_archive_extraction
17226 # LTCC compiler flags.
17227 LTCFLAGS=$lt_CFLAGS
17229 # Take the output of nm and produce a listing of raw symbols and C names.
17230 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17232 # Transform the output of nm in a proper C declaration.
17233 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17235 # Transform the output of nm in a C name address pair.
17236 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17238 # Transform the output of nm in a C name address pair when lib prefix is needed.
17239 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17241 # Specify filename containing input files for \$NM.
17242 nm_file_list_spec=$lt_nm_file_list_spec
17244 # The root where to search for dependent libraries,and in which our libraries should be installed.
17245 lt_sysroot=$lt_sysroot
17247 # The name of the directory that contains temporary libtool files.
17250 # Used to examine libraries when file_magic_cmd begins with "file".
17251 MAGIC_CMD=$MAGIC_CMD
17253 # Must we lock files when doing compilation?
17254 need_locks=$lt_need_locks
17257 MANIFEST_TOOL=$lt_MANIFEST_TOOL
17259 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17260 DSYMUTIL=$lt_DSYMUTIL
17262 # Tool to change global to local symbols on Mac OS X.
17265 # Tool to manipulate fat objects and archives on Mac OS X.
17268 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17271 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17272 OTOOL64=$lt_OTOOL64
17274 # Old archive suffix (normally "a").
17277 # Shared library suffix (normally ".so").
17278 shrext_cmds=$lt_shrext_cmds
17280 # The commands to extract the exported symbol list from a shared archive.
17281 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17283 # Variables whose values should be saved in libtool wrapper scripts and
17284 # restored at link time.
17285 variables_saved_for_relink=$lt_variables_saved_for_relink
17287 # Do we need the "lib" prefix for modules?
17288 need_lib_prefix=$need_lib_prefix
17290 # Do we need a version for libraries?
17291 need_version=$need_version
17293 # Library versioning type.
17294 version_type=$version_type
17296 # Shared library runtime path variable.
17297 runpath_var=$runpath_var
17299 # Shared library path variable.
17300 shlibpath_var=$shlibpath_var
17302 # Is shlibpath searched before the hard-coded library search path?
17303 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17305 # Format of library name prefix.
17306 libname_spec=$lt_libname_spec
17308 # List of archive names. First name is the real one, the rest are links.
17309 # The last name is the one that the linker finds with -lNAME
17310 library_names_spec=$lt_library_names_spec
17312 # The coded name of the library, if different from the real name.
17313 soname_spec=$lt_soname_spec
17315 # Permission mode override for installation of shared libraries.
17316 install_override_mode=$lt_install_override_mode
17318 # Command to use after installation of a shared archive.
17319 postinstall_cmds=$lt_postinstall_cmds
17321 # Command to use after uninstallation of a shared archive.
17322 postuninstall_cmds=$lt_postuninstall_cmds
17324 # Commands used to finish a libtool library installation in a directory.
17325 finish_cmds=$lt_finish_cmds
17327 # As "finish_cmds", except a single script fragment to be evaled but
17329 finish_eval=$lt_finish_eval
17331 # Whether we should hardcode library paths into libraries.
17332 hardcode_into_libs=$hardcode_into_libs
17334 # Compile-time system search path for libraries.
17335 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17337 # Run-time system search path for libraries.
17338 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17340 # Whether dlopen is supported.
17341 dlopen_support=$enable_dlopen
17343 # Whether dlopen of programs is supported.
17344 dlopen_self=$enable_dlopen_self
17346 # Whether dlopen of statically linked programs is supported.
17347 dlopen_self_static=$enable_dlopen_self_static
17349 # Commands to strip libraries.
17350 old_striplib=$lt_old_striplib
17351 striplib=$lt_striplib
17354 # The linker used to build libraries.
17357 # How to create reloadable object files.
17358 reload_flag=$lt_reload_flag
17359 reload_cmds=$lt_reload_cmds
17361 # Commands used to build an old-style archive.
17362 old_archive_cmds=$lt_old_archive_cmds
17364 # A language specific compiler.
17367 # Is the compiler the GNU compiler?
17370 # Compiler flag to turn off builtin functions.
17371 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17373 # Additional compiler flags for building library objects.
17374 pic_flag=$lt_lt_prog_compiler_pic
17376 # How to pass a linker flag through the compiler.
17377 wl=$lt_lt_prog_compiler_wl
17379 # Compiler flag to prevent dynamic linking.
17380 link_static_flag=$lt_lt_prog_compiler_static
17382 # Does compiler simultaneously support -c and -o options?
17383 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17385 # Whether or not to add -lc for building shared libraries.
17386 build_libtool_need_lc=$archive_cmds_need_lc
17388 # Whether or not to disallow shared libs when runtime libs are static.
17389 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17391 # Compiler flag to allow reflexive dlopens.
17392 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17394 # Compiler flag to generate shared objects directly from archives.
17395 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17397 # Whether the compiler copes with passing no objects directly.
17398 compiler_needs_object=$lt_compiler_needs_object
17400 # Create an old-style archive from a shared archive.
17401 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17403 # Create a temporary old-style archive to link instead of a shared archive.
17404 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17406 # Commands used to build a shared archive.
17407 archive_cmds=$lt_archive_cmds
17408 archive_expsym_cmds=$lt_archive_expsym_cmds
17410 # Commands used to build a loadable module if different from building
17411 # a shared archive.
17412 module_cmds=$lt_module_cmds
17413 module_expsym_cmds=$lt_module_expsym_cmds
17415 # Whether we are building with GNU ld or not.
17416 with_gnu_ld=$lt_with_gnu_ld
17418 # Flag that allows shared libraries with undefined symbols to be built.
17419 allow_undefined_flag=$lt_allow_undefined_flag
17421 # Flag that enforces no undefined symbols.
17422 no_undefined_flag=$lt_no_undefined_flag
17424 # Flag to hardcode \$libdir into a binary during linking.
17425 # This must work even if \$libdir does not exist
17426 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17428 # Whether we need a single "-rpath" flag with a separated argument.
17429 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17431 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17432 # DIR into the resulting binary.
17433 hardcode_direct=$hardcode_direct
17435 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17436 # DIR into the resulting binary and the resulting library dependency is
17437 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17438 # library is relocated.
17439 hardcode_direct_absolute=$hardcode_direct_absolute
17441 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17442 # into the resulting binary.
17443 hardcode_minus_L=$hardcode_minus_L
17445 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17446 # into the resulting binary.
17447 hardcode_shlibpath_var=$hardcode_shlibpath_var
17449 # Set to "yes" if building a shared library automatically hardcodes DIR
17450 # into the library and all subsequent libraries and executables linked
17452 hardcode_automatic=$hardcode_automatic
17454 # Set to yes if linker adds runtime paths of dependent libraries
17455 # to runtime path list.
17456 inherit_rpath=$inherit_rpath
17458 # Whether libtool must link a program against all its dependency libraries.
17459 link_all_deplibs=$link_all_deplibs
17461 # Set to "yes" if exported symbols are required.
17462 always_export_symbols=$always_export_symbols
17464 # The commands to list exported symbols.
17465 export_symbols_cmds=$lt_export_symbols_cmds
17467 # Symbols that should not be listed in the preloaded symbols.
17468 exclude_expsyms=$lt_exclude_expsyms
17470 # Symbols that must always be exported.
17471 include_expsyms=$lt_include_expsyms
17473 # Commands necessary for linking programs (against libraries) with templates.
17474 prelink_cmds=$lt_prelink_cmds
17476 # Commands necessary for finishing linking programs.
17477 postlink_cmds=$lt_postlink_cmds
17479 # Specify filename containing input files.
17480 file_list_spec=$lt_file_list_spec
17482 # How to hardcode a shared library path into an executable.
17483 hardcode_action=$hardcode_action
17485 # The directories searched by this compiler when creating a shared library.
17486 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
17488 # Dependencies to place before and after the objects being linked to
17489 # create a shared library.
17490 predep_objects=$lt_predep_objects
17491 postdep_objects=$lt_postdep_objects
17492 predeps=$lt_predeps
17493 postdeps=$lt_postdeps
17495 # The library search path used internally by the compiler when linking
17496 # a shared library.
17497 compiler_lib_search_path=$lt_compiler_lib_search_path
17499 # ### END LIBTOOL CONFIG
17505 cat <<\_LT_EOF >> "$cfgfile"
17506 # AIX sometimes has problems with the GCC collect2 program. For some
17507 # reason, if we set the COLLECT_NAMES environment variable, the problems
17508 # vanish in a puff of smoke.
17509 if test "X${COLLECT_NAMES+set}" != Xset; then
17511 export COLLECT_NAMES
17518 ltmain="$ac_aux_dir/ltmain.sh"
17521 # We use sed instead of cat because bash on DJGPP gets confused if
17522 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17523 # text mode, it properly converts lines to CR/LF. This bash problem
17524 # is reportedly fixed, but why not run on old versions too?
17525 sed '$q' "$ltmain" >> "$cfgfile" \
17526 || (rm -f "$cfgfile"; exit 1)
17528 if test x"$xsi_shell" = xyes; then
17529 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17533 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17534 \ * ) func_dirname_result="${3}" ;;\
17536 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17537 && mv -f "$cfgfile.tmp" "$cfgfile" \
17538 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17539 test 0 -eq $? || _lt_function_replace_fail=:
17542 sed -e '/^func_basename ()$/,/^} # func_basename /c\
17545 \ func_basename_result="${1##*/}"\
17546 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17547 && mv -f "$cfgfile.tmp" "$cfgfile" \
17548 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17549 test 0 -eq $? || _lt_function_replace_fail=:
17552 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17553 func_dirname_and_basename ()\
17556 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17557 \ * ) func_dirname_result="${3}" ;;\
17559 \ func_basename_result="${1##*/}"\
17560 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17561 && mv -f "$cfgfile.tmp" "$cfgfile" \
17562 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17563 test 0 -eq $? || _lt_function_replace_fail=:
17566 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17569 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17570 \ # positional parameters, so assign one to ordinary parameter first.\
17571 \ func_stripname_result=${3}\
17572 \ func_stripname_result=${func_stripname_result#"${1}"}\
17573 \ func_stripname_result=${func_stripname_result%"${2}"}\
17574 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17575 && mv -f "$cfgfile.tmp" "$cfgfile" \
17576 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17577 test 0 -eq $? || _lt_function_replace_fail=:
17580 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17581 func_split_long_opt ()\
17583 \ func_split_long_opt_name=${1%%=*}\
17584 \ func_split_long_opt_arg=${1#*=}\
17585 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17586 && mv -f "$cfgfile.tmp" "$cfgfile" \
17587 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17588 test 0 -eq $? || _lt_function_replace_fail=:
17591 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17592 func_split_short_opt ()\
17594 \ func_split_short_opt_arg=${1#??}\
17595 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17596 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17597 && mv -f "$cfgfile.tmp" "$cfgfile" \
17598 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17599 test 0 -eq $? || _lt_function_replace_fail=:
17602 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17606 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17607 \ *) func_lo2o_result=${1} ;;\
17609 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17610 && mv -f "$cfgfile.tmp" "$cfgfile" \
17611 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17612 test 0 -eq $? || _lt_function_replace_fail=:
17615 sed -e '/^func_xform ()$/,/^} # func_xform /c\
17618 func_xform_result=${1%.*}.lo\
17619 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17620 && mv -f "$cfgfile.tmp" "$cfgfile" \
17621 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17622 test 0 -eq $? || _lt_function_replace_fail=:
17625 sed -e '/^func_arith ()$/,/^} # func_arith /c\
17628 func_arith_result=$(( $* ))\
17629 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17630 && mv -f "$cfgfile.tmp" "$cfgfile" \
17631 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17632 test 0 -eq $? || _lt_function_replace_fail=:
17635 sed -e '/^func_len ()$/,/^} # func_len /c\
17638 func_len_result=${#1}\
17639 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17640 && mv -f "$cfgfile.tmp" "$cfgfile" \
17641 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17642 test 0 -eq $? || _lt_function_replace_fail=:
17646 if test x"$lt_shell_append" = xyes; then
17647 sed -e '/^func_append ()$/,/^} # func_append /c\
17650 eval "${1}+=\\${2}"\
17651 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17652 && mv -f "$cfgfile.tmp" "$cfgfile" \
17653 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17654 test 0 -eq $? || _lt_function_replace_fail=:
17657 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17658 func_append_quoted ()\
17660 \ func_quote_for_eval "${2}"\
17661 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17662 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17663 && mv -f "$cfgfile.tmp" "$cfgfile" \
17664 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17665 test 0 -eq $? || _lt_function_replace_fail=:
17668 # Save a `func_append' function call where possible by direct use of '+='
17669 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17670 && mv -f "$cfgfile.tmp" "$cfgfile" \
17671 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17672 test 0 -eq $? || _lt_function_replace_fail=:
17674 # Save a `func_append' function call even when '+=' is not available
17675 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17676 && mv -f "$cfgfile.tmp" "$cfgfile" \
17677 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17678 test 0 -eq $? || _lt_function_replace_fail=:
17681 if test x"$_lt_function_replace_fail" = x":"; then
17682 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17683 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17687 mv -f "$cfgfile" "$ofile" ||
17688 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17692 cat <<_LT_EOF >> "$ofile"
17694 # ### BEGIN LIBTOOL TAG CONFIG: CXX
17696 # The linker used to build libraries.
17699 # How to create reloadable object files.
17700 reload_flag=$lt_reload_flag_CXX
17701 reload_cmds=$lt_reload_cmds_CXX
17703 # Commands used to build an old-style archive.
17704 old_archive_cmds=$lt_old_archive_cmds_CXX
17706 # A language specific compiler.
17707 CC=$lt_compiler_CXX
17709 # Is the compiler the GNU compiler?
17712 # Compiler flag to turn off builtin functions.
17713 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
17715 # Additional compiler flags for building library objects.
17716 pic_flag=$lt_lt_prog_compiler_pic_CXX
17718 # How to pass a linker flag through the compiler.
17719 wl=$lt_lt_prog_compiler_wl_CXX
17721 # Compiler flag to prevent dynamic linking.
17722 link_static_flag=$lt_lt_prog_compiler_static_CXX
17724 # Does compiler simultaneously support -c and -o options?
17725 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
17727 # Whether or not to add -lc for building shared libraries.
17728 build_libtool_need_lc=$archive_cmds_need_lc_CXX
17730 # Whether or not to disallow shared libs when runtime libs are static.
17731 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
17733 # Compiler flag to allow reflexive dlopens.
17734 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
17736 # Compiler flag to generate shared objects directly from archives.
17737 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
17739 # Whether the compiler copes with passing no objects directly.
17740 compiler_needs_object=$lt_compiler_needs_object_CXX
17742 # Create an old-style archive from a shared archive.
17743 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
17745 # Create a temporary old-style archive to link instead of a shared archive.
17746 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
17748 # Commands used to build a shared archive.
17749 archive_cmds=$lt_archive_cmds_CXX
17750 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
17752 # Commands used to build a loadable module if different from building
17753 # a shared archive.
17754 module_cmds=$lt_module_cmds_CXX
17755 module_expsym_cmds=$lt_module_expsym_cmds_CXX
17757 # Whether we are building with GNU ld or not.
17758 with_gnu_ld=$lt_with_gnu_ld_CXX
17760 # Flag that allows shared libraries with undefined symbols to be built.
17761 allow_undefined_flag=$lt_allow_undefined_flag_CXX
17763 # Flag that enforces no undefined symbols.
17764 no_undefined_flag=$lt_no_undefined_flag_CXX
17766 # Flag to hardcode \$libdir into a binary during linking.
17767 # This must work even if \$libdir does not exist
17768 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
17770 # Whether we need a single "-rpath" flag with a separated argument.
17771 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
17773 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17774 # DIR into the resulting binary.
17775 hardcode_direct=$hardcode_direct_CXX
17777 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17778 # DIR into the resulting binary and the resulting library dependency is
17779 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17780 # library is relocated.
17781 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
17783 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17784 # into the resulting binary.
17785 hardcode_minus_L=$hardcode_minus_L_CXX
17787 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17788 # into the resulting binary.
17789 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
17791 # Set to "yes" if building a shared library automatically hardcodes DIR
17792 # into the library and all subsequent libraries and executables linked
17794 hardcode_automatic=$hardcode_automatic_CXX
17796 # Set to yes if linker adds runtime paths of dependent libraries
17797 # to runtime path list.
17798 inherit_rpath=$inherit_rpath_CXX
17800 # Whether libtool must link a program against all its dependency libraries.
17801 link_all_deplibs=$link_all_deplibs_CXX
17803 # Set to "yes" if exported symbols are required.
17804 always_export_symbols=$always_export_symbols_CXX
17806 # The commands to list exported symbols.
17807 export_symbols_cmds=$lt_export_symbols_cmds_CXX
17809 # Symbols that should not be listed in the preloaded symbols.
17810 exclude_expsyms=$lt_exclude_expsyms_CXX
17812 # Symbols that must always be exported.
17813 include_expsyms=$lt_include_expsyms_CXX
17815 # Commands necessary for linking programs (against libraries) with templates.
17816 prelink_cmds=$lt_prelink_cmds_CXX
17818 # Commands necessary for finishing linking programs.
17819 postlink_cmds=$lt_postlink_cmds_CXX
17821 # Specify filename containing input files.
17822 file_list_spec=$lt_file_list_spec_CXX
17824 # How to hardcode a shared library path into an executable.
17825 hardcode_action=$hardcode_action_CXX
17827 # The directories searched by this compiler when creating a shared library.
17828 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
17830 # Dependencies to place before and after the objects being linked to
17831 # create a shared library.
17832 predep_objects=$lt_predep_objects_CXX
17833 postdep_objects=$lt_postdep_objects_CXX
17834 predeps=$lt_predeps_CXX
17835 postdeps=$lt_postdeps_CXX
17837 # The library search path used internally by the compiler when linking
17838 # a shared library.
17839 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
17841 # ### END LIBTOOL TAG CONFIG: CXX
17852 ac_clean_files=$ac_clean_files_save
17854 test $ac_write_fail = 0 ||
17855 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17858 # configure is writing to config.log, and then calls config.status.
17859 # config.status does its own redirection, appending to config.log.
17860 # Unfortunately, on DOS this fails, as config.log is still kept open
17861 # by configure, so config.status won't be able to write to it; its
17862 # output is simply discarded. So we exec the FD to /dev/null,
17863 # effectively closing config.log, so it can be properly (re)opened and
17864 # appended to by config.status. When coming back to configure, we
17865 # need to make the FD available again.
17866 if test "$no_create" != yes; then
17868 ac_config_status_args=
17869 test "$silent" = yes &&
17870 ac_config_status_args="$ac_config_status_args --quiet"
17872 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17874 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17875 # would make configure fail if this is the last instruction.
17876 $ac_cs_success || as_fn_exit 1
17878 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17879 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17880 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}