2 @%:@ Guess values for system-dependent variables and create Makefiles.
3 @%:@ Generated by GNU Autoconf 2.69 for Jerasure 2.0.
6 @%:@ Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 @%:@ This configure script is free software; the Free Software Foundation
10 @%:@ gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in @%:@(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
147 *v*x* | *x*v* ) as_opts=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in @%:@(
171 set -o posix ;; @%:@(
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
200 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
201 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
202 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 PATH=/empty FPATH=/empty; export PATH FPATH
205 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
206 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
207 test \$(( 1 + 1 )) = 2 || exit 1"
208 if (eval "$as_required") 2>/dev/null; then :
213 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
218 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221 test -z "$as_dir" && as_dir=.
223 case $as_dir in @%:@(
225 for as_base in sh bash ksh sh5; do
226 # Try only shells that exist, to save several forks.
227 as_shell=$as_dir/$as_base
228 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
229 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
230 CONFIG_SHELL=$as_shell as_have_required=yes
231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
239 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
241 CONFIG_SHELL=$SHELL as_have_required=yes
246 if test "x$CONFIG_SHELL" != x; then :
248 # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
256 *v*x* | *x*v* ) as_opts=-vx ;;
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
268 if test x$as_have_required = xno; then :
269 $as_echo "$0: This script requires a shell more modern than all"
270 $as_echo "$0: the shells that I found on your system."
271 if test x${ZSH_VERSION+set} = xset ; then
272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
284 SHELL=${CONFIG_SHELL-/bin/sh}
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE= GREP_OPTIONS=
288 unset CLICOLOR_FORCE GREP_OPTIONS
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
295 @%:@ Portably unset VAR.
298 { eval $1=; unset $1;}
302 @%:@ as_fn_set_status STATUS
303 @%:@ -----------------------
304 @%:@ Set @S|@? to STATUS, without forking.
308 } @%:@ as_fn_set_status
310 @%:@ as_fn_exit STATUS
311 @%:@ -----------------
312 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
322 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
327 -*) as_dir=./$as_dir;;
329 test -d "$as_dir" || eval $as_mkdir_p || {
333 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
336 as_dirs="'$as_qdir' $as_dirs"
337 as_dir=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339 X"$as_dir" : 'X\(//\)[^/]' \| \
340 X"$as_dir" : 'X\(//\)$' \| \
341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
360 test -d "$as_dir" && break
362 test -z "$as_dirs" || eval "mkdir $as_dirs"
363 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
368 @%:@ as_fn_executable_p FILE
369 @%:@ -----------------------
370 @%:@ Test if FILE is an executable regular file.
371 as_fn_executable_p ()
373 test -f "$1" && test -x "$1"
374 } @%:@ as_fn_executable_p
375 @%:@ as_fn_append VAR VALUE
376 @%:@ ----------------------
377 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
378 @%:@ advantage of any shell optimizations that allow amortized linear growth over
379 @%:@ repeated appends, instead of the typical quadratic growth present in naive
380 @%:@ implementations.
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
382 eval 'as_fn_append ()
393 @%:@ as_fn_arith ARG...
394 @%:@ ------------------
395 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
396 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
397 @%:@ must be portable across @S|@(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
406 as_val=`expr "$@" || test $? -eq 1`
411 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
412 @%:@ ----------------------------------------
413 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 @%:@ script with STATUS, using 1 if that was 0.
418 as_status=$1; test $as_status -eq 0 && as_status=1
420 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
423 $as_echo "$as_me: error: $2" >&2
424 as_fn_exit $as_status
427 if expr a : '\(a\)' >/dev/null 2>&1 &&
428 test "X`expr 00001 : '.*\(...\)'`" = X001; then
434 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
440 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
446 as_me=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448 X"$0" : 'X\(//\)$' \| \
449 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
451 sed '/^.*\/\([^/][^/]*\)\/*$/{
465 # Avoid depending upon Character Ranges.
466 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits='0123456789'
470 as_cr_alnum=$as_cr_Letters$as_cr_digits
473 as_lineno_1=$LINENO as_lineno_1a=$LINENO
474 as_lineno_2=$LINENO as_lineno_2a=$LINENO
475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493 chmod +x "$as_me.lineno" ||
494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497 # already done that, so ensure we don't try to do so again and fall
498 # in an infinite loop. This has already happened in practice.
499 _as_can_reexec=no; export _as_can_reexec
500 # Don't try to exec as it changes $[0], causing all sort of problems
501 # (the dirname of $[0] is not the place where we might find the
502 # original and so on. Autoconf is especially sensitive to this).
504 # Exit status is that of the last command.
508 ECHO_C= ECHO_N= ECHO_T=
509 case `echo -n x` in @%:@(((((
511 case `echo 'xy\c'` in
512 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
514 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
521 rm -f conf$$ conf$$.exe conf$$.file
522 if test -d conf$$.dir; then
523 rm -f conf$$.dir/conf$$.file
526 mkdir conf$$.dir 2>/dev/null
528 if (echo >conf$$.file) 2>/dev/null; then
529 if ln -s conf$$.file conf$$ 2>/dev/null; then
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -pR'.
535 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
537 elif ln conf$$.file conf$$ 2>/dev/null; then
545 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
546 rmdir conf$$.dir 2>/dev/null
548 if mkdir -p . 2>/dev/null; then
549 as_mkdir_p='mkdir -p "$as_dir"'
551 test -d ./-p && rmdir ./-p
556 as_executable_p=as_fn_executable_p
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
564 SHELL=${CONFIG_SHELL-/bin/sh}
567 test -n "$DJDIR" || exec 7<&0 </dev/null
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
578 ac_default_prefix=/usr/local
580 ac_config_libobj_dir=.
587 # Identity of this package.
588 PACKAGE_NAME='Jerasure'
589 PACKAGE_TARNAME='jerasure'
590 PACKAGE_VERSION='2.0'
591 PACKAGE_STRING='Jerasure 2.0'
593 PACKAGE_URL='https://jerasure.org/jerasure/jerasure'
595 ac_unique_file="src/jerasure.c"
596 # Factoring default headers for most tests.
597 ac_includes_default="\
599 #ifdef HAVE_SYS_TYPES_H
600 # include <sys/types.h>
602 #ifdef HAVE_SYS_STAT_H
603 # include <sys/stat.h>
609 # ifdef HAVE_STDLIB_H
614 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
619 #ifdef HAVE_STRINGS_H
620 # include <strings.h>
622 #ifdef HAVE_INTTYPES_H
623 # include <inttypes.h>
632 ac_subst_vars='am__EXEEXT_FALSE
705 INSTALL_STRIP_PROGRAM
748 program_transform_name
761 enable_option_checking
768 enable_dependency_tracking
774 ac_precious_vars='build_alias
790 # Initialize some variables set by options.
792 ac_init_version=false
793 ac_unrecognized_opts=
795 # The variables have the same names as the options, with
796 # dashes changed to underlines.
804 program_transform_name=s,x,x,
812 # Installation directory options.
813 # These are left unexpanded so users can "make install exec_prefix=/foo"
814 # and all the variables that are supposed to be based on exec_prefix
815 # by default will actually change.
816 # Use braces instead of parens because sh, perl, etc. also accept them.
817 # (The list follows the same order as the GNU Coding Standards.)
818 bindir='${exec_prefix}/bin'
819 sbindir='${exec_prefix}/sbin'
820 libexecdir='${exec_prefix}/libexec'
821 datarootdir='${prefix}/share'
822 datadir='${datarootdir}'
823 sysconfdir='${prefix}/etc'
824 sharedstatedir='${prefix}/com'
825 localstatedir='${prefix}/var'
826 runstatedir='${localstatedir}/run'
827 includedir='${prefix}/include'
828 oldincludedir='/usr/include'
829 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
830 infodir='${datarootdir}/info'
835 libdir='${exec_prefix}/lib'
836 localedir='${datarootdir}/locale'
837 mandir='${datarootdir}/man'
843 # If the previous option needs an argument, assign it.
844 if test -n "$ac_prev"; then
845 eval $ac_prev=\$ac_option
851 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
856 # Accept the important Cygnus configure options, so we can diagnose typos.
858 case $ac_dashdash$ac_option in
862 -bindir | --bindir | --bindi | --bind | --bin | --bi)
864 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
867 -build | --build | --buil | --bui | --bu)
868 ac_prev=build_alias ;;
869 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
870 build_alias=$ac_optarg ;;
872 -cache-file | --cache-file | --cache-fil | --cache-fi \
873 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
874 ac_prev=cache_file ;;
875 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
876 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
877 cache_file=$ac_optarg ;;
880 cache_file=config.cache ;;
882 -datadir | --datadir | --datadi | --datad)
884 -datadir=* | --datadir=* | --datadi=* | --datad=*)
885 datadir=$ac_optarg ;;
887 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
888 | --dataroo | --dataro | --datar)
889 ac_prev=datarootdir ;;
890 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
891 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
892 datarootdir=$ac_optarg ;;
894 -disable-* | --disable-*)
895 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
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--disable-$ac_useropt_orig"
906 ac_unrecognized_sep=', ';;
908 eval enable_$ac_useropt=no ;;
910 -docdir | --docdir | --docdi | --doc | --do)
912 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
915 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
917 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
920 -enable-* | --enable-*)
921 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
922 # Reject names that are not valid shell variable names.
923 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
924 as_fn_error $? "invalid feature name: $ac_useropt"
925 ac_useropt_orig=$ac_useropt
926 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
927 case $ac_user_opts in
931 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
932 ac_unrecognized_sep=', ';;
934 eval enable_$ac_useropt=\$ac_optarg ;;
936 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
937 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
938 | --exec | --exe | --ex)
939 ac_prev=exec_prefix ;;
940 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
941 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
942 | --exec=* | --exe=* | --ex=*)
943 exec_prefix=$ac_optarg ;;
945 -gas | --gas | --ga | --g)
946 # Obsolete; use --with-gas.
949 -help | --help | --hel | --he | -h)
951 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
952 ac_init_help=recursive ;;
953 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
954 ac_init_help=short ;;
956 -host | --host | --hos | --ho)
957 ac_prev=host_alias ;;
958 -host=* | --host=* | --hos=* | --ho=*)
959 host_alias=$ac_optarg ;;
961 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
963 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
965 htmldir=$ac_optarg ;;
967 -includedir | --includedir | --includedi | --included | --include \
968 | --includ | --inclu | --incl | --inc)
969 ac_prev=includedir ;;
970 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
971 | --includ=* | --inclu=* | --incl=* | --inc=*)
972 includedir=$ac_optarg ;;
974 -infodir | --infodir | --infodi | --infod | --info | --inf)
976 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
977 infodir=$ac_optarg ;;
979 -libdir | --libdir | --libdi | --libd)
981 -libdir=* | --libdir=* | --libdi=* | --libd=*)
984 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
985 | --libexe | --libex | --libe)
986 ac_prev=libexecdir ;;
987 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
988 | --libexe=* | --libex=* | --libe=*)
989 libexecdir=$ac_optarg ;;
991 -localedir | --localedir | --localedi | --localed | --locale)
993 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
994 localedir=$ac_optarg ;;
996 -localstatedir | --localstatedir | --localstatedi | --localstated \
997 | --localstate | --localstat | --localsta | --localst | --locals)
998 ac_prev=localstatedir ;;
999 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1000 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1001 localstatedir=$ac_optarg ;;
1003 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1005 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1006 mandir=$ac_optarg ;;
1008 -nfp | --nfp | --nf)
1009 # Obsolete; use --without-fp.
1012 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1013 | --no-cr | --no-c | -n)
1016 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1017 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1020 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1021 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1022 | --oldin | --oldi | --old | --ol | --o)
1023 ac_prev=oldincludedir ;;
1024 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1025 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1026 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1027 oldincludedir=$ac_optarg ;;
1029 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1031 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1032 prefix=$ac_optarg ;;
1034 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1035 | --program-pre | --program-pr | --program-p)
1036 ac_prev=program_prefix ;;
1037 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1038 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1039 program_prefix=$ac_optarg ;;
1041 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1042 | --program-suf | --program-su | --program-s)
1043 ac_prev=program_suffix ;;
1044 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1045 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1046 program_suffix=$ac_optarg ;;
1048 -program-transform-name | --program-transform-name \
1049 | --program-transform-nam | --program-transform-na \
1050 | --program-transform-n | --program-transform- \
1051 | --program-transform | --program-transfor \
1052 | --program-transfo | --program-transf \
1053 | --program-trans | --program-tran \
1054 | --progr-tra | --program-tr | --program-t)
1055 ac_prev=program_transform_name ;;
1056 -program-transform-name=* | --program-transform-name=* \
1057 | --program-transform-nam=* | --program-transform-na=* \
1058 | --program-transform-n=* | --program-transform-=* \
1059 | --program-transform=* | --program-transfor=* \
1060 | --program-transfo=* | --program-transf=* \
1061 | --program-trans=* | --program-tran=* \
1062 | --progr-tra=* | --program-tr=* | --program-t=*)
1063 program_transform_name=$ac_optarg ;;
1065 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1067 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1068 pdfdir=$ac_optarg ;;
1070 -psdir | --psdir | --psdi | --psd | --ps)
1072 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1075 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1076 | -silent | --silent | --silen | --sile | --sil)
1079 -runstatedir | --runstatedir | --runstatedi | --runstated \
1080 | --runstate | --runstat | --runsta | --runst | --runs \
1081 | --run | --ru | --r)
1082 ac_prev=runstatedir ;;
1083 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1084 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1085 | --run=* | --ru=* | --r=*)
1086 runstatedir=$ac_optarg ;;
1088 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1090 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1092 sbindir=$ac_optarg ;;
1094 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1095 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1096 | --sharedst | --shareds | --shared | --share | --shar \
1098 ac_prev=sharedstatedir ;;
1099 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1100 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1101 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1103 sharedstatedir=$ac_optarg ;;
1105 -site | --site | --sit)
1107 -site=* | --site=* | --sit=*)
1110 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1112 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1113 srcdir=$ac_optarg ;;
1115 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1116 | --syscon | --sysco | --sysc | --sys | --sy)
1117 ac_prev=sysconfdir ;;
1118 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1119 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1120 sysconfdir=$ac_optarg ;;
1122 -target | --target | --targe | --targ | --tar | --ta | --t)
1123 ac_prev=target_alias ;;
1124 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1125 target_alias=$ac_optarg ;;
1127 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1130 -version | --version | --versio | --versi | --vers | -V)
1131 ac_init_version=: ;;
1134 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1135 # Reject names that are not valid shell variable names.
1136 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1137 as_fn_error $? "invalid package name: $ac_useropt"
1138 ac_useropt_orig=$ac_useropt
1139 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1140 case $ac_user_opts in
1144 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1145 ac_unrecognized_sep=', ';;
1147 eval with_$ac_useropt=\$ac_optarg ;;
1149 -without-* | --without-*)
1150 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1151 # Reject names that are not valid shell variable names.
1152 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1153 as_fn_error $? "invalid package name: $ac_useropt"
1154 ac_useropt_orig=$ac_useropt
1155 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1156 case $ac_user_opts in
1160 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1161 ac_unrecognized_sep=', ';;
1163 eval with_$ac_useropt=no ;;
1166 # Obsolete; use --with-x.
1169 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1170 | --x-incl | --x-inc | --x-in | --x-i)
1171 ac_prev=x_includes ;;
1172 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1173 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1174 x_includes=$ac_optarg ;;
1176 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1177 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1178 ac_prev=x_libraries ;;
1179 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1180 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1181 x_libraries=$ac_optarg ;;
1183 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1184 Try \`$0 --help' for more information"
1188 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1189 # Reject names that are not valid shell variable names.
1190 case $ac_envvar in #(
1191 '' | [0-9]* | *[!_$as_cr_alnum]* )
1192 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1194 eval $ac_envvar=\$ac_optarg
1195 export $ac_envvar ;;
1198 # FIXME: should be removed in autoconf 3.0.
1199 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1200 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1201 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1202 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1208 if test -n "$ac_prev"; then
1209 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1210 as_fn_error $? "missing argument to $ac_option"
1213 if test -n "$ac_unrecognized_opts"; then
1214 case $enable_option_checking in
1216 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1217 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1221 # Check all directory arguments for consistency.
1222 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1223 datadir sysconfdir sharedstatedir localstatedir includedir \
1224 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1225 libdir localedir mandir runstatedir
1227 eval ac_val=\$$ac_var
1228 # Remove trailing slashes.
1231 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1232 eval $ac_var=\$ac_val;;
1234 # Be sure to have absolute directory names.
1236 [\\/$]* | ?:[\\/]* ) continue;;
1237 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1239 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1242 # There might be people who depend on the old broken behavior: `$host'
1243 # used to hold the argument of --host etc.
1244 # FIXME: To remove some day.
1247 target=$target_alias
1249 # FIXME: To remove some day.
1250 if test "x$host_alias" != x; then
1251 if test "x$build_alias" = x; then
1252 cross_compiling=maybe
1253 elif test "x$build_alias" != "x$host_alias"; then
1259 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1261 test "$silent" = yes && exec 6>/dev/null
1264 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1265 ac_ls_di=`ls -di .` &&
1266 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1267 as_fn_error $? "working directory cannot be determined"
1268 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1269 as_fn_error $? "pwd does not report name of working directory"
1272 # Find the source files, if location was not specified.
1273 if test -z "$srcdir"; then
1274 ac_srcdir_defaulted=yes
1275 # Try the directory containing this script, then the parent directory.
1276 ac_confdir=`$as_dirname -- "$as_myself" ||
1277 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1278 X"$as_myself" : 'X\(//\)[^/]' \| \
1279 X"$as_myself" : 'X\(//\)$' \| \
1280 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1281 $as_echo X"$as_myself" |
1282 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1300 if test ! -r "$srcdir/$ac_unique_file"; then
1304 ac_srcdir_defaulted=no
1306 if test ! -r "$srcdir/$ac_unique_file"; then
1307 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1308 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1310 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1312 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1314 # When building in place, set srcdir=.
1315 if test "$ac_abs_confdir" = "$ac_pwd"; then
1318 # Remove unnecessary trailing slashes from srcdir.
1319 # Double slashes in file names in object file debugging info
1320 # mess up M-x gdb in Emacs.
1322 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1324 for ac_var in $ac_precious_vars; do
1325 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1326 eval ac_env_${ac_var}_value=\$${ac_var}
1327 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1328 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1332 # Report the --help message.
1334 if test "$ac_init_help" = "long"; then
1335 # Omit some internal or obsolete options to make the list less imposing.
1336 # This message is too long to be a string in the A/UX 3.1 sh.
1338 \`configure' configures Jerasure 2.0 to adapt to many kinds of systems.
1340 Usage: $0 [OPTION]... [VAR=VALUE]...
1342 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1343 VAR=VALUE. See below for descriptions of some of the useful variables.
1345 Defaults for the options are specified in brackets.
1348 -h, --help display this help and exit
1349 --help=short display options specific to this package
1350 --help=recursive display the short help of all the included packages
1351 -V, --version display version information and exit
1352 -q, --quiet, --silent do not print \`checking ...' messages
1353 --cache-file=FILE cache test results in FILE [disabled]
1354 -C, --config-cache alias for \`--cache-file=config.cache'
1355 -n, --no-create do not create output files
1356 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1358 Installation directories:
1359 --prefix=PREFIX install architecture-independent files in PREFIX
1360 @<:@@S|@ac_default_prefix@:>@
1361 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1364 By default, \`make install' will install all the files in
1365 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1366 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1367 for instance \`--prefix=\$HOME'.
1369 For better control, use the options below.
1371 Fine tuning of the installation directories:
1372 --bindir=DIR user executables [EPREFIX/bin]
1373 --sbindir=DIR system admin executables [EPREFIX/sbin]
1374 --libexecdir=DIR program executables [EPREFIX/libexec]
1375 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1376 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1377 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1378 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1379 --libdir=DIR object code libraries [EPREFIX/lib]
1380 --includedir=DIR C header files [PREFIX/include]
1381 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1382 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1383 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1384 --infodir=DIR info documentation [DATAROOTDIR/info]
1385 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1386 --mandir=DIR man documentation [DATAROOTDIR/man]
1387 --docdir=DIR documentation root @<:@DATAROOTDIR/doc/jerasure@:>@
1388 --htmldir=DIR html documentation [DOCDIR]
1389 --dvidir=DIR dvi documentation [DOCDIR]
1390 --pdfdir=DIR pdf documentation [DOCDIR]
1391 --psdir=DIR ps documentation [DOCDIR]
1397 --program-prefix=PREFIX prepend PREFIX to installed program names
1398 --program-suffix=SUFFIX append SUFFIX to installed program names
1399 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1402 --build=BUILD configure for building on BUILD [guessed]
1403 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1407 if test -n "$ac_init_help"; then
1408 case $ac_init_help in
1409 short | recursive ) echo "Configuration of Jerasure 2.0:";;
1414 --disable-option-checking ignore unrecognized --enable/--with options
1415 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1416 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1417 --enable-silent-rules less verbose build output (undo: "make V=1")
1418 --disable-silent-rules verbose build output (undo: "make V=0")
1419 --enable-static@<:@=PKGS@:>@ build static libraries @<:@default=no@:>@
1420 --enable-shared@<:@=PKGS@:>@ build shared libraries @<:@default=yes@:>@
1421 --enable-fast-install@<:@=PKGS@:>@
1422 optimize for fast installation @<:@default=yes@:>@
1423 --enable-dependency-tracking
1424 do not reject slow dependency extractors
1425 --disable-dependency-tracking
1426 speeds up one-time build
1427 --disable-libtool-lock avoid locking (might break parallel builds)
1428 --disable-sse Build without SSE optimizations
1431 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1432 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1433 --with-pic@<:@=PKGS@:>@ try to use only PIC/non-PIC objects @<:@default=use
1435 --with-aix-soname=aix|svr4|both
1436 shared library versioning (aka "SONAME") variant to
1437 provide on AIX, @<:@default=aix@:>@.
1438 --with-gnu-ld assume the C compiler uses GNU ld @<:@default=no@:>@
1439 --with-sysroot@<:@=DIR@:>@ Search for dependent libraries within DIR (or the
1440 compiler's sysroot if not specified).
1442 Some influential environment variables:
1443 CC C compiler command
1444 CFLAGS C compiler flags
1445 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1446 nonstandard directory <lib dir>
1447 LIBS libraries to pass to the linker, e.g. -l<library>
1448 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1449 you have headers in a nonstandard directory <include dir>
1451 User-defined run-time library search path.
1453 CXX C++ compiler command
1454 CXXFLAGS C++ compiler flags
1455 CXXCPP C++ preprocessor
1457 Use these variables to override the choices made by `configure' or to help
1458 it to find libraries and programs with nonstandard names/locations.
1460 Report bugs to the package provider.
1461 Jerasure home page: <https://jerasure.org/jerasure/jerasure>.
1466 if test "$ac_init_help" = "recursive"; then
1467 # If there are subdirs, report their specific --help.
1468 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1469 test -d "$ac_dir" ||
1470 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1475 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1477 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1478 # A ".." for each directory in $ac_dir_suffix.
1479 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1480 case $ac_top_builddir_sub in
1481 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1482 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1485 ac_abs_top_builddir=$ac_pwd
1486 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1487 # for backward compatibility:
1488 ac_top_builddir=$ac_top_build_prefix
1491 .) # We are building in place.
1493 ac_top_srcdir=$ac_top_builddir_sub
1494 ac_abs_top_srcdir=$ac_pwd ;;
1495 [\\/]* | ?:[\\/]* ) # Absolute name.
1496 ac_srcdir=$srcdir$ac_dir_suffix;
1497 ac_top_srcdir=$srcdir
1498 ac_abs_top_srcdir=$srcdir ;;
1500 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1501 ac_top_srcdir=$ac_top_build_prefix$srcdir
1502 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1504 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1506 cd "$ac_dir" || { ac_status=$?; continue; }
1507 # Check for guested configure.
1508 if test -f "$ac_srcdir/configure.gnu"; then
1510 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1511 elif test -f "$ac_srcdir/configure"; then
1513 $SHELL "$ac_srcdir/configure" --help=recursive
1515 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1517 cd "$ac_pwd" || { ac_status=$?; break; }
1521 test -n "$ac_init_help" && exit $ac_status
1522 if $ac_init_version; then
1524 Jerasure configure 2.0
1525 generated by GNU Autoconf 2.69
1527 Copyright (C) 2012 Free Software Foundation, Inc.
1528 This configure script is free software; the Free Software Foundation
1529 gives unlimited permission to copy, distribute and modify it.
1534 ## ------------------------ ##
1535 ## Autoconf initialization. ##
1536 ## ------------------------ ##
1538 @%:@ ac_fn_c_try_compile LINENO
1539 @%:@ --------------------------
1540 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1541 ac_fn_c_try_compile ()
1543 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1544 rm -f conftest.$ac_objext
1545 if { { ac_try="$ac_compile"
1547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1548 *) ac_try_echo=$ac_try;;
1550 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1551 $as_echo "$ac_try_echo"; } >&5
1552 (eval "$ac_compile") 2>conftest.err
1554 if test -s conftest.err; then
1555 grep -v '^ *+' conftest.err >conftest.er1
1556 cat conftest.er1 >&5
1557 mv -f conftest.er1 conftest.err
1559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1560 test $ac_status = 0; } && {
1561 test -z "$ac_c_werror_flag" ||
1562 test ! -s conftest.err
1563 } && test -s conftest.$ac_objext; then :
1566 $as_echo "$as_me: failed program was:" >&5
1567 sed 's/^/| /' conftest.$ac_ext >&5
1571 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1572 as_fn_set_status $ac_retval
1574 } @%:@ ac_fn_c_try_compile
1576 @%:@ ac_fn_c_try_link LINENO
1577 @%:@ -----------------------
1578 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
1581 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1582 rm -f conftest.$ac_objext conftest$ac_exeext
1583 if { { ac_try="$ac_link"
1585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1586 *) ac_try_echo=$ac_try;;
1588 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1589 $as_echo "$ac_try_echo"; } >&5
1590 (eval "$ac_link") 2>conftest.err
1592 if test -s conftest.err; then
1593 grep -v '^ *+' conftest.err >conftest.er1
1594 cat conftest.er1 >&5
1595 mv -f conftest.er1 conftest.err
1597 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1598 test $ac_status = 0; } && {
1599 test -z "$ac_c_werror_flag" ||
1600 test ! -s conftest.err
1601 } && test -s conftest$ac_exeext && {
1602 test "$cross_compiling" = yes ||
1603 test -x conftest$ac_exeext
1607 $as_echo "$as_me: failed program was:" >&5
1608 sed 's/^/| /' conftest.$ac_ext >&5
1612 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1613 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1614 # interfere with the next link command; also delete a directory that is
1615 # left behind by Apple's compiler. We do this before executing the actions.
1616 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1617 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1618 as_fn_set_status $ac_retval
1620 } @%:@ ac_fn_c_try_link
1622 @%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1623 @%:@ -------------------------------------------------------
1624 @%:@ Tests whether HEADER exists and can be compiled using the include files in
1625 @%:@ INCLUDES, setting the cache variable VAR accordingly.
1626 ac_fn_c_check_header_compile ()
1628 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1630 $as_echo_n "checking for $2... " >&6; }
1631 if eval \${$3+:} false; then :
1632 $as_echo_n "(cached) " >&6
1634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1635 /* end confdefs.h. */
1639 if ac_fn_c_try_compile "$LINENO"; then :
1644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1648 $as_echo "$ac_res" >&6; }
1649 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1651 } @%:@ ac_fn_c_check_header_compile
1653 @%:@ ac_fn_c_try_cpp LINENO
1654 @%:@ ----------------------
1655 @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1658 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1659 if { { ac_try="$ac_cpp conftest.$ac_ext"
1661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1662 *) ac_try_echo=$ac_try;;
1664 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1665 $as_echo "$ac_try_echo"; } >&5
1666 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1668 if test -s conftest.err; then
1669 grep -v '^ *+' conftest.err >conftest.er1
1670 cat conftest.er1 >&5
1671 mv -f conftest.er1 conftest.err
1673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1674 test $ac_status = 0; } > conftest.i && {
1675 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1676 test ! -s conftest.err
1680 $as_echo "$as_me: failed program was:" >&5
1681 sed 's/^/| /' conftest.$ac_ext >&5
1685 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1686 as_fn_set_status $ac_retval
1688 } @%:@ ac_fn_c_try_cpp
1690 @%:@ ac_fn_c_try_run LINENO
1691 @%:@ ----------------------
1692 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
1693 @%:@ that executables *can* be run.
1696 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1697 if { { ac_try="$ac_link"
1699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1700 *) ac_try_echo=$ac_try;;
1702 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1703 $as_echo "$ac_try_echo"; } >&5
1704 (eval "$ac_link") 2>&5
1706 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1707 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1708 { { case "(($ac_try" in
1709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1710 *) ac_try_echo=$ac_try;;
1712 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1713 $as_echo "$ac_try_echo"; } >&5
1714 (eval "$ac_try") 2>&5
1716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1717 test $ac_status = 0; }; }; then :
1720 $as_echo "$as_me: program exited with status $ac_status" >&5
1721 $as_echo "$as_me: failed program was:" >&5
1722 sed 's/^/| /' conftest.$ac_ext >&5
1724 ac_retval=$ac_status
1726 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1727 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1728 as_fn_set_status $ac_retval
1730 } @%:@ ac_fn_c_try_run
1732 @%:@ ac_fn_c_check_func LINENO FUNC VAR
1733 @%:@ ----------------------------------
1734 @%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
1735 ac_fn_c_check_func ()
1737 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1739 $as_echo_n "checking for $2... " >&6; }
1740 if eval \${$3+:} false; then :
1741 $as_echo_n "(cached) " >&6
1743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1744 /* end confdefs.h. */
1745 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1746 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1747 #define $2 innocuous_$2
1749 /* System header to define __stub macros and hopefully few prototypes,
1750 which can conflict with char $2 (); below.
1751 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1752 <limits.h> exists even on freestanding compilers. */
1755 # include <limits.h>
1757 # include <assert.h>
1762 /* Override any GCC internal prototype to avoid an error.
1763 Use char because int might match the return type of a GCC
1764 builtin and then its argument prototype would still apply. */
1769 /* The GNU C library defines this for functions which it implements
1770 to always fail with ENOSYS. Some functions are actually named
1771 something starting with __ and the normal name is an alias. */
1772 #if defined __stub_$2 || defined __stub___$2
1784 if ac_fn_c_try_link "$LINENO"; then :
1789 rm -f core conftest.err conftest.$ac_objext \
1790 conftest$ac_exeext conftest.$ac_ext
1793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1794 $as_echo "$ac_res" >&6; }
1795 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1797 } @%:@ ac_fn_c_check_func
1799 @%:@ ac_fn_cxx_try_compile LINENO
1800 @%:@ ----------------------------
1801 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1802 ac_fn_cxx_try_compile ()
1804 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1805 rm -f conftest.$ac_objext
1806 if { { ac_try="$ac_compile"
1808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1809 *) ac_try_echo=$ac_try;;
1811 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1812 $as_echo "$ac_try_echo"; } >&5
1813 (eval "$ac_compile") 2>conftest.err
1815 if test -s conftest.err; then
1816 grep -v '^ *+' conftest.err >conftest.er1
1817 cat conftest.er1 >&5
1818 mv -f conftest.er1 conftest.err
1820 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1821 test $ac_status = 0; } && {
1822 test -z "$ac_cxx_werror_flag" ||
1823 test ! -s conftest.err
1824 } && test -s conftest.$ac_objext; then :
1827 $as_echo "$as_me: failed program was:" >&5
1828 sed 's/^/| /' conftest.$ac_ext >&5
1832 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1833 as_fn_set_status $ac_retval
1835 } @%:@ ac_fn_cxx_try_compile
1837 @%:@ ac_fn_cxx_try_cpp LINENO
1838 @%:@ ------------------------
1839 @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1840 ac_fn_cxx_try_cpp ()
1842 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1843 if { { ac_try="$ac_cpp conftest.$ac_ext"
1845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1846 *) ac_try_echo=$ac_try;;
1848 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1849 $as_echo "$ac_try_echo"; } >&5
1850 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1852 if test -s conftest.err; then
1853 grep -v '^ *+' conftest.err >conftest.er1
1854 cat conftest.er1 >&5
1855 mv -f conftest.er1 conftest.err
1857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1858 test $ac_status = 0; } > conftest.i && {
1859 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1860 test ! -s conftest.err
1864 $as_echo "$as_me: failed program was:" >&5
1865 sed 's/^/| /' conftest.$ac_ext >&5
1869 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1870 as_fn_set_status $ac_retval
1872 } @%:@ ac_fn_cxx_try_cpp
1874 @%:@ ac_fn_cxx_try_link LINENO
1875 @%:@ -------------------------
1876 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
1877 ac_fn_cxx_try_link ()
1879 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1880 rm -f conftest.$ac_objext conftest$ac_exeext
1881 if { { ac_try="$ac_link"
1883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1884 *) ac_try_echo=$ac_try;;
1886 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1887 $as_echo "$ac_try_echo"; } >&5
1888 (eval "$ac_link") 2>conftest.err
1890 if test -s conftest.err; then
1891 grep -v '^ *+' conftest.err >conftest.er1
1892 cat conftest.er1 >&5
1893 mv -f conftest.er1 conftest.err
1895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1896 test $ac_status = 0; } && {
1897 test -z "$ac_cxx_werror_flag" ||
1898 test ! -s conftest.err
1899 } && test -s conftest$ac_exeext && {
1900 test "$cross_compiling" = yes ||
1901 test -x conftest$ac_exeext
1905 $as_echo "$as_me: failed program was:" >&5
1906 sed 's/^/| /' conftest.$ac_ext >&5
1910 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1911 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1912 # interfere with the next link command; also delete a directory that is
1913 # left behind by Apple's compiler. We do this before executing the actions.
1914 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1915 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1916 as_fn_set_status $ac_retval
1918 } @%:@ ac_fn_cxx_try_link
1920 @%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1921 @%:@ -------------------------------------------------------
1922 @%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
1923 @%:@ the include files in INCLUDES and setting the cache variable VAR
1925 ac_fn_c_check_header_mongrel ()
1927 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1928 if eval \${$3+:} false; then :
1929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1930 $as_echo_n "checking for $2... " >&6; }
1931 if eval \${$3+:} false; then :
1932 $as_echo_n "(cached) " >&6
1935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1936 $as_echo "$ac_res" >&6; }
1938 # Is the header compilable?
1939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1940 $as_echo_n "checking $2 usability... " >&6; }
1941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1942 /* end confdefs.h. */
1946 if ac_fn_c_try_compile "$LINENO"; then :
1947 ac_header_compiler=yes
1949 ac_header_compiler=no
1951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1953 $as_echo "$ac_header_compiler" >&6; }
1955 # Is the header present?
1956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1957 $as_echo_n "checking $2 presence... " >&6; }
1958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1959 /* end confdefs.h. */
1962 if ac_fn_c_try_cpp "$LINENO"; then :
1963 ac_header_preproc=yes
1965 ac_header_preproc=no
1967 rm -f conftest.err conftest.i conftest.$ac_ext
1968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1969 $as_echo "$ac_header_preproc" >&6; }
1971 # So? What about this header?
1972 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1975 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1977 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1981 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1983 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1984 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1985 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1986 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1987 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1988 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1989 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1993 $as_echo_n "checking for $2... " >&6; }
1994 if eval \${$3+:} false; then :
1995 $as_echo_n "(cached) " >&6
1997 eval "$3=\$ac_header_compiler"
2000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2001 $as_echo "$ac_res" >&6; }
2003 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2005 } @%:@ ac_fn_c_check_header_mongrel
2007 @%:@ ac_fn_c_find_uintX_t LINENO BITS VAR
2008 @%:@ ------------------------------------
2009 @%:@ Finds an unsigned integer type with width BITS, setting cache variable VAR
2011 ac_fn_c_find_uintX_t ()
2013 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
2015 $as_echo_n "checking for uint$2_t... " >&6; }
2016 if eval \${$3+:} false; then :
2017 $as_echo_n "(cached) " >&6
2020 # Order is important - never check a type that is potentially smaller
2021 # than half of the expected target width.
2022 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
2023 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
2024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2025 /* end confdefs.h. */
2026 $ac_includes_default
2030 static int test_array @<:@1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)@:>@;
2031 test_array @<:@0@:>@ = 0;
2032 return test_array @<:@0@:>@;
2038 if ac_fn_c_try_compile "$LINENO"; then :
2039 case $ac_type in @%:@(
2041 eval "$3=yes" ;; @%:@(
2043 eval "$3=\$ac_type" ;;
2046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2047 if eval test \"x\$"$3"\" = x"no"; then :
2055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2056 $as_echo "$ac_res" >&6; }
2057 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2059 } @%:@ ac_fn_c_find_uintX_t
2060 cat >config.log <<_ACEOF
2061 This file contains any messages produced by compilers while
2062 running configure, to aid debugging if configure makes a mistake.
2064 It was created by Jerasure $as_me 2.0, which was
2065 generated by GNU Autoconf 2.69. Invocation command line was
2077 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2078 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2079 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2080 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2081 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2083 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2084 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2086 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2087 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2088 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2089 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2090 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2091 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2092 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2100 test -z "$as_dir" && as_dir=.
2101 $as_echo "PATH: $as_dir"
2117 # Keep a trace of the command line.
2118 # Strip out --no-create and --no-recursion so they do not pile up.
2119 # Strip out --silent because we don't want to record it for future runs.
2120 # Also quote any args containing shell meta-characters.
2121 # Make two passes to allow for proper duplicate-argument suppression.
2125 ac_must_keep_next=false
2131 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2132 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2133 | -silent | --silent | --silen | --sile | --sil)
2136 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2139 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2141 as_fn_append ac_configure_args1 " '$ac_arg'"
2142 if test $ac_must_keep_next = true; then
2143 ac_must_keep_next=false # Got value, back to normal.
2146 *=* | --config-cache | -C | -disable-* | --disable-* \
2147 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2148 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2149 | -with-* | --with-* | -without-* | --without-* | --x)
2150 case "$ac_configure_args0 " in
2151 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2154 -* ) ac_must_keep_next=true ;;
2157 as_fn_append ac_configure_args " '$ac_arg'"
2162 { ac_configure_args0=; unset ac_configure_args0;}
2163 { ac_configure_args1=; unset ac_configure_args1;}
2165 # When interrupted or exit'd, cleanup temporary files, and complete
2166 # config.log. We remove comments because anyway the quotes in there
2167 # would cause problems or look ugly.
2168 # WARNING: Use '\'' to represent an apostrophe within the trap.
2169 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2170 trap 'exit_status=$?
2171 # Save into config.log some information that might help in debugging.
2175 $as_echo "## ---------------- ##
2176 ## Cache variables. ##
2177 ## ---------------- ##"
2179 # The following way of writing the cache mishandles newlines in values,
2181 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2182 eval ac_val=\$$ac_var
2186 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2187 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2190 _ | IFS | as_nl) ;; #(
2191 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2192 *) { eval $ac_var=; unset $ac_var;} ;;
2197 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2198 *${as_nl}ac_space=\ *)
2200 "s/'\''/'\''\\\\'\'''\''/g;
2201 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2204 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2211 $as_echo "## ----------------- ##
2212 ## Output variables. ##
2213 ## ----------------- ##"
2215 for ac_var in $ac_subst_vars
2217 eval ac_val=\$$ac_var
2219 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2221 $as_echo "$ac_var='\''$ac_val'\''"
2225 if test -n "$ac_subst_files"; then
2226 $as_echo "## ------------------- ##
2227 ## File substitutions. ##
2228 ## ------------------- ##"
2230 for ac_var in $ac_subst_files
2232 eval ac_val=\$$ac_var
2234 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2236 $as_echo "$ac_var='\''$ac_val'\''"
2241 if test -s confdefs.h; then
2242 $as_echo "## ----------- ##
2249 test "$ac_signal" != 0 &&
2250 $as_echo "$as_me: caught signal $ac_signal"
2251 $as_echo "$as_me: exit $exit_status"
2253 rm -f core *.core core.conftest.* &&
2254 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2257 for ac_signal in 1 2 13 15; do
2258 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2262 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2263 rm -f -r conftest* confdefs.h
2265 $as_echo "/* confdefs.h */" > confdefs.h
2267 # Predefined preprocessor variables.
2269 cat >>confdefs.h <<_ACEOF
2270 @%:@define PACKAGE_NAME "$PACKAGE_NAME"
2273 cat >>confdefs.h <<_ACEOF
2274 @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2277 cat >>confdefs.h <<_ACEOF
2278 @%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
2281 cat >>confdefs.h <<_ACEOF
2282 @%:@define PACKAGE_STRING "$PACKAGE_STRING"
2285 cat >>confdefs.h <<_ACEOF
2286 @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2289 cat >>confdefs.h <<_ACEOF
2290 @%:@define PACKAGE_URL "$PACKAGE_URL"
2294 # Let the site file select an alternate cache file if it wants to.
2295 # Prefer an explicitly selected file to automatically selected ones.
2298 if test -n "$CONFIG_SITE"; then
2299 # We do not want a PATH search for config.site.
2300 case $CONFIG_SITE in @%:@((
2301 -*) ac_site_file1=./$CONFIG_SITE;;
2302 */*) ac_site_file1=$CONFIG_SITE;;
2303 *) ac_site_file1=./$CONFIG_SITE;;
2305 elif test "x$prefix" != xNONE; then
2306 ac_site_file1=$prefix/share/config.site
2307 ac_site_file2=$prefix/etc/config.site
2309 ac_site_file1=$ac_default_prefix/share/config.site
2310 ac_site_file2=$ac_default_prefix/etc/config.site
2312 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2314 test "x$ac_site_file" = xNONE && continue
2315 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2316 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2317 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2318 sed 's/^/| /' "$ac_site_file" >&5
2320 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2321 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2322 as_fn_error $? "failed to load site script $ac_site_file
2323 See \`config.log' for more details" "$LINENO" 5; }
2327 if test -r "$cache_file"; then
2328 # Some versions of bash will fail to source /dev/null (special files
2329 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2330 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2332 $as_echo "$as_me: loading cache $cache_file" >&6;}
2334 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2335 *) . "./$cache_file";;
2339 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2340 $as_echo "$as_me: creating cache $cache_file" >&6;}
2344 # Check that the precious variables saved in the cache have kept the same
2346 ac_cache_corrupted=false
2347 for ac_var in $ac_precious_vars; do
2348 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2349 eval ac_new_set=\$ac_env_${ac_var}_set
2350 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2351 eval ac_new_val=\$ac_env_${ac_var}_value
2352 case $ac_old_set,$ac_new_set in
2354 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2355 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2356 ac_cache_corrupted=: ;;
2358 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2359 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2360 ac_cache_corrupted=: ;;
2363 if test "x$ac_old_val" != "x$ac_new_val"; then
2364 # differences in whitespace do not lead to failure.
2365 ac_old_val_w=`echo x $ac_old_val`
2366 ac_new_val_w=`echo x $ac_new_val`
2367 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2368 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2369 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2370 ac_cache_corrupted=:
2372 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2373 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2374 eval $ac_var=\$ac_old_val
2376 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2377 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2378 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2379 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2382 # Pass precious variables to config.status.
2383 if test "$ac_new_set" = set; then
2385 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2386 *) ac_arg=$ac_var=$ac_new_val ;;
2388 case " $ac_configure_args " in
2389 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2390 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2394 if $ac_cache_corrupted; then
2395 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2396 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2397 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2398 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2399 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2401 ## -------------------- ##
2402 ## Main body of script. ##
2403 ## -------------------- ##
2406 ac_cpp='$CPP $CPPFLAGS'
2407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2413 ac_config_headers="$ac_config_headers include/config.h"
2417 for ac_dir in build-aux "$srcdir"/build-aux; do
2418 if test -f "$ac_dir/install-sh"; then
2420 ac_install_sh="$ac_aux_dir/install-sh -c"
2422 elif test -f "$ac_dir/install.sh"; then
2424 ac_install_sh="$ac_aux_dir/install.sh -c"
2426 elif test -f "$ac_dir/shtool"; then
2428 ac_install_sh="$ac_aux_dir/shtool install -c"
2432 if test -z "$ac_aux_dir"; then
2433 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2436 # These three variables are undocumented and unsupported,
2437 # and are intended to be withdrawn in a future Autoconf release.
2438 # They can cause serious problems if a builder's source tree is in a directory
2439 # whose full name contains unusual characters.
2440 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2441 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2442 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2447 am__api_version='1.15'
2449 # Find a good install program. We prefer a C program (faster),
2450 # so one script is as good as another. But avoid the broken or
2451 # incompatible versions:
2452 # SysV /etc/install, /usr/sbin/install
2453 # SunOS /usr/etc/install
2454 # IRIX /sbin/install
2456 # AmigaOS /C/install, which installs bootblocks on floppy discs
2457 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2458 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2459 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2460 # OS/2's system install, which has a completely different semantic
2461 # ./install, which can be erroneously created by make from ./install.sh.
2462 # Reject install programs that cannot install multiple files.
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2464 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2465 if test -z "$INSTALL"; then
2466 if ${ac_cv_path_install+:} false; then :
2467 $as_echo_n "(cached) " >&6
2469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2473 test -z "$as_dir" && as_dir=.
2474 # Account for people who put trailing slashes in PATH elements.
2475 case $as_dir/ in @%:@((
2476 ./ | .// | /[cC]/* | \
2477 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2478 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2481 # OSF1 and SCO ODT 3.0 have their own names for install.
2482 # Don't use installbsd from OSF since it installs stuff as root
2484 for ac_prog in ginstall scoinst install; do
2485 for ac_exec_ext in '' $ac_executable_extensions; do
2486 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2487 if test $ac_prog = install &&
2488 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2489 # AIX install. It has an incompatible calling convention.
2491 elif test $ac_prog = install &&
2492 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2493 # program-specific install script used by HP pwplus--don't use.
2496 rm -rf conftest.one conftest.two conftest.dir
2497 echo one > conftest.one
2498 echo two > conftest.two
2500 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2501 test -s conftest.one && test -s conftest.two &&
2502 test -s conftest.dir/conftest.one &&
2503 test -s conftest.dir/conftest.two
2505 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2518 rm -rf conftest.one conftest.two conftest.dir
2521 if test "${ac_cv_path_install+set}" = set; then
2522 INSTALL=$ac_cv_path_install
2524 # As a last resort, use the slow shell script. Don't cache a
2525 # value for INSTALL within a source directory, because that will
2526 # break other packages using the cache if that directory is
2527 # removed, or if the value is a relative name.
2528 INSTALL=$ac_install_sh
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2532 $as_echo "$INSTALL" >&6; }
2534 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2535 # It thinks the first close brace ends the variable substitution.
2536 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2538 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2540 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2543 $as_echo_n "checking whether build environment is sane... " >&6; }
2544 # Reject unsafe characters in $srcdir or the absolute working directory
2545 # name. Accept space and tab only in the latter.
2549 *[\\\"\#\$\&\'\`$am_lf]*)
2550 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2553 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2554 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2557 # Do 'set' in a subshell so we don't clobber the current shell's
2558 # arguments. Must try -L first in case configure is actually a
2559 # symlink; some systems play weird games with the mod time of symlinks
2560 # (eg FreeBSD returns the mod time of the symlink's containing
2564 for am_try in 1 2; do
2565 echo "timestamp, slept: $am_has_slept" > conftest.file
2566 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2567 if test "$*" = "X"; then
2569 set X `ls -t "$srcdir/configure" conftest.file`
2571 if test "$*" != "X $srcdir/configure conftest.file" \
2572 && test "$*" != "X conftest.file $srcdir/configure"; then
2574 # If neither matched, then we have a broken ls. This can happen
2575 # if, for instance, CONFIG_SHELL is bash and it inherits a
2576 # broken ls alias from the environment. This has actually
2577 # happened. Such a system could not be considered "sane".
2578 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2579 alias in your environment" "$LINENO" 5
2581 if test "$2" = conftest.file || test $am_try -eq 2; then
2588 test "$2" = conftest.file
2594 as_fn_error $? "newly created file is older than distributed files!
2595 Check your system clock" "$LINENO" 5
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2598 $as_echo "yes" >&6; }
2599 # If we didn't sleep, we still need to ensure time stamps of config.status and
2600 # generated files are strictly newer.
2602 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2609 test "$program_prefix" != NONE &&
2610 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2611 # Use a double $ so make ignores it.
2612 test "$program_suffix" != NONE &&
2613 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2614 # Double any \ or $.
2615 # By default was `s,x,x', remove it if useless.
2616 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2617 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2619 # Expand $ac_aux_dir to an absolute path.
2620 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2622 if test x"${MISSING+set}" != xset; then
2625 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2627 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2630 # Use eval to expand $SHELL
2631 if eval "$MISSING --is-lightweight"; then
2632 am_missing_run="$MISSING "
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2636 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2639 if test x"${install_sh+set}" != xset; then
2642 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2644 install_sh="\${SHELL} $am_aux_dir/install-sh"
2648 # Installed binaries are usually stripped using 'strip' when the user
2649 # run "make install-strip". However 'strip' might not be the right
2650 # tool to use in cross-compilation environments, therefore Automake
2651 # will honor the 'STRIP' environment variable to overrule this program.
2652 if test "$cross_compiling" != no; then
2653 if test -n "$ac_tool_prefix"; then
2654 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2655 set dummy ${ac_tool_prefix}strip; ac_word=$2
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2657 $as_echo_n "checking for $ac_word... " >&6; }
2658 if ${ac_cv_prog_STRIP+:} false; then :
2659 $as_echo_n "(cached) " >&6
2661 if test -n "$STRIP"; then
2662 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2668 test -z "$as_dir" && as_dir=.
2669 for ac_exec_ext in '' $ac_executable_extensions; do
2670 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2671 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2681 STRIP=$ac_cv_prog_STRIP
2682 if test -n "$STRIP"; then
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2684 $as_echo "$STRIP" >&6; }
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2687 $as_echo "no" >&6; }
2692 if test -z "$ac_cv_prog_STRIP"; then
2694 # Extract the first word of "strip", so it can be a program name with args.
2695 set dummy strip; ac_word=$2
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2697 $as_echo_n "checking for $ac_word... " >&6; }
2698 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2699 $as_echo_n "(cached) " >&6
2701 if test -n "$ac_ct_STRIP"; then
2702 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2708 test -z "$as_dir" && as_dir=.
2709 for ac_exec_ext in '' $ac_executable_extensions; do
2710 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2711 ac_cv_prog_ac_ct_STRIP="strip"
2712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2721 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2722 if test -n "$ac_ct_STRIP"; then
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2724 $as_echo "$ac_ct_STRIP" >&6; }
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2727 $as_echo "no" >&6; }
2730 if test "x$ac_ct_STRIP" = x; then
2733 case $cross_compiling:$ac_tool_warned in
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2736 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2737 ac_tool_warned=yes ;;
2742 STRIP="$ac_cv_prog_STRIP"
2746 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2749 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2750 if test -z "$MKDIR_P"; then
2751 if ${ac_cv_path_mkdir+:} false; then :
2752 $as_echo_n "(cached) " >&6
2754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2755 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2758 test -z "$as_dir" && as_dir=.
2759 for ac_prog in mkdir gmkdir; do
2760 for ac_exec_ext in '' $ac_executable_extensions; do
2761 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2762 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2763 'mkdir (GNU coreutils) '* | \
2764 'mkdir (coreutils) '* | \
2765 'mkdir (fileutils) '4.1*)
2766 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2776 test -d ./--version && rmdir ./--version
2777 if test "${ac_cv_path_mkdir+set}" = set; then
2778 MKDIR_P="$ac_cv_path_mkdir -p"
2780 # As a last resort, use the slow shell script. Don't cache a
2781 # value for MKDIR_P within a source directory, because that will
2782 # break other packages using the cache if that directory is
2783 # removed, or if the value is a relative name.
2784 MKDIR_P="$ac_install_sh -d"
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2788 $as_echo "$MKDIR_P" >&6; }
2790 for ac_prog in gawk mawk nawk awk
2792 # Extract the first word of "$ac_prog", so it can be a program name with args.
2793 set dummy $ac_prog; ac_word=$2
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2795 $as_echo_n "checking for $ac_word... " >&6; }
2796 if ${ac_cv_prog_AWK+:} false; then :
2797 $as_echo_n "(cached) " >&6
2799 if test -n "$AWK"; then
2800 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2806 test -z "$as_dir" && as_dir=.
2807 for ac_exec_ext in '' $ac_executable_extensions; do
2808 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2809 ac_cv_prog_AWK="$ac_prog"
2810 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2820 if test -n "$AWK"; then
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2822 $as_echo "$AWK" >&6; }
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2825 $as_echo "no" >&6; }
2829 test -n "$AWK" && break
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2833 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2835 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2836 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2837 $as_echo_n "(cached) " >&6
2839 cat >conftest.make <<\_ACEOF
2842 @echo '@@@%%%=$(MAKE)=@@@%%%'
2844 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2845 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2847 eval ac_cv_prog_make_${ac_make}_set=yes;;
2849 eval ac_cv_prog_make_${ac_make}_set=no;;
2853 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2855 $as_echo "yes" >&6; }
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2859 $as_echo "no" >&6; }
2860 SET_MAKE="MAKE=${MAKE-make}"
2863 rm -rf .tst 2>/dev/null
2864 mkdir .tst 2>/dev/null
2865 if test -d .tst; then
2870 rmdir .tst 2>/dev/null
2872 @%:@ Check whether --enable-silent-rules was given.
2873 if test "${enable_silent_rules+set}" = set; then :
2874 enableval=$enable_silent_rules;
2877 case $enable_silent_rules in @%:@ (((
2878 yes) AM_DEFAULT_VERBOSITY=0;;
2879 no) AM_DEFAULT_VERBOSITY=1;;
2880 *) AM_DEFAULT_VERBOSITY=1;;
2882 am_make=${MAKE-make}
2883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2884 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2885 if ${am_cv_make_support_nested_variables+:} false; then :
2886 $as_echo_n "(cached) " >&6
2888 if $as_echo 'TRUE=$(BAR$(V))
2894 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2895 am_cv_make_support_nested_variables=yes
2897 am_cv_make_support_nested_variables=no
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2901 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2902 if test $am_cv_make_support_nested_variables = yes; then
2904 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2906 AM_V=$AM_DEFAULT_VERBOSITY
2907 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2911 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2912 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2913 # is not polluted with repeated "-I."
2914 am__isrc=' -I$(srcdir)'
2915 # test to see if srcdir already configured
2916 if test -f $srcdir/config.status; then
2917 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2921 # test whether we have cygpath
2922 if test -z "$CYGPATH_W"; then
2923 if (cygpath --version) >/dev/null 2>/dev/null; then
2924 CYGPATH_W='cygpath -w'
2931 # Define the identity of the package.
2936 cat >>confdefs.h <<_ACEOF
2937 @%:@define PACKAGE "$PACKAGE"
2941 cat >>confdefs.h <<_ACEOF
2942 @%:@define VERSION "$VERSION"
2945 # Some tools Automake needs.
2947 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2950 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2953 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2956 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2959 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2961 # For better backward compatibility. To be removed once Automake 1.9.x
2962 # dies out for good. For more background, see:
2963 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2964 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2965 mkdir_p='$(MKDIR_P)'
2967 # We need awk for the "check" target (and possibly the TAP driver). The
2968 # system "awk" is bad on some platforms.
2969 # Always define AMTAR for backward compatibility. Yes, it's still used
2970 # in the wild :-( We should find a proper way to deprecate it ...
2974 # We'll loop over all known methods to create a tar archive until one works.
2975 _am_tools='gnutar pax cpio none'
2977 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2984 # POSIX will say in a future version that running "rm -f" with no argument
2985 # is OK; and we want to be able to make that assumption in our Makefile
2986 # recipes. So use an aggressive probe to check that the usage we want is
2987 # actually supported "in the wild" to an acceptable degree.
2988 # See automake bug#10828.
2989 # To make any issue more visible, cause the running configure to be aborted
2990 # by default if the 'rm' program in use doesn't match our expectations; the
2991 # user can still override this though.
2992 if rm -f && rm -fr && rm -rf; then : OK; else
2996 Your 'rm' program seems unable to run without file operands specified
2997 on the command line, even when the '-f' option is present. This is contrary
2998 to the behaviour of most rm programs out there, and not conforming with
2999 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3001 Please tell bug-automake@gnu.org about your system, including the value
3002 of your $PATH and any error possibly output before this message. This
3003 can help us improve future automake versions.
3006 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3007 echo 'Configuration will proceed anyway, since you have set the' >&2
3008 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3012 Aborting the configuration process, to ensure you take notice of the issue.
3014 You can download and install GNU coreutils to get an 'rm' implementation
3015 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3017 If you want to complete the configuration process using your problematic
3018 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3019 to "yes", and re-run configure.
3022 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3027 # Package default C compiler flags.
3028 : ${CFLAGS='-g -O3 -Wall'}
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3033 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3038 macro_version='2.4.6'
3039 macro_revision='2.4.6'
3053 ltmain=$ac_aux_dir/ltmain.sh
3055 # Make sure we can run config.sub.
3056 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3057 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3060 $as_echo_n "checking build system type... " >&6; }
3061 if ${ac_cv_build+:} false; then :
3062 $as_echo_n "(cached) " >&6
3064 ac_build_alias=$build_alias
3065 test "x$ac_build_alias" = x &&
3066 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3067 test "x$ac_build_alias" = x &&
3068 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3069 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3070 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3074 $as_echo "$ac_cv_build" >&6; }
3075 case $ac_cv_build in
3077 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3080 ac_save_IFS=$IFS; IFS='-'
3086 # Remember, the first character of IFS is used to create $*,
3087 # except with old shells:
3090 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3094 $as_echo_n "checking host system type... " >&6; }
3095 if ${ac_cv_host+:} false; then :
3096 $as_echo_n "(cached) " >&6
3098 if test "x$host_alias" = x; then
3099 ac_cv_host=$ac_cv_build
3101 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3102 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3107 $as_echo "$ac_cv_host" >&6; }
3110 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3113 ac_save_IFS=$IFS; IFS='-'
3119 # Remember, the first character of IFS is used to create $*,
3120 # except with old shells:
3123 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3126 # Backslashify metacharacters that are still active within
3127 # double-quoted strings.
3128 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3130 # Same as above, but do not quote variable references.
3131 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3133 # Sed substitution to delay expansion of an escaped shell variable in a
3134 # double_quote_subst'ed string.
3135 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3137 # Sed substitution to delay expansion of an escaped single quote.
3138 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3140 # Sed substitution to avoid accidental globbing in evaled expressions
3141 no_glob_subst='s/\*/\\\*/g'
3143 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3144 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3145 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3148 $as_echo_n "checking how to print strings... " >&6; }
3149 # Test print first, because it will be a builtin if present.
3150 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3151 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3153 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3156 # Use this function as a fallback that always works.
3157 func_fallback_echo ()
3159 eval 'cat <<_LTECHO_EOF
3163 ECHO='func_fallback_echo'
3166 # func_echo_all arg...
3167 # Invoke $ECHO with all args, space-separated.
3174 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3175 $as_echo "printf" >&6; } ;;
3176 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3177 $as_echo "print -r" >&6; } ;;
3178 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3179 $as_echo "cat" >&6; } ;;
3195 DEPDIR="${am__leading_dot}deps"
3197 ac_config_commands="$ac_config_commands depfiles"
3200 am_make=${MAKE-make}
3201 cat > confinc << 'END'
3203 @echo this is the am__doit target
3206 # If we don't find an include directive, just comment out the code.
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3208 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3212 # First try GNU make style include.
3213 echo "include confinc" > confmf
3214 # Ignore all kinds of additional output from 'make'.
3215 case `$am_make -s -f confmf 2> /dev/null` in #(
3216 *the\ am__doit\ target*)
3222 # Now try BSD make style include.
3223 if test "$am__include" = "#"; then
3224 echo '.include "confinc"' > confmf
3225 case `$am_make -s -f confmf 2> /dev/null` in #(
3226 *the\ am__doit\ target*)
3227 am__include=.include
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3236 $as_echo "$_am_result" >&6; }
3237 rm -f confinc confmf
3239 @%:@ Check whether --enable-dependency-tracking was given.
3240 if test "${enable_dependency_tracking+set}" = set; then :
3241 enableval=$enable_dependency_tracking;
3244 if test "x$enable_dependency_tracking" != xno; then
3245 am_depcomp="$ac_aux_dir/depcomp"
3249 if test "x$enable_dependency_tracking" != xno; then
3259 ac_cpp='$CPP $CPPFLAGS'
3260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3263 if test -n "$ac_tool_prefix"; then
3264 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3265 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3267 $as_echo_n "checking for $ac_word... " >&6; }
3268 if ${ac_cv_prog_CC+:} false; then :
3269 $as_echo_n "(cached) " >&6
3271 if test -n "$CC"; then
3272 ac_cv_prog_CC="$CC" # Let the user override the test.
3274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3278 test -z "$as_dir" && as_dir=.
3279 for ac_exec_ext in '' $ac_executable_extensions; do
3280 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3281 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3292 if test -n "$CC"; then
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3294 $as_echo "$CC" >&6; }
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3297 $as_echo "no" >&6; }
3302 if test -z "$ac_cv_prog_CC"; then
3304 # Extract the first word of "gcc", so it can be a program name with args.
3305 set dummy gcc; ac_word=$2
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3307 $as_echo_n "checking for $ac_word... " >&6; }
3308 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3309 $as_echo_n "(cached) " >&6
3311 if test -n "$ac_ct_CC"; then
3312 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3318 test -z "$as_dir" && as_dir=.
3319 for ac_exec_ext in '' $ac_executable_extensions; do
3320 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3321 ac_cv_prog_ac_ct_CC="gcc"
3322 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3331 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3332 if test -n "$ac_ct_CC"; then
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3334 $as_echo "$ac_ct_CC" >&6; }
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3337 $as_echo "no" >&6; }
3340 if test "x$ac_ct_CC" = x; then
3343 case $cross_compiling:$ac_tool_warned in
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3346 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3347 ac_tool_warned=yes ;;
3355 if test -z "$CC"; then
3356 if test -n "$ac_tool_prefix"; then
3357 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3358 set dummy ${ac_tool_prefix}cc; ac_word=$2
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3360 $as_echo_n "checking for $ac_word... " >&6; }
3361 if ${ac_cv_prog_CC+:} false; then :
3362 $as_echo_n "(cached) " >&6
3364 if test -n "$CC"; then
3365 ac_cv_prog_CC="$CC" # Let the user override the test.
3367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3371 test -z "$as_dir" && as_dir=.
3372 for ac_exec_ext in '' $ac_executable_extensions; do
3373 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3374 ac_cv_prog_CC="${ac_tool_prefix}cc"
3375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3385 if test -n "$CC"; then
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3387 $as_echo "$CC" >&6; }
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3390 $as_echo "no" >&6; }
3396 if test -z "$CC"; then
3397 # Extract the first word of "cc", so it can be a program name with args.
3398 set dummy cc; ac_word=$2
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3400 $as_echo_n "checking for $ac_word... " >&6; }
3401 if ${ac_cv_prog_CC+:} false; then :
3402 $as_echo_n "(cached) " >&6
3404 if test -n "$CC"; then
3405 ac_cv_prog_CC="$CC" # Let the user override the test.
3408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3412 test -z "$as_dir" && as_dir=.
3413 for ac_exec_ext in '' $ac_executable_extensions; do
3414 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3415 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3416 ac_prog_rejected=yes
3420 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3427 if test $ac_prog_rejected = yes; then
3428 # We found a bogon in the path, so make sure we never use it.
3429 set dummy $ac_cv_prog_CC
3431 if test $@%:@ != 0; then
3432 # We chose a different compiler from the bogus one.
3433 # However, it has the same basename, so the bogon will be chosen
3434 # first if we set CC to just the basename; use the full file name.
3436 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3442 if test -n "$CC"; then
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3444 $as_echo "$CC" >&6; }
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3447 $as_echo "no" >&6; }
3452 if test -z "$CC"; then
3453 if test -n "$ac_tool_prefix"; then
3454 for ac_prog in cl.exe
3456 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3457 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3459 $as_echo_n "checking for $ac_word... " >&6; }
3460 if ${ac_cv_prog_CC+:} false; then :
3461 $as_echo_n "(cached) " >&6
3463 if test -n "$CC"; then
3464 ac_cv_prog_CC="$CC" # Let the user override the test.
3466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3470 test -z "$as_dir" && as_dir=.
3471 for ac_exec_ext in '' $ac_executable_extensions; do
3472 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3473 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3474 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3484 if test -n "$CC"; then
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3486 $as_echo "$CC" >&6; }
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3489 $as_echo "no" >&6; }
3493 test -n "$CC" && break
3496 if test -z "$CC"; then
3498 for ac_prog in cl.exe
3500 # Extract the first word of "$ac_prog", so it can be a program name with args.
3501 set dummy $ac_prog; ac_word=$2
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3503 $as_echo_n "checking for $ac_word... " >&6; }
3504 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3505 $as_echo_n "(cached) " >&6
3507 if test -n "$ac_ct_CC"; then
3508 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3514 test -z "$as_dir" && as_dir=.
3515 for ac_exec_ext in '' $ac_executable_extensions; do
3516 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3517 ac_cv_prog_ac_ct_CC="$ac_prog"
3518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3527 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3528 if test -n "$ac_ct_CC"; then
3529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3530 $as_echo "$ac_ct_CC" >&6; }
3532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3533 $as_echo "no" >&6; }
3537 test -n "$ac_ct_CC" && break
3540 if test "x$ac_ct_CC" = x; then
3543 case $cross_compiling:$ac_tool_warned in
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3546 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3547 ac_tool_warned=yes ;;
3556 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3557 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3558 as_fn_error $? "no acceptable C compiler found in \$PATH
3559 See \`config.log' for more details" "$LINENO" 5; }
3561 # Provide some information about the compiler.
3562 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3565 for ac_option in --version -v -V -qversion; do
3566 { { ac_try="$ac_compiler $ac_option >&5"
3568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3569 *) ac_try_echo=$ac_try;;
3571 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3572 $as_echo "$ac_try_echo"; } >&5
3573 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3575 if test -s conftest.err; then
3577 ... rest of stderr output deleted ...
3578 10q' conftest.err >conftest.er1
3579 cat conftest.er1 >&5
3581 rm -f conftest.er1 conftest.err
3582 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3583 test $ac_status = 0; }
3586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3587 /* end confdefs.h. */
3597 ac_clean_files_save=$ac_clean_files
3598 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3599 # Try to create an executable without -o first, disregard a.out.
3600 # It will help us diagnose broken compilers, and finding out an intuition
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3603 $as_echo_n "checking whether the C compiler works... " >&6; }
3604 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3606 # The possible output files:
3607 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3610 for ac_file in $ac_files
3613 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3614 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3619 if { { ac_try="$ac_link_default"
3621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3622 *) ac_try_echo=$ac_try;;
3624 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3625 $as_echo "$ac_try_echo"; } >&5
3626 (eval "$ac_link_default") 2>&5
3628 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3629 test $ac_status = 0; }; then :
3630 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3631 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3632 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3633 # so that the user can short-circuit this test for compilers unknown to
3635 for ac_file in $ac_files ''
3637 test -f "$ac_file" || continue
3639 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3642 # We found the default executable, but exeext='' is most
3646 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3648 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3650 # We set ac_cv_exeext here because the later test for it is not
3651 # safe: cross compilers may not add the suffix if given an `-o'
3652 # argument, so we may need to know it at that point already.
3653 # Even if this section looks crufty: it has the advantage of
3660 test "$ac_cv_exeext" = no && ac_cv_exeext=
3665 if test -z "$ac_file"; then :
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3667 $as_echo "no" >&6; }
3668 $as_echo "$as_me: failed program was:" >&5
3669 sed 's/^/| /' conftest.$ac_ext >&5
3671 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3672 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3673 as_fn_error 77 "C compiler cannot create executables
3674 See \`config.log' for more details" "$LINENO" 5; }
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3677 $as_echo "yes" >&6; }
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3680 $as_echo_n "checking for C compiler default output file name... " >&6; }
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3682 $as_echo "$ac_file" >&6; }
3683 ac_exeext=$ac_cv_exeext
3685 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3686 ac_clean_files=$ac_clean_files_save
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3688 $as_echo_n "checking for suffix of executables... " >&6; }
3689 if { { ac_try="$ac_link"
3691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3692 *) ac_try_echo=$ac_try;;
3694 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3695 $as_echo "$ac_try_echo"; } >&5
3696 (eval "$ac_link") 2>&5
3698 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3699 test $ac_status = 0; }; then :
3700 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3701 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3702 # work properly (i.e., refer to `conftest.exe'), while it won't with
3704 for ac_file in conftest.exe conftest conftest.*; do
3705 test -f "$ac_file" || continue
3707 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3708 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3714 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3715 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3716 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3717 See \`config.log' for more details" "$LINENO" 5; }
3719 rm -f conftest conftest$ac_cv_exeext
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3721 $as_echo "$ac_cv_exeext" >&6; }
3723 rm -f conftest.$ac_ext
3724 EXEEXT=$ac_cv_exeext
3726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3727 /* end confdefs.h. */
3728 @%:@include <stdio.h>
3732 FILE *f = fopen ("conftest.out", "w");
3733 return ferror (f) || fclose (f) != 0;
3739 ac_clean_files="$ac_clean_files conftest.out"
3740 # Check that the compiler produces executables we can run. If not, either
3741 # the compiler is broken, or we cross compile.
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3743 $as_echo_n "checking whether we are cross compiling... " >&6; }
3744 if test "$cross_compiling" != yes; then
3745 { { ac_try="$ac_link"
3747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3748 *) ac_try_echo=$ac_try;;
3750 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3751 $as_echo "$ac_try_echo"; } >&5
3752 (eval "$ac_link") 2>&5
3754 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3755 test $ac_status = 0; }
3756 if { ac_try='./conftest$ac_cv_exeext'
3757 { { case "(($ac_try" in
3758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3759 *) ac_try_echo=$ac_try;;
3761 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3762 $as_echo "$ac_try_echo"; } >&5
3763 (eval "$ac_try") 2>&5
3765 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3766 test $ac_status = 0; }; }; then
3769 if test "$cross_compiling" = maybe; then
3772 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3773 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3774 as_fn_error $? "cannot run C compiled programs.
3775 If you meant to cross compile, use \`--host'.
3776 See \`config.log' for more details" "$LINENO" 5; }
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3781 $as_echo "$cross_compiling" >&6; }
3783 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3784 ac_clean_files=$ac_clean_files_save
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3786 $as_echo_n "checking for suffix of object files... " >&6; }
3787 if ${ac_cv_objext+:} false; then :
3788 $as_echo_n "(cached) " >&6
3790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3791 /* end confdefs.h. */
3801 rm -f conftest.o conftest.obj
3802 if { { ac_try="$ac_compile"
3804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3805 *) ac_try_echo=$ac_try;;
3807 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3808 $as_echo "$ac_try_echo"; } >&5
3809 (eval "$ac_compile") 2>&5
3811 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3812 test $ac_status = 0; }; then :
3813 for ac_file in conftest.o conftest.obj conftest.*; do
3814 test -f "$ac_file" || continue;
3816 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3817 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3822 $as_echo "$as_me: failed program was:" >&5
3823 sed 's/^/| /' conftest.$ac_ext >&5
3825 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3826 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3827 as_fn_error $? "cannot compute suffix of object files: cannot compile
3828 See \`config.log' for more details" "$LINENO" 5; }
3830 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3833 $as_echo "$ac_cv_objext" >&6; }
3834 OBJEXT=$ac_cv_objext
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3837 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3838 if ${ac_cv_c_compiler_gnu+:} false; then :
3839 $as_echo_n "(cached) " >&6
3841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3842 /* end confdefs.h. */
3855 if ac_fn_c_try_compile "$LINENO"; then :
3860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3861 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3865 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3866 if test $ac_compiler_gnu = yes; then
3871 ac_test_CFLAGS=${CFLAGS+set}
3872 ac_save_CFLAGS=$CFLAGS
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3874 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3875 if ${ac_cv_prog_cc_g+:} false; then :
3876 $as_echo_n "(cached) " >&6
3878 ac_save_c_werror_flag=$ac_c_werror_flag
3879 ac_c_werror_flag=yes
3882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3883 /* end confdefs.h. */
3893 if ac_fn_c_try_compile "$LINENO"; then :
3897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3898 /* end confdefs.h. */
3908 if ac_fn_c_try_compile "$LINENO"; then :
3911 ac_c_werror_flag=$ac_save_c_werror_flag
3913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3914 /* end confdefs.h. */
3924 if ac_fn_c_try_compile "$LINENO"; then :
3927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3932 ac_c_werror_flag=$ac_save_c_werror_flag
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3935 $as_echo "$ac_cv_prog_cc_g" >&6; }
3936 if test "$ac_test_CFLAGS" = set; then
3937 CFLAGS=$ac_save_CFLAGS
3938 elif test $ac_cv_prog_cc_g = yes; then
3939 if test "$GCC" = yes; then
3945 if test "$GCC" = yes; then
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3952 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3953 if ${ac_cv_prog_cc_c89+:} false; then :
3954 $as_echo_n "(cached) " >&6
3956 ac_cv_prog_cc_c89=no
3958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3959 /* end confdefs.h. */
3963 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3964 struct buf { int x; };
3965 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3966 static char *e (p, i)
3972 static char *f (char * (*g) (char **, int), char **p, ...)
3977 s = g (p, va_arg (v,int));
3982 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3983 function prototypes and stuff, but not '\xHH' hex character constants.
3984 These don't provoke an error unfortunately, instead are silently treated
3985 as 'x'. The following induces an error, until -std is added to get
3986 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3987 array size at least. It's necessary to write '\x00'==0 to get something
3988 that's true only with -std. */
3989 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3991 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3992 inside strings and character constants. */
3994 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3996 int test (int i, double x);
3997 struct s1 {int (*f) (int a);};
3998 struct s2 {int (*f) (double a);};
3999 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4005 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4010 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4011 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4013 CC="$ac_save_CC $ac_arg"
4014 if ac_fn_c_try_compile "$LINENO"; then :
4015 ac_cv_prog_cc_c89=$ac_arg
4017 rm -f core conftest.err conftest.$ac_objext
4018 test "x$ac_cv_prog_cc_c89" != "xno" && break
4020 rm -f conftest.$ac_ext
4025 case "x$ac_cv_prog_cc_c89" in
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4028 $as_echo "none needed" >&6; } ;;
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4031 $as_echo "unsupported" >&6; } ;;
4033 CC="$CC $ac_cv_prog_cc_c89"
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4035 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4037 if test "x$ac_cv_prog_cc_c89" != xno; then :
4042 ac_cpp='$CPP $CPPFLAGS'
4043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4048 ac_cpp='$CPP $CPPFLAGS'
4049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4053 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4054 if ${am_cv_prog_cc_c_o+:} false; then :
4055 $as_echo_n "(cached) " >&6
4057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4058 /* end confdefs.h. */
4068 # Make sure it works both with $CC and with simple cc.
4069 # Following AC_PROG_CC_C_O, we do the test twice because some
4070 # compilers refuse to overwrite an existing .o file with -o,
4071 # though they will create one.
4072 am_cv_prog_cc_c_o=yes
4074 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4075 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4078 (exit $ac_status); } \
4079 && test -f conftest2.$ac_objext; then
4082 am_cv_prog_cc_c_o=no
4086 rm -f core conftest*
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4090 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4091 if test "$am_cv_prog_cc_c_o" != yes; then
4092 # Losing compiler, so override with the script.
4093 # FIXME: It is wrong to rewrite CC.
4094 # But if we don't then we get into trouble of one sort or another.
4095 # A longer-term fix would be to have automake use am__CC in this case,
4096 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4097 CC="$am_aux_dir/compile $CC"
4100 ac_cpp='$CPP $CPPFLAGS'
4101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4106 depcc="$CC" am_compiler_list=
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4109 $as_echo_n "checking dependency style of $depcc... " >&6; }
4110 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4111 $as_echo_n "(cached) " >&6
4113 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4114 # We make a subdir and do the tests there. Otherwise we can end up
4115 # making bogus files that we don't know about and never remove. For
4116 # instance it was reported that on HP-UX the gcc test will end up
4117 # making a dummy file named 'D' -- because '-MD' means "put the output
4121 # Copy depcomp to subdir because otherwise we won't find it if we're
4122 # using a relative directory.
4123 cp "$am_depcomp" conftest.dir
4125 # We will build objects and dependencies in a subdirectory because
4126 # it helps to detect inapplicable dependency modes. For instance
4127 # both Tru64's cc and ICC support -MD to output dependencies as a
4128 # side effect of compilation, but ICC will put the dependencies in
4129 # the current directory while Tru64 will put them in the object
4133 am_cv_CC_dependencies_compiler_type=none
4134 if test "$am_compiler_list" = ""; then
4135 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4138 case " $depcc " in #(
4139 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4142 for depmode in $am_compiler_list; do
4143 # Setup a source with many dependencies, because some compilers
4144 # like to wrap large dependency lists on column 80 (with \), and
4145 # we should not choose a depcomp mode which is confused by this.
4147 # We need to recreate these files for each test, as the compiler may
4148 # overwrite some of them when testing with obscure command lines.
4149 # This happens at least with the AIX C compiler.
4151 for i in 1 2 3 4 5 6; do
4152 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4153 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4154 # Solaris 10 /bin/sh.
4155 echo '/* dummy */' > sub/conftst$i.h
4157 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4159 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4160 # mode. It turns out that the SunPro C++ compiler does not properly
4161 # handle '-M -o', and we need to detect this. Also, some Intel
4162 # versions had trouble with output in subdirs.
4163 am__obj=sub/conftest.${OBJEXT-o}
4164 am__minus_obj="-o $am__obj"
4167 # This depmode causes a compiler race in universal mode.
4168 test "$am__universal" = false || continue
4171 # After this tag, mechanisms are not by side-effect, so they'll
4172 # only be used when explicitly requested.
4173 if test "x$enable_dependency_tracking" = xyes; then
4179 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4180 # This compiler won't grok '-c -o', but also, the minuso test has
4181 # not run yet. These depmodes are late enough in the game, and
4182 # so weak that their functioning should not be impacted.
4183 am__obj=conftest.${OBJEXT-o}
4188 if depmode=$depmode \
4189 source=sub/conftest.c object=$am__obj \
4190 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4191 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4192 >/dev/null 2>conftest.err &&
4193 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4194 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4195 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4196 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4197 # icc doesn't choke on unknown options, it will just issue warnings
4198 # or remarks (even with -Werror). So we grep stderr for any message
4199 # that says an option was ignored or not supported.
4200 # When given -MP, icc 7.0 and 7.1 complain thusly:
4201 # icc: Command line warning: ignoring option '-M'; no argument required
4202 # The diagnosis changed in icc 8.0:
4203 # icc: Command line remark: option '-MP' not supported
4204 if (grep 'ignoring option' conftest.err ||
4205 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4206 am_cv_CC_dependencies_compiler_type=$depmode
4215 am_cv_CC_dependencies_compiler_type=none
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4220 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4221 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4224 test "x$enable_dependency_tracking" != xno \
4225 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4227 am__fastdepCC_FALSE='#'
4229 am__fastdepCC_TRUE='#'
4230 am__fastdepCC_FALSE=
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4235 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4236 if ${ac_cv_path_SED+:} false; then :
4237 $as_echo_n "(cached) " >&6
4239 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4240 for ac_i in 1 2 3 4 5 6 7; do
4241 ac_script="$ac_script$as_nl$ac_script"
4243 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4244 { ac_script=; unset ac_script;}
4245 if test -z "$SED"; then
4246 ac_path_SED_found=false
4247 # Loop through the user's path and test for each of PROGNAME-LIST
4248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4252 test -z "$as_dir" && as_dir=.
4253 for ac_prog in sed gsed; do
4254 for ac_exec_ext in '' $ac_executable_extensions; do
4255 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4256 as_fn_executable_p "$ac_path_SED" || continue
4257 # Check for GNU ac_path_SED and select it if it is found.
4258 # Check for GNU $ac_path_SED
4259 case `"$ac_path_SED" --version 2>&1` in
4261 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4264 $as_echo_n 0123456789 >"conftest.in"
4267 cat "conftest.in" "conftest.in" >"conftest.tmp"
4268 mv "conftest.tmp" "conftest.in"
4269 cp "conftest.in" "conftest.nl"
4270 $as_echo '' >> "conftest.nl"
4271 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4272 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4273 as_fn_arith $ac_count + 1 && ac_count=$as_val
4274 if test $ac_count -gt ${ac_path_SED_max-0}; then
4275 # Best one so far, save it but keep looking for a better one
4276 ac_cv_path_SED="$ac_path_SED"
4277 ac_path_SED_max=$ac_count
4279 # 10*(2^10) chars as input seems more than enough
4280 test $ac_count -gt 10 && break
4282 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4285 $ac_path_SED_found && break 3
4290 if test -z "$ac_cv_path_SED"; then
4291 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4299 $as_echo "$ac_cv_path_SED" >&6; }
4300 SED="$ac_cv_path_SED"
4303 test -z "$SED" && SED=sed
4304 Xsed="$SED -e 1s/^X//"
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4317 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4318 if ${ac_cv_path_GREP+:} false; then :
4319 $as_echo_n "(cached) " >&6
4321 if test -z "$GREP"; then
4322 ac_path_GREP_found=false
4323 # Loop through the user's path and test for each of PROGNAME-LIST
4324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4325 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4328 test -z "$as_dir" && as_dir=.
4329 for ac_prog in grep ggrep; do
4330 for ac_exec_ext in '' $ac_executable_extensions; do
4331 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4332 as_fn_executable_p "$ac_path_GREP" || continue
4333 # Check for GNU ac_path_GREP and select it if it is found.
4334 # Check for GNU $ac_path_GREP
4335 case `"$ac_path_GREP" --version 2>&1` in
4337 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4340 $as_echo_n 0123456789 >"conftest.in"
4343 cat "conftest.in" "conftest.in" >"conftest.tmp"
4344 mv "conftest.tmp" "conftest.in"
4345 cp "conftest.in" "conftest.nl"
4346 $as_echo 'GREP' >> "conftest.nl"
4347 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4348 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4349 as_fn_arith $ac_count + 1 && ac_count=$as_val
4350 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4351 # Best one so far, save it but keep looking for a better one
4352 ac_cv_path_GREP="$ac_path_GREP"
4353 ac_path_GREP_max=$ac_count
4355 # 10*(2^10) chars as input seems more than enough
4356 test $ac_count -gt 10 && break
4358 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4361 $ac_path_GREP_found && break 3
4366 if test -z "$ac_cv_path_GREP"; then
4367 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4370 ac_cv_path_GREP=$GREP
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4375 $as_echo "$ac_cv_path_GREP" >&6; }
4376 GREP="$ac_cv_path_GREP"
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4380 $as_echo_n "checking for egrep... " >&6; }
4381 if ${ac_cv_path_EGREP+:} false; then :
4382 $as_echo_n "(cached) " >&6
4384 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4385 then ac_cv_path_EGREP="$GREP -E"
4387 if test -z "$EGREP"; then
4388 ac_path_EGREP_found=false
4389 # Loop through the user's path and test for each of PROGNAME-LIST
4390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4391 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4394 test -z "$as_dir" && as_dir=.
4395 for ac_prog in egrep; do
4396 for ac_exec_ext in '' $ac_executable_extensions; do
4397 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4398 as_fn_executable_p "$ac_path_EGREP" || continue
4399 # Check for GNU ac_path_EGREP and select it if it is found.
4400 # Check for GNU $ac_path_EGREP
4401 case `"$ac_path_EGREP" --version 2>&1` in
4403 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4406 $as_echo_n 0123456789 >"conftest.in"
4409 cat "conftest.in" "conftest.in" >"conftest.tmp"
4410 mv "conftest.tmp" "conftest.in"
4411 cp "conftest.in" "conftest.nl"
4412 $as_echo 'EGREP' >> "conftest.nl"
4413 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4414 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4415 as_fn_arith $ac_count + 1 && ac_count=$as_val
4416 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4417 # Best one so far, save it but keep looking for a better one
4418 ac_cv_path_EGREP="$ac_path_EGREP"
4419 ac_path_EGREP_max=$ac_count
4421 # 10*(2^10) chars as input seems more than enough
4422 test $ac_count -gt 10 && break
4424 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4427 $ac_path_EGREP_found && break 3
4432 if test -z "$ac_cv_path_EGREP"; then
4433 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4436 ac_cv_path_EGREP=$EGREP
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4442 $as_echo "$ac_cv_path_EGREP" >&6; }
4443 EGREP="$ac_cv_path_EGREP"
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4447 $as_echo_n "checking for fgrep... " >&6; }
4448 if ${ac_cv_path_FGREP+:} false; then :
4449 $as_echo_n "(cached) " >&6
4451 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4452 then ac_cv_path_FGREP="$GREP -F"
4454 if test -z "$FGREP"; then
4455 ac_path_FGREP_found=false
4456 # Loop through the user's path and test for each of PROGNAME-LIST
4457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4458 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4461 test -z "$as_dir" && as_dir=.
4462 for ac_prog in fgrep; do
4463 for ac_exec_ext in '' $ac_executable_extensions; do
4464 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4465 as_fn_executable_p "$ac_path_FGREP" || continue
4466 # Check for GNU ac_path_FGREP and select it if it is found.
4467 # Check for GNU $ac_path_FGREP
4468 case `"$ac_path_FGREP" --version 2>&1` in
4470 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4473 $as_echo_n 0123456789 >"conftest.in"
4476 cat "conftest.in" "conftest.in" >"conftest.tmp"
4477 mv "conftest.tmp" "conftest.in"
4478 cp "conftest.in" "conftest.nl"
4479 $as_echo 'FGREP' >> "conftest.nl"
4480 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4481 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4482 as_fn_arith $ac_count + 1 && ac_count=$as_val
4483 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4484 # Best one so far, save it but keep looking for a better one
4485 ac_cv_path_FGREP="$ac_path_FGREP"
4486 ac_path_FGREP_max=$ac_count
4488 # 10*(2^10) chars as input seems more than enough
4489 test $ac_count -gt 10 && break
4491 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4494 $ac_path_FGREP_found && break 3
4499 if test -z "$ac_cv_path_FGREP"; then
4500 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4503 ac_cv_path_FGREP=$FGREP
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4509 $as_echo "$ac_cv_path_FGREP" >&6; }
4510 FGREP="$ac_cv_path_FGREP"
4513 test -z "$GREP" && GREP=grep
4533 @%:@ Check whether --with-gnu-ld was given.
4534 if test "${with_gnu_ld+set}" = set; then :
4535 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
4541 if test yes = "$GCC"; then
4542 # Check if gcc -print-prog-name=ld gives a path.
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4544 $as_echo_n "checking for ld used by $CC... " >&6; }
4547 # gcc leaves a trailing carriage return, which upsets mingw
4548 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4550 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4553 # Accept absolute paths.
4555 re_direlt='/[^/][^/]*/\.\./'
4556 # Canonicalize the pathname of ld
4557 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4558 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4559 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4561 test -z "$LD" && LD=$ac_prog
4564 # If it fails, then pretend we aren't using GCC.
4568 # If it is relative, then search for the first ld in PATH.
4572 elif test yes = "$with_gnu_ld"; then
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4574 $as_echo_n "checking for GNU ld... " >&6; }
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4577 $as_echo_n "checking for non-GNU ld... " >&6; }
4579 if ${lt_cv_path_LD+:} false; then :
4580 $as_echo_n "(cached) " >&6
4582 if test -z "$LD"; then
4583 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4584 for ac_dir in $PATH; do
4586 test -z "$ac_dir" && ac_dir=.
4587 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4588 lt_cv_path_LD=$ac_dir/$ac_prog
4589 # Check to see if the program is GNU ld. I'd rather use --version,
4590 # but apparently some variants of GNU ld only accept -v.
4591 # Break only if it was the GNU/non-GNU ld that we prefer.
4592 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4593 *GNU* | *'with BFD'*)
4594 test no != "$with_gnu_ld" && break
4597 test yes != "$with_gnu_ld" && break
4604 lt_cv_path_LD=$LD # Let the user override the test with a path.
4609 if test -n "$LD"; then
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4611 $as_echo "$LD" >&6; }
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4614 $as_echo "no" >&6; }
4616 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4618 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4619 if ${lt_cv_prog_gnu_ld+:} false; then :
4620 $as_echo_n "(cached) " >&6
4622 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4623 case `$LD -v 2>&1 </dev/null` in
4624 *GNU* | *'with BFD'*)
4625 lt_cv_prog_gnu_ld=yes
4628 lt_cv_prog_gnu_ld=no
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4633 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4634 with_gnu_ld=$lt_cv_prog_gnu_ld
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4645 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4646 if ${lt_cv_path_NM+:} false; then :
4647 $as_echo_n "(cached) " >&6
4649 if test -n "$NM"; then
4650 # Let the user override the test.
4653 lt_nm_to_check=${ac_tool_prefix}nm
4654 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4655 lt_nm_to_check="$lt_nm_to_check nm"
4657 for lt_tmp_nm in $lt_nm_to_check; do
4658 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4659 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4661 test -z "$ac_dir" && ac_dir=.
4662 tmp_nm=$ac_dir/$lt_tmp_nm
4663 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
4664 # Check to see if the nm accepts a BSD-compat flag.
4665 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
4666 # nm: unknown option "B" ignored
4667 # Tru64's nm complains that /dev/null is an invalid object file
4668 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
4670 mingw*) lt_bad_file=conftest.nm/nofile ;;
4671 *) lt_bad_file=/dev/null ;;
4673 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
4674 *$lt_bad_file* | *'Invalid file or object type'*)
4675 lt_cv_path_NM="$tmp_nm -B"
4679 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4681 lt_cv_path_NM="$tmp_nm -p"
4685 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4686 continue # so that we can try to find one that supports BSD flags
4695 : ${lt_cv_path_NM=no}
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4699 $as_echo "$lt_cv_path_NM" >&6; }
4700 if test no != "$lt_cv_path_NM"; then
4703 # Didn't find any BSD compatible name lister, look for dumpbin.
4704 if test -n "$DUMPBIN"; then :
4705 # Let the user override the test.
4707 if test -n "$ac_tool_prefix"; then
4708 for ac_prog in dumpbin "link -dump"
4710 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4711 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4713 $as_echo_n "checking for $ac_word... " >&6; }
4714 if ${ac_cv_prog_DUMPBIN+:} false; then :
4715 $as_echo_n "(cached) " >&6
4717 if test -n "$DUMPBIN"; then
4718 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4724 test -z "$as_dir" && as_dir=.
4725 for ac_exec_ext in '' $ac_executable_extensions; do
4726 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4727 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4737 DUMPBIN=$ac_cv_prog_DUMPBIN
4738 if test -n "$DUMPBIN"; then
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4740 $as_echo "$DUMPBIN" >&6; }
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4743 $as_echo "no" >&6; }
4747 test -n "$DUMPBIN" && break
4750 if test -z "$DUMPBIN"; then
4751 ac_ct_DUMPBIN=$DUMPBIN
4752 for ac_prog in dumpbin "link -dump"
4754 # Extract the first word of "$ac_prog", so it can be a program name with args.
4755 set dummy $ac_prog; ac_word=$2
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4757 $as_echo_n "checking for $ac_word... " >&6; }
4758 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4759 $as_echo_n "(cached) " >&6
4761 if test -n "$ac_ct_DUMPBIN"; then
4762 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4768 test -z "$as_dir" && as_dir=.
4769 for ac_exec_ext in '' $ac_executable_extensions; do
4770 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4771 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4781 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4782 if test -n "$ac_ct_DUMPBIN"; then
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4784 $as_echo "$ac_ct_DUMPBIN" >&6; }
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4787 $as_echo "no" >&6; }
4791 test -n "$ac_ct_DUMPBIN" && break
4794 if test "x$ac_ct_DUMPBIN" = x; then
4797 case $cross_compiling:$ac_tool_warned in
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4800 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4801 ac_tool_warned=yes ;;
4803 DUMPBIN=$ac_ct_DUMPBIN
4807 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
4809 DUMPBIN="$DUMPBIN -symbols -headers"
4817 if test : != "$DUMPBIN"; then
4821 test -z "$NM" && NM=nm
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4829 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4830 if ${lt_cv_nm_interface+:} false; then :
4831 $as_echo_n "(cached) " >&6
4833 lt_cv_nm_interface="BSD nm"
4834 echo "int some_variable = 0;" > conftest.$ac_ext
4835 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4836 (eval "$ac_compile" 2>conftest.err)
4837 cat conftest.err >&5
4838 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4839 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4840 cat conftest.err >&5
4841 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4842 cat conftest.out >&5
4843 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4844 lt_cv_nm_interface="MS dumpbin"
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4849 $as_echo "$lt_cv_nm_interface" >&6; }
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4852 $as_echo_n "checking whether ln -s works... " >&6; }
4854 if test "$LN_S" = "ln -s"; then
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4856 $as_echo "yes" >&6; }
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4859 $as_echo "no, using $LN_S" >&6; }
4862 # find the maximum length of command line arguments
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4864 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4865 if ${lt_cv_sys_max_cmd_len+:} false; then :
4866 $as_echo_n "(cached) " >&6
4873 # On DJGPP, this test can blow up pretty badly due to problems in libc
4874 # (any single argument exceeding 2000 bytes causes a buffer overrun
4875 # during glob expansion). Even if it were fixed, the result of this
4876 # check would be larger than it should be.
4877 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4881 # Under GNU Hurd, this test is not required because there is
4882 # no limit to the length of command line arguments.
4883 # Libtool will interpret -1 as no limit whatsoever
4884 lt_cv_sys_max_cmd_len=-1;
4887 cygwin* | mingw* | cegcc*)
4888 # On Win9x/ME, this test blows up -- it succeeds, but takes
4889 # about 5 minutes as the teststring grows exponentially.
4890 # Worse, since 9x/ME are not pre-emptively multitasking,
4891 # you end up with a "frozen" computer, even though with patience
4892 # the test eventually succeeds (with a max line length of 256k).
4893 # Instead, let's just punt: use the minimum linelength reported by
4894 # all of the supported platforms: 8192 (on NT/2K/XP).
4895 lt_cv_sys_max_cmd_len=8192;
4899 # On MiNT this can take a long time and run out of memory.
4900 lt_cv_sys_max_cmd_len=8192;
4904 # On AmigaOS with pdksh, this test takes hours, literally.
4905 # So we just punt and use a minimum line length of 8192.
4906 lt_cv_sys_max_cmd_len=8192;
4909 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
4910 # This has been around since 386BSD, at least. Likely further.
4911 if test -x /sbin/sysctl; then
4912 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4913 elif test -x /usr/sbin/sysctl; then
4914 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4916 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4918 # And add a safety zone
4919 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4920 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4924 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4925 lt_cv_sys_max_cmd_len=196608
4929 # The test takes a long time on OS/2.
4930 lt_cv_sys_max_cmd_len=8192
4934 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4935 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4936 # nice to cause kernel panics so lets avoid the loop below.
4937 # First set a reasonable default.
4938 lt_cv_sys_max_cmd_len=16384
4940 if test -x /sbin/sysconfig; then
4941 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4942 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4947 lt_cv_sys_max_cmd_len=102400
4949 sysv5* | sco5v6* | sysv4.2uw2*)
4950 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4951 if test -n "$kargmax"; then
4952 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4954 lt_cv_sys_max_cmd_len=32768
4958 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4959 if test -n "$lt_cv_sys_max_cmd_len" && \
4960 test undefined != "$lt_cv_sys_max_cmd_len"; then
4961 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4962 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4964 # Make teststring a little bigger before we do anything with it.
4965 # a 1K string should be a reasonable start.
4966 for i in 1 2 3 4 5 6 7 8; do
4967 teststring=$teststring$teststring
4969 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4970 # If test is not a shell built-in, we'll probably end up computing a
4971 # maximum length that is only half of the actual maximum length, but
4973 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
4974 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4975 test 17 != "$i" # 1/2 MB should be enough
4978 teststring=$teststring$teststring
4980 # Only check the string length outside the loop.
4981 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4983 # Add a significant safety factor because C++ compilers can tack on
4984 # massive amounts of additional arguments before passing them to the
4985 # linker. It appears as though 1/2 is a usable value.
4986 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4993 if test -n "$lt_cv_sys_max_cmd_len"; then
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4995 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4998 $as_echo "none" >&6; }
5000 max_cmd_len=$lt_cv_sys_max_cmd_len
5011 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5021 # test EBCDIC or ASCII
5022 case `echo X|tr X '\101'` in
5023 A) # ASCII based system
5024 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5025 lt_SP2NL='tr \040 \012'
5026 lt_NL2SP='tr \015\012 \040\040'
5028 *) # EBCDIC based system
5029 lt_SP2NL='tr \100 \n'
5030 lt_NL2SP='tr \r\n \100\100'
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5043 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5044 if ${lt_cv_to_host_file_cmd+:} false; then :
5045 $as_echo_n "(cached) " >&6
5050 *-*-mingw* ) # actually msys
5051 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5054 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5056 * ) # otherwise, assume *nix
5057 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5063 *-*-mingw* ) # actually msys
5064 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5067 lt_cv_to_host_file_cmd=func_convert_file_noop
5069 * ) # otherwise, assume *nix
5070 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5074 * ) # unhandled hosts (and "normal" native builds)
5075 lt_cv_to_host_file_cmd=func_convert_file_noop
5081 to_host_file_cmd=$lt_cv_to_host_file_cmd
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5083 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5090 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5091 if ${lt_cv_to_tool_file_cmd+:} false; then :
5092 $as_echo_n "(cached) " >&6
5094 #assume ordinary cross tools, or native build.
5095 lt_cv_to_tool_file_cmd=func_convert_file_noop
5099 *-*-mingw* ) # actually msys
5100 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5108 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5110 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5117 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5118 if ${lt_cv_ld_reload_flag+:} false; then :
5119 $as_echo_n "(cached) " >&6
5121 lt_cv_ld_reload_flag='-r'
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5124 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5125 reload_flag=$lt_cv_ld_reload_flag
5126 case $reload_flag in
5128 *) reload_flag=" $reload_flag" ;;
5130 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5132 cygwin* | mingw* | pw32* | cegcc*)
5133 if test yes != "$GCC"; then
5138 if test yes = "$GCC"; then
5139 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5141 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5154 if test -n "$ac_tool_prefix"; then
5155 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5156 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5158 $as_echo_n "checking for $ac_word... " >&6; }
5159 if ${ac_cv_prog_OBJDUMP+:} false; then :
5160 $as_echo_n "(cached) " >&6
5162 if test -n "$OBJDUMP"; then
5163 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5169 test -z "$as_dir" && as_dir=.
5170 for ac_exec_ext in '' $ac_executable_extensions; do
5171 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5172 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5182 OBJDUMP=$ac_cv_prog_OBJDUMP
5183 if test -n "$OBJDUMP"; then
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5185 $as_echo "$OBJDUMP" >&6; }
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5188 $as_echo "no" >&6; }
5193 if test -z "$ac_cv_prog_OBJDUMP"; then
5194 ac_ct_OBJDUMP=$OBJDUMP
5195 # Extract the first word of "objdump", so it can be a program name with args.
5196 set dummy objdump; ac_word=$2
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5198 $as_echo_n "checking for $ac_word... " >&6; }
5199 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5200 $as_echo_n "(cached) " >&6
5202 if test -n "$ac_ct_OBJDUMP"; then
5203 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5209 test -z "$as_dir" && as_dir=.
5210 for ac_exec_ext in '' $ac_executable_extensions; do
5211 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5212 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5222 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5223 if test -n "$ac_ct_OBJDUMP"; then
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5225 $as_echo "$ac_ct_OBJDUMP" >&6; }
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5228 $as_echo "no" >&6; }
5231 if test "x$ac_ct_OBJDUMP" = x; then
5234 case $cross_compiling:$ac_tool_warned in
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5237 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5238 ac_tool_warned=yes ;;
5240 OBJDUMP=$ac_ct_OBJDUMP
5243 OBJDUMP="$ac_cv_prog_OBJDUMP"
5246 test -z "$OBJDUMP" && OBJDUMP=objdump
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5257 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5258 if ${lt_cv_deplibs_check_method+:} false; then :
5259 $as_echo_n "(cached) " >&6
5261 lt_cv_file_magic_cmd='$MAGIC_CMD'
5262 lt_cv_file_magic_test_file=
5263 lt_cv_deplibs_check_method='unknown'
5264 # Need to set the preceding variable on all platforms that support
5265 # interlibrary dependencies.
5266 # 'none' -- dependencies not supported.
5267 # 'unknown' -- same as none, but documents that we really don't know.
5268 # 'pass_all' -- all dependencies passed with no checks.
5269 # 'test_compile' -- check by making test program.
5270 # 'file_magic [[regex]]' -- check by looking for files in library path
5271 # that responds to the $file_magic_cmd with a given extended regex.
5272 # If you have 'file' or equivalent on your system and you're not sure
5273 # whether 'pass_all' will *always* work, you probably want this one.
5277 lt_cv_deplibs_check_method=pass_all
5281 lt_cv_deplibs_check_method=pass_all
5285 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5286 lt_cv_file_magic_cmd='/usr/bin/file -L'
5287 lt_cv_file_magic_test_file=/shlib/libc.so
5291 # func_win32_libid is a shell function defined in ltmain.sh
5292 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5293 lt_cv_file_magic_cmd='func_win32_libid'
5297 # Base MSYS/MinGW do not provide the 'file' command needed by
5298 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5299 # unless we find 'file', for example because we are cross-compiling.
5300 if ( file / ) >/dev/null 2>&1; then
5301 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5302 lt_cv_file_magic_cmd='func_win32_libid'
5304 # Keep this pattern in sync with the one in func_win32_libid.
5305 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5306 lt_cv_file_magic_cmd='$OBJDUMP -f'
5311 # use the weaker test based on 'objdump'. See mingw*.
5312 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5313 lt_cv_file_magic_cmd='$OBJDUMP -f'
5316 darwin* | rhapsody*)
5317 lt_cv_deplibs_check_method=pass_all
5320 freebsd* | dragonfly*)
5321 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5324 # Not sure whether the presence of OpenBSD here was a mistake.
5325 # Let's accept both of them until this is cleared up.
5326 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5327 lt_cv_file_magic_cmd=/usr/bin/file
5328 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5332 lt_cv_deplibs_check_method=pass_all
5337 lt_cv_deplibs_check_method=pass_all
5340 hpux10.20* | hpux11*)
5341 lt_cv_file_magic_cmd=/usr/bin/file
5344 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5345 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5348 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]'
5349 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5352 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5353 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5359 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5360 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5363 irix5* | irix6* | nonstopux*)
5365 *-32|*"-32 ") libmagic=32-bit;;
5366 *-n32|*"-n32 ") libmagic=N32;;
5367 *-64|*"-64 ") libmagic=64-bit;;
5368 *) libmagic=never-match;;
5370 lt_cv_deplibs_check_method=pass_all
5373 # This must be glibc/ELF.
5374 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5375 lt_cv_deplibs_check_method=pass_all
5378 netbsd* | netbsdelf*-gnu)
5379 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5380 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5382 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5387 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5388 lt_cv_file_magic_cmd=/usr/bin/file
5389 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5393 lt_cv_deplibs_check_method=pass_all
5397 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5398 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5400 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5404 osf3* | osf4* | osf5*)
5405 lt_cv_deplibs_check_method=pass_all
5409 lt_cv_deplibs_check_method=pass_all
5413 lt_cv_deplibs_check_method=pass_all
5416 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5417 lt_cv_deplibs_check_method=pass_all
5421 case $host_vendor in
5423 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]'
5424 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5427 lt_cv_deplibs_check_method=pass_all
5430 lt_cv_file_magic_cmd='/bin/file'
5431 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5434 lt_cv_file_magic_cmd='/bin/file'
5435 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5436 lt_cv_file_magic_test_file=/lib/libc.so
5439 lt_cv_deplibs_check_method=pass_all
5442 lt_cv_deplibs_check_method=pass_all
5448 lt_cv_deplibs_check_method=pass_all
5451 lt_cv_deplibs_check_method=pass_all
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5457 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5461 if test "$build" = "$host"; then
5464 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5467 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5473 file_magic_cmd=$lt_cv_file_magic_cmd
5474 deplibs_check_method=$lt_cv_deplibs_check_method
5475 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5498 if test -n "$ac_tool_prefix"; then
5499 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5500 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5502 $as_echo_n "checking for $ac_word... " >&6; }
5503 if ${ac_cv_prog_DLLTOOL+:} false; then :
5504 $as_echo_n "(cached) " >&6
5506 if test -n "$DLLTOOL"; then
5507 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5513 test -z "$as_dir" && as_dir=.
5514 for ac_exec_ext in '' $ac_executable_extensions; do
5515 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5516 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5517 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5526 DLLTOOL=$ac_cv_prog_DLLTOOL
5527 if test -n "$DLLTOOL"; then
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5529 $as_echo "$DLLTOOL" >&6; }
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5532 $as_echo "no" >&6; }
5537 if test -z "$ac_cv_prog_DLLTOOL"; then
5538 ac_ct_DLLTOOL=$DLLTOOL
5539 # Extract the first word of "dlltool", so it can be a program name with args.
5540 set dummy dlltool; ac_word=$2
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5542 $as_echo_n "checking for $ac_word... " >&6; }
5543 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5544 $as_echo_n "(cached) " >&6
5546 if test -n "$ac_ct_DLLTOOL"; then
5547 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5553 test -z "$as_dir" && as_dir=.
5554 for ac_exec_ext in '' $ac_executable_extensions; do
5555 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5556 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5566 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5567 if test -n "$ac_ct_DLLTOOL"; then
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5569 $as_echo "$ac_ct_DLLTOOL" >&6; }
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5572 $as_echo "no" >&6; }
5575 if test "x$ac_ct_DLLTOOL" = x; then
5578 case $cross_compiling:$ac_tool_warned in
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5581 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5582 ac_tool_warned=yes ;;
5584 DLLTOOL=$ac_ct_DLLTOOL
5587 DLLTOOL="$ac_cv_prog_DLLTOOL"
5590 test -z "$DLLTOOL" && DLLTOOL=dlltool
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5602 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5603 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5604 $as_echo_n "(cached) " >&6
5606 lt_cv_sharedlib_from_linklib_cmd='unknown'
5609 cygwin* | mingw* | pw32* | cegcc*)
5610 # two different shell functions defined in ltmain.sh;
5611 # decide which one to use based on capabilities of $DLLTOOL
5612 case `$DLLTOOL --help 2>&1` in
5613 *--identify-strict*)
5614 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5617 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5622 # fallback: assume linklib IS sharedlib
5623 lt_cv_sharedlib_from_linklib_cmd=$ECHO
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5629 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5630 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5631 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5640 if test -n "$ac_tool_prefix"; then
5643 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5644 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5646 $as_echo_n "checking for $ac_word... " >&6; }
5647 if ${ac_cv_prog_AR+:} false; then :
5648 $as_echo_n "(cached) " >&6
5650 if test -n "$AR"; then
5651 ac_cv_prog_AR="$AR" # Let the user override the test.
5653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5657 test -z "$as_dir" && as_dir=.
5658 for ac_exec_ext in '' $ac_executable_extensions; do
5659 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5660 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5671 if test -n "$AR"; then
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5673 $as_echo "$AR" >&6; }
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5676 $as_echo "no" >&6; }
5680 test -n "$AR" && break
5683 if test -z "$AR"; then
5687 # Extract the first word of "$ac_prog", so it can be a program name with args.
5688 set dummy $ac_prog; ac_word=$2
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5690 $as_echo_n "checking for $ac_word... " >&6; }
5691 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5692 $as_echo_n "(cached) " >&6
5694 if test -n "$ac_ct_AR"; then
5695 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5701 test -z "$as_dir" && as_dir=.
5702 for ac_exec_ext in '' $ac_executable_extensions; do
5703 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5704 ac_cv_prog_ac_ct_AR="$ac_prog"
5705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5714 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5715 if test -n "$ac_ct_AR"; then
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5717 $as_echo "$ac_ct_AR" >&6; }
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5720 $as_echo "no" >&6; }
5724 test -n "$ac_ct_AR" && break
5727 if test "x$ac_ct_AR" = x; then
5730 case $cross_compiling:$ac_tool_warned in
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5733 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5734 ac_tool_warned=yes ;;
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5754 $as_echo_n "checking for archiver @FILE support... " >&6; }
5755 if ${lt_cv_ar_at_file+:} false; then :
5756 $as_echo_n "(cached) " >&6
5759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5760 /* end confdefs.h. */
5770 if ac_fn_c_try_compile "$LINENO"; then :
5771 echo conftest.$ac_objext > conftest.lst
5772 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5773 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5774 (eval $lt_ar_try) 2>&5
5776 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5777 test $ac_status = 0; }
5778 if test 0 -eq "$ac_status"; then
5779 # Ensure the archiver fails upon bogus file names.
5780 rm -f conftest.$ac_objext libconftest.a
5781 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5782 (eval $lt_ar_try) 2>&5
5784 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5785 test $ac_status = 0; }
5786 if test 0 -ne "$ac_status"; then
5790 rm -f conftest.* libconftest.a
5793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5797 $as_echo "$lt_cv_ar_at_file" >&6; }
5799 if test no = "$lt_cv_ar_at_file"; then
5802 archiver_list_spec=$lt_cv_ar_at_file
5811 if test -n "$ac_tool_prefix"; then
5812 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5813 set dummy ${ac_tool_prefix}strip; ac_word=$2
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5815 $as_echo_n "checking for $ac_word... " >&6; }
5816 if ${ac_cv_prog_STRIP+:} false; then :
5817 $as_echo_n "(cached) " >&6
5819 if test -n "$STRIP"; then
5820 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5826 test -z "$as_dir" && as_dir=.
5827 for ac_exec_ext in '' $ac_executable_extensions; do
5828 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5829 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5839 STRIP=$ac_cv_prog_STRIP
5840 if test -n "$STRIP"; then
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5842 $as_echo "$STRIP" >&6; }
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5845 $as_echo "no" >&6; }
5850 if test -z "$ac_cv_prog_STRIP"; then
5852 # Extract the first word of "strip", so it can be a program name with args.
5853 set dummy strip; ac_word=$2
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5855 $as_echo_n "checking for $ac_word... " >&6; }
5856 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5857 $as_echo_n "(cached) " >&6
5859 if test -n "$ac_ct_STRIP"; then
5860 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5866 test -z "$as_dir" && as_dir=.
5867 for ac_exec_ext in '' $ac_executable_extensions; do
5868 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5869 ac_cv_prog_ac_ct_STRIP="strip"
5870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5879 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5880 if test -n "$ac_ct_STRIP"; then
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5882 $as_echo "$ac_ct_STRIP" >&6; }
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5885 $as_echo "no" >&6; }
5888 if test "x$ac_ct_STRIP" = x; then
5891 case $cross_compiling:$ac_tool_warned in
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5894 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5895 ac_tool_warned=yes ;;
5900 STRIP="$ac_cv_prog_STRIP"
5903 test -z "$STRIP" && STRIP=:
5910 if test -n "$ac_tool_prefix"; then
5911 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5912 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5914 $as_echo_n "checking for $ac_word... " >&6; }
5915 if ${ac_cv_prog_RANLIB+:} false; then :
5916 $as_echo_n "(cached) " >&6
5918 if test -n "$RANLIB"; then
5919 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5925 test -z "$as_dir" && as_dir=.
5926 for ac_exec_ext in '' $ac_executable_extensions; do
5927 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5928 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5938 RANLIB=$ac_cv_prog_RANLIB
5939 if test -n "$RANLIB"; then
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5941 $as_echo "$RANLIB" >&6; }
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5944 $as_echo "no" >&6; }
5949 if test -z "$ac_cv_prog_RANLIB"; then
5950 ac_ct_RANLIB=$RANLIB
5951 # Extract the first word of "ranlib", so it can be a program name with args.
5952 set dummy ranlib; ac_word=$2
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5954 $as_echo_n "checking for $ac_word... " >&6; }
5955 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5956 $as_echo_n "(cached) " >&6
5958 if test -n "$ac_ct_RANLIB"; then
5959 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5965 test -z "$as_dir" && as_dir=.
5966 for ac_exec_ext in '' $ac_executable_extensions; do
5967 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5968 ac_cv_prog_ac_ct_RANLIB="ranlib"
5969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5978 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5979 if test -n "$ac_ct_RANLIB"; then
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5981 $as_echo "$ac_ct_RANLIB" >&6; }
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5984 $as_echo "no" >&6; }
5987 if test "x$ac_ct_RANLIB" = x; then
5990 case $cross_compiling:$ac_tool_warned in
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5993 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5994 ac_tool_warned=yes ;;
5996 RANLIB=$ac_ct_RANLIB
5999 RANLIB="$ac_cv_prog_RANLIB"
6002 test -z "$RANLIB" && RANLIB=:
6009 # Determine commands to create old-style static archives.
6010 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6011 old_postinstall_cmds='chmod 644 $oldlib'
6012 old_postuninstall_cmds=
6014 if test -n "$RANLIB"; then
6017 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6020 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6023 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6028 lock_old_archive_extraction=yes ;;
6030 lock_old_archive_extraction=no ;;
6071 # If no C compiler was specified, use CC.
6074 # If no C compiler flags were specified, use CFLAGS.
6075 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6077 # Allow CC to be a program name with arguments.
6081 # Check for command to grab the raw symbol name followed by C symbol from nm.
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6083 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6084 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6085 $as_echo_n "(cached) " >&6
6088 # These are sane defaults that work on at least a few old systems.
6089 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6091 # Character class describing NM global symbol codes.
6092 symcode='[BCDEGRST]'
6094 # Regexp to match symbols that can be accessed directly from C.
6095 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6097 # Define system-specific variables.
6102 cygwin* | mingw* | pw32* | cegcc*)
6103 symcode='[ABCDGISTW]'
6106 if test ia64 = "$host_cpu"; then
6107 symcode='[ABCDEGRST]'
6111 symcode='[BCDEGRST]'
6114 symcode='[BCDEGQRST]'
6125 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6133 # If we're using GNU nm, then use its standard symbol codes.
6134 case `$NM -V 2>&1` in
6135 *GNU* | *'with BFD'*)
6136 symcode='[ABCDGIRSTW]' ;;
6139 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6140 # Gets list of data symbols to import.
6141 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6142 # Adjust the below global symbol transforms to fixup imported variables.
6143 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6144 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
6145 lt_c_name_lib_hook="\
6146 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
6147 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
6149 # Disable hooks by default.
6150 lt_cv_sys_global_symbol_to_import=
6156 # Transform an extracted symbol line into a proper C declaration.
6157 # Some systems (esp. on ia64) link data and code symbols differently,
6158 # so use this general approach.
6159 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6161 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6162 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6164 # Transform an extracted symbol line into symbol name and symbol address
6165 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6167 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6168 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
6170 # Transform an extracted symbol line into symbol name with lib prefix and
6172 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6173 $lt_c_name_lib_hook\
6174 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6175 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
6176 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
6178 # Handle CRLF in mingw tool chain
6182 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6186 # Try without a prefix underscore, then with it.
6187 for ac_symprfx in "" "_"; do
6189 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6190 symxfrm="\\1 $ac_symprfx\\2 \\2"
6192 # Write the raw and C identifiers.
6193 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6194 # Fake it for dumpbin and say T for any non-static function,
6195 # D for any global variable and I for any imported variable.
6196 # Also find C++ and __fastcall symbols from MSVC++,
6197 # which start with @ or ?.
6198 lt_cv_sys_global_symbol_pipe="$AWK '"\
6199 " {last_section=section; section=\$ 3};"\
6200 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6201 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6202 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6203 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6204 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6205 " \$ 0!~/External *\|/{next};"\
6206 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6207 " {if(hide[section]) next};"\
6208 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6209 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6210 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6211 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6212 " ' prfx=^$ac_symprfx"
6214 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6216 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6218 # Check to see that the pipe works correctly.
6222 cat > conftest.$ac_ext <<_LT_EOF
6227 void nm_test_func(void);
6228 void nm_test_func(void){}
6232 int main(){nm_test_var='a';nm_test_func();return(0);}
6235 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6236 (eval $ac_compile) 2>&5
6238 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6239 test $ac_status = 0; }; then
6240 # Now try to grab the symbols.
6242 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6243 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6245 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6246 test $ac_status = 0; } && test -s "$nlist"; then
6247 # Try sorting and uniquifying the output.
6248 if sort "$nlist" | uniq > "$nlist"T; then
6249 mv -f "$nlist"T "$nlist"
6254 # Make sure that we snagged all the symbols we need.
6255 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6256 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6257 cat <<_LT_EOF > conftest.$ac_ext
6258 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6259 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6260 /* DATA imports from DLLs on WIN32 can't be const, because runtime
6261 relocations are performed -- see ld's documentation on pseudo-relocs. */
6262 # define LT@&t@_DLSYM_CONST
6263 #elif defined __osf__
6264 /* This system does not cope well with relocations in const data. */
6265 # define LT@&t@_DLSYM_CONST
6267 # define LT@&t@_DLSYM_CONST const
6275 # Now generate the symbol file.
6276 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6278 cat <<_LT_EOF >> conftest.$ac_ext
6280 /* The mapping between symbol names and symbols. */
6281 LT@&t@_DLSYM_CONST struct {
6285 lt__PROGRAM__LTX_preloaded_symbols[] =
6287 { "@PROGRAM@", (void *) 0 },
6289 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6290 cat <<\_LT_EOF >> conftest.$ac_ext
6294 /* This works around a problem in FreeBSD linker */
6295 #ifdef FREEBSD_WORKAROUND
6296 static const void *lt_preloaded_setup() {
6297 return lt__PROGRAM__LTX_preloaded_symbols;
6305 # Now try linking the two files.
6306 mv conftest.$ac_objext conftstm.$ac_objext
6307 lt_globsym_save_LIBS=$LIBS
6308 lt_globsym_save_CFLAGS=$CFLAGS
6309 LIBS=conftstm.$ac_objext
6310 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6311 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6312 (eval $ac_link) 2>&5
6314 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6315 test $ac_status = 0; } && test -s conftest$ac_exeext; then
6318 LIBS=$lt_globsym_save_LIBS
6319 CFLAGS=$lt_globsym_save_CFLAGS
6321 echo "cannot find nm_test_func in $nlist" >&5
6324 echo "cannot find nm_test_var in $nlist" >&5
6327 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6330 echo "$progname: failed program was:" >&5
6331 cat conftest.$ac_ext >&5
6333 rm -rf conftest* conftst*
6335 # Do not use the global_symbol_pipe unless it works.
6336 if test yes = "$pipe_works"; then
6339 lt_cv_sys_global_symbol_pipe=
6345 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6346 lt_cv_sys_global_symbol_to_cdecl=
6348 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6350 $as_echo "failed" >&6; }
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6353 $as_echo "ok" >&6; }
6356 # Response file support.
6357 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6358 nm_file_list_spec='@'
6359 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6360 nm_file_list_spec='@'
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6400 $as_echo_n "checking for sysroot... " >&6; }
6402 @%:@ Check whether --with-sysroot was given.
6403 if test "${with_sysroot+set}" = set; then :
6404 withval=$with_sysroot;
6411 case $with_sysroot in #(
6413 if test yes = "$GCC"; then
6414 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6418 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
6424 $as_echo "$with_sysroot" >&6; }
6425 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6430 $as_echo "${lt_sysroot:-no}" >&6; }
6436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
6437 $as_echo_n "checking for a working dd... " >&6; }
6438 if ${ac_cv_path_lt_DD+:} false; then :
6439 $as_echo_n "(cached) " >&6
6441 printf 0123456789abcdef0123456789abcdef >conftest.i
6442 cat conftest.i conftest.i >conftest2.i
6444 if test -z "$lt_DD"; then
6445 ac_path_lt_DD_found=false
6446 # Loop through the user's path and test for each of PROGNAME-LIST
6447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6451 test -z "$as_dir" && as_dir=.
6452 for ac_prog in dd; do
6453 for ac_exec_ext in '' $ac_executable_extensions; do
6454 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
6455 as_fn_executable_p "$ac_path_lt_DD" || continue
6456 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6457 cmp -s conftest.i conftest.out \
6458 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
6460 $ac_path_lt_DD_found && break 3
6465 if test -z "$ac_cv_path_lt_DD"; then
6469 ac_cv_path_lt_DD=$lt_DD
6472 rm -f conftest.i conftest2.i conftest.out
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
6475 $as_echo "$ac_cv_path_lt_DD" >&6; }
6478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
6479 $as_echo_n "checking how to truncate binary pipes... " >&6; }
6480 if ${lt_cv_truncate_bin+:} false; then :
6481 $as_echo_n "(cached) " >&6
6483 printf 0123456789abcdef0123456789abcdef >conftest.i
6484 cat conftest.i conftest.i >conftest2.i
6486 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6487 cmp -s conftest.i conftest.out \
6488 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
6490 rm -f conftest.i conftest2.i conftest.out
6491 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
6494 $as_echo "$lt_cv_truncate_bin" >&6; }
6502 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
6505 for cc_temp in @S|@*""; do
6507 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6508 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6513 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
6516 @%:@ Check whether --enable-libtool-lock was given.
6517 if test "${enable_libtool_lock+set}" = set; then :
6518 enableval=$enable_libtool_lock;
6521 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
6523 # Some flags need to be propagated to the compiler or linker for good
6527 # Find out what ABI is being produced by ac_compile, and set mode
6528 # options accordingly.
6529 echo 'int i;' > conftest.$ac_ext
6530 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6531 (eval $ac_compile) 2>&5
6533 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6534 test $ac_status = 0; }; then
6535 case `/usr/bin/file conftest.$ac_objext` in
6547 # Find out what ABI is being produced by ac_compile, and set linker
6548 # options accordingly.
6549 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6550 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6551 (eval $ac_compile) 2>&5
6553 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6554 test $ac_status = 0; }; then
6555 if test yes = "$lt_cv_prog_gnu_ld"; then
6556 case `/usr/bin/file conftest.$ac_objext` in
6558 LD="${LD-ld} -melf32bsmip"
6561 LD="${LD-ld} -melf32bmipn32"
6564 LD="${LD-ld} -melf64bmip"
6568 case `/usr/bin/file conftest.$ac_objext` in
6585 # Find out what ABI is being produced by ac_compile, and set linker
6586 # options accordingly.
6587 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6588 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6589 (eval $ac_compile) 2>&5
6591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6592 test $ac_status = 0; }; then
6594 case `/usr/bin/file conftest.$ac_objext` in
6602 case `/usr/bin/file conftest.$ac_objext` in
6604 emul="${emul}btsmip"
6607 emul="${emul}ltsmip"
6610 case `/usr/bin/file conftest.$ac_objext` in
6615 LD="${LD-ld} -m $emul"
6620 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6621 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6622 # Find out what ABI is being produced by ac_compile, and set linker
6623 # options accordingly. Note that the listed cases only cover the
6624 # situations where additional linker options are needed (such as when
6625 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
6626 # vice versa); the common cases where no linker options are needed do
6627 # not appear in the list.
6628 echo 'int i;' > conftest.$ac_ext
6629 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6630 (eval $ac_compile) 2>&5
6632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6633 test $ac_status = 0; }; then
6634 case `/usr/bin/file conftest.o` in
6637 x86_64-*kfreebsd*-gnu)
6638 LD="${LD-ld} -m elf_i386_fbsd"
6641 case `/usr/bin/file conftest.o` in
6643 LD="${LD-ld} -m elf32_x86_64"
6646 LD="${LD-ld} -m elf_i386"
6650 powerpc64le-*linux*)
6651 LD="${LD-ld} -m elf32lppclinux"
6654 LD="${LD-ld} -m elf32ppclinux"
6657 LD="${LD-ld} -m elf_s390"
6660 LD="${LD-ld} -m elf32_sparc"
6666 x86_64-*kfreebsd*-gnu)
6667 LD="${LD-ld} -m elf_x86_64_fbsd"
6670 LD="${LD-ld} -m elf_x86_64"
6673 LD="${LD-ld} -m elf64lppc"
6676 LD="${LD-ld} -m elf64ppc"
6678 s390*-*linux*|s390*-*tpf*)
6679 LD="${LD-ld} -m elf64_s390"
6682 LD="${LD-ld} -m elf64_sparc"
6692 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6694 CFLAGS="$CFLAGS -belf"
6695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6696 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6697 if ${lt_cv_cc_needs_belf+:} false; then :
6698 $as_echo_n "(cached) " >&6
6701 ac_cpp='$CPP $CPPFLAGS'
6702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6707 /* end confdefs.h. */
6717 if ac_fn_c_try_link "$LINENO"; then :
6718 lt_cv_cc_needs_belf=yes
6720 lt_cv_cc_needs_belf=no
6722 rm -f core conftest.err conftest.$ac_objext \
6723 conftest$ac_exeext conftest.$ac_ext
6725 ac_cpp='$CPP $CPPFLAGS'
6726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6732 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6733 if test yes != "$lt_cv_cc_needs_belf"; then
6734 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6739 # Find out what ABI is being produced by ac_compile, and set linker
6740 # options accordingly.
6741 echo 'int i;' > conftest.$ac_ext
6742 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6743 (eval $ac_compile) 2>&5
6745 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6746 test $ac_status = 0; }; then
6747 case `/usr/bin/file conftest.o` in
6749 case $lt_cv_prog_gnu_ld in
6752 i?86-*-solaris*|x86_64-*-solaris*)
6753 LD="${LD-ld} -m elf_x86_64"
6756 LD="${LD-ld} -m elf64_sparc"
6759 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6760 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6765 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6777 need_locks=$enable_libtool_lock
6779 if test -n "$ac_tool_prefix"; then
6780 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6781 set dummy ${ac_tool_prefix}mt; ac_word=$2
6782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6783 $as_echo_n "checking for $ac_word... " >&6; }
6784 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6785 $as_echo_n "(cached) " >&6
6787 if test -n "$MANIFEST_TOOL"; then
6788 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6794 test -z "$as_dir" && as_dir=.
6795 for ac_exec_ext in '' $ac_executable_extensions; do
6796 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6797 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6807 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6808 if test -n "$MANIFEST_TOOL"; then
6809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6810 $as_echo "$MANIFEST_TOOL" >&6; }
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6813 $as_echo "no" >&6; }
6818 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6819 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6820 # Extract the first word of "mt", so it can be a program name with args.
6821 set dummy mt; ac_word=$2
6822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6823 $as_echo_n "checking for $ac_word... " >&6; }
6824 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6825 $as_echo_n "(cached) " >&6
6827 if test -n "$ac_ct_MANIFEST_TOOL"; then
6828 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6834 test -z "$as_dir" && as_dir=.
6835 for ac_exec_ext in '' $ac_executable_extensions; do
6836 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6837 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6847 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6848 if test -n "$ac_ct_MANIFEST_TOOL"; then
6849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6850 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6853 $as_echo "no" >&6; }
6856 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6859 case $cross_compiling:$ac_tool_warned in
6861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6862 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6863 ac_tool_warned=yes ;;
6865 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6868 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6871 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6873 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6874 if ${lt_cv_path_mainfest_tool+:} false; then :
6875 $as_echo_n "(cached) " >&6
6877 lt_cv_path_mainfest_tool=no
6878 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6879 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6880 cat conftest.err >&5
6881 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6882 lt_cv_path_mainfest_tool=yes
6886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6887 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6888 if test yes != "$lt_cv_path_mainfest_tool"; then
6898 rhapsody* | darwin*)
6899 if test -n "$ac_tool_prefix"; then
6900 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6901 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6903 $as_echo_n "checking for $ac_word... " >&6; }
6904 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6905 $as_echo_n "(cached) " >&6
6907 if test -n "$DSYMUTIL"; then
6908 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6914 test -z "$as_dir" && as_dir=.
6915 for ac_exec_ext in '' $ac_executable_extensions; do
6916 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6917 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6927 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6928 if test -n "$DSYMUTIL"; then
6929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6930 $as_echo "$DSYMUTIL" >&6; }
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6933 $as_echo "no" >&6; }
6938 if test -z "$ac_cv_prog_DSYMUTIL"; then
6939 ac_ct_DSYMUTIL=$DSYMUTIL
6940 # Extract the first word of "dsymutil", so it can be a program name with args.
6941 set dummy dsymutil; ac_word=$2
6942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6943 $as_echo_n "checking for $ac_word... " >&6; }
6944 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6945 $as_echo_n "(cached) " >&6
6947 if test -n "$ac_ct_DSYMUTIL"; then
6948 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6954 test -z "$as_dir" && as_dir=.
6955 for ac_exec_ext in '' $ac_executable_extensions; do
6956 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6957 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6958 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6967 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6968 if test -n "$ac_ct_DSYMUTIL"; then
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6970 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6973 $as_echo "no" >&6; }
6976 if test "x$ac_ct_DSYMUTIL" = x; then
6979 case $cross_compiling:$ac_tool_warned in
6981 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6982 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6983 ac_tool_warned=yes ;;
6985 DSYMUTIL=$ac_ct_DSYMUTIL
6988 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6991 if test -n "$ac_tool_prefix"; then
6992 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6993 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6995 $as_echo_n "checking for $ac_word... " >&6; }
6996 if ${ac_cv_prog_NMEDIT+:} false; then :
6997 $as_echo_n "(cached) " >&6
6999 if test -n "$NMEDIT"; then
7000 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7006 test -z "$as_dir" && as_dir=.
7007 for ac_exec_ext in '' $ac_executable_extensions; do
7008 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7009 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7019 NMEDIT=$ac_cv_prog_NMEDIT
7020 if test -n "$NMEDIT"; then
7021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7022 $as_echo "$NMEDIT" >&6; }
7024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7025 $as_echo "no" >&6; }
7030 if test -z "$ac_cv_prog_NMEDIT"; then
7031 ac_ct_NMEDIT=$NMEDIT
7032 # Extract the first word of "nmedit", so it can be a program name with args.
7033 set dummy nmedit; ac_word=$2
7034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7035 $as_echo_n "checking for $ac_word... " >&6; }
7036 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7037 $as_echo_n "(cached) " >&6
7039 if test -n "$ac_ct_NMEDIT"; then
7040 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7046 test -z "$as_dir" && as_dir=.
7047 for ac_exec_ext in '' $ac_executable_extensions; do
7048 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7049 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7059 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7060 if test -n "$ac_ct_NMEDIT"; then
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7062 $as_echo "$ac_ct_NMEDIT" >&6; }
7064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7065 $as_echo "no" >&6; }
7068 if test "x$ac_ct_NMEDIT" = x; then
7071 case $cross_compiling:$ac_tool_warned in
7073 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7074 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7075 ac_tool_warned=yes ;;
7077 NMEDIT=$ac_ct_NMEDIT
7080 NMEDIT="$ac_cv_prog_NMEDIT"
7083 if test -n "$ac_tool_prefix"; then
7084 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7085 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7087 $as_echo_n "checking for $ac_word... " >&6; }
7088 if ${ac_cv_prog_LIPO+:} false; then :
7089 $as_echo_n "(cached) " >&6
7091 if test -n "$LIPO"; then
7092 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7098 test -z "$as_dir" && as_dir=.
7099 for ac_exec_ext in '' $ac_executable_extensions; do
7100 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7101 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7111 LIPO=$ac_cv_prog_LIPO
7112 if test -n "$LIPO"; then
7113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7114 $as_echo "$LIPO" >&6; }
7116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7117 $as_echo "no" >&6; }
7122 if test -z "$ac_cv_prog_LIPO"; then
7124 # Extract the first word of "lipo", so it can be a program name with args.
7125 set dummy lipo; ac_word=$2
7126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7127 $as_echo_n "checking for $ac_word... " >&6; }
7128 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7129 $as_echo_n "(cached) " >&6
7131 if test -n "$ac_ct_LIPO"; then
7132 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7138 test -z "$as_dir" && as_dir=.
7139 for ac_exec_ext in '' $ac_executable_extensions; do
7140 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7141 ac_cv_prog_ac_ct_LIPO="lipo"
7142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7151 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7152 if test -n "$ac_ct_LIPO"; then
7153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7154 $as_echo "$ac_ct_LIPO" >&6; }
7156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7157 $as_echo "no" >&6; }
7160 if test "x$ac_ct_LIPO" = x; then
7163 case $cross_compiling:$ac_tool_warned in
7165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7166 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7167 ac_tool_warned=yes ;;
7172 LIPO="$ac_cv_prog_LIPO"
7175 if test -n "$ac_tool_prefix"; then
7176 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7177 set dummy ${ac_tool_prefix}otool; ac_word=$2
7178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7179 $as_echo_n "checking for $ac_word... " >&6; }
7180 if ${ac_cv_prog_OTOOL+:} false; then :
7181 $as_echo_n "(cached) " >&6
7183 if test -n "$OTOOL"; then
7184 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7190 test -z "$as_dir" && as_dir=.
7191 for ac_exec_ext in '' $ac_executable_extensions; do
7192 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7193 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7194 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7203 OTOOL=$ac_cv_prog_OTOOL
7204 if test -n "$OTOOL"; then
7205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7206 $as_echo "$OTOOL" >&6; }
7208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7209 $as_echo "no" >&6; }
7214 if test -z "$ac_cv_prog_OTOOL"; then
7216 # Extract the first word of "otool", so it can be a program name with args.
7217 set dummy otool; ac_word=$2
7218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7219 $as_echo_n "checking for $ac_word... " >&6; }
7220 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7221 $as_echo_n "(cached) " >&6
7223 if test -n "$ac_ct_OTOOL"; then
7224 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7230 test -z "$as_dir" && as_dir=.
7231 for ac_exec_ext in '' $ac_executable_extensions; do
7232 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7233 ac_cv_prog_ac_ct_OTOOL="otool"
7234 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7243 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7244 if test -n "$ac_ct_OTOOL"; then
7245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7246 $as_echo "$ac_ct_OTOOL" >&6; }
7248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7249 $as_echo "no" >&6; }
7252 if test "x$ac_ct_OTOOL" = x; then
7255 case $cross_compiling:$ac_tool_warned in
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7258 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7259 ac_tool_warned=yes ;;
7264 OTOOL="$ac_cv_prog_OTOOL"
7267 if test -n "$ac_tool_prefix"; then
7268 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7269 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7271 $as_echo_n "checking for $ac_word... " >&6; }
7272 if ${ac_cv_prog_OTOOL64+:} false; then :
7273 $as_echo_n "(cached) " >&6
7275 if test -n "$OTOOL64"; then
7276 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7282 test -z "$as_dir" && as_dir=.
7283 for ac_exec_ext in '' $ac_executable_extensions; do
7284 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7285 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7295 OTOOL64=$ac_cv_prog_OTOOL64
7296 if test -n "$OTOOL64"; then
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7298 $as_echo "$OTOOL64" >&6; }
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7301 $as_echo "no" >&6; }
7306 if test -z "$ac_cv_prog_OTOOL64"; then
7307 ac_ct_OTOOL64=$OTOOL64
7308 # Extract the first word of "otool64", so it can be a program name with args.
7309 set dummy otool64; ac_word=$2
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7311 $as_echo_n "checking for $ac_word... " >&6; }
7312 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7313 $as_echo_n "(cached) " >&6
7315 if test -n "$ac_ct_OTOOL64"; then
7316 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7322 test -z "$as_dir" && as_dir=.
7323 for ac_exec_ext in '' $ac_executable_extensions; do
7324 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7325 ac_cv_prog_ac_ct_OTOOL64="otool64"
7326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7335 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7336 if test -n "$ac_ct_OTOOL64"; then
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7338 $as_echo "$ac_ct_OTOOL64" >&6; }
7340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7341 $as_echo "no" >&6; }
7344 if test "x$ac_ct_OTOOL64" = x; then
7347 case $cross_compiling:$ac_tool_warned in
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7350 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7351 ac_tool_warned=yes ;;
7353 OTOOL64=$ac_ct_OTOOL64
7356 OTOOL64="$ac_cv_prog_OTOOL64"
7385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7386 $as_echo_n "checking for -single_module linker flag... " >&6; }
7387 if ${lt_cv_apple_cc_single_mod+:} false; then :
7388 $as_echo_n "(cached) " >&6
7390 lt_cv_apple_cc_single_mod=no
7391 if test -z "$LT_MULTI_MODULE"; then
7392 # By default we will add the -single_module flag. You can override
7393 # by either setting the environment variable LT_MULTI_MODULE
7394 # non-empty at configure time, or by adding -multi_module to the
7396 rm -rf libconftest.dylib*
7397 echo "int foo(void){return 1;}" > conftest.c
7398 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7399 -dynamiclib -Wl,-single_module conftest.c" >&5
7400 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7401 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7403 # If there is a non-empty error log, and "single_module"
7404 # appears in it, assume the flag caused a linker warning
7405 if test -s conftest.err && $GREP single_module conftest.err; then
7406 cat conftest.err >&5
7407 # Otherwise, if the output was created with a 0 exit code from
7408 # the compiler, it worked.
7409 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
7410 lt_cv_apple_cc_single_mod=yes
7412 cat conftest.err >&5
7414 rm -rf libconftest.dylib*
7418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7419 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7422 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7423 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7424 $as_echo_n "(cached) " >&6
7426 lt_cv_ld_exported_symbols_list=no
7427 save_LDFLAGS=$LDFLAGS
7428 echo "_main" > conftest.sym
7429 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7431 /* end confdefs.h. */
7441 if ac_fn_c_try_link "$LINENO"; then :
7442 lt_cv_ld_exported_symbols_list=yes
7444 lt_cv_ld_exported_symbols_list=no
7446 rm -f core conftest.err conftest.$ac_objext \
7447 conftest$ac_exeext conftest.$ac_ext
7448 LDFLAGS=$save_LDFLAGS
7451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7452 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7455 $as_echo_n "checking for -force_load linker flag... " >&6; }
7456 if ${lt_cv_ld_force_load+:} false; then :
7457 $as_echo_n "(cached) " >&6
7459 lt_cv_ld_force_load=no
7460 cat > conftest.c << _LT_EOF
7461 int forced_loaded() { return 2;}
7463 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7464 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7465 echo "$AR cru libconftest.a conftest.o" >&5
7466 $AR cru libconftest.a conftest.o 2>&5
7467 echo "$RANLIB libconftest.a" >&5
7468 $RANLIB libconftest.a 2>&5
7469 cat > conftest.c << _LT_EOF
7470 int main() { return 0;}
7472 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7473 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7475 if test -s conftest.err && $GREP force_load conftest.err; then
7476 cat conftest.err >&5
7477 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
7478 lt_cv_ld_force_load=yes
7480 cat conftest.err >&5
7482 rm -f conftest.err libconftest.a conftest conftest.c
7483 rm -rf conftest.dSYM
7486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7487 $as_echo "$lt_cv_ld_force_load" >&6; }
7489 rhapsody* | darwin1.[012])
7490 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
7492 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7493 darwin*) # darwin 5.x on
7494 # if running on 10.5 or later, the deployment target defaults
7495 # to the OS version, if on x86, and 10.4, the deployment
7496 # target defaults to 10.4. Don't you love it?
7497 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7498 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7499 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7501 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7503 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7507 if test yes = "$lt_cv_apple_cc_single_mod"; then
7508 _lt_dar_single_mod='$single_module'
7510 if test yes = "$lt_cv_ld_exported_symbols_list"; then
7511 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
7513 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
7515 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
7516 _lt_dsymutil='~$DSYMUTIL $lib || :'
7523 # func_munge_path_list VARIABLE PATH
7524 # -----------------------------------
7525 # VARIABLE is name of variable containing _space_ separated list of
7526 # directories to be munged by the contents of PATH, which is string
7529 # string "DIR[ DIR]" will be prepended to VARIABLE
7531 # string "DIR[ DIR]" will be appended to VARIABLE
7532 # "DIRP[:DIRP]::[DIRA:]DIRA"
7533 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
7534 # "DIRA[ DIRA]" will be appended to VARIABLE
7536 # VARIABLE will be replaced by "DIR[ DIR]"
7537 func_munge_path_list ()
7543 eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'` \@S|@@S|@1\"
7546 eval @S|@1=\"\@S|@@S|@1 `$ECHO @S|@2 | $SED 's/:/ /g'`\"
7549 eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
7550 eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\"
7553 eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'`\"
7559 ac_cpp='$CPP $CPPFLAGS'
7560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7564 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7565 # On Suns, sometimes $CPP names a directory.
7566 if test -n "$CPP" && test -d "$CPP"; then
7569 if test -z "$CPP"; then
7570 if ${ac_cv_prog_CPP+:} false; then :
7571 $as_echo_n "(cached) " >&6
7573 # Double quotes because CPP needs to be expanded
7574 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7577 for ac_c_preproc_warn_flag in '' yes
7579 # Use a header file that comes with gcc, so configuring glibc
7580 # with a fresh cross-compiler works.
7581 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7582 # <limits.h> exists even on freestanding compilers.
7583 # On the NeXT, cc -E runs the code through the compiler's parser,
7584 # not just through cpp. "Syntax error" is here to catch this case.
7585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7586 /* end confdefs.h. */
7588 @%:@ include <limits.h>
7590 @%:@ include <assert.h>
7594 if ac_fn_c_try_cpp "$LINENO"; then :
7597 # Broken: fails on valid input.
7600 rm -f conftest.err conftest.i conftest.$ac_ext
7602 # OK, works on sane cases. Now check whether nonexistent headers
7603 # can be detected and how.
7604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7605 /* end confdefs.h. */
7606 @%:@include <ac_nonexistent.h>
7608 if ac_fn_c_try_cpp "$LINENO"; then :
7609 # Broken: success on invalid input.
7612 # Passes both tests.
7616 rm -f conftest.err conftest.i conftest.$ac_ext
7619 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7620 rm -f conftest.i conftest.err conftest.$ac_ext
7621 if $ac_preproc_ok; then :
7633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7634 $as_echo "$CPP" >&6; }
7636 for ac_c_preproc_warn_flag in '' yes
7638 # Use a header file that comes with gcc, so configuring glibc
7639 # with a fresh cross-compiler works.
7640 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7641 # <limits.h> exists even on freestanding compilers.
7642 # On the NeXT, cc -E runs the code through the compiler's parser,
7643 # not just through cpp. "Syntax error" is here to catch this case.
7644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7645 /* end confdefs.h. */
7647 @%:@ include <limits.h>
7649 @%:@ include <assert.h>
7653 if ac_fn_c_try_cpp "$LINENO"; then :
7656 # Broken: fails on valid input.
7659 rm -f conftest.err conftest.i conftest.$ac_ext
7661 # OK, works on sane cases. Now check whether nonexistent headers
7662 # can be detected and how.
7663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7664 /* end confdefs.h. */
7665 @%:@include <ac_nonexistent.h>
7667 if ac_fn_c_try_cpp "$LINENO"; then :
7668 # Broken: success on invalid input.
7671 # Passes both tests.
7675 rm -f conftest.err conftest.i conftest.$ac_ext
7678 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7679 rm -f conftest.i conftest.err conftest.$ac_ext
7680 if $ac_preproc_ok; then :
7683 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7684 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7685 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7686 See \`config.log' for more details" "$LINENO" 5; }
7690 ac_cpp='$CPP $CPPFLAGS'
7691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7697 $as_echo_n "checking for ANSI C header files... " >&6; }
7698 if ${ac_cv_header_stdc+:} false; then :
7699 $as_echo_n "(cached) " >&6
7701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7702 /* end confdefs.h. */
7716 if ac_fn_c_try_compile "$LINENO"; then :
7717 ac_cv_header_stdc=yes
7719 ac_cv_header_stdc=no
7721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7723 if test $ac_cv_header_stdc = yes; then
7724 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7726 /* end confdefs.h. */
7730 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7731 $EGREP "memchr" >/dev/null 2>&1; then :
7734 ac_cv_header_stdc=no
7740 if test $ac_cv_header_stdc = yes; then
7741 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7743 /* end confdefs.h. */
7747 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7748 $EGREP "free" >/dev/null 2>&1; then :
7751 ac_cv_header_stdc=no
7757 if test $ac_cv_header_stdc = yes; then
7758 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7759 if test "$cross_compiling" = yes; then :
7762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7763 /* end confdefs.h. */
7766 #if ((' ' & 0x0FF) == 0x020)
7767 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7768 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7770 # define ISLOWER(c) \
7771 (('a' <= (c) && (c) <= 'i') \
7772 || ('j' <= (c) && (c) <= 'r') \
7773 || ('s' <= (c) && (c) <= 'z'))
7774 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7777 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7782 for (i = 0; i < 256; i++)
7783 if (XOR (islower (i), ISLOWER (i))
7784 || toupper (i) != TOUPPER (i))
7789 if ac_fn_c_try_run "$LINENO"; then :
7792 ac_cv_header_stdc=no
7794 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7795 conftest.$ac_objext conftest.beam conftest.$ac_ext
7800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7801 $as_echo "$ac_cv_header_stdc" >&6; }
7802 if test $ac_cv_header_stdc = yes; then
7804 $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
7808 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7809 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7810 inttypes.h stdint.h unistd.h
7812 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7813 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7815 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7816 cat >>confdefs.h <<_ACEOF
7817 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7825 for ac_header in dlfcn.h
7827 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7829 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7830 cat >>confdefs.h <<_ACEOF
7831 @%:@define HAVE_DLFCN_H 1
7843 @%:@ Check whether --enable-static was given.
7844 if test "${enable_static+set}" = set; then :
7845 enableval=$enable_static; p=${PACKAGE-default}
7847 yes) enable_static=yes ;;
7848 no) enable_static=no ;;
7851 # Look at the argument we got. We use all the common list separators.
7852 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7853 for pkg in $enableval; do
7855 if test "X$pkg" = "X$p"; then
7881 @%:@ Check whether --enable-shared was given.
7882 if test "${enable_shared+set}" = set; then :
7883 enableval=$enable_shared; p=${PACKAGE-default}
7885 yes) enable_shared=yes ;;
7886 no) enable_shared=no ;;
7889 # Look at the argument we got. We use all the common list separators.
7890 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7891 for pkg in $enableval; do
7893 if test "X$pkg" = "X$p"; then
7914 @%:@ Check whether --with-pic was given.
7915 if test "${with_pic+set}" = set; then :
7916 withval=$with_pic; lt_p=${PACKAGE-default}
7918 yes|no) pic_mode=$withval ;;
7921 # Look at the argument we got. We use all the common list separators.
7922 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7923 for lt_pkg in $withval; do
7925 if test "X$lt_pkg" = "X$lt_p"; then
7943 @%:@ Check whether --enable-fast-install was given.
7944 if test "${enable_fast_install+set}" = set; then :
7945 enableval=$enable_fast_install; p=${PACKAGE-default}
7947 yes) enable_fast_install=yes ;;
7948 no) enable_fast_install=no ;;
7950 enable_fast_install=no
7951 # Look at the argument we got. We use all the common list separators.
7952 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7953 for pkg in $enableval; do
7955 if test "X$pkg" = "X$p"; then
7956 enable_fast_install=yes
7963 enable_fast_install=yes
7973 shared_archive_member_spec=
7974 case $host,$enable_shared in
7975 power*-*-aix[5-9]*,yes)
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
7977 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
7979 @%:@ Check whether --with-aix-soname was given.
7980 if test "${with_aix_soname+set}" = set; then :
7981 withval=$with_aix_soname; case $withval in
7985 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
7988 lt_cv_with_aix_soname=$with_aix_soname
7990 if ${lt_cv_with_aix_soname+:} false; then :
7991 $as_echo_n "(cached) " >&6
7993 lt_cv_with_aix_soname=aix
7996 with_aix_soname=$lt_cv_with_aix_soname
7999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8000 $as_echo "$with_aix_soname" >&6; }
8001 if test aix != "$with_aix_soname"; then
8002 # For the AIX way of multilib, we name the shared archive member
8003 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
8004 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
8005 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8006 # the AIX toolchain works better with OBJECT_MODE set (default 32).
8007 if test 64 = "${OBJECT_MODE-32}"; then
8008 shared_archive_member_spec=shr_64
8010 shared_archive_member_spec=shr
8028 # This can be used to rebuild libtool when needed
8029 LIBTOOL_DEPS=$ltmain
8031 # Always use our own libtool.
8032 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8063 test -z "$LN_S" && LN_S="ln -s"
8078 if test -n "${ZSH_VERSION+set}"; then
8079 setopt NO_GLOB_SUBST
8082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8083 $as_echo_n "checking for objdir... " >&6; }
8084 if ${lt_cv_objdir+:} false; then :
8085 $as_echo_n "(cached) " >&6
8087 rm -f .libs 2>/dev/null
8088 mkdir .libs 2>/dev/null
8089 if test -d .libs; then
8092 # MS-DOS does not allow filenames that begin with a dot.
8095 rmdir .libs 2>/dev/null
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8098 $as_echo "$lt_cv_objdir" >&6; }
8099 objdir=$lt_cv_objdir
8105 cat >>confdefs.h <<_ACEOF
8106 @%:@define LT_OBJDIR "$lt_cv_objdir/"
8114 # AIX sometimes has problems with the GCC collect2 program. For some
8115 # reason, if we set the COLLECT_NAMES environment variable, the problems
8116 # vanish in a puff of smoke.
8117 if test set != "${COLLECT_NAMES+set}"; then
8119 export COLLECT_NAMES
8126 can_build_shared=yes
8128 # All known linkers require a '.a' archive for static linking (except MSVC,
8129 # which needs '.lib').
8132 with_gnu_ld=$lt_cv_prog_gnu_ld
8137 # Set sane defaults for various variables
8138 test -z "$CC" && CC=cc
8139 test -z "$LTCC" && LTCC=$CC
8140 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8141 test -z "$LD" && LD=ld
8142 test -z "$ac_objext" && ac_objext=o
8144 func_cc_basename $compiler
8145 cc_basename=$func_cc_basename_result
8148 # Only perform the check for file, if the check method requires it
8149 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8150 case $deplibs_check_method in
8152 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8154 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8155 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8156 $as_echo_n "(cached) " >&6
8160 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8163 lt_save_MAGIC_CMD=$MAGIC_CMD
8164 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8165 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8166 for ac_dir in $ac_dummy; do
8168 test -z "$ac_dir" && ac_dir=.
8169 if test -f "$ac_dir/${ac_tool_prefix}file"; then
8170 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
8171 if test -n "$file_magic_test_file"; then
8172 case $deplibs_check_method in
8174 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8175 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8176 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8177 $EGREP "$file_magic_regex" > /dev/null; then
8182 *** Warning: the command libtool uses to detect shared libraries,
8183 *** $file_magic_cmd, produces output that libtool cannot recognize.
8184 *** The result is that libtool may fail to recognize shared libraries
8185 *** as such. This will affect the creation of libtool libraries that
8186 *** depend on shared libraries, but programs linked with such libtool
8187 *** libraries will work regardless of this problem. Nevertheless, you
8188 *** may want to report the problem to your system manager and/or to
8189 *** bug-libtool@gnu.org
8199 MAGIC_CMD=$lt_save_MAGIC_CMD
8204 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8205 if test -n "$MAGIC_CMD"; then
8206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8207 $as_echo "$MAGIC_CMD" >&6; }
8209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8210 $as_echo "no" >&6; }
8217 if test -z "$lt_cv_path_MAGIC_CMD"; then
8218 if test -n "$ac_tool_prefix"; then
8219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8220 $as_echo_n "checking for file... " >&6; }
8221 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8222 $as_echo_n "(cached) " >&6
8226 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8229 lt_save_MAGIC_CMD=$MAGIC_CMD
8230 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8231 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8232 for ac_dir in $ac_dummy; do
8234 test -z "$ac_dir" && ac_dir=.
8235 if test -f "$ac_dir/file"; then
8236 lt_cv_path_MAGIC_CMD=$ac_dir/"file"
8237 if test -n "$file_magic_test_file"; then
8238 case $deplibs_check_method in
8240 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8241 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8242 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8243 $EGREP "$file_magic_regex" > /dev/null; then
8248 *** Warning: the command libtool uses to detect shared libraries,
8249 *** $file_magic_cmd, produces output that libtool cannot recognize.
8250 *** The result is that libtool may fail to recognize shared libraries
8251 *** as such. This will affect the creation of libtool libraries that
8252 *** depend on shared libraries, but programs linked with such libtool
8253 *** libraries will work regardless of this problem. Nevertheless, you
8254 *** may want to report the problem to your system manager and/or to
8255 *** bug-libtool@gnu.org
8265 MAGIC_CMD=$lt_save_MAGIC_CMD
8270 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8271 if test -n "$MAGIC_CMD"; then
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8273 $as_echo "$MAGIC_CMD" >&6; }
8275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8276 $as_echo "no" >&6; }
8289 # Use C for the default configuration in the libtool script
8293 ac_cpp='$CPP $CPPFLAGS'
8294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8299 # Source file extension for C test sources.
8302 # Object file extension for compiled C test sources.
8306 # Code to be used in simple compile tests
8307 lt_simple_compile_test_code="int some_variable = 0;"
8309 # Code to be used in simple link tests
8310 lt_simple_link_test_code='int main(){return(0);}'
8318 # If no C compiler was specified, use CC.
8321 # If no C compiler flags were specified, use CFLAGS.
8322 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8324 # Allow CC to be a program name with arguments.
8327 # Save the default compiler, since it gets overwritten when the other
8328 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8329 compiler_DEFAULT=$CC
8331 # save warnings/boilerplate of simple test code
8332 ac_outfile=conftest.$ac_objext
8333 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8334 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8335 _lt_compiler_boilerplate=`cat conftest.err`
8338 ac_outfile=conftest.$ac_objext
8339 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8340 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8341 _lt_linker_boilerplate=`cat conftest.err`
8346 ## There is no encapsulation within the following macros, do not change
8347 ## the running order or otherwise move them around unless you know exactly
8348 ## what you are doing...
8349 if test -n "$compiler"; then
8351 lt_prog_compiler_no_builtin_flag=
8353 if test yes = "$GCC"; then
8354 case $cc_basename in
8356 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8358 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8362 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8363 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8364 $as_echo_n "(cached) " >&6
8366 lt_cv_prog_compiler_rtti_exceptions=no
8367 ac_outfile=conftest.$ac_objext
8368 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8369 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
8370 # Insert the option either (1) after the last *FLAGS variable, or
8371 # (2) before a word containing "conftest.", or (3) at the end.
8372 # Note that $ac_compile itself does not contain backslashes and begins
8373 # with a dollar sign (not a hyphen), so the echo should work correctly.
8374 # The option is referenced via a variable to avoid confusing sed.
8375 lt_compile=`echo "$ac_compile" | $SED \
8376 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8377 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8378 -e 's:$: $lt_compiler_flag:'`
8379 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8380 (eval "$lt_compile" 2>conftest.err)
8382 cat conftest.err >&5
8383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8384 if (exit $ac_status) && test -s "$ac_outfile"; then
8385 # The compiler can only warn and ignore the option if not recognized
8386 # So say no if there are warnings other than the usual output.
8387 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8388 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8389 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8390 lt_cv_prog_compiler_rtti_exceptions=yes
8396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8397 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8399 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
8400 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8412 lt_prog_compiler_wl=
8413 lt_prog_compiler_pic=
8414 lt_prog_compiler_static=
8417 if test yes = "$GCC"; then
8418 lt_prog_compiler_wl='-Wl,'
8419 lt_prog_compiler_static='-static'
8423 # All AIX code is PIC.
8424 if test ia64 = "$host_cpu"; then
8425 # AIX 5 now supports IA64 processor
8426 lt_prog_compiler_static='-Bstatic'
8428 lt_prog_compiler_pic='-fPIC'
8434 # see comment about AmigaOS4 .so support
8435 lt_prog_compiler_pic='-fPIC'
8438 # FIXME: we need at least 68020 code to build shared libraries, but
8439 # adding the '-m68020' flag to GCC prevents building anything better,
8441 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8446 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8447 # PIC is the default for these OSes.
8450 mingw* | cygwin* | pw32* | os2* | cegcc*)
8451 # This hack is so that the source file can tell whether it is being
8452 # built for inclusion in a dll (and should export symbols for example).
8453 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8454 # (--disable-auto-import) libraries
8455 lt_prog_compiler_pic='-DDLL_EXPORT'
8458 lt_prog_compiler_static='$wl-static'
8463 darwin* | rhapsody*)
8464 # PIC is the default on this platform
8465 # Common symbols not allowed in MH_DYLIB files
8466 lt_prog_compiler_pic='-fno-common'
8470 # PIC is the default for Haiku.
8471 # The "-static" flag exists, but is broken.
8472 lt_prog_compiler_static=
8476 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8477 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8478 # sets the default TLS model and affects inlining.
8484 lt_prog_compiler_pic='-fPIC'
8490 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8491 # Instead, we relocate shared libraries at runtime.
8495 # Just because we use GCC doesn't mean we suddenly get shared libraries
8496 # on systems that don't support them.
8497 lt_prog_compiler_can_build_shared=no
8502 # QNX uses GNU C++, but need to define -shared option too, otherwise
8504 lt_prog_compiler_pic='-fPIC -shared'
8508 if test -d /usr/nec; then
8509 lt_prog_compiler_pic=-Kconform_pic
8514 lt_prog_compiler_pic='-fPIC'
8518 case $cc_basename in
8519 nvcc*) # Cuda Compiler Driver 2.2
8520 lt_prog_compiler_wl='-Xlinker '
8521 if test -n "$lt_prog_compiler_pic"; then
8522 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8527 # PORTME Check for flag to pass linker flags through the system compiler.
8530 lt_prog_compiler_wl='-Wl,'
8531 if test ia64 = "$host_cpu"; then
8532 # AIX 5 now supports IA64 processor
8533 lt_prog_compiler_static='-Bstatic'
8535 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8539 darwin* | rhapsody*)
8540 # PIC is the default on this platform
8541 # Common symbols not allowed in MH_DYLIB files
8542 lt_prog_compiler_pic='-fno-common'
8543 case $cc_basename in
8545 # NAG Fortran compiler
8546 lt_prog_compiler_wl='-Wl,-Wl,,'
8547 lt_prog_compiler_pic='-PIC'
8548 lt_prog_compiler_static='-Bstatic'
8553 mingw* | cygwin* | pw32* | os2* | cegcc*)
8554 # This hack is so that the source file can tell whether it is being
8555 # built for inclusion in a dll (and should export symbols for example).
8556 lt_prog_compiler_pic='-DDLL_EXPORT'
8559 lt_prog_compiler_static='$wl-static'
8564 hpux9* | hpux10* | hpux11*)
8565 lt_prog_compiler_wl='-Wl,'
8566 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8573 lt_prog_compiler_pic='+Z'
8576 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8577 lt_prog_compiler_static='$wl-a ${wl}archive'
8580 irix5* | irix6* | nonstopux*)
8581 lt_prog_compiler_wl='-Wl,'
8582 # PIC (with -KPIC) is the default.
8583 lt_prog_compiler_static='-non_shared'
8586 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8587 case $cc_basename in
8588 # old Intel for x86_64, which still supported -KPIC.
8590 lt_prog_compiler_wl='-Wl,'
8591 lt_prog_compiler_pic='-KPIC'
8592 lt_prog_compiler_static='-static'
8594 # icc used to be incompatible with GCC.
8595 # ICC 10 doesn't accept -KPIC any more.
8597 lt_prog_compiler_wl='-Wl,'
8598 lt_prog_compiler_pic='-fPIC'
8599 lt_prog_compiler_static='-static'
8601 # Lahey Fortran 8.1.
8603 lt_prog_compiler_wl='-Wl,'
8604 lt_prog_compiler_pic='--shared'
8605 lt_prog_compiler_static='--static'
8608 # NAG Fortran compiler
8609 lt_prog_compiler_wl='-Wl,-Wl,,'
8610 lt_prog_compiler_pic='-PIC'
8611 lt_prog_compiler_static='-Bstatic'
8614 # Fabrice Bellard et al's Tiny C Compiler
8615 lt_prog_compiler_wl='-Wl,'
8616 lt_prog_compiler_pic='-fPIC'
8617 lt_prog_compiler_static='-static'
8619 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8620 # Portland Group compilers (*not* the Pentium gcc compiler,
8621 # which looks to be a dead project)
8622 lt_prog_compiler_wl='-Wl,'
8623 lt_prog_compiler_pic='-fpic'
8624 lt_prog_compiler_static='-Bstatic'
8627 lt_prog_compiler_wl='-Wl,'
8628 # All Alpha code is PIC.
8629 lt_prog_compiler_static='-non_shared'
8631 xl* | bgxl* | bgf* | mpixl*)
8632 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8633 lt_prog_compiler_wl='-Wl,'
8634 lt_prog_compiler_pic='-qpic'
8635 lt_prog_compiler_static='-qstaticlink'
8638 case `$CC -V 2>&1 | sed 5q` in
8639 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8640 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8641 lt_prog_compiler_pic='-KPIC'
8642 lt_prog_compiler_static='-Bstatic'
8643 lt_prog_compiler_wl=''
8645 *Sun\ F* | *Sun*Fortran*)
8646 lt_prog_compiler_pic='-KPIC'
8647 lt_prog_compiler_static='-Bstatic'
8648 lt_prog_compiler_wl='-Qoption ld '
8652 lt_prog_compiler_pic='-KPIC'
8653 lt_prog_compiler_static='-Bstatic'
8654 lt_prog_compiler_wl='-Wl,'
8656 *Intel*\ [CF]*Compiler*)
8657 lt_prog_compiler_wl='-Wl,'
8658 lt_prog_compiler_pic='-fPIC'
8659 lt_prog_compiler_static='-static'
8662 lt_prog_compiler_wl='-Wl,'
8663 lt_prog_compiler_pic='-fpic'
8664 lt_prog_compiler_static='-Bstatic'
8672 lt_prog_compiler_pic='-KPIC'
8673 lt_prog_compiler_static='-Bstatic'
8677 # QNX uses GNU C++, but need to define -shared option too, otherwise
8679 lt_prog_compiler_pic='-fPIC -shared'
8682 osf3* | osf4* | osf5*)
8683 lt_prog_compiler_wl='-Wl,'
8684 # All OSF/1 code is PIC.
8685 lt_prog_compiler_static='-non_shared'
8689 lt_prog_compiler_static='-non_shared'
8693 lt_prog_compiler_pic='-KPIC'
8694 lt_prog_compiler_static='-Bstatic'
8695 case $cc_basename in
8696 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8697 lt_prog_compiler_wl='-Qoption ld ';;
8699 lt_prog_compiler_wl='-Wl,';;
8704 lt_prog_compiler_wl='-Qoption ld '
8705 lt_prog_compiler_pic='-PIC'
8706 lt_prog_compiler_static='-Bstatic'
8709 sysv4 | sysv4.2uw2* | sysv4.3*)
8710 lt_prog_compiler_wl='-Wl,'
8711 lt_prog_compiler_pic='-KPIC'
8712 lt_prog_compiler_static='-Bstatic'
8716 if test -d /usr/nec; then
8717 lt_prog_compiler_pic='-Kconform_pic'
8718 lt_prog_compiler_static='-Bstatic'
8722 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8723 lt_prog_compiler_wl='-Wl,'
8724 lt_prog_compiler_pic='-KPIC'
8725 lt_prog_compiler_static='-Bstatic'
8729 lt_prog_compiler_wl='-Wl,'
8730 lt_prog_compiler_can_build_shared=no
8734 lt_prog_compiler_pic='-pic'
8735 lt_prog_compiler_static='-Bstatic'
8739 lt_prog_compiler_can_build_shared=no
8745 # For platforms that do not support PIC, -DPIC is meaningless:
8747 lt_prog_compiler_pic=
8750 lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
8754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8755 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8756 if ${lt_cv_prog_compiler_pic+:} false; then :
8757 $as_echo_n "(cached) " >&6
8759 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8762 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8763 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8766 # Check to make sure the PIC flag actually works.
8768 if test -n "$lt_prog_compiler_pic"; then
8769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8770 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8771 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8772 $as_echo_n "(cached) " >&6
8774 lt_cv_prog_compiler_pic_works=no
8775 ac_outfile=conftest.$ac_objext
8776 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8777 lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC" ## exclude from sc_useless_quotes_in_assignment
8778 # Insert the option either (1) after the last *FLAGS variable, or
8779 # (2) before a word containing "conftest.", or (3) at the end.
8780 # Note that $ac_compile itself does not contain backslashes and begins
8781 # with a dollar sign (not a hyphen), so the echo should work correctly.
8782 # The option is referenced via a variable to avoid confusing sed.
8783 lt_compile=`echo "$ac_compile" | $SED \
8784 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8785 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8786 -e 's:$: $lt_compiler_flag:'`
8787 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8788 (eval "$lt_compile" 2>conftest.err)
8790 cat conftest.err >&5
8791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8792 if (exit $ac_status) && test -s "$ac_outfile"; then
8793 # The compiler can only warn and ignore the option if not recognized
8794 # So say no if there are warnings other than the usual output.
8795 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8796 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8797 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8798 lt_cv_prog_compiler_pic_works=yes
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8805 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8807 if test yes = "$lt_cv_prog_compiler_pic_works"; then
8808 case $lt_prog_compiler_pic in
8810 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8813 lt_prog_compiler_pic=
8814 lt_prog_compiler_can_build_shared=no
8830 # Check to make sure the static flag actually works.
8832 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8834 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8835 if ${lt_cv_prog_compiler_static_works+:} false; then :
8836 $as_echo_n "(cached) " >&6
8838 lt_cv_prog_compiler_static_works=no
8839 save_LDFLAGS=$LDFLAGS
8840 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8841 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8842 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8843 # The linker can only warn and ignore the option if not recognized
8844 # So say no if there are warnings
8845 if test -s conftest.err; then
8846 # Append any errors to the config.log.
8847 cat conftest.err 1>&5
8848 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8849 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8850 if diff conftest.exp conftest.er2 >/dev/null; then
8851 lt_cv_prog_compiler_static_works=yes
8854 lt_cv_prog_compiler_static_works=yes
8858 LDFLAGS=$save_LDFLAGS
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8862 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8864 if test yes = "$lt_cv_prog_compiler_static_works"; then
8867 lt_prog_compiler_static=
8876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8877 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8878 if ${lt_cv_prog_compiler_c_o+:} false; then :
8879 $as_echo_n "(cached) " >&6
8881 lt_cv_prog_compiler_c_o=no
8882 $RM -r conftest 2>/dev/null
8886 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8888 lt_compiler_flag="-o out/conftest2.$ac_objext"
8889 # Insert the option either (1) after the last *FLAGS variable, or
8890 # (2) before a word containing "conftest.", or (3) at the end.
8891 # Note that $ac_compile itself does not contain backslashes and begins
8892 # with a dollar sign (not a hyphen), so the echo should work correctly.
8893 lt_compile=`echo "$ac_compile" | $SED \
8894 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8895 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8896 -e 's:$: $lt_compiler_flag:'`
8897 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8898 (eval "$lt_compile" 2>out/conftest.err)
8900 cat out/conftest.err >&5
8901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8902 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8904 # The compiler can only warn and ignore the option if not recognized
8905 # So say no if there are warnings
8906 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8907 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8908 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8909 lt_cv_prog_compiler_c_o=yes
8914 # SGI C++ compiler will create directory out/ii_files/ for
8915 # template instantiation
8916 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8917 $RM out/* && rmdir out
8923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8924 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8932 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8933 if ${lt_cv_prog_compiler_c_o+:} false; then :
8934 $as_echo_n "(cached) " >&6
8936 lt_cv_prog_compiler_c_o=no
8937 $RM -r conftest 2>/dev/null
8941 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8943 lt_compiler_flag="-o out/conftest2.$ac_objext"
8944 # Insert the option either (1) after the last *FLAGS variable, or
8945 # (2) before a word containing "conftest.", or (3) at the end.
8946 # Note that $ac_compile itself does not contain backslashes and begins
8947 # with a dollar sign (not a hyphen), so the echo should work correctly.
8948 lt_compile=`echo "$ac_compile" | $SED \
8949 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8950 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8951 -e 's:$: $lt_compiler_flag:'`
8952 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8953 (eval "$lt_compile" 2>out/conftest.err)
8955 cat out/conftest.err >&5
8956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8957 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8959 # The compiler can only warn and ignore the option if not recognized
8960 # So say no if there are warnings
8961 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8962 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8963 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8964 lt_cv_prog_compiler_c_o=yes
8969 # SGI C++ compiler will create directory out/ii_files/ for
8970 # template instantiation
8971 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8972 $RM out/* && rmdir out
8978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8979 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8984 hard_links=nottested
8985 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
8986 # do not overwrite the value of need_locks provided by the user
8987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8988 $as_echo_n "checking if we can lock with hard links... " >&6; }
8991 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8993 ln conftest.a conftest.b 2>&5 || hard_links=no
8994 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8996 $as_echo "$hard_links" >&6; }
8997 if test no = "$hard_links"; then
8998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
8999 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9012 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9015 allow_undefined_flag=
9016 always_export_symbols=no
9018 archive_expsym_cmds=
9019 compiler_needs_object=no
9020 enable_shared_with_static_runtimes=no
9021 export_dynamic_flag_spec=
9022 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9023 hardcode_automatic=no
9025 hardcode_direct_absolute=no
9026 hardcode_libdir_flag_spec=
9027 hardcode_libdir_separator=
9029 hardcode_shlibpath_var=unsupported
9031 link_all_deplibs=unknown
9034 old_archive_from_new_cmds=
9035 old_archive_from_expsyms_cmds=
9036 thread_safe_flag_spec=
9037 whole_archive_flag_spec=
9038 # include_expsyms should be a list of space-separated symbols to be *always*
9039 # included in the symbol list
9041 # exclude_expsyms can be an extended regexp of symbols to exclude
9042 # it will be wrapped by ' (' and ')$', so one must not match beginning or
9043 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9044 # as well as any symbol that contains 'd'.
9045 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9046 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9047 # platforms (ab)use it in PIC code, but their linkers get confused if
9048 # the symbol is explicitly referenced. Since portable code cannot
9049 # rely on this symbol name, it's probably fine to never include it in
9050 # preloaded symbol tables.
9051 # Exclude shared library initialization/finalization symbols.
9052 extract_expsyms_cmds=
9055 cygwin* | mingw* | pw32* | cegcc*)
9056 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9057 # When not using gcc, we currently assume that we are using
9058 # Microsoft Visual C++.
9059 if test yes != "$GCC"; then
9064 # we just hope/assume this is gcc and not c89 (= MSVC++)
9070 linux* | k*bsd*-gnu | gnu*)
9077 # On some targets, GNU ld is compatible enough with the native linker
9078 # that we're better off using the native interface for both.
9079 lt_use_gnu_ld_interface=no
9080 if test yes = "$with_gnu_ld"; then
9083 # The AIX port of GNU ld has always aspired to compatibility
9084 # with the native linker. However, as the warning in the GNU ld
9085 # block says, versions before 2.19.5* couldn't really create working
9086 # shared libraries, regardless of the interface used.
9087 case `$LD -v 2>&1` in
9088 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9089 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9090 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9092 lt_use_gnu_ld_interface=yes
9097 lt_use_gnu_ld_interface=yes
9102 if test yes = "$lt_use_gnu_ld_interface"; then
9103 # If archive_cmds runs LD, not CC, wlarc should be empty
9106 # Set some defaults for GNU ld with shared library support. These
9107 # are reset later if shared libraries are not supported. Putting them
9108 # here allows them to be overridden if necessary.
9109 runpath_var=LD_RUN_PATH
9110 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9111 export_dynamic_flag_spec='$wl--export-dynamic'
9112 # ancient GNU ld didn't support --whole-archive et. al.
9113 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9114 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9116 whole_archive_flag_spec=
9118 supports_anon_versioning=no
9119 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9120 *GNU\ gold*) supports_anon_versioning=yes ;;
9121 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9122 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9123 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9124 *\ 2.11.*) ;; # other 2.11 versions
9125 *) supports_anon_versioning=yes ;;
9128 # See if GNU ld supports shared libraries.
9131 # On AIX/PPC, the GNU linker is very broken
9132 if test ia64 != "$host_cpu"; then
9136 *** Warning: the GNU linker, at least up to release 2.19, is reported
9137 *** to be unable to reliably create shared libraries on AIX.
9138 *** Therefore, libtool is disabling shared libraries support. If you
9139 *** really care for shared libraries, you may want to install binutils
9140 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9141 *** You will then need to restart the configuration process.
9150 # see comment about AmigaOS4 .so support
9151 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9152 archive_expsym_cmds=''
9155 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)'
9156 hardcode_libdir_flag_spec='-L$libdir'
9157 hardcode_minus_L=yes
9163 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9164 allow_undefined_flag=unsupported
9165 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9166 # support --undefined. This deserves some investigation. FIXME
9167 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9173 cygwin* | mingw* | pw32* | cegcc*)
9174 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9175 # as there is no search path for DLLs.
9176 hardcode_libdir_flag_spec='-L$libdir'
9177 export_dynamic_flag_spec='$wl--export-all-symbols'
9178 allow_undefined_flag=unsupported
9179 always_export_symbols=no
9180 enable_shared_with_static_runtimes=yes
9181 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'
9182 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9184 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9185 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9186 # If the export-symbols file already is a .def file, use it as
9187 # is; otherwise, prepend EXPORTS...
9188 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9189 cp $export_symbols $output_objdir/$soname.def;
9191 echo EXPORTS > $output_objdir/$soname.def;
9192 cat $export_symbols >> $output_objdir/$soname.def;
9194 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9201 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9202 link_all_deplibs=yes
9206 hardcode_libdir_flag_spec='-L$libdir'
9207 hardcode_minus_L=yes
9208 allow_undefined_flag=unsupported
9210 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9211 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9212 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9213 $ECHO EXPORTS >> $output_objdir/$libname.def~
9214 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9215 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9216 emximp -o $lib $output_objdir/$libname.def'
9217 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9218 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9219 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9220 $ECHO EXPORTS >> $output_objdir/$libname.def~
9222 if test EXPORTS = "`$SED 1q $export_symbols`"; then
9223 prefix_cmds="$prefix_cmds -e 1d";
9225 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9226 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9227 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9228 emximp -o $lib $output_objdir/$libname.def'
9229 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9230 enable_shared_with_static_runtimes=yes
9235 hardcode_shlibpath_var=no
9236 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9237 export_dynamic_flag_spec='$wl-E'
9238 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9239 # Instead, shared libraries are loaded at an image base (0x10000000 by
9240 # default) and relocated if they conflict, which is a slow very memory
9241 # consuming and fragmenting process. To avoid this, we pick a random,
9242 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9243 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9244 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9245 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'
9248 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9250 if test linux-dietlibc = "$host_os"; then
9251 case $cc_basename in
9252 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9255 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9256 && test no = "$tmp_diet"
9258 tmp_addflag=' $pic_flag'
9259 tmp_sharedflag='-shared'
9260 case $cc_basename,$host_cpu in
9261 pgcc*) # Portland Group C compiler
9262 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'
9263 tmp_addflag=' $pic_flag'
9265 pgf77* | pgf90* | pgf95* | pgfortran*)
9266 # Portland Group f77 and f90 compilers
9267 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'
9268 tmp_addflag=' $pic_flag -Mnomain' ;;
9269 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9270 tmp_addflag=' -i_dynamic' ;;
9271 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9272 tmp_addflag=' -i_dynamic -nofor_main' ;;
9273 ifc* | ifort*) # Intel Fortran compiler
9274 tmp_addflag=' -nofor_main' ;;
9275 lf95*) # Lahey Fortran 8.1
9276 whole_archive_flag_spec=
9277 tmp_sharedflag='--shared' ;;
9278 nagfor*) # NAGFOR 5.3
9279 tmp_sharedflag='-Wl,-shared' ;;
9280 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9281 tmp_sharedflag='-qmkshrobj'
9283 nvcc*) # Cuda Compiler Driver 2.2
9284 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'
9285 compiler_needs_object=yes
9288 case `$CC -V 2>&1 | sed 5q` in
9289 *Sun\ C*) # Sun C 5.9
9290 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'
9291 compiler_needs_object=yes
9292 tmp_sharedflag='-G' ;;
9293 *Sun\ F*) # Sun Fortran 8.3
9294 tmp_sharedflag='-G' ;;
9296 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9298 if test yes = "$supports_anon_versioning"; then
9299 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9300 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9301 echo "local: *; };" >> $output_objdir/$libname.ver~
9302 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9305 case $cc_basename in
9307 export_dynamic_flag_spec='-rdynamic'
9309 xlf* | bgf* | bgxlf* | mpixlf*)
9310 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9311 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9312 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9313 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9314 if test yes = "$supports_anon_versioning"; then
9315 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9316 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9317 echo "local: *; };" >> $output_objdir/$libname.ver~
9318 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9327 netbsd* | netbsdelf*-gnu)
9328 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9329 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9332 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9333 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9338 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9342 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9343 *** create shared libraries on Solaris systems. Therefore, libtool
9344 *** is disabling shared libraries support. We urge you to upgrade GNU
9345 *** binutils to release 2.9.1 or newer. Another option is to modify
9346 *** your PATH or compiler configuration so that the native linker is
9347 *** used, and then restart.
9350 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9351 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9352 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9358 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9359 case `$LD -v 2>&1` in
9360 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9364 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
9365 *** reliably create shared libraries on SCO systems. Therefore, libtool
9366 *** is disabling shared libraries support. We urge you to upgrade GNU
9367 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9368 *** your PATH or compiler configuration so that the native linker is
9369 *** used, and then restart.
9374 # For security reasons, it is highly recommended that you always
9375 # use absolute paths for naming shared libraries, and exclude the
9376 # DT_RUNPATH tag from executables and libraries. But doing so
9377 # requires that you compile everything twice, which is a pain.
9378 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9379 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9380 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9381 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9390 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9393 hardcode_shlibpath_var=no
9397 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9398 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9399 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9406 if test no = "$ld_shlibs"; then
9408 hardcode_libdir_flag_spec=
9409 export_dynamic_flag_spec=
9410 whole_archive_flag_spec=
9413 # PORTME fill in a description of your system's linker (not GNU ld)
9416 allow_undefined_flag=unsupported
9417 always_export_symbols=yes
9418 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'
9419 # Note: this linker hardcodes the directories in LIBPATH if there
9420 # are no directories specified by -L.
9421 hardcode_minus_L=yes
9422 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
9423 # Neither direct hardcoding nor static linking is supported with a
9425 hardcode_direct=unsupported
9430 if test ia64 = "$host_cpu"; then
9431 # On IA64, the linker does run time linking by default, so we don't
9432 # have to do anything special.
9433 aix_use_runtimelinking=no
9434 exp_sym_flag='-Bexport'
9437 # If we're using GNU nm, then we don't want the "-C" option.
9438 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
9439 # Without the "-l" option, or with the "-B" option, AIX nm treats
9440 # weak defined symbols like other global defined symbols, whereas
9441 # GNU nm marks them as "W".
9442 # While the 'weak' keyword is ignored in the Export File, we need
9443 # it in the Import File for the 'aix-soname' feature, so we have
9444 # to replace the "-B" option with "-P" for AIX nm.
9445 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9446 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
9448 export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
9450 aix_use_runtimelinking=no
9452 # Test if we are trying to use run time linking or normal
9453 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9454 # have runtime linking enabled, and use it for executables.
9455 # For shared libraries, we enable/disable runtime linking
9456 # depending on the kind of the shared library created -
9457 # when "with_aix_soname,aix_use_runtimelinking" is:
9458 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
9459 # "aix,yes" lib.so shared, rtl:yes, for executables
9460 # lib.a static archive
9461 # "both,no" lib.so.V(shr.o) shared, rtl:yes
9462 # lib.a(lib.so.V) shared, rtl:no, for executables
9463 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
9464 # lib.a(lib.so.V) shared, rtl:no
9465 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
9466 # lib.a static archive
9467 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9468 for ld_flag in $LDFLAGS; do
9469 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
9470 aix_use_runtimelinking=yes
9474 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
9475 # With aix-soname=svr4, we create the lib.so.V shared archives only,
9476 # so we don't have lib.a shared libs to link our executables.
9477 # We have to force runtime linking in this case.
9478 aix_use_runtimelinking=yes
9479 LDFLAGS="$LDFLAGS -Wl,-brtl"
9484 exp_sym_flag='-bexport'
9485 no_entry_flag='-bnoentry'
9488 # When large executables or shared objects are built, AIX ld can
9489 # have problems creating the table of contents. If linking a library
9490 # or program results in "error TOC overflow" add -mminimal-toc to
9491 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9492 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9496 hardcode_direct_absolute=yes
9497 hardcode_libdir_separator=':'
9498 link_all_deplibs=yes
9499 file_list_spec='$wl-f,'
9500 case $with_aix_soname,$aix_use_runtimelinking in
9501 aix,*) ;; # traditional, no import file
9502 svr4,* | *,yes) # use import file
9503 # The Import File defines what to hardcode.
9505 hardcode_direct_absolute=no
9509 if test yes = "$GCC"; then
9510 case $host_os in aix4.[012]|aix4.[012].*)
9511 # We only want to do this on AIX 4.2 and lower, the check
9512 # below for broken collect2 doesn't work under 4.3+
9513 collect2name=`$CC -print-prog-name=collect2`
9514 if test -f "$collect2name" &&
9515 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9517 # We have reworked collect2
9520 # We have old collect2
9521 hardcode_direct=unsupported
9522 # It fails to find uninstalled libraries when the uninstalled
9523 # path is not listed in the libpath. Setting hardcode_minus_L
9524 # to unsupported forces relinking
9525 hardcode_minus_L=yes
9526 hardcode_libdir_flag_spec='-L$libdir'
9527 hardcode_libdir_separator=
9531 shared_flag='-shared'
9532 if test yes = "$aix_use_runtimelinking"; then
9533 shared_flag="$shared_flag "'$wl-G'
9535 # Need to ensure runtime linking is disabled for the traditional
9536 # shared library, or the linker may eventually find shared libraries
9537 # /with/ Import File - we do not want to mix them.
9538 shared_flag_aix='-shared'
9539 shared_flag_svr4='-shared $wl-G'
9542 if test ia64 = "$host_cpu"; then
9543 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9544 # chokes on -Wl,-G. The following line is correct:
9547 if test yes = "$aix_use_runtimelinking"; then
9550 shared_flag='$wl-bM:SRE'
9552 shared_flag_aix='$wl-bM:SRE'
9553 shared_flag_svr4='$wl-G'
9557 export_dynamic_flag_spec='$wl-bexpall'
9558 # It seems that -bexpall does not export symbols beginning with
9559 # underscore (_), so it is better to generate a list of symbols to export.
9560 always_export_symbols=yes
9561 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
9562 # Warning - without using the other runtime loading flags (-brtl),
9563 # -berok will link without error, but may produce a broken library.
9564 allow_undefined_flag='-berok'
9565 # Determine the default libpath from the value encoded in an
9567 if test set = "${lt_cv_aix_libpath+set}"; then
9568 aix_libpath=$lt_cv_aix_libpath
9570 if ${lt_cv_aix_libpath_+:} false; then :
9571 $as_echo_n "(cached) " >&6
9573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9574 /* end confdefs.h. */
9584 if ac_fn_c_try_link "$LINENO"; then :
9586 lt_aix_libpath_sed='
9587 /Import File Strings/,/^$/ {
9589 s/^0 *\([^ ]*\) *$/\1/
9593 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9594 # Check for a 64-bit object if we didn't find anything.
9595 if test -z "$lt_cv_aix_libpath_"; then
9596 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9599 rm -f core conftest.err conftest.$ac_objext \
9600 conftest$ac_exeext conftest.$ac_ext
9601 if test -z "$lt_cv_aix_libpath_"; then
9602 lt_cv_aix_libpath_=/usr/lib:/lib
9607 aix_libpath=$lt_cv_aix_libpath_
9610 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9611 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
9613 if test ia64 = "$host_cpu"; then
9614 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
9615 allow_undefined_flag="-z nodefs"
9616 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"
9618 # Determine the default libpath from the value encoded in an
9620 if test set = "${lt_cv_aix_libpath+set}"; then
9621 aix_libpath=$lt_cv_aix_libpath
9623 if ${lt_cv_aix_libpath_+:} false; then :
9624 $as_echo_n "(cached) " >&6
9626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9627 /* end confdefs.h. */
9637 if ac_fn_c_try_link "$LINENO"; then :
9639 lt_aix_libpath_sed='
9640 /Import File Strings/,/^$/ {
9642 s/^0 *\([^ ]*\) *$/\1/
9646 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9647 # Check for a 64-bit object if we didn't find anything.
9648 if test -z "$lt_cv_aix_libpath_"; then
9649 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9652 rm -f core conftest.err conftest.$ac_objext \
9653 conftest$ac_exeext conftest.$ac_ext
9654 if test -z "$lt_cv_aix_libpath_"; then
9655 lt_cv_aix_libpath_=/usr/lib:/lib
9660 aix_libpath=$lt_cv_aix_libpath_
9663 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9664 # Warning - without using the other run time loading flags,
9665 # -berok will link without error, but may produce a broken library.
9666 no_undefined_flag=' $wl-bernotok'
9667 allow_undefined_flag=' $wl-berok'
9668 if test yes = "$with_gnu_ld"; then
9669 # We only use this code for GNU lds that support --whole-archive.
9670 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
9672 # Exported symbols can be pulled into shared objects from archives
9673 whole_archive_flag_spec='$convenience'
9675 archive_cmds_need_lc=yes
9676 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
9677 # -brtl affects multiple linker settings, -berok does not and is overridden later
9678 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
9679 if test svr4 != "$with_aix_soname"; then
9680 # This is similar to how AIX traditionally builds its shared libraries.
9681 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
9683 if test aix != "$with_aix_soname"; then
9684 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
9686 # used by -dlpreopen to get the symbols
9687 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
9689 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
9697 # see comment about AmigaOS4 .so support
9698 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9699 archive_expsym_cmds=''
9702 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)'
9703 hardcode_libdir_flag_spec='-L$libdir'
9704 hardcode_minus_L=yes
9710 export_dynamic_flag_spec=-rdynamic
9713 cygwin* | mingw* | pw32* | cegcc*)
9714 # When not using gcc, we currently assume that we are using
9715 # Microsoft Visual C++.
9716 # hardcode_libdir_flag_spec is actually meaningless, as there is
9717 # no search path for DLLs.
9718 case $cc_basename in
9721 hardcode_libdir_flag_spec=' '
9722 allow_undefined_flag=unsupported
9723 always_export_symbols=yes
9725 # Tell ltmain to make .lib files, not .a files.
9727 # Tell ltmain to make .dll files, not .so files.
9729 # FIXME: Setting linknames here is a bad hack.
9730 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
9731 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9732 cp "$export_symbols" "$output_objdir/$soname.def";
9733 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
9735 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
9737 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9739 # The linker will not automatically build a static lib if we build a DLL.
9740 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9741 enable_shared_with_static_runtimes=yes
9742 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9743 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9745 old_postinstall_cmds='chmod 644 $oldlib'
9746 postlink_cmds='lt_outputfile="@OUTPUT@"~
9747 lt_tool_outputfile="@TOOL_OUTPUT@"~
9748 case $lt_outputfile in
9751 lt_outputfile=$lt_outputfile.exe
9752 lt_tool_outputfile=$lt_tool_outputfile.exe
9755 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
9756 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9757 $RM "$lt_outputfile.manifest";
9761 # Assume MSVC wrapper
9762 hardcode_libdir_flag_spec=' '
9763 allow_undefined_flag=unsupported
9764 # Tell ltmain to make .lib files, not .a files.
9766 # Tell ltmain to make .dll files, not .so files.
9768 # FIXME: Setting linknames here is a bad hack.
9769 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9770 # The linker will automatically build a .lib file if we build a DLL.
9771 old_archive_from_new_cmds='true'
9772 # FIXME: Should let the user specify the lib program.
9773 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9774 enable_shared_with_static_runtimes=yes
9779 darwin* | rhapsody*)
9782 archive_cmds_need_lc=no
9784 hardcode_automatic=yes
9785 hardcode_shlibpath_var=unsupported
9786 if test yes = "$lt_cv_ld_force_load"; then
9787 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\"`'
9790 whole_archive_flag_spec=''
9792 link_all_deplibs=yes
9793 allow_undefined_flag=$_lt_dar_allow_undefined
9794 case $cc_basename in
9795 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
9796 *) _lt_dar_can_shared=$GCC ;;
9798 if test yes = "$_lt_dar_can_shared"; then
9799 output_verbose_link_cmd=func_echo_all
9800 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
9801 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
9802 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"
9803 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"
9812 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9813 hardcode_libdir_flag_spec='-L$libdir'
9814 hardcode_shlibpath_var=no
9817 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9818 # support. Future versions do this automatically, but an explicit c++rt0.o
9819 # does not break anything, and helps significantly (at the cost of a little
9822 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9823 hardcode_libdir_flag_spec='-R$libdir'
9825 hardcode_shlibpath_var=no
9828 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9830 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9832 hardcode_minus_L=yes
9833 hardcode_shlibpath_var=no
9836 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9837 freebsd* | dragonfly*)
9838 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9839 hardcode_libdir_flag_spec='-R$libdir'
9841 hardcode_shlibpath_var=no
9845 if test yes = "$GCC"; then
9846 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
9848 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
9850 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9851 hardcode_libdir_separator=:
9854 # hardcode_minus_L: Not really in the search PATH,
9855 # but as the default location of the library.
9856 hardcode_minus_L=yes
9857 export_dynamic_flag_spec='$wl-E'
9861 if test yes,no = "$GCC,$with_gnu_ld"; then
9862 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9864 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9866 if test no = "$with_gnu_ld"; then
9867 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9868 hardcode_libdir_separator=:
9870 hardcode_direct_absolute=yes
9871 export_dynamic_flag_spec='$wl-E'
9872 # hardcode_minus_L: Not really in the search PATH,
9873 # but as the default location of the library.
9874 hardcode_minus_L=yes
9879 if test yes,no = "$GCC,$with_gnu_ld"; then
9882 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9885 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9888 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9894 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9897 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9901 # Older versions of the 11.00 compiler do not understand -b yet
9902 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9904 $as_echo_n "checking if $CC understands -b... " >&6; }
9905 if ${lt_cv_prog_compiler__b+:} false; then :
9906 $as_echo_n "(cached) " >&6
9908 lt_cv_prog_compiler__b=no
9909 save_LDFLAGS=$LDFLAGS
9910 LDFLAGS="$LDFLAGS -b"
9911 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9912 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9913 # The linker can only warn and ignore the option if not recognized
9914 # So say no if there are warnings
9915 if test -s conftest.err; then
9916 # Append any errors to the config.log.
9917 cat conftest.err 1>&5
9918 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9919 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9920 if diff conftest.exp conftest.er2 >/dev/null; then
9921 lt_cv_prog_compiler__b=yes
9924 lt_cv_prog_compiler__b=yes
9928 LDFLAGS=$save_LDFLAGS
9931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9932 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9934 if test yes = "$lt_cv_prog_compiler__b"; then
9935 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9937 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9943 if test no = "$with_gnu_ld"; then
9944 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9945 hardcode_libdir_separator=:
9950 hardcode_shlibpath_var=no
9954 hardcode_direct_absolute=yes
9955 export_dynamic_flag_spec='$wl-E'
9957 # hardcode_minus_L: Not really in the search PATH,
9958 # but as the default location of the library.
9959 hardcode_minus_L=yes
9965 irix5* | irix6* | nonstopux*)
9966 if test yes = "$GCC"; then
9967 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'
9968 # Try to use the -exported_symbol ld option, if it does not
9969 # work, assume that -exports_file does not work either and
9970 # implicitly export all symbols.
9971 # This should be the same for all languages, so no per-tag cache variable.
9972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9973 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9974 if ${lt_cv_irix_exported_symbol+:} false; then :
9975 $as_echo_n "(cached) " >&6
9977 save_LDFLAGS=$LDFLAGS
9978 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
9979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9980 /* end confdefs.h. */
9981 int foo (void) { return 0; }
9983 if ac_fn_c_try_link "$LINENO"; then :
9984 lt_cv_irix_exported_symbol=yes
9986 lt_cv_irix_exported_symbol=no
9988 rm -f core conftest.err conftest.$ac_objext \
9989 conftest$ac_exeext conftest.$ac_ext
9990 LDFLAGS=$save_LDFLAGS
9992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9993 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9994 if test yes = "$lt_cv_irix_exported_symbol"; then
9995 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'
9999 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'
10000 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'
10002 archive_cmds_need_lc='no'
10003 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10004 hardcode_libdir_separator=:
10006 link_all_deplibs=yes
10010 case $cc_basename in
10012 # Fabrice Bellard et al's Tiny C Compiler
10014 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10019 netbsd* | netbsdelf*-gnu)
10020 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10021 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10023 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10025 hardcode_libdir_flag_spec='-R$libdir'
10026 hardcode_direct=yes
10027 hardcode_shlibpath_var=no
10031 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10032 hardcode_direct=yes
10033 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10034 hardcode_libdir_separator=:
10035 hardcode_shlibpath_var=no
10041 openbsd* | bitrig*)
10042 if test -f /usr/libexec/ld.so; then
10043 hardcode_direct=yes
10044 hardcode_shlibpath_var=no
10045 hardcode_direct_absolute=yes
10046 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10047 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10048 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10049 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10050 export_dynamic_flag_spec='$wl-E'
10052 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10053 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10061 hardcode_libdir_flag_spec='-L$libdir'
10062 hardcode_minus_L=yes
10063 allow_undefined_flag=unsupported
10065 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10066 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10067 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10068 $ECHO EXPORTS >> $output_objdir/$libname.def~
10069 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10070 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10071 emximp -o $lib $output_objdir/$libname.def'
10072 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10073 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10074 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10075 $ECHO EXPORTS >> $output_objdir/$libname.def~
10076 prefix_cmds="$SED"~
10077 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10078 prefix_cmds="$prefix_cmds -e 1d";
10080 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10081 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10082 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10083 emximp -o $lib $output_objdir/$libname.def'
10084 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10085 enable_shared_with_static_runtimes=yes
10089 if test yes = "$GCC"; then
10090 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10091 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'
10093 allow_undefined_flag=' -expect_unresolved \*'
10094 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'
10096 archive_cmds_need_lc='no'
10097 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10098 hardcode_libdir_separator=:
10101 osf4* | osf5*) # as osf3* with the addition of -msym flag
10102 if test yes = "$GCC"; then
10103 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10104 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'
10105 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10107 allow_undefined_flag=' -expect_unresolved \*'
10108 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'
10109 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~
10110 $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'
10112 # Both c and cxx compiler support -rpath directly
10113 hardcode_libdir_flag_spec='-rpath $libdir'
10115 archive_cmds_need_lc='no'
10116 hardcode_libdir_separator=:
10120 no_undefined_flag=' -z defs'
10121 if test yes = "$GCC"; then
10123 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10124 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10125 $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'
10127 case `$CC -V 2>&1` in
10130 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10131 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10132 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10136 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10137 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10138 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10142 hardcode_libdir_flag_spec='-R$libdir'
10143 hardcode_shlibpath_var=no
10145 solaris2.[0-5] | solaris2.[0-5].*) ;;
10147 # The compiler driver will combine and reorder linker options,
10148 # but understands '-z linker_flag'. GCC discards it without '$wl',
10149 # but is careful enough not to reorder.
10150 # Supported since Solaris 2.6 (maybe 2.5.1?)
10151 if test yes = "$GCC"; then
10152 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10154 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10158 link_all_deplibs=yes
10162 if test sequent = "$host_vendor"; then
10163 # Use $CC to link under sequent, because it throws in some extra .o
10164 # files that make .init and .fini sections work.
10165 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10167 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10169 hardcode_libdir_flag_spec='-L$libdir'
10170 hardcode_direct=yes
10171 hardcode_minus_L=yes
10172 hardcode_shlibpath_var=no
10176 case $host_vendor in
10178 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10179 hardcode_direct=yes # is this really true???
10182 ## LD is ld it makes a PLAMLIB
10183 ## CC just makes a GrossModule.
10184 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10185 reload_cmds='$CC -r -o $output$reload_objs'
10189 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10190 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10193 runpath_var='LD_RUN_PATH'
10194 hardcode_shlibpath_var=no
10198 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10199 hardcode_shlibpath_var=no
10200 export_dynamic_flag_spec='-Bexport'
10204 if test -d /usr/nec; then
10205 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10206 hardcode_shlibpath_var=no
10207 runpath_var=LD_RUN_PATH
10208 hardcode_runpath_var=yes
10213 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10214 no_undefined_flag='$wl-z,text'
10215 archive_cmds_need_lc=no
10216 hardcode_shlibpath_var=no
10217 runpath_var='LD_RUN_PATH'
10219 if test yes = "$GCC"; then
10220 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10221 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10223 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10224 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10228 sysv5* | sco3.2v5* | sco5v6*)
10229 # Note: We CANNOT use -z defs as we might desire, because we do not
10230 # link with -lc, and that would cause any symbols used from libc to
10231 # always be unresolved, which means just about no library would
10232 # ever link correctly. If we're not using GNU ld we use -z text
10233 # though, which does catch some bad symbols but isn't as heavy-handed
10235 no_undefined_flag='$wl-z,text'
10236 allow_undefined_flag='$wl-z,nodefs'
10237 archive_cmds_need_lc=no
10238 hardcode_shlibpath_var=no
10239 hardcode_libdir_flag_spec='$wl-R,$libdir'
10240 hardcode_libdir_separator=':'
10241 link_all_deplibs=yes
10242 export_dynamic_flag_spec='$wl-Bexport'
10243 runpath_var='LD_RUN_PATH'
10245 if test yes = "$GCC"; then
10246 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10247 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10249 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10250 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10255 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10256 hardcode_libdir_flag_spec='-L$libdir'
10257 hardcode_shlibpath_var=no
10265 if test sni = "$host_vendor"; then
10267 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10268 export_dynamic_flag_spec='$wl-Blargedynsym'
10274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10275 $as_echo "$ld_shlibs" >&6; }
10276 test no = "$ld_shlibs" && can_build_shared=no
10278 with_gnu_ld=$with_gnu_ld
10295 # Do we need to explicitly link libc?
10297 case "x$archive_cmds_need_lc" in
10299 # Assume -lc should be added
10300 archive_cmds_need_lc=yes
10302 if test yes,yes = "$GCC,$enable_shared"; then
10303 case $archive_cmds in
10305 # FIXME: we may have to deal with multi-command sequences.
10308 # Test whether the compiler implicitly links with -lc since on some
10309 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10310 # to ld, don't add -lc before -lgcc.
10311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10312 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10313 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10314 $as_echo_n "(cached) " >&6
10317 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10319 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10320 (eval $ac_compile) 2>&5
10322 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10323 test $ac_status = 0; } 2>conftest.err; then
10326 libobjs=conftest.$ac_objext
10328 wl=$lt_prog_compiler_wl
10329 pic_flag=$lt_prog_compiler_pic
10335 lt_save_allow_undefined_flag=$allow_undefined_flag
10336 allow_undefined_flag=
10337 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10338 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10340 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10341 test $ac_status = 0; }
10343 lt_cv_archive_cmds_need_lc=no
10345 lt_cv_archive_cmds_need_lc=yes
10347 allow_undefined_flag=$lt_save_allow_undefined_flag
10349 cat conftest.err 1>&5
10354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10355 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10356 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10515 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10517 if test yes = "$GCC"; then
10519 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
10520 *) lt_awk_arg='/^libraries:/' ;;
10523 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
10524 *) lt_sed_strip_eq='s|=/|/|g' ;;
10526 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10527 case $lt_search_path_spec in
10529 # if the path contains ";" then we assume it to be the separator
10530 # otherwise default to the standard path separator (i.e. ":") - it is
10531 # assumed that no part of a normal pathname contains ";" but that should
10532 # okay in the real world where ";" in dirpaths is itself problematic.
10533 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10536 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10539 # Ok, now we have the path, separated by spaces, we can step through it
10540 # and add multilib dir if necessary...
10541 lt_tmp_lt_search_path_spec=
10542 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10543 # ...but if some path component already ends with the multilib dir we assume
10544 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
10545 case "$lt_multi_os_dir; $lt_search_path_spec " in
10546 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
10550 for lt_sys_path in $lt_search_path_spec; do
10551 if test -d "$lt_sys_path$lt_multi_os_dir"; then
10552 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
10553 elif test -n "$lt_multi_os_dir"; then
10554 test -d "$lt_sys_path" && \
10555 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10558 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10559 BEGIN {RS = " "; FS = "/|\n";} {
10562 for (lt_i = NF; lt_i > 0; lt_i--) {
10563 if ($lt_i != "" && $lt_i != ".") {
10564 if ($lt_i == "..") {
10567 if (lt_count == 0) {
10568 lt_foo = "/" $lt_i lt_foo;
10575 if (lt_foo != "") { lt_freq[lt_foo]++; }
10576 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10578 # AWK program above erroneously prepends '/' to C:/dos/paths
10581 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10582 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
10584 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10586 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10588 library_names_spec=
10589 libname_spec='lib$name'
10593 postuninstall_cmds=
10597 shlibpath_overrides_runpath=unknown
10599 dynamic_linker="$host_os ld.so"
10600 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10601 need_lib_prefix=unknown
10602 hardcode_into_libs=no
10604 # when you set need_version to no, make sure it does not cause -set_version
10605 # flags to be left without arguments
10606 need_version=unknown
10612 version_type=linux # correct to gnu/linux during the next big refactor
10613 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
10614 shlibpath_var=LIBPATH
10616 # AIX 3 has no versioning support, so we append a major version to the name.
10617 soname_spec='$libname$release$shared_ext$major'
10621 version_type=linux # correct to gnu/linux during the next big refactor
10624 hardcode_into_libs=yes
10625 if test ia64 = "$host_cpu"; then
10626 # AIX 5 supports IA64
10627 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
10628 shlibpath_var=LD_LIBRARY_PATH
10630 # With GCC up to 2.95.x, collect2 would create an import file
10631 # for dependence libraries. The import file would start with
10632 # the line '#! .'. This would cause the generated library to
10633 # depend on '.', always an invalid library. This was fixed in
10634 # development snapshots of GCC prior to 3.0.
10636 aix4 | aix4.[01] | aix4.[01].*)
10637 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10639 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
10642 can_build_shared=no
10646 # Using Import Files as archive members, it is possible to support
10647 # filename-based versioning of shared library archives on AIX. While
10648 # this would work for both with and without runtime linking, it will
10649 # prevent static linking of such archives. So we do filename-based
10650 # shared library versioning with .so extension only, which is used
10651 # when both runtime linking and shared linking is enabled.
10652 # Unfortunately, runtime linking may impact performance, so we do
10653 # not want this to be the default eventually. Also, we use the
10654 # versioned .so libs for executables only if there is the -brtl
10655 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
10656 # To allow for filename-based versioning support, we need to create
10657 # libNAME.so.V as an archive file, containing:
10658 # *) an Import File, referring to the versioned filename of the
10659 # archive as well as the shared archive member, telling the
10660 # bitwidth (32 or 64) of that shared object, and providing the
10661 # list of exported symbols of that shared object, eventually
10662 # decorated with the 'weak' keyword
10663 # *) the shared object with the F_LOADONLY flag set, to really avoid
10664 # it being seen by the linker.
10665 # At run time we better use the real file rather than another symlink,
10666 # but for link time we create the symlink libNAME.so -> libNAME.so.V
10668 case $with_aix_soname,$aix_use_runtimelinking in
10669 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
10670 # soname into executable. Probably we can add versioning support to
10671 # collect2, so additional links can be useful in future.
10672 aix,yes) # traditional libtool
10673 dynamic_linker='AIX unversionable lib.so'
10674 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10675 # instead of lib<name>.a to let people know that these are not
10676 # typical AIX shared libraries.
10677 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10679 aix,no) # traditional AIX only
10680 dynamic_linker='AIX lib.a(lib.so.V)'
10681 # We preserve .a as extension for shared libraries through AIX4.2
10682 # and later when we are not doing run time linking.
10683 library_names_spec='$libname$release.a $libname.a'
10684 soname_spec='$libname$release$shared_ext$major'
10686 svr4,*) # full svr4 only
10687 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
10688 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
10689 # We do not specify a path in Import Files, so LIBPATH fires.
10690 shlibpath_overrides_runpath=yes
10692 *,yes) # both, prefer svr4
10693 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
10694 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
10695 # unpreferred sharedlib libNAME.a needs extra handling
10696 postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
10697 postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
10698 # We do not specify a path in Import Files, so LIBPATH fires.
10699 shlibpath_overrides_runpath=yes
10701 *,no) # both, prefer aix
10702 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
10703 library_names_spec='$libname$release.a $libname.a'
10704 soname_spec='$libname$release$shared_ext$major'
10705 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
10706 postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
10707 postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
10710 shlibpath_var=LIBPATH
10717 # Since July 2007 AmigaOS4 officially supports .so libraries.
10718 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10719 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10722 library_names_spec='$libname.ixlibrary $libname.a'
10723 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10724 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
10730 library_names_spec='$libname$shared_ext'
10731 dynamic_linker="$host_os ld.so"
10732 shlibpath_var=LIBRARY_PATH
10736 version_type=linux # correct to gnu/linux during the next big refactor
10738 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10739 soname_spec='$libname$release$shared_ext$major'
10740 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10741 shlibpath_var=LD_LIBRARY_PATH
10742 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10743 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10744 # the default ld.so.conf also contains /usr/contrib/lib and
10745 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10746 # libtool to hard-code these into programs
10749 cygwin* | mingw* | pw32* | cegcc*)
10750 version_type=windows
10755 case $GCC,$cc_basename in
10758 library_names_spec='$libname.dll.a'
10759 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10760 postinstall_cmds='base_file=`basename \$file`~
10761 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10762 dldir=$destdir/`dirname \$dlpath`~
10763 test -d \$dldir || mkdir -p \$dldir~
10764 $install_prog $dir/$dlname \$dldir/$dlname~
10765 chmod a+x \$dldir/$dlname~
10766 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10767 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10769 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10770 dlpath=$dir/\$dldll~
10772 shlibpath_overrides_runpath=yes
10776 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10777 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10779 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10782 # MinGW DLLs use traditional 'lib' prefix
10783 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10786 # pw32 DLLs use 'pw' prefix rather than 'lib'
10787 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10790 dynamic_linker='Win32 ld.exe'
10795 libname_spec='$name'
10796 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10797 library_names_spec='$libname.dll.lib'
10801 sys_lib_search_path_spec=
10804 for lt_path in $LIB
10807 # Let DOS variable expansion print the short 8.3 style file name.
10808 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10809 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10812 # Convert to MSYS style.
10813 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10816 # Convert to unix form, then to dos form, then back to unix form
10817 # but this time dos style (no spaces!) so that the unix form looks
10818 # like /cygdrive/c/PROGRA~1:/cygdr...
10819 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10820 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10821 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10824 sys_lib_search_path_spec=$LIB
10825 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10826 # It is most probably a Windows format PATH.
10827 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10829 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10831 # FIXME: find the short name or the path components, as spaces are
10832 # common. (e.g. "Program Files" -> "PROGRA~1")
10836 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10837 postinstall_cmds='base_file=`basename \$file`~
10838 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10839 dldir=$destdir/`dirname \$dlpath`~
10840 test -d \$dldir || mkdir -p \$dldir~
10841 $install_prog $dir/$dlname \$dldir/$dlname'
10842 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10843 dlpath=$dir/\$dldll~
10845 shlibpath_overrides_runpath=yes
10846 dynamic_linker='Win32 link.exe'
10850 # Assume MSVC wrapper
10851 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
10852 dynamic_linker='Win32 ld.exe'
10855 # FIXME: first we should search . and the directory the executable is in
10859 darwin* | rhapsody*)
10860 dynamic_linker="$host_os dyld"
10861 version_type=darwin
10864 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
10865 soname_spec='$libname$release$major$shared_ext'
10866 shlibpath_overrides_runpath=yes
10867 shlibpath_var=DYLD_LIBRARY_PATH
10868 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10870 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10871 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10875 version_type=linux # correct to gnu/linux during the next big refactor
10878 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10879 soname_spec='$libname$release$shared_ext$major'
10880 shlibpath_var=LD_LIBRARY_PATH
10883 freebsd* | dragonfly*)
10884 # DragonFly does not have aout. When/if they implement a new
10885 # versioning mechanism, adjust this.
10886 if test -x /usr/bin/objformat; then
10887 objformat=`/usr/bin/objformat`
10890 freebsd[23].*) objformat=aout ;;
10891 *) objformat=elf ;;
10894 version_type=freebsd-$objformat
10895 case $version_type in
10897 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10898 soname_spec='$libname$release$shared_ext$major'
10903 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10907 shlibpath_var=LD_LIBRARY_PATH
10910 shlibpath_overrides_runpath=yes
10912 freebsd3.[01]* | freebsdelf3.[01]*)
10913 shlibpath_overrides_runpath=yes
10914 hardcode_into_libs=yes
10916 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10917 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10918 shlibpath_overrides_runpath=no
10919 hardcode_into_libs=yes
10921 *) # from 4.6 on, and DragonFly
10922 shlibpath_overrides_runpath=yes
10923 hardcode_into_libs=yes
10929 version_type=linux # correct to gnu/linux during the next big refactor
10932 dynamic_linker="$host_os runtime_loader"
10933 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10934 soname_spec='$libname$release$shared_ext$major'
10935 shlibpath_var=LIBRARY_PATH
10936 shlibpath_overrides_runpath=no
10937 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10938 hardcode_into_libs=yes
10941 hpux9* | hpux10* | hpux11*)
10942 # Give a soname corresponding to the major version so that dld.sl refuses to
10943 # link against other versions.
10950 hardcode_into_libs=yes
10951 dynamic_linker="$host_os dld.so"
10952 shlibpath_var=LD_LIBRARY_PATH
10953 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10954 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10955 soname_spec='$libname$release$shared_ext$major'
10956 if test 32 = "$HPUX_IA64_MODE"; then
10957 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10958 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
10960 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10961 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
10966 hardcode_into_libs=yes
10967 dynamic_linker="$host_os dld.sl"
10968 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10969 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10970 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10971 soname_spec='$libname$release$shared_ext$major'
10972 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10973 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10977 dynamic_linker="$host_os dld.sl"
10978 shlibpath_var=SHLIB_PATH
10979 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
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'
10984 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10985 postinstall_cmds='chmod 555 $lib'
10986 # or fails outright, so override atomically:
10987 install_override_mode=555
10991 version_type=linux # correct to gnu/linux during the next big refactor
10994 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10995 soname_spec='$libname$release$shared_ext$major'
10996 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10997 shlibpath_var=LD_LIBRARY_PATH
10998 shlibpath_overrides_runpath=no
10999 hardcode_into_libs=yes
11002 irix5* | irix6* | nonstopux*)
11004 nonstopux*) version_type=nonstopux ;;
11006 if test yes = "$lt_cv_prog_gnu_ld"; then
11007 version_type=linux # correct to gnu/linux during the next big refactor
11014 soname_spec='$libname$release$shared_ext$major'
11015 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11017 irix5* | nonstopux*)
11018 libsuff= shlibsuff=
11021 case $LD in # libtool.m4 will add one of these switches to LD
11022 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11023 libsuff= shlibsuff= libmagic=32-bit;;
11024 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11025 libsuff=32 shlibsuff=N32 libmagic=N32;;
11026 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11027 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11028 *) libsuff= shlibsuff= libmagic=never-match;;
11032 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11033 shlibpath_overrides_runpath=no
11034 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11035 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
11036 hardcode_into_libs=yes
11039 # No shared lib support for Linux oldld, aout, or coff.
11040 linux*oldld* | linux*aout* | linux*coff*)
11045 version_type=none # Android doesn't support versioned libraries.
11048 library_names_spec='$libname$release$shared_ext'
11049 soname_spec='$libname$release$shared_ext'
11051 shlibpath_var=LD_LIBRARY_PATH
11052 shlibpath_overrides_runpath=yes
11054 # This implies no fast_install, which is unacceptable.
11055 # Some rework will be needed to allow for fast_install
11056 # before this can be enabled.
11057 hardcode_into_libs=yes
11059 dynamic_linker='Android linker'
11060 # Don't embed -rpath directories since the linker doesn't support them.
11061 hardcode_libdir_flag_spec='-L$libdir'
11064 # This must be glibc/ELF.
11065 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11066 version_type=linux # correct to gnu/linux during the next big refactor
11069 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11070 soname_spec='$libname$release$shared_ext$major'
11071 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11072 shlibpath_var=LD_LIBRARY_PATH
11073 shlibpath_overrides_runpath=no
11075 # Some binutils ld are patched to set DT_RUNPATH
11076 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11077 $as_echo_n "(cached) " >&6
11079 lt_cv_shlibpath_overrides_runpath=no
11080 save_LDFLAGS=$LDFLAGS
11081 save_libdir=$libdir
11082 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11083 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11085 /* end confdefs.h. */
11095 if ac_fn_c_try_link "$LINENO"; then :
11096 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11097 lt_cv_shlibpath_overrides_runpath=yes
11100 rm -f core conftest.err conftest.$ac_objext \
11101 conftest$ac_exeext conftest.$ac_ext
11102 LDFLAGS=$save_LDFLAGS
11103 libdir=$save_libdir
11107 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11109 # This implies no fast_install, which is unacceptable.
11110 # Some rework will be needed to allow for fast_install
11111 # before this can be enabled.
11112 hardcode_into_libs=yes
11114 # Ideally, we could use ldconfig to report *all* directores which are
11115 # searched for libraries, however this is still not possible. Aside from not
11116 # being certain /sbin/ldconfig is available, command
11117 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11118 # even though it is searched at run-time. Try to do the best guess by
11119 # appending ld.so.conf contents (and includes) to the search path.
11120 if test -f /etc/ld.so.conf; then
11121 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' ' '`
11122 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11125 # We used to test for /lib/ld.so.1 and disable shared libraries on
11126 # powerpc, because MkLinux only supported shared libraries with the
11127 # GNU dynamic linker. Since this was broken with cross compilers,
11128 # most powerpc-linux boxes support dynamic linking these days and
11129 # people can always --disable-shared, the test was removed, and we
11130 # assume the GNU/Linux dynamic linker is in use.
11131 dynamic_linker='GNU/Linux ld.so'
11138 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11139 soname_spec='${libname}${release}${shared_ext}$major'
11140 shlibpath_var=LD_LIBRARY_PATH
11141 shlibpath_overrides_runpath=no
11142 hardcode_into_libs=yes
11143 dynamic_linker='NetBSD ld.elf_so'
11150 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11151 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11152 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11153 dynamic_linker='NetBSD (a.out) ld.so'
11155 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11156 soname_spec='$libname$release$shared_ext$major'
11157 dynamic_linker='NetBSD ld.elf_so'
11159 shlibpath_var=LD_LIBRARY_PATH
11160 shlibpath_overrides_runpath=yes
11161 hardcode_into_libs=yes
11165 version_type=linux # correct to gnu/linux during the next big refactor
11166 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11167 shlibpath_var=LD_LIBRARY_PATH
11168 shlibpath_overrides_runpath=yes
11175 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11176 soname_spec='$libname$release$shared_ext$major'
11177 shlibpath_var=LD_LIBRARY_PATH
11178 shlibpath_overrides_runpath=no
11179 hardcode_into_libs=yes
11180 dynamic_linker='ldqnx.so'
11183 openbsd* | bitrig*)
11185 sys_lib_dlsearch_path_spec=/usr/lib
11187 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11192 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11193 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11194 shlibpath_var=LD_LIBRARY_PATH
11195 shlibpath_overrides_runpath=yes
11199 libname_spec='$name'
11200 version_type=windows
11204 # OS/2 can only load a DLL with a base name of 8 characters or less.
11205 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
11206 v=$($ECHO $release$versuffix | tr -d .-);
11207 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11208 $ECHO $n$v`$shared_ext'
11209 library_names_spec='${libname}_dll.$libext'
11210 dynamic_linker='OS/2 ld.exe'
11211 shlibpath_var=BEGINLIBPATH
11212 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11213 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11214 postinstall_cmds='base_file=`basename \$file`~
11215 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11216 dldir=$destdir/`dirname \$dlpath`~
11217 test -d \$dldir || mkdir -p \$dldir~
11218 $install_prog $dir/$dlname \$dldir/$dlname~
11219 chmod a+x \$dldir/$dlname~
11220 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11221 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11223 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11224 dlpath=$dir/\$dldll~
11228 osf3* | osf4* | osf5*)
11232 soname_spec='$libname$release$shared_ext$major'
11233 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11234 shlibpath_var=LD_LIBRARY_PATH
11235 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11236 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11244 version_type=linux # correct to gnu/linux during the next big refactor
11247 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11248 soname_spec='$libname$release$shared_ext$major'
11249 shlibpath_var=LD_LIBRARY_PATH
11250 shlibpath_overrides_runpath=yes
11251 hardcode_into_libs=yes
11252 # ldd complains unless libraries are executable
11253 postinstall_cmds='chmod +x $lib'
11258 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11259 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11260 shlibpath_var=LD_LIBRARY_PATH
11261 shlibpath_overrides_runpath=yes
11262 if test yes = "$with_gnu_ld"; then
11269 version_type=linux # correct to gnu/linux during the next big refactor
11270 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11271 soname_spec='$libname$release$shared_ext$major'
11272 shlibpath_var=LD_LIBRARY_PATH
11273 case $host_vendor in
11275 shlibpath_overrides_runpath=no
11277 runpath_var=LD_RUN_PATH
11285 shlibpath_overrides_runpath=no
11286 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11292 if test -d /usr/nec; then
11293 version_type=linux # correct to gnu/linux during the next big refactor
11294 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11295 soname_spec='$libname$shared_ext.$major'
11296 shlibpath_var=LD_LIBRARY_PATH
11300 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11304 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11305 soname_spec='$libname$release$shared_ext$major'
11306 shlibpath_var=LD_LIBRARY_PATH
11307 shlibpath_overrides_runpath=yes
11308 hardcode_into_libs=yes
11309 if test yes = "$with_gnu_ld"; then
11310 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11312 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11315 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11319 sys_lib_dlsearch_path_spec='/usr/lib'
11323 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11324 version_type=linux # correct to gnu/linux during the next big refactor
11327 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11328 shlibpath_var=LD_LIBRARY_PATH
11329 shlibpath_overrides_runpath=no
11330 hardcode_into_libs=yes
11334 version_type=linux # correct to gnu/linux during the next big refactor
11335 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11336 soname_spec='$libname$release$shared_ext$major'
11337 shlibpath_var=LD_LIBRARY_PATH
11344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11345 $as_echo "$dynamic_linker" >&6; }
11346 test no = "$dynamic_linker" && can_build_shared=no
11348 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11349 if test yes = "$GCC"; then
11350 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11353 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11354 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
11357 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11358 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
11361 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11362 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
11364 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11365 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
11367 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11368 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
11466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11467 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11469 if test -n "$hardcode_libdir_flag_spec" ||
11470 test -n "$runpath_var" ||
11471 test yes = "$hardcode_automatic"; then
11473 # We can hardcode non-existent directories.
11474 if test no != "$hardcode_direct" &&
11475 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11476 # have to relink, otherwise we might link with an installed library
11477 # when we should be linking with a yet-to-be-installed one
11478 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
11479 test no != "$hardcode_minus_L"; then
11480 # Linking always hardcodes the temporary library directory.
11481 hardcode_action=relink
11483 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11484 hardcode_action=immediate
11487 # We cannot hardcode anything, or else we can only hardcode existing
11489 hardcode_action=unsupported
11491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11492 $as_echo "$hardcode_action" >&6; }
11494 if test relink = "$hardcode_action" ||
11495 test yes = "$inherit_rpath"; then
11496 # Fast installation is not supported
11497 enable_fast_install=no
11498 elif test yes = "$shlibpath_overrides_runpath" ||
11499 test no = "$enable_shared"; then
11500 # Fast installation is not necessary
11501 enable_fast_install=needless
11509 if test yes != "$enable_dlopen"; then
11510 enable_dlopen=unknown
11511 enable_dlopen_self=unknown
11512 enable_dlopen_self_static=unknown
11519 lt_cv_dlopen=load_add_on
11521 lt_cv_dlopen_self=yes
11524 mingw* | pw32* | cegcc*)
11525 lt_cv_dlopen=LoadLibrary
11530 lt_cv_dlopen=dlopen
11535 # if libdl is installed we need to link against it
11536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11537 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11538 if ${ac_cv_lib_dl_dlopen+:} false; then :
11539 $as_echo_n "(cached) " >&6
11541 ac_check_lib_save_LIBS=$LIBS
11543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11544 /* end confdefs.h. */
11546 /* Override any GCC internal prototype to avoid an error.
11547 Use char because int might match the return type of a GCC
11548 builtin and then its argument prototype would still apply. */
11561 if ac_fn_c_try_link "$LINENO"; then :
11562 ac_cv_lib_dl_dlopen=yes
11564 ac_cv_lib_dl_dlopen=no
11566 rm -f core conftest.err conftest.$ac_objext \
11567 conftest$ac_exeext conftest.$ac_ext
11568 LIBS=$ac_check_lib_save_LIBS
11570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11571 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11572 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11573 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11578 lt_cv_dlopen_self=yes
11585 # Don't try to run any link tests for TPF. We know it's impossible
11586 # because TPF is a cross-compiler, and we know how we open DSOs.
11587 lt_cv_dlopen=dlopen
11589 lt_cv_dlopen_self=no
11593 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11594 if test "x$ac_cv_func_shl_load" = xyes; then :
11595 lt_cv_dlopen=shl_load
11597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11598 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11599 if ${ac_cv_lib_dld_shl_load+:} false; then :
11600 $as_echo_n "(cached) " >&6
11602 ac_check_lib_save_LIBS=$LIBS
11604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11605 /* end confdefs.h. */
11607 /* Override any GCC internal prototype to avoid an error.
11608 Use char because int might match the return type of a GCC
11609 builtin and then its argument prototype would still apply. */
11617 return shl_load ();
11622 if ac_fn_c_try_link "$LINENO"; then :
11623 ac_cv_lib_dld_shl_load=yes
11625 ac_cv_lib_dld_shl_load=no
11627 rm -f core conftest.err conftest.$ac_objext \
11628 conftest$ac_exeext conftest.$ac_ext
11629 LIBS=$ac_check_lib_save_LIBS
11631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11632 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11633 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11634 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
11636 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11637 if test "x$ac_cv_func_dlopen" = xyes; then :
11638 lt_cv_dlopen=dlopen
11640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11641 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11642 if ${ac_cv_lib_dl_dlopen+:} false; then :
11643 $as_echo_n "(cached) " >&6
11645 ac_check_lib_save_LIBS=$LIBS
11647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11648 /* end confdefs.h. */
11650 /* Override any GCC internal prototype to avoid an error.
11651 Use char because int might match the return type of a GCC
11652 builtin and then its argument prototype would still apply. */
11665 if ac_fn_c_try_link "$LINENO"; then :
11666 ac_cv_lib_dl_dlopen=yes
11668 ac_cv_lib_dl_dlopen=no
11670 rm -f core conftest.err conftest.$ac_objext \
11671 conftest$ac_exeext conftest.$ac_ext
11672 LIBS=$ac_check_lib_save_LIBS
11674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11675 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11676 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11677 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11680 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11681 if ${ac_cv_lib_svld_dlopen+:} false; then :
11682 $as_echo_n "(cached) " >&6
11684 ac_check_lib_save_LIBS=$LIBS
11685 LIBS="-lsvld $LIBS"
11686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11687 /* end confdefs.h. */
11689 /* Override any GCC internal prototype to avoid an error.
11690 Use char because int might match the return type of a GCC
11691 builtin and then its argument prototype would still apply. */
11704 if ac_fn_c_try_link "$LINENO"; then :
11705 ac_cv_lib_svld_dlopen=yes
11707 ac_cv_lib_svld_dlopen=no
11709 rm -f core conftest.err conftest.$ac_objext \
11710 conftest$ac_exeext conftest.$ac_ext
11711 LIBS=$ac_check_lib_save_LIBS
11713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11714 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11715 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11716 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
11718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11719 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11720 if ${ac_cv_lib_dld_dld_link+:} false; then :
11721 $as_echo_n "(cached) " >&6
11723 ac_check_lib_save_LIBS=$LIBS
11725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11726 /* end confdefs.h. */
11728 /* Override any GCC internal prototype to avoid an error.
11729 Use char because int might match the return type of a GCC
11730 builtin and then its argument prototype would still apply. */
11738 return dld_link ();
11743 if ac_fn_c_try_link "$LINENO"; then :
11744 ac_cv_lib_dld_dld_link=yes
11746 ac_cv_lib_dld_dld_link=no
11748 rm -f core conftest.err conftest.$ac_objext \
11749 conftest$ac_exeext conftest.$ac_ext
11750 LIBS=$ac_check_lib_save_LIBS
11752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11753 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11754 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11755 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
11776 if test no = "$lt_cv_dlopen"; then
11782 case $lt_cv_dlopen in
11784 save_CPPFLAGS=$CPPFLAGS
11785 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11787 save_LDFLAGS=$LDFLAGS
11788 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11791 LIBS="$lt_cv_dlopen_libs $LIBS"
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11794 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11795 if ${lt_cv_dlopen_self+:} false; then :
11796 $as_echo_n "(cached) " >&6
11798 if test yes = "$cross_compiling"; then :
11799 lt_cv_dlopen_self=cross
11801 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11802 lt_status=$lt_dlunknown
11803 cat > conftest.$ac_ext <<_LT_EOF
11804 #line $LINENO "configure"
11805 #include "confdefs.h"
11814 # define LT_DLGLOBAL RTLD_GLOBAL
11817 # define LT_DLGLOBAL DL_GLOBAL
11819 # define LT_DLGLOBAL 0
11823 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11824 find out it does not work in some platform. */
11825 #ifndef LT_DLLAZY_OR_NOW
11827 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11830 # define LT_DLLAZY_OR_NOW DL_LAZY
11833 # define LT_DLLAZY_OR_NOW RTLD_NOW
11836 # define LT_DLLAZY_OR_NOW DL_NOW
11838 # define LT_DLLAZY_OR_NOW 0
11845 /* When -fvisibility=hidden is used, assume the code has been annotated
11846 correspondingly for the symbols needed. */
11847 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11848 int fnord () __attribute__((visibility("default")));
11851 int fnord () { return 42; }
11854 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11855 int status = $lt_dlunknown;
11859 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11862 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11863 else puts (dlerror ());
11865 /* dlclose (self); */
11873 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11874 (eval $ac_link) 2>&5
11876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11877 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
11878 (./conftest; exit; ) >&5 2>/dev/null
11880 case x$lt_status in
11881 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11882 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11883 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11886 # compilation failed
11887 lt_cv_dlopen_self=no
11894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11895 $as_echo "$lt_cv_dlopen_self" >&6; }
11897 if test yes = "$lt_cv_dlopen_self"; then
11898 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11900 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11901 if ${lt_cv_dlopen_self_static+:} false; then :
11902 $as_echo_n "(cached) " >&6
11904 if test yes = "$cross_compiling"; then :
11905 lt_cv_dlopen_self_static=cross
11907 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11908 lt_status=$lt_dlunknown
11909 cat > conftest.$ac_ext <<_LT_EOF
11910 #line $LINENO "configure"
11911 #include "confdefs.h"
11920 # define LT_DLGLOBAL RTLD_GLOBAL
11923 # define LT_DLGLOBAL DL_GLOBAL
11925 # define LT_DLGLOBAL 0
11929 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11930 find out it does not work in some platform. */
11931 #ifndef LT_DLLAZY_OR_NOW
11933 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11936 # define LT_DLLAZY_OR_NOW DL_LAZY
11939 # define LT_DLLAZY_OR_NOW RTLD_NOW
11942 # define LT_DLLAZY_OR_NOW DL_NOW
11944 # define LT_DLLAZY_OR_NOW 0
11951 /* When -fvisibility=hidden is used, assume the code has been annotated
11952 correspondingly for the symbols needed. */
11953 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11954 int fnord () __attribute__((visibility("default")));
11957 int fnord () { return 42; }
11960 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11961 int status = $lt_dlunknown;
11965 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11968 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11969 else puts (dlerror ());
11971 /* dlclose (self); */
11979 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11980 (eval $ac_link) 2>&5
11982 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11983 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
11984 (./conftest; exit; ) >&5 2>/dev/null
11986 case x$lt_status in
11987 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11988 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11989 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11992 # compilation failed
11993 lt_cv_dlopen_self_static=no
12000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12001 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12004 CPPFLAGS=$save_CPPFLAGS
12005 LDFLAGS=$save_LDFLAGS
12010 case $lt_cv_dlopen_self in
12011 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12012 *) enable_dlopen_self=unknown ;;
12015 case $lt_cv_dlopen_self_static in
12016 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12017 *) enable_dlopen_self_static=unknown ;;
12039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12040 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12041 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12042 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12043 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12045 $as_echo "yes" >&6; }
12047 # FIXME - insert some real tests, host_os isn't really good enough
12050 if test -n "$STRIP"; then
12051 striplib="$STRIP -x"
12052 old_striplib="$STRIP -S"
12053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12054 $as_echo "yes" >&6; }
12056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12057 $as_echo "no" >&6; }
12061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12062 $as_echo "no" >&6; }
12078 # Report what library types will actually be built
12079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12080 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12082 $as_echo "$can_build_shared" >&6; }
12084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12085 $as_echo_n "checking whether to build shared libraries... " >&6; }
12086 test no = "$can_build_shared" && enable_shared=no
12088 # On AIX, shared libraries and static libraries use the same namespace, and
12089 # are all built from PIC.
12092 test yes = "$enable_shared" && enable_static=no
12093 if test -n "$RANLIB"; then
12094 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12095 postinstall_cmds='$RANLIB $lib'
12100 if test ia64 != "$host_cpu"; then
12101 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12102 yes,aix,yes) ;; # shared object as lib.so file only
12103 yes,svr4,*) ;; # shared object as lib.so archive member only
12104 yes,*) enable_static=no ;; # shared object in lib.a archive as well
12109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12110 $as_echo "$enable_shared" >&6; }
12112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12113 $as_echo_n "checking whether to build static libraries... " >&6; }
12114 # Make sure either enable_shared or enable_static is yes.
12115 test yes = "$enable_shared" || enable_static=yes
12116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12117 $as_echo "$enable_static" >&6; }
12124 ac_cpp='$CPP $CPPFLAGS'
12125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12145 ac_config_commands="$ac_config_commands libtool"
12150 # Only expand once:
12154 # Checks for programs.
12156 ac_cpp='$CPP $CPPFLAGS'
12157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12160 if test -n "$ac_tool_prefix"; then
12161 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12162 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12164 $as_echo_n "checking for $ac_word... " >&6; }
12165 if ${ac_cv_prog_CC+:} false; then :
12166 $as_echo_n "(cached) " >&6
12168 if test -n "$CC"; then
12169 ac_cv_prog_CC="$CC" # Let the user override the test.
12171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12172 for as_dir in $PATH
12175 test -z "$as_dir" && as_dir=.
12176 for ac_exec_ext in '' $ac_executable_extensions; do
12177 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12178 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12189 if test -n "$CC"; then
12190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12191 $as_echo "$CC" >&6; }
12193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12194 $as_echo "no" >&6; }
12199 if test -z "$ac_cv_prog_CC"; then
12201 # Extract the first word of "gcc", so it can be a program name with args.
12202 set dummy gcc; ac_word=$2
12203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12204 $as_echo_n "checking for $ac_word... " >&6; }
12205 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12206 $as_echo_n "(cached) " >&6
12208 if test -n "$ac_ct_CC"; then
12209 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12212 for as_dir in $PATH
12215 test -z "$as_dir" && as_dir=.
12216 for ac_exec_ext in '' $ac_executable_extensions; do
12217 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12218 ac_cv_prog_ac_ct_CC="gcc"
12219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12228 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12229 if test -n "$ac_ct_CC"; then
12230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12231 $as_echo "$ac_ct_CC" >&6; }
12233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12234 $as_echo "no" >&6; }
12237 if test "x$ac_ct_CC" = x; then
12240 case $cross_compiling:$ac_tool_warned in
12242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12243 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12244 ac_tool_warned=yes ;;
12249 CC="$ac_cv_prog_CC"
12252 if test -z "$CC"; then
12253 if test -n "$ac_tool_prefix"; then
12254 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12255 set dummy ${ac_tool_prefix}cc; ac_word=$2
12256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12257 $as_echo_n "checking for $ac_word... " >&6; }
12258 if ${ac_cv_prog_CC+:} false; then :
12259 $as_echo_n "(cached) " >&6
12261 if test -n "$CC"; then
12262 ac_cv_prog_CC="$CC" # Let the user override the test.
12264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12265 for as_dir in $PATH
12268 test -z "$as_dir" && as_dir=.
12269 for ac_exec_ext in '' $ac_executable_extensions; do
12270 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12271 ac_cv_prog_CC="${ac_tool_prefix}cc"
12272 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12282 if test -n "$CC"; then
12283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12284 $as_echo "$CC" >&6; }
12286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12287 $as_echo "no" >&6; }
12293 if test -z "$CC"; then
12294 # Extract the first word of "cc", so it can be a program name with args.
12295 set dummy cc; ac_word=$2
12296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12297 $as_echo_n "checking for $ac_word... " >&6; }
12298 if ${ac_cv_prog_CC+:} false; then :
12299 $as_echo_n "(cached) " >&6
12301 if test -n "$CC"; then
12302 ac_cv_prog_CC="$CC" # Let the user override the test.
12304 ac_prog_rejected=no
12305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12306 for as_dir in $PATH
12309 test -z "$as_dir" && as_dir=.
12310 for ac_exec_ext in '' $ac_executable_extensions; do
12311 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12312 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12313 ac_prog_rejected=yes
12317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12324 if test $ac_prog_rejected = yes; then
12325 # We found a bogon in the path, so make sure we never use it.
12326 set dummy $ac_cv_prog_CC
12328 if test $@%:@ != 0; then
12329 # We chose a different compiler from the bogus one.
12330 # However, it has the same basename, so the bogon will be chosen
12331 # first if we set CC to just the basename; use the full file name.
12333 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12339 if test -n "$CC"; then
12340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12341 $as_echo "$CC" >&6; }
12343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12344 $as_echo "no" >&6; }
12349 if test -z "$CC"; then
12350 if test -n "$ac_tool_prefix"; then
12351 for ac_prog in cl.exe
12353 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12354 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12356 $as_echo_n "checking for $ac_word... " >&6; }
12357 if ${ac_cv_prog_CC+:} false; then :
12358 $as_echo_n "(cached) " >&6
12360 if test -n "$CC"; then
12361 ac_cv_prog_CC="$CC" # Let the user override the test.
12363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12364 for as_dir in $PATH
12367 test -z "$as_dir" && as_dir=.
12368 for ac_exec_ext in '' $ac_executable_extensions; do
12369 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12370 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12381 if test -n "$CC"; then
12382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12383 $as_echo "$CC" >&6; }
12385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12386 $as_echo "no" >&6; }
12390 test -n "$CC" && break
12393 if test -z "$CC"; then
12395 for ac_prog in cl.exe
12397 # Extract the first word of "$ac_prog", so it can be a program name with args.
12398 set dummy $ac_prog; ac_word=$2
12399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12400 $as_echo_n "checking for $ac_word... " >&6; }
12401 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12402 $as_echo_n "(cached) " >&6
12404 if test -n "$ac_ct_CC"; then
12405 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12408 for as_dir in $PATH
12411 test -z "$as_dir" && as_dir=.
12412 for ac_exec_ext in '' $ac_executable_extensions; do
12413 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12414 ac_cv_prog_ac_ct_CC="$ac_prog"
12415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12424 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12425 if test -n "$ac_ct_CC"; then
12426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12427 $as_echo "$ac_ct_CC" >&6; }
12429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12430 $as_echo "no" >&6; }
12434 test -n "$ac_ct_CC" && break
12437 if test "x$ac_ct_CC" = x; then
12440 case $cross_compiling:$ac_tool_warned in
12442 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12443 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12444 ac_tool_warned=yes ;;
12453 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12454 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12455 as_fn_error $? "no acceptable C compiler found in \$PATH
12456 See \`config.log' for more details" "$LINENO" 5; }
12458 # Provide some information about the compiler.
12459 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12462 for ac_option in --version -v -V -qversion; do
12463 { { ac_try="$ac_compiler $ac_option >&5"
12464 case "(($ac_try" in
12465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12466 *) ac_try_echo=$ac_try;;
12468 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12469 $as_echo "$ac_try_echo"; } >&5
12470 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12472 if test -s conftest.err; then
12474 ... rest of stderr output deleted ...
12475 10q' conftest.err >conftest.er1
12476 cat conftest.er1 >&5
12478 rm -f conftest.er1 conftest.err
12479 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12480 test $ac_status = 0; }
12483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12484 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12485 if ${ac_cv_c_compiler_gnu+:} false; then :
12486 $as_echo_n "(cached) " >&6
12488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12489 /* end confdefs.h. */
12502 if ac_fn_c_try_compile "$LINENO"; then :
12503 ac_compiler_gnu=yes
12507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12508 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12512 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12513 if test $ac_compiler_gnu = yes; then
12518 ac_test_CFLAGS=${CFLAGS+set}
12519 ac_save_CFLAGS=$CFLAGS
12520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12521 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12522 if ${ac_cv_prog_cc_g+:} false; then :
12523 $as_echo_n "(cached) " >&6
12525 ac_save_c_werror_flag=$ac_c_werror_flag
12526 ac_c_werror_flag=yes
12529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12530 /* end confdefs.h. */
12540 if ac_fn_c_try_compile "$LINENO"; then :
12541 ac_cv_prog_cc_g=yes
12544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12545 /* end confdefs.h. */
12555 if ac_fn_c_try_compile "$LINENO"; then :
12558 ac_c_werror_flag=$ac_save_c_werror_flag
12560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12561 /* end confdefs.h. */
12571 if ac_fn_c_try_compile "$LINENO"; then :
12572 ac_cv_prog_cc_g=yes
12574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12579 ac_c_werror_flag=$ac_save_c_werror_flag
12581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12582 $as_echo "$ac_cv_prog_cc_g" >&6; }
12583 if test "$ac_test_CFLAGS" = set; then
12584 CFLAGS=$ac_save_CFLAGS
12585 elif test $ac_cv_prog_cc_g = yes; then
12586 if test "$GCC" = yes; then
12592 if test "$GCC" = yes; then
12598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12599 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12600 if ${ac_cv_prog_cc_c89+:} false; then :
12601 $as_echo_n "(cached) " >&6
12603 ac_cv_prog_cc_c89=no
12605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12606 /* end confdefs.h. */
12607 #include <stdarg.h>
12610 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12611 struct buf { int x; };
12612 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12613 static char *e (p, i)
12619 static char *f (char * (*g) (char **, int), char **p, ...)
12624 s = g (p, va_arg (v,int));
12629 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12630 function prototypes and stuff, but not '\xHH' hex character constants.
12631 These don't provoke an error unfortunately, instead are silently treated
12632 as 'x'. The following induces an error, until -std is added to get
12633 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12634 array size at least. It's necessary to write '\x00'==0 to get something
12635 that's true only with -std. */
12636 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12638 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12639 inside strings and character constants. */
12641 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12643 int test (int i, double x);
12644 struct s1 {int (*f) (int a);};
12645 struct s2 {int (*f) (double a);};
12646 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12652 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12657 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12658 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12660 CC="$ac_save_CC $ac_arg"
12661 if ac_fn_c_try_compile "$LINENO"; then :
12662 ac_cv_prog_cc_c89=$ac_arg
12664 rm -f core conftest.err conftest.$ac_objext
12665 test "x$ac_cv_prog_cc_c89" != "xno" && break
12667 rm -f conftest.$ac_ext
12672 case "x$ac_cv_prog_cc_c89" in
12674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12675 $as_echo "none needed" >&6; } ;;
12677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12678 $as_echo "unsupported" >&6; } ;;
12680 CC="$CC $ac_cv_prog_cc_c89"
12681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12682 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12684 if test "x$ac_cv_prog_cc_c89" != xno; then :
12689 ac_cpp='$CPP $CPPFLAGS'
12690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12695 ac_cpp='$CPP $CPPFLAGS'
12696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
12700 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
12701 if ${am_cv_prog_cc_c_o+:} false; then :
12702 $as_echo_n "(cached) " >&6
12704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12705 /* end confdefs.h. */
12715 # Make sure it works both with $CC and with simple cc.
12716 # Following AC_PROG_CC_C_O, we do the test twice because some
12717 # compilers refuse to overwrite an existing .o file with -o,
12718 # though they will create one.
12719 am_cv_prog_cc_c_o=yes
12720 for am_i in 1 2; do
12721 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
12722 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
12724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12725 (exit $ac_status); } \
12726 && test -f conftest2.$ac_objext; then
12729 am_cv_prog_cc_c_o=no
12733 rm -f core conftest*
12736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
12737 $as_echo "$am_cv_prog_cc_c_o" >&6; }
12738 if test "$am_cv_prog_cc_c_o" != yes; then
12739 # Losing compiler, so override with the script.
12740 # FIXME: It is wrong to rewrite CC.
12741 # But if we don't then we get into trouble of one sort or another.
12742 # A longer-term fix would be to have automake use am__CC in this case,
12743 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12744 CC="$am_aux_dir/compile $CC"
12747 ac_cpp='$CPP $CPPFLAGS'
12748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12753 depcc="$CC" am_compiler_list=
12755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12756 $as_echo_n "checking dependency style of $depcc... " >&6; }
12757 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12758 $as_echo_n "(cached) " >&6
12760 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12761 # We make a subdir and do the tests there. Otherwise we can end up
12762 # making bogus files that we don't know about and never remove. For
12763 # instance it was reported that on HP-UX the gcc test will end up
12764 # making a dummy file named 'D' -- because '-MD' means "put the output
12766 rm -rf conftest.dir
12768 # Copy depcomp to subdir because otherwise we won't find it if we're
12769 # using a relative directory.
12770 cp "$am_depcomp" conftest.dir
12772 # We will build objects and dependencies in a subdirectory because
12773 # it helps to detect inapplicable dependency modes. For instance
12774 # both Tru64's cc and ICC support -MD to output dependencies as a
12775 # side effect of compilation, but ICC will put the dependencies in
12776 # the current directory while Tru64 will put them in the object
12780 am_cv_CC_dependencies_compiler_type=none
12781 if test "$am_compiler_list" = ""; then
12782 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12784 am__universal=false
12785 case " $depcc " in #(
12786 *\ -arch\ *\ -arch\ *) am__universal=true ;;
12789 for depmode in $am_compiler_list; do
12790 # Setup a source with many dependencies, because some compilers
12791 # like to wrap large dependency lists on column 80 (with \), and
12792 # we should not choose a depcomp mode which is confused by this.
12794 # We need to recreate these files for each test, as the compiler may
12795 # overwrite some of them when testing with obscure command lines.
12796 # This happens at least with the AIX C compiler.
12798 for i in 1 2 3 4 5 6; do
12799 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12800 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
12801 # Solaris 10 /bin/sh.
12802 echo '/* dummy */' > sub/conftst$i.h
12804 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12806 # We check with '-c' and '-o' for the sake of the "dashmstdout"
12807 # mode. It turns out that the SunPro C++ compiler does not properly
12808 # handle '-M -o', and we need to detect this. Also, some Intel
12809 # versions had trouble with output in subdirs.
12810 am__obj=sub/conftest.${OBJEXT-o}
12811 am__minus_obj="-o $am__obj"
12814 # This depmode causes a compiler race in universal mode.
12815 test "$am__universal" = false || continue
12818 # After this tag, mechanisms are not by side-effect, so they'll
12819 # only be used when explicitly requested.
12820 if test "x$enable_dependency_tracking" = xyes; then
12826 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12827 # This compiler won't grok '-c -o', but also, the minuso test has
12828 # not run yet. These depmodes are late enough in the game, and
12829 # so weak that their functioning should not be impacted.
12830 am__obj=conftest.${OBJEXT-o}
12835 if depmode=$depmode \
12836 source=sub/conftest.c object=$am__obj \
12837 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12838 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12839 >/dev/null 2>conftest.err &&
12840 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12841 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12842 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12843 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12844 # icc doesn't choke on unknown options, it will just issue warnings
12845 # or remarks (even with -Werror). So we grep stderr for any message
12846 # that says an option was ignored or not supported.
12847 # When given -MP, icc 7.0 and 7.1 complain thusly:
12848 # icc: Command line warning: ignoring option '-M'; no argument required
12849 # The diagnosis changed in icc 8.0:
12850 # icc: Command line remark: option '-MP' not supported
12851 if (grep 'ignoring option' conftest.err ||
12852 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12853 am_cv_CC_dependencies_compiler_type=$depmode
12860 rm -rf conftest.dir
12862 am_cv_CC_dependencies_compiler_type=none
12866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12867 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12868 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12871 test "x$enable_dependency_tracking" != xno \
12872 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12873 am__fastdepCC_TRUE=
12874 am__fastdepCC_FALSE='#'
12876 am__fastdepCC_TRUE='#'
12877 am__fastdepCC_FALSE=
12882 ac_cpp='$CXXCPP $CPPFLAGS'
12883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12886 if test -z "$CXX"; then
12887 if test -n "$CCC"; then
12890 if test -n "$ac_tool_prefix"; then
12891 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
12893 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12894 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12896 $as_echo_n "checking for $ac_word... " >&6; }
12897 if ${ac_cv_prog_CXX+:} false; then :
12898 $as_echo_n "(cached) " >&6
12900 if test -n "$CXX"; then
12901 ac_cv_prog_CXX="$CXX" # Let the user override the test.
12903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12904 for as_dir in $PATH
12907 test -z "$as_dir" && as_dir=.
12908 for ac_exec_ext in '' $ac_executable_extensions; do
12909 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12910 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
12911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12920 CXX=$ac_cv_prog_CXX
12921 if test -n "$CXX"; then
12922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
12923 $as_echo "$CXX" >&6; }
12925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12926 $as_echo "no" >&6; }
12930 test -n "$CXX" && break
12933 if test -z "$CXX"; then
12935 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
12937 # Extract the first word of "$ac_prog", so it can be a program name with args.
12938 set dummy $ac_prog; ac_word=$2
12939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12940 $as_echo_n "checking for $ac_word... " >&6; }
12941 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
12942 $as_echo_n "(cached) " >&6
12944 if test -n "$ac_ct_CXX"; then
12945 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
12947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12948 for as_dir in $PATH
12951 test -z "$as_dir" && as_dir=.
12952 for ac_exec_ext in '' $ac_executable_extensions; do
12953 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12954 ac_cv_prog_ac_ct_CXX="$ac_prog"
12955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12964 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
12965 if test -n "$ac_ct_CXX"; then
12966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
12967 $as_echo "$ac_ct_CXX" >&6; }
12969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12970 $as_echo "no" >&6; }
12974 test -n "$ac_ct_CXX" && break
12977 if test "x$ac_ct_CXX" = x; then
12980 case $cross_compiling:$ac_tool_warned in
12982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12983 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12984 ac_tool_warned=yes ;;
12992 # Provide some information about the compiler.
12993 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
12996 for ac_option in --version -v -V -qversion; do
12997 { { ac_try="$ac_compiler $ac_option >&5"
12998 case "(($ac_try" in
12999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13000 *) ac_try_echo=$ac_try;;
13002 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13003 $as_echo "$ac_try_echo"; } >&5
13004 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13006 if test -s conftest.err; then
13008 ... rest of stderr output deleted ...
13009 10q' conftest.err >conftest.er1
13010 cat conftest.er1 >&5
13012 rm -f conftest.er1 conftest.err
13013 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13014 test $ac_status = 0; }
13017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
13018 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
13019 if ${ac_cv_cxx_compiler_gnu+:} false; then :
13020 $as_echo_n "(cached) " >&6
13022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13023 /* end confdefs.h. */
13036 if ac_fn_cxx_try_compile "$LINENO"; then :
13037 ac_compiler_gnu=yes
13041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13042 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
13046 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
13047 if test $ac_compiler_gnu = yes; then
13052 ac_test_CXXFLAGS=${CXXFLAGS+set}
13053 ac_save_CXXFLAGS=$CXXFLAGS
13054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
13055 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
13056 if ${ac_cv_prog_cxx_g+:} false; then :
13057 $as_echo_n "(cached) " >&6
13059 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
13060 ac_cxx_werror_flag=yes
13061 ac_cv_prog_cxx_g=no
13063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13064 /* end confdefs.h. */
13074 if ac_fn_cxx_try_compile "$LINENO"; then :
13075 ac_cv_prog_cxx_g=yes
13078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13079 /* end confdefs.h. */
13089 if ac_fn_cxx_try_compile "$LINENO"; then :
13092 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13095 /* end confdefs.h. */
13105 if ac_fn_cxx_try_compile "$LINENO"; then :
13106 ac_cv_prog_cxx_g=yes
13108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13113 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
13116 $as_echo "$ac_cv_prog_cxx_g" >&6; }
13117 if test "$ac_test_CXXFLAGS" = set; then
13118 CXXFLAGS=$ac_save_CXXFLAGS
13119 elif test $ac_cv_prog_cxx_g = yes; then
13120 if test "$GXX" = yes; then
13126 if test "$GXX" = yes; then
13133 ac_cpp='$CPP $CPPFLAGS'
13134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13138 depcc="$CXX" am_compiler_list=
13140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13141 $as_echo_n "checking dependency style of $depcc... " >&6; }
13142 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
13143 $as_echo_n "(cached) " >&6
13145 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13146 # We make a subdir and do the tests there. Otherwise we can end up
13147 # making bogus files that we don't know about and never remove. For
13148 # instance it was reported that on HP-UX the gcc test will end up
13149 # making a dummy file named 'D' -- because '-MD' means "put the output
13151 rm -rf conftest.dir
13153 # Copy depcomp to subdir because otherwise we won't find it if we're
13154 # using a relative directory.
13155 cp "$am_depcomp" conftest.dir
13157 # We will build objects and dependencies in a subdirectory because
13158 # it helps to detect inapplicable dependency modes. For instance
13159 # both Tru64's cc and ICC support -MD to output dependencies as a
13160 # side effect of compilation, but ICC will put the dependencies in
13161 # the current directory while Tru64 will put them in the object
13165 am_cv_CXX_dependencies_compiler_type=none
13166 if test "$am_compiler_list" = ""; then
13167 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13169 am__universal=false
13170 case " $depcc " in #(
13171 *\ -arch\ *\ -arch\ *) am__universal=true ;;
13174 for depmode in $am_compiler_list; do
13175 # Setup a source with many dependencies, because some compilers
13176 # like to wrap large dependency lists on column 80 (with \), and
13177 # we should not choose a depcomp mode which is confused by this.
13179 # We need to recreate these files for each test, as the compiler may
13180 # overwrite some of them when testing with obscure command lines.
13181 # This happens at least with the AIX C compiler.
13183 for i in 1 2 3 4 5 6; do
13184 echo '#include "conftst'$i'.h"' >> sub/conftest.c
13185 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
13186 # Solaris 10 /bin/sh.
13187 echo '/* dummy */' > sub/conftst$i.h
13189 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13191 # We check with '-c' and '-o' for the sake of the "dashmstdout"
13192 # mode. It turns out that the SunPro C++ compiler does not properly
13193 # handle '-M -o', and we need to detect this. Also, some Intel
13194 # versions had trouble with output in subdirs.
13195 am__obj=sub/conftest.${OBJEXT-o}
13196 am__minus_obj="-o $am__obj"
13199 # This depmode causes a compiler race in universal mode.
13200 test "$am__universal" = false || continue
13203 # After this tag, mechanisms are not by side-effect, so they'll
13204 # only be used when explicitly requested.
13205 if test "x$enable_dependency_tracking" = xyes; then
13211 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
13212 # This compiler won't grok '-c -o', but also, the minuso test has
13213 # not run yet. These depmodes are late enough in the game, and
13214 # so weak that their functioning should not be impacted.
13215 am__obj=conftest.${OBJEXT-o}
13220 if depmode=$depmode \
13221 source=sub/conftest.c object=$am__obj \
13222 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13223 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13224 >/dev/null 2>conftest.err &&
13225 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13226 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13227 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13228 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13229 # icc doesn't choke on unknown options, it will just issue warnings
13230 # or remarks (even with -Werror). So we grep stderr for any message
13231 # that says an option was ignored or not supported.
13232 # When given -MP, icc 7.0 and 7.1 complain thusly:
13233 # icc: Command line warning: ignoring option '-M'; no argument required
13234 # The diagnosis changed in icc 8.0:
13235 # icc: Command line remark: option '-MP' not supported
13236 if (grep 'ignoring option' conftest.err ||
13237 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13238 am_cv_CXX_dependencies_compiler_type=$depmode
13245 rm -rf conftest.dir
13247 am_cv_CXX_dependencies_compiler_type=none
13251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
13252 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
13253 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
13256 test "x$enable_dependency_tracking" != xno \
13257 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
13258 am__fastdepCXX_TRUE=
13259 am__fastdepCXX_FALSE='#'
13261 am__fastdepCXX_TRUE='#'
13262 am__fastdepCXX_FALSE=
13268 func_stripname_cnf ()
13271 .*) func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%\\\\@S|@2\$%%"`;;
13272 *) func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%@S|@2\$%%"`;;
13274 } # func_stripname_cnf
13276 if test -n "$CXX" && ( test no != "$CXX" &&
13277 ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
13278 (test g++ != "$CXX"))); then
13280 ac_cpp='$CXXCPP $CPPFLAGS'
13281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13285 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13286 if test -z "$CXXCPP"; then
13287 if ${ac_cv_prog_CXXCPP+:} false; then :
13288 $as_echo_n "(cached) " >&6
13290 # Double quotes because CXXCPP needs to be expanded
13291 for CXXCPP in "$CXX -E" "/lib/cpp"
13293 ac_preproc_ok=false
13294 for ac_cxx_preproc_warn_flag in '' yes
13296 # Use a header file that comes with gcc, so configuring glibc
13297 # with a fresh cross-compiler works.
13298 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13299 # <limits.h> exists even on freestanding compilers.
13300 # On the NeXT, cc -E runs the code through the compiler's parser,
13301 # not just through cpp. "Syntax error" is here to catch this case.
13302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13303 /* end confdefs.h. */
13305 @%:@ include <limits.h>
13307 @%:@ include <assert.h>
13311 if ac_fn_cxx_try_cpp "$LINENO"; then :
13314 # Broken: fails on valid input.
13317 rm -f conftest.err conftest.i conftest.$ac_ext
13319 # OK, works on sane cases. Now check whether nonexistent headers
13320 # can be detected and how.
13321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13322 /* end confdefs.h. */
13323 @%:@include <ac_nonexistent.h>
13325 if ac_fn_cxx_try_cpp "$LINENO"; then :
13326 # Broken: success on invalid input.
13329 # Passes both tests.
13333 rm -f conftest.err conftest.i conftest.$ac_ext
13336 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13337 rm -f conftest.i conftest.err conftest.$ac_ext
13338 if $ac_preproc_ok; then :
13343 ac_cv_prog_CXXCPP=$CXXCPP
13346 CXXCPP=$ac_cv_prog_CXXCPP
13348 ac_cv_prog_CXXCPP=$CXXCPP
13350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13351 $as_echo "$CXXCPP" >&6; }
13352 ac_preproc_ok=false
13353 for ac_cxx_preproc_warn_flag in '' yes
13355 # Use a header file that comes with gcc, so configuring glibc
13356 # with a fresh cross-compiler works.
13357 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13358 # <limits.h> exists even on freestanding compilers.
13359 # On the NeXT, cc -E runs the code through the compiler's parser,
13360 # not just through cpp. "Syntax error" is here to catch this case.
13361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13362 /* end confdefs.h. */
13364 @%:@ include <limits.h>
13366 @%:@ include <assert.h>
13370 if ac_fn_cxx_try_cpp "$LINENO"; then :
13373 # Broken: fails on valid input.
13376 rm -f conftest.err conftest.i conftest.$ac_ext
13378 # OK, works on sane cases. Now check whether nonexistent headers
13379 # can be detected and how.
13380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13381 /* end confdefs.h. */
13382 @%:@include <ac_nonexistent.h>
13384 if ac_fn_cxx_try_cpp "$LINENO"; then :
13385 # Broken: success on invalid input.
13388 # Passes both tests.
13392 rm -f conftest.err conftest.i conftest.$ac_ext
13395 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13396 rm -f conftest.i conftest.err conftest.$ac_ext
13397 if $ac_preproc_ok; then :
13400 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13401 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13402 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
13403 See \`config.log' for more details" "$LINENO" 5; }
13407 ac_cpp='$CPP $CPPFLAGS'
13408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13413 _lt_caught_CXX_error=yes
13417 ac_cpp='$CXXCPP $CPPFLAGS'
13418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13422 archive_cmds_need_lc_CXX=no
13423 allow_undefined_flag_CXX=
13424 always_export_symbols_CXX=no
13425 archive_expsym_cmds_CXX=
13426 compiler_needs_object_CXX=no
13427 export_dynamic_flag_spec_CXX=
13428 hardcode_direct_CXX=no
13429 hardcode_direct_absolute_CXX=no
13430 hardcode_libdir_flag_spec_CXX=
13431 hardcode_libdir_separator_CXX=
13432 hardcode_minus_L_CXX=no
13433 hardcode_shlibpath_var_CXX=unsupported
13434 hardcode_automatic_CXX=no
13435 inherit_rpath_CXX=no
13437 module_expsym_cmds_CXX=
13438 link_all_deplibs_CXX=unknown
13439 old_archive_cmds_CXX=$old_archive_cmds
13440 reload_flag_CXX=$reload_flag
13441 reload_cmds_CXX=$reload_cmds
13442 no_undefined_flag_CXX=
13443 whole_archive_flag_spec_CXX=
13444 enable_shared_with_static_runtimes_CXX=no
13446 # Source file extension for C++ test sources.
13449 # Object file extension for compiled C++ test sources.
13453 # No sense in running all these tests if we already determined that
13454 # the CXX compiler isn't working. Some variables (like enable_shared)
13455 # are currently assumed to apply to all compilers on this platform,
13456 # and will be corrupted by setting them based on a non-working compiler.
13457 if test yes != "$_lt_caught_CXX_error"; then
13458 # Code to be used in simple compile tests
13459 lt_simple_compile_test_code="int some_variable = 0;"
13461 # Code to be used in simple link tests
13462 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
13464 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13471 # If no C compiler was specified, use CC.
13474 # If no C compiler flags were specified, use CFLAGS.
13475 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13477 # Allow CC to be a program name with arguments.
13481 # save warnings/boilerplate of simple test code
13482 ac_outfile=conftest.$ac_objext
13483 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13484 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13485 _lt_compiler_boilerplate=`cat conftest.err`
13488 ac_outfile=conftest.$ac_objext
13489 echo "$lt_simple_link_test_code" >conftest.$ac_ext
13490 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13491 _lt_linker_boilerplate=`cat conftest.err`
13495 # Allow CC to be a program name with arguments.
13497 lt_save_CFLAGS=$CFLAGS
13501 lt_save_with_gnu_ld=$with_gnu_ld
13502 lt_save_path_LD=$lt_cv_path_LD
13503 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13504 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13506 $as_unset lt_cv_prog_gnu_ld
13508 if test -n "${lt_cv_path_LDCXX+set}"; then
13509 lt_cv_path_LD=$lt_cv_path_LDCXX
13511 $as_unset lt_cv_path_LD
13513 test -z "${LDCXX+set}" || LD=$LDCXX
13518 func_cc_basename $compiler
13519 cc_basename=$func_cc_basename_result
13522 if test -n "$compiler"; then
13523 # We don't want -fno-exception when compiling C++ code, so set the
13524 # no_builtin_flag separately
13525 if test yes = "$GXX"; then
13526 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13528 lt_prog_compiler_no_builtin_flag_CXX=
13531 if test yes = "$GXX"; then
13532 # Set up default GNU C++ configuration
13536 @%:@ Check whether --with-gnu-ld was given.
13537 if test "${with_gnu_ld+set}" = set; then :
13538 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
13544 if test yes = "$GCC"; then
13545 # Check if gcc -print-prog-name=ld gives a path.
13546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13547 $as_echo_n "checking for ld used by $CC... " >&6; }
13550 # gcc leaves a trailing carriage return, which upsets mingw
13551 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13553 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13556 # Accept absolute paths.
13558 re_direlt='/[^/][^/]*/\.\./'
13559 # Canonicalize the pathname of ld
13560 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13561 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
13562 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13564 test -z "$LD" && LD=$ac_prog
13567 # If it fails, then pretend we aren't using GCC.
13571 # If it is relative, then search for the first ld in PATH.
13572 with_gnu_ld=unknown
13575 elif test yes = "$with_gnu_ld"; then
13576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13577 $as_echo_n "checking for GNU ld... " >&6; }
13579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13580 $as_echo_n "checking for non-GNU ld... " >&6; }
13582 if ${lt_cv_path_LD+:} false; then :
13583 $as_echo_n "(cached) " >&6
13585 if test -z "$LD"; then
13586 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
13587 for ac_dir in $PATH; do
13589 test -z "$ac_dir" && ac_dir=.
13590 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13591 lt_cv_path_LD=$ac_dir/$ac_prog
13592 # Check to see if the program is GNU ld. I'd rather use --version,
13593 # but apparently some variants of GNU ld only accept -v.
13594 # Break only if it was the GNU/non-GNU ld that we prefer.
13595 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13596 *GNU* | *'with BFD'*)
13597 test no != "$with_gnu_ld" && break
13600 test yes != "$with_gnu_ld" && break
13607 lt_cv_path_LD=$LD # Let the user override the test with a path.
13612 if test -n "$LD"; then
13613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13614 $as_echo "$LD" >&6; }
13616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13617 $as_echo "no" >&6; }
13619 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13621 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13622 if ${lt_cv_prog_gnu_ld+:} false; then :
13623 $as_echo_n "(cached) " >&6
13625 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13626 case `$LD -v 2>&1 </dev/null` in
13627 *GNU* | *'with BFD'*)
13628 lt_cv_prog_gnu_ld=yes
13631 lt_cv_prog_gnu_ld=no
13635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13636 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13637 with_gnu_ld=$lt_cv_prog_gnu_ld
13645 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13646 # archiving commands below assume that GNU ld is being used.
13647 if test yes = "$with_gnu_ld"; then
13648 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
13649 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'
13651 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
13652 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
13654 # If archive_cmds runs LD, not CC, wlarc should be empty
13655 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13656 # investigate it a little bit more. (MM)
13659 # ancient GNU ld didn't support --whole-archive et. al.
13660 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13661 $GREP 'no-whole-archive' > /dev/null; then
13662 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
13664 whole_archive_flag_spec_CXX=
13670 # A generic and very simple default shared library creation
13671 # command for GNU C++ for the case where it uses the native
13672 # linker, instead of GNU ld. If possible, this setting should
13673 # overridden to take advantage of the native linker features on
13674 # the platform it is being used on.
13675 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13678 # Commands to make compiler produce verbose output that lists
13679 # what "hidden" libraries, object files and flags are used when
13680 # linking a shared library.
13681 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13689 # PORTME: fill in a description of your system's C++ link characteristics
13690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13691 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13695 # FIXME: insert proper C++ library support
13699 if test ia64 = "$host_cpu"; then
13700 # On IA64, the linker does run time linking by default, so we don't
13701 # have to do anything special.
13702 aix_use_runtimelinking=no
13703 exp_sym_flag='-Bexport'
13706 aix_use_runtimelinking=no
13708 # Test if we are trying to use run time linking or normal
13709 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13710 # have runtime linking enabled, and use it for executables.
13711 # For shared libraries, we enable/disable runtime linking
13712 # depending on the kind of the shared library created -
13713 # when "with_aix_soname,aix_use_runtimelinking" is:
13714 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
13715 # "aix,yes" lib.so shared, rtl:yes, for executables
13716 # lib.a static archive
13717 # "both,no" lib.so.V(shr.o) shared, rtl:yes
13718 # lib.a(lib.so.V) shared, rtl:no, for executables
13719 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
13720 # lib.a(lib.so.V) shared, rtl:no
13721 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
13722 # lib.a static archive
13723 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13724 for ld_flag in $LDFLAGS; do
13727 aix_use_runtimelinking=yes
13732 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
13733 # With aix-soname=svr4, we create the lib.so.V shared archives only,
13734 # so we don't have lib.a shared libs to link our executables.
13735 # We have to force runtime linking in this case.
13736 aix_use_runtimelinking=yes
13737 LDFLAGS="$LDFLAGS -Wl,-brtl"
13742 exp_sym_flag='-bexport'
13743 no_entry_flag='-bnoentry'
13746 # When large executables or shared objects are built, AIX ld can
13747 # have problems creating the table of contents. If linking a library
13748 # or program results in "error TOC overflow" add -mminimal-toc to
13749 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13750 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13752 archive_cmds_CXX=''
13753 hardcode_direct_CXX=yes
13754 hardcode_direct_absolute_CXX=yes
13755 hardcode_libdir_separator_CXX=':'
13756 link_all_deplibs_CXX=yes
13757 file_list_spec_CXX='$wl-f,'
13758 case $with_aix_soname,$aix_use_runtimelinking in
13759 aix,*) ;; # no import file
13760 svr4,* | *,yes) # use import file
13761 # The Import File defines what to hardcode.
13762 hardcode_direct_CXX=no
13763 hardcode_direct_absolute_CXX=no
13767 if test yes = "$GXX"; then
13768 case $host_os in aix4.[012]|aix4.[012].*)
13769 # We only want to do this on AIX 4.2 and lower, the check
13770 # below for broken collect2 doesn't work under 4.3+
13771 collect2name=`$CC -print-prog-name=collect2`
13772 if test -f "$collect2name" &&
13773 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13775 # We have reworked collect2
13778 # We have old collect2
13779 hardcode_direct_CXX=unsupported
13780 # It fails to find uninstalled libraries when the uninstalled
13781 # path is not listed in the libpath. Setting hardcode_minus_L
13782 # to unsupported forces relinking
13783 hardcode_minus_L_CXX=yes
13784 hardcode_libdir_flag_spec_CXX='-L$libdir'
13785 hardcode_libdir_separator_CXX=
13788 shared_flag='-shared'
13789 if test yes = "$aix_use_runtimelinking"; then
13790 shared_flag=$shared_flag' $wl-G'
13792 # Need to ensure runtime linking is disabled for the traditional
13793 # shared library, or the linker may eventually find shared libraries
13794 # /with/ Import File - we do not want to mix them.
13795 shared_flag_aix='-shared'
13796 shared_flag_svr4='-shared $wl-G'
13799 if test ia64 = "$host_cpu"; then
13800 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13801 # chokes on -Wl,-G. The following line is correct:
13804 if test yes = "$aix_use_runtimelinking"; then
13805 shared_flag='$wl-G'
13807 shared_flag='$wl-bM:SRE'
13809 shared_flag_aix='$wl-bM:SRE'
13810 shared_flag_svr4='$wl-G'
13814 export_dynamic_flag_spec_CXX='$wl-bexpall'
13815 # It seems that -bexpall does not export symbols beginning with
13816 # underscore (_), so it is better to generate a list of symbols to
13818 always_export_symbols_CXX=yes
13819 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
13820 # Warning - without using the other runtime loading flags (-brtl),
13821 # -berok will link without error, but may produce a broken library.
13822 # The "-G" linker flag allows undefined symbols.
13823 no_undefined_flag_CXX='-bernotok'
13824 # Determine the default libpath from the value encoded in an empty
13826 if test set = "${lt_cv_aix_libpath+set}"; then
13827 aix_libpath=$lt_cv_aix_libpath
13829 if ${lt_cv_aix_libpath__CXX+:} false; then :
13830 $as_echo_n "(cached) " >&6
13832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13833 /* end confdefs.h. */
13843 if ac_fn_cxx_try_link "$LINENO"; then :
13845 lt_aix_libpath_sed='
13846 /Import File Strings/,/^$/ {
13848 s/^0 *\([^ ]*\) *$/\1/
13852 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13853 # Check for a 64-bit object if we didn't find anything.
13854 if test -z "$lt_cv_aix_libpath__CXX"; then
13855 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13858 rm -f core conftest.err conftest.$ac_objext \
13859 conftest$ac_exeext conftest.$ac_ext
13860 if test -z "$lt_cv_aix_libpath__CXX"; then
13861 lt_cv_aix_libpath__CXX=/usr/lib:/lib
13866 aix_libpath=$lt_cv_aix_libpath__CXX
13869 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
13871 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
13873 if test ia64 = "$host_cpu"; then
13874 hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
13875 allow_undefined_flag_CXX="-z nodefs"
13876 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"
13878 # Determine the default libpath from the value encoded in an
13879 # empty executable.
13880 if test set = "${lt_cv_aix_libpath+set}"; then
13881 aix_libpath=$lt_cv_aix_libpath
13883 if ${lt_cv_aix_libpath__CXX+:} false; then :
13884 $as_echo_n "(cached) " >&6
13886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13887 /* end confdefs.h. */
13897 if ac_fn_cxx_try_link "$LINENO"; then :
13899 lt_aix_libpath_sed='
13900 /Import File Strings/,/^$/ {
13902 s/^0 *\([^ ]*\) *$/\1/
13906 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13907 # Check for a 64-bit object if we didn't find anything.
13908 if test -z "$lt_cv_aix_libpath__CXX"; then
13909 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13912 rm -f core conftest.err conftest.$ac_objext \
13913 conftest$ac_exeext conftest.$ac_ext
13914 if test -z "$lt_cv_aix_libpath__CXX"; then
13915 lt_cv_aix_libpath__CXX=/usr/lib:/lib
13920 aix_libpath=$lt_cv_aix_libpath__CXX
13923 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
13924 # Warning - without using the other run time loading flags,
13925 # -berok will link without error, but may produce a broken library.
13926 no_undefined_flag_CXX=' $wl-bernotok'
13927 allow_undefined_flag_CXX=' $wl-berok'
13928 if test yes = "$with_gnu_ld"; then
13929 # We only use this code for GNU lds that support --whole-archive.
13930 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
13932 # Exported symbols can be pulled into shared objects from archives
13933 whole_archive_flag_spec_CXX='$convenience'
13935 archive_cmds_need_lc_CXX=yes
13936 archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
13937 # -brtl affects multiple linker settings, -berok does not and is overridden later
13938 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
13939 if test svr4 != "$with_aix_soname"; then
13940 # This is similar to how AIX traditionally builds its shared
13941 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
13942 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
13944 if test aix != "$with_aix_soname"; then
13945 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
13947 # used by -dlpreopen to get the symbols
13948 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
13950 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
13956 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13957 allow_undefined_flag_CXX=unsupported
13958 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13959 # support --undefined. This deserves some investigation. FIXME
13960 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13967 case $cc_basename in
13969 # FIXME: insert proper C++ library support
13975 cygwin* | mingw* | pw32* | cegcc*)
13976 case $GXX,$cc_basename in
13979 # hardcode_libdir_flag_spec is actually meaningless, as there is
13980 # no search path for DLLs.
13981 hardcode_libdir_flag_spec_CXX=' '
13982 allow_undefined_flag_CXX=unsupported
13983 always_export_symbols_CXX=yes
13984 file_list_spec_CXX='@'
13985 # Tell ltmain to make .lib files, not .a files.
13987 # Tell ltmain to make .dll files, not .so files.
13989 # FIXME: Setting linknames here is a bad hack.
13990 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
13991 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
13992 cp "$export_symbols" "$output_objdir/$soname.def";
13993 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
13995 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
13997 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13999 # The linker will not automatically build a static lib if we build a DLL.
14000 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
14001 enable_shared_with_static_runtimes_CXX=yes
14003 old_postinstall_cmds_CXX='chmod 644 $oldlib'
14004 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
14005 lt_tool_outputfile="@TOOL_OUTPUT@"~
14006 case $lt_outputfile in
14009 lt_outputfile=$lt_outputfile.exe
14010 lt_tool_outputfile=$lt_tool_outputfile.exe
14013 func_to_tool_file "$lt_outputfile"~
14014 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
14015 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
14016 $RM "$lt_outputfile.manifest";
14021 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14022 # as there is no search path for DLLs.
14023 hardcode_libdir_flag_spec_CXX='-L$libdir'
14024 export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
14025 allow_undefined_flag_CXX=unsupported
14026 always_export_symbols_CXX=no
14027 enable_shared_with_static_runtimes_CXX=yes
14029 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14030 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'
14031 # If the export-symbols file already is a .def file, use it as
14032 # is; otherwise, prepend EXPORTS...
14033 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
14034 cp $export_symbols $output_objdir/$soname.def;
14036 echo EXPORTS > $output_objdir/$soname.def;
14037 cat $export_symbols >> $output_objdir/$soname.def;
14039 $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'
14046 darwin* | rhapsody*)
14049 archive_cmds_need_lc_CXX=no
14050 hardcode_direct_CXX=no
14051 hardcode_automatic_CXX=yes
14052 hardcode_shlibpath_var_CXX=unsupported
14053 if test yes = "$lt_cv_ld_force_load"; then
14054 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\"`'
14057 whole_archive_flag_spec_CXX=''
14059 link_all_deplibs_CXX=yes
14060 allow_undefined_flag_CXX=$_lt_dar_allow_undefined
14061 case $cc_basename in
14062 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
14063 *) _lt_dar_can_shared=$GCC ;;
14065 if test yes = "$_lt_dar_can_shared"; then
14066 output_verbose_link_cmd=func_echo_all
14067 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"
14068 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
14069 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"
14070 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"
14071 if test yes != "$lt_cv_apple_cc_single_mod"; then
14072 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"
14073 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"
14083 hardcode_libdir_flag_spec_CXX='-L$libdir'
14084 hardcode_minus_L_CXX=yes
14085 allow_undefined_flag_CXX=unsupported
14087 archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14088 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14089 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14090 $ECHO EXPORTS >> $output_objdir/$libname.def~
14091 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
14092 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14093 emximp -o $lib $output_objdir/$libname.def'
14094 archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14095 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14096 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14097 $ECHO EXPORTS >> $output_objdir/$libname.def~
14098 prefix_cmds="$SED"~
14099 if test EXPORTS = "`$SED 1q $export_symbols`"; then
14100 prefix_cmds="$prefix_cmds -e 1d";
14102 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
14103 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
14104 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14105 emximp -o $lib $output_objdir/$libname.def'
14106 old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
14107 enable_shared_with_static_runtimes_CXX=yes
14111 case $cc_basename in
14113 # FIXME: insert proper C++ library support
14117 # Green Hills C++ Compiler
14118 # FIXME: insert proper C++ library support
14122 # FIXME: insert proper C++ library support
14129 # C++ shared libraries reported to be fairly broken before
14135 archive_cmds_need_lc_CXX=no
14138 freebsd* | dragonfly*)
14139 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14145 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14146 link_all_deplibs_CXX=yes
14150 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
14151 hardcode_libdir_separator_CXX=:
14152 export_dynamic_flag_spec_CXX='$wl-E'
14153 hardcode_direct_CXX=yes
14154 hardcode_minus_L_CXX=yes # Not in the search PATH,
14155 # but as the default
14156 # location of the library.
14158 case $cc_basename in
14160 # FIXME: insert proper C++ library support
14164 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 "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
14165 # Commands to make compiler produce verbose output that lists
14166 # what "hidden" libraries, object files and flags are used when
14167 # linking a shared library.
14169 # There doesn't appear to be a way to prevent this compiler from
14170 # explicitly linking system object files so we need to strip them
14171 # from the output so that they don't get included in the library
14173 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"'
14176 if test yes = "$GXX"; then
14177 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 "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
14179 # FIXME: insert proper C++ library support
14187 if test no = "$with_gnu_ld"; then
14188 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
14189 hardcode_libdir_separator_CXX=:
14195 export_dynamic_flag_spec_CXX='$wl-E'
14201 hardcode_direct_CXX=no
14202 hardcode_shlibpath_var_CXX=no
14205 hardcode_direct_CXX=yes
14206 hardcode_direct_absolute_CXX=yes
14207 hardcode_minus_L_CXX=yes # Not in the search PATH,
14208 # but as the default
14209 # location of the library.
14213 case $cc_basename in
14215 # FIXME: insert proper C++ library support
14221 archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14224 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14227 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14230 # Commands to make compiler produce verbose output that lists
14231 # what "hidden" libraries, object files and flags are used when
14232 # linking a shared library.
14234 # There doesn't appear to be a way to prevent this compiler from
14235 # explicitly linking system object files so we need to strip them
14236 # from the output so that they don't get included in the library
14238 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"'
14241 if test yes = "$GXX"; then
14242 if test no = "$with_gnu_ld"; then
14245 archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14248 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14251 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'
14256 # FIXME: insert proper C++ library support
14264 hardcode_direct_CXX=no
14265 hardcode_shlibpath_var_CXX=no
14266 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14267 export_dynamic_flag_spec_CXX='$wl-E'
14268 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14269 # Instead, shared libraries are loaded at an image base (0x10000000 by
14270 # default) and relocated if they conflict, which is a slow very memory
14271 # consuming and fragmenting process. To avoid this, we pick a random,
14272 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14273 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14274 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'
14275 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'
14278 case $cc_basename in
14281 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'
14283 # Archives containing C++ object files must be created using
14284 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
14285 # necessary to make sure instantiated templates are included
14287 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
14290 if test yes = "$GXX"; then
14291 if test no = "$with_gnu_ld"; then
14292 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'
14294 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'
14297 link_all_deplibs_CXX=yes
14300 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14301 hardcode_libdir_separator_CXX=:
14302 inherit_rpath_CXX=yes
14305 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14306 case $cc_basename in
14308 # Kuck and Associates, Inc. (KAI) C++ Compiler
14310 # KCC will only create a shared library if the output file
14311 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14312 # to its proper name (with version) after linking.
14313 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'
14314 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'
14315 # Commands to make compiler produce verbose output that lists
14316 # what "hidden" libraries, object files and flags are used when
14317 # linking a shared library.
14319 # There doesn't appear to be a way to prevent this compiler from
14320 # explicitly linking system object files so we need to strip them
14321 # from the output so that they don't get included in the library
14323 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"'
14325 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14326 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14328 # Archives containing C++ object files must be created using
14329 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14330 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14335 # version 8.0 and above of icpc choke on multiply defined symbols
14336 # if we add $predep_objects and $postdep_objects, however 7.1 and
14337 # earlier do not add the objects themselves.
14338 case `$CC -V 2>&1` in
14340 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14341 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'
14343 *) # Version 8.0 or newer
14346 ia64*) tmp_idyn=' -i_dynamic';;
14348 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14349 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'
14352 archive_cmds_need_lc_CXX=no
14353 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14354 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14355 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
14358 # Portland Group C++ compiler
14360 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
14361 prelink_cmds_CXX='tpldir=Template.dir~
14363 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14364 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
14365 old_archive_cmds_CXX='tpldir=Template.dir~
14367 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14368 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
14370 archive_cmds_CXX='tpldir=Template.dir~
14372 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14373 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14374 archive_expsym_cmds_CXX='tpldir=Template.dir~
14376 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14377 $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'
14379 *) # Version 6 and above use weak symbols
14380 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14381 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'
14385 hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
14386 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14387 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'
14391 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14392 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'
14394 runpath_var=LD_RUN_PATH
14395 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14396 hardcode_libdir_separator_CXX=:
14398 # Commands to make compiler produce verbose output that lists
14399 # what "hidden" libraries, object files and flags are used when
14400 # linking a shared library.
14402 # There doesn't appear to be a way to prevent this compiler from
14403 # explicitly linking system object files so we need to strip them
14404 # from the output so that they don't get included in the library
14406 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'
14408 xl* | mpixl* | bgxl*)
14409 # IBM XL 8.0 on PPC, with GNU ld
14410 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14411 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14412 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14413 if test yes = "$supports_anon_versioning"; then
14414 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
14415 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14416 echo "local: *; };" >> $output_objdir/$libname.ver~
14417 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
14421 case `$CC -V 2>&1 | sed 5q` in
14424 no_undefined_flag_CXX=' -zdefs'
14425 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14426 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'
14427 hardcode_libdir_flag_spec_CXX='-R$libdir'
14428 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'
14429 compiler_needs_object_CXX=yes
14431 # Not sure whether something based on
14432 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14434 output_verbose_link_cmd='func_echo_all'
14436 # Archives containing C++ object files must be created using
14437 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14438 # necessary to make sure instantiated templates are included
14440 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14448 # FIXME: insert proper C++ library support
14453 # FIXME: insert proper C++ library support
14458 case $cc_basename in
14460 # FIXME: insert proper C++ library support
14464 # FIXME: insert proper C++ library support
14471 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14472 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14474 hardcode_libdir_flag_spec_CXX='-R$libdir'
14475 hardcode_direct_CXX=yes
14476 hardcode_shlibpath_var_CXX=no
14478 # Workaround some broken pre-1.5 toolchains
14479 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14486 openbsd* | bitrig*)
14487 if test -f /usr/libexec/ld.so; then
14488 hardcode_direct_CXX=yes
14489 hardcode_shlibpath_var_CXX=no
14490 hardcode_direct_absolute_CXX=yes
14491 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14492 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14493 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
14494 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
14495 export_dynamic_flag_spec_CXX='$wl-E'
14496 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
14498 output_verbose_link_cmd=func_echo_all
14504 osf3* | osf4* | osf5*)
14505 case $cc_basename in
14507 # Kuck and Associates, Inc. (KAI) C++ Compiler
14509 # KCC will only create a shared library if the output file
14510 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14511 # to its proper name (with version) after linking.
14512 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'
14514 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14515 hardcode_libdir_separator_CXX=:
14517 # Archives containing C++ object files must be created using
14518 # the KAI C++ compiler.
14520 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
14521 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
14525 # Rational C++ 2.4.1
14526 # FIXME: insert proper C++ library support
14532 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
14533 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'
14534 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14537 allow_undefined_flag_CXX=' -expect_unresolved \*'
14538 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'
14539 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14540 echo "-hidden">> $lib.exp~
14541 $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~
14543 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14547 hardcode_libdir_separator_CXX=:
14549 # Commands to make compiler produce verbose output that lists
14550 # what "hidden" libraries, object files and flags are used when
14551 # linking a shared library.
14553 # There doesn't appear to be a way to prevent this compiler from
14554 # explicitly linking system object files so we need to strip them
14555 # from the output so that they don't get included in the library
14557 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"'
14560 if test yes,no = "$GXX,$with_gnu_ld"; then
14561 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
14564 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'
14567 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'
14571 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14572 hardcode_libdir_separator_CXX=:
14574 # Commands to make compiler produce verbose output that lists
14575 # what "hidden" libraries, object files and flags are used when
14576 # linking a shared library.
14577 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14580 # FIXME: insert proper C++ library support
14588 # FIXME: insert proper C++ library support
14593 case $cc_basename in
14596 # FIXME: insert proper C++ library support
14601 # FIXME: insert proper C++ library support
14605 # FIXME: insert proper C++ library support
14612 case $cc_basename in
14614 # Sun C++ 4.2, 5.x and Centerline C++
14615 archive_cmds_need_lc_CXX=yes
14616 no_undefined_flag_CXX=' -zdefs'
14617 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14618 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14619 $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'
14621 hardcode_libdir_flag_spec_CXX='-R$libdir'
14622 hardcode_shlibpath_var_CXX=no
14624 solaris2.[0-5] | solaris2.[0-5].*) ;;
14626 # The compiler driver will combine and reorder linker options,
14627 # but understands '-z linker_flag'.
14628 # Supported since Solaris 2.6 (maybe 2.5.1?)
14629 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
14632 link_all_deplibs_CXX=yes
14634 output_verbose_link_cmd='func_echo_all'
14636 # Archives containing C++ object files must be created using
14637 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14638 # necessary to make sure instantiated templates are included
14640 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14643 # Green Hills C++ Compiler
14644 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14646 # The C++ compiler must be used to create the archive.
14647 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14650 # GNU C++ compiler with Solaris linker
14651 if test yes,no = "$GXX,$with_gnu_ld"; then
14652 no_undefined_flag_CXX=' $wl-z ${wl}defs'
14653 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
14654 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14655 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14656 $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14658 # Commands to make compiler produce verbose output that lists
14659 # what "hidden" libraries, object files and flags are used when
14660 # linking a shared library.
14661 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14663 # g++ 2.7 appears to require '-G' NOT '-shared' on this
14665 archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14666 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14667 $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14669 # Commands to make compiler produce verbose output that lists
14670 # what "hidden" libraries, object files and flags are used when
14671 # linking a shared library.
14672 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14675 hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
14677 solaris2.[0-5] | solaris2.[0-5].*) ;;
14679 whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
14687 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14688 no_undefined_flag_CXX='$wl-z,text'
14689 archive_cmds_need_lc_CXX=no
14690 hardcode_shlibpath_var_CXX=no
14691 runpath_var='LD_RUN_PATH'
14693 case $cc_basename in
14695 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14696 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14699 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14700 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14705 sysv5* | sco3.2v5* | sco5v6*)
14706 # Note: We CANNOT use -z defs as we might desire, because we do not
14707 # link with -lc, and that would cause any symbols used from libc to
14708 # always be unresolved, which means just about no library would
14709 # ever link correctly. If we're not using GNU ld we use -z text
14710 # though, which does catch some bad symbols but isn't as heavy-handed
14712 no_undefined_flag_CXX='$wl-z,text'
14713 allow_undefined_flag_CXX='$wl-z,nodefs'
14714 archive_cmds_need_lc_CXX=no
14715 hardcode_shlibpath_var_CXX=no
14716 hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
14717 hardcode_libdir_separator_CXX=':'
14718 link_all_deplibs_CXX=yes
14719 export_dynamic_flag_spec_CXX='$wl-Bexport'
14720 runpath_var='LD_RUN_PATH'
14722 case $cc_basename in
14724 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14725 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14726 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
14727 '"$old_archive_cmds_CXX"
14728 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
14729 '"$reload_cmds_CXX"
14732 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14733 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14739 case $cc_basename in
14741 # NonStop-UX NCC 3.20
14742 # FIXME: insert proper C++ library support
14746 # FIXME: insert proper C++ library support
14753 # FIXME: insert proper C++ library support
14758 # FIXME: insert proper C++ library support
14763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14764 $as_echo "$ld_shlibs_CXX" >&6; }
14765 test no = "$ld_shlibs_CXX" && can_build_shared=no
14771 ## There is no encapsulation within the following macros, do not change
14772 ## the running order or otherwise move them around unless you know exactly
14773 ## what you are doing...
14774 # Dependencies to place before and after the object being linked:
14775 predep_objects_CXX=
14776 postdep_objects_CXX=
14779 compiler_lib_search_path_CXX=
14781 cat > conftest.$ac_ext <<_LT_EOF
14785 Foo (void) { a = 0; }
14792 _lt_libdeps_save_CFLAGS=$CFLAGS
14793 case "$CC $CFLAGS " in #(
14794 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
14795 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
14796 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
14799 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14800 (eval $ac_compile) 2>&5
14802 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14803 test $ac_status = 0; }; then
14804 # Parse the compiler output and extract the necessary
14805 # objects, libraries and library flags.
14807 # Sentinel used to keep track of whether or not we are before
14808 # the conftest object file.
14809 pre_test_object_deps_done=no
14811 for p in `eval "$output_verbose_link_cmd"`; do
14815 # Some compilers place space between "-{L,R}" and the path.
14816 # Remove the space.
14817 if test x-L = "$p" ||
14818 test x-R = "$p"; then
14823 # Expand the sysroot to ease extracting the directories later.
14824 if test -z "$prev"; then
14826 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
14827 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
14828 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
14832 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
14834 if test no = "$pre_test_object_deps_done"; then
14837 # Internal compiler library paths should come after those
14838 # provided the user. The postdeps already come after the
14839 # user supplied libs so there is no need to process them.
14840 if test -z "$compiler_lib_search_path_CXX"; then
14841 compiler_lib_search_path_CXX=$prev$p
14843 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
14846 # The "-l" case would never come before the object being
14847 # linked, so don't bother handling this case.
14850 if test -z "$postdeps_CXX"; then
14851 postdeps_CXX=$prev$p
14853 postdeps_CXX="${postdeps_CXX} $prev$p"
14859 *.lto.$objext) ;; # Ignore GCC LTO objects
14861 # This assumes that the test object file only shows up
14862 # once in the compiler output.
14863 if test "$p" = "conftest.$objext"; then
14864 pre_test_object_deps_done=yes
14868 if test no = "$pre_test_object_deps_done"; then
14869 if test -z "$predep_objects_CXX"; then
14870 predep_objects_CXX=$p
14872 predep_objects_CXX="$predep_objects_CXX $p"
14875 if test -z "$postdep_objects_CXX"; then
14876 postdep_objects_CXX=$p
14878 postdep_objects_CXX="$postdep_objects_CXX $p"
14883 *) ;; # Ignore the rest.
14891 echo "libtool.m4: error: problem compiling CXX test program"
14894 $RM -f confest.$objext
14895 CFLAGS=$_lt_libdeps_save_CFLAGS
14897 # PORTME: override above test on systems where it is broken
14900 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14901 # hack all around it, let's just trust "g++" to DTRT.
14902 predep_objects_CXX=
14903 postdep_objects_CXX=
14909 case " $postdeps_CXX " in
14910 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
14912 compiler_lib_search_dirs_CXX=
14913 if test -n "${compiler_lib_search_path_CXX}"; then
14914 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
14947 lt_prog_compiler_wl_CXX=
14948 lt_prog_compiler_pic_CXX=
14949 lt_prog_compiler_static_CXX=
14952 # C++ specific cases for pic, static, wl, etc.
14953 if test yes = "$GXX"; then
14954 lt_prog_compiler_wl_CXX='-Wl,'
14955 lt_prog_compiler_static_CXX='-static'
14959 # All AIX code is PIC.
14960 if test ia64 = "$host_cpu"; then
14961 # AIX 5 now supports IA64 processor
14962 lt_prog_compiler_static_CXX='-Bstatic'
14964 lt_prog_compiler_pic_CXX='-fPIC'
14970 # see comment about AmigaOS4 .so support
14971 lt_prog_compiler_pic_CXX='-fPIC'
14974 # FIXME: we need at least 68020 code to build shared libraries, but
14975 # adding the '-m68020' flag to GCC prevents building anything better,
14977 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14982 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14983 # PIC is the default for these OSes.
14985 mingw* | cygwin* | os2* | pw32* | cegcc*)
14986 # This hack is so that the source file can tell whether it is being
14987 # built for inclusion in a dll (and should export symbols for example).
14988 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14989 # (--disable-auto-import) libraries
14990 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14993 lt_prog_compiler_static_CXX='$wl-static'
14997 darwin* | rhapsody*)
14998 # PIC is the default on this platform
14999 # Common symbols not allowed in MH_DYLIB files
15000 lt_prog_compiler_pic_CXX='-fno-common'
15003 # DJGPP does not support shared libraries at all
15004 lt_prog_compiler_pic_CXX=
15007 # PIC is the default for Haiku.
15008 # The "-static" flag exists, but is broken.
15009 lt_prog_compiler_static_CXX=
15012 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15013 # Instead, we relocate shared libraries at runtime.
15016 if test -d /usr/nec; then
15017 lt_prog_compiler_pic_CXX=-Kconform_pic
15021 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15022 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
15023 # sets the default TLS model and affects inlining.
15028 lt_prog_compiler_pic_CXX='-fPIC'
15033 # QNX uses GNU C++, but need to define -shared option too, otherwise
15034 # it will coredump.
15035 lt_prog_compiler_pic_CXX='-fPIC -shared'
15038 lt_prog_compiler_pic_CXX='-fPIC'
15044 # All AIX code is PIC.
15045 if test ia64 = "$host_cpu"; then
15046 # AIX 5 now supports IA64 processor
15047 lt_prog_compiler_static_CXX='-Bstatic'
15049 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
15053 case $cc_basename in
15055 # Green Hills C++ Compiler
15056 # _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"
15060 mingw* | cygwin* | os2* | pw32* | cegcc*)
15061 # This hack is so that the source file can tell whether it is being
15062 # built for inclusion in a dll (and should export symbols for example).
15063 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15066 case $cc_basename in
15068 lt_prog_compiler_pic_CXX='-KPIC'
15071 # Green Hills C++ Compiler
15072 lt_prog_compiler_pic_CXX='-pic'
15078 freebsd* | dragonfly*)
15079 # FreeBSD uses GNU C++
15081 hpux9* | hpux10* | hpux11*)
15082 case $cc_basename in
15084 lt_prog_compiler_wl_CXX='-Wl,'
15085 lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
15086 if test ia64 != "$host_cpu"; then
15087 lt_prog_compiler_pic_CXX='+Z'
15091 lt_prog_compiler_wl_CXX='-Wl,'
15092 lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
15098 lt_prog_compiler_pic_CXX='+Z'
15107 # This is c89, which is MS Visual C++ (no shared libs)
15108 # Anyone wants to do a port?
15110 irix5* | irix6* | nonstopux*)
15111 case $cc_basename in
15113 lt_prog_compiler_wl_CXX='-Wl,'
15114 lt_prog_compiler_static_CXX='-non_shared'
15115 # CC pic flag -KPIC is the default.
15121 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15122 case $cc_basename in
15125 lt_prog_compiler_wl_CXX='--backend -Wl,'
15126 lt_prog_compiler_pic_CXX='-fPIC'
15129 # old Intel C++ for x86_64, which still supported -KPIC.
15130 lt_prog_compiler_wl_CXX='-Wl,'
15131 lt_prog_compiler_pic_CXX='-KPIC'
15132 lt_prog_compiler_static_CXX='-static'
15135 # Intel C++, used to be incompatible with GCC.
15136 # ICC 10 doesn't accept -KPIC any more.
15137 lt_prog_compiler_wl_CXX='-Wl,'
15138 lt_prog_compiler_pic_CXX='-fPIC'
15139 lt_prog_compiler_static_CXX='-static'
15142 # Portland Group C++ compiler
15143 lt_prog_compiler_wl_CXX='-Wl,'
15144 lt_prog_compiler_pic_CXX='-fpic'
15145 lt_prog_compiler_static_CXX='-Bstatic'
15149 # Make sure the PIC flag is empty. It appears that all Alpha
15150 # Linux and Compaq Tru64 Unix objects are PIC.
15151 lt_prog_compiler_pic_CXX=
15152 lt_prog_compiler_static_CXX='-non_shared'
15154 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
15155 # IBM XL 8.0, 9.0 on PPC and BlueGene
15156 lt_prog_compiler_wl_CXX='-Wl,'
15157 lt_prog_compiler_pic_CXX='-qpic'
15158 lt_prog_compiler_static_CXX='-qstaticlink'
15161 case `$CC -V 2>&1 | sed 5q` in
15164 lt_prog_compiler_pic_CXX='-KPIC'
15165 lt_prog_compiler_static_CXX='-Bstatic'
15166 lt_prog_compiler_wl_CXX='-Qoption ld '
15177 case $cc_basename in
15179 lt_prog_compiler_pic_CXX='-W c,exportall'
15185 netbsd* | netbsdelf*-gnu)
15188 # QNX uses GNU C++, but need to define -shared option too, otherwise
15189 # it will coredump.
15190 lt_prog_compiler_pic_CXX='-fPIC -shared'
15192 osf3* | osf4* | osf5*)
15193 case $cc_basename in
15195 lt_prog_compiler_wl_CXX='--backend -Wl,'
15198 # Rational C++ 2.4.1
15199 lt_prog_compiler_pic_CXX='-pic'
15202 # Digital/Compaq C++
15203 lt_prog_compiler_wl_CXX='-Wl,'
15204 # Make sure the PIC flag is empty. It appears that all Alpha
15205 # Linux and Compaq Tru64 Unix objects are PIC.
15206 lt_prog_compiler_pic_CXX=
15207 lt_prog_compiler_static_CXX='-non_shared'
15216 case $cc_basename in
15218 # Sun C++ 4.2, 5.x and Centerline C++
15219 lt_prog_compiler_pic_CXX='-KPIC'
15220 lt_prog_compiler_static_CXX='-Bstatic'
15221 lt_prog_compiler_wl_CXX='-Qoption ld '
15224 # Green Hills C++ Compiler
15225 lt_prog_compiler_pic_CXX='-PIC'
15232 case $cc_basename in
15235 lt_prog_compiler_pic_CXX='-pic'
15236 lt_prog_compiler_static_CXX='-Bstatic'
15240 lt_prog_compiler_pic_CXX='-pic'
15246 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15247 case $cc_basename in
15249 lt_prog_compiler_wl_CXX='-Wl,'
15250 lt_prog_compiler_pic_CXX='-KPIC'
15251 lt_prog_compiler_static_CXX='-Bstatic'
15256 case $cc_basename in
15258 # NonStop-UX NCC 3.20
15259 lt_prog_compiler_pic_CXX='-KPIC'
15268 lt_prog_compiler_can_build_shared_CXX=no
15274 # For platforms that do not support PIC, -DPIC is meaningless:
15276 lt_prog_compiler_pic_CXX=
15279 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX@&t@ -DPIC"
15283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15284 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15285 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
15286 $as_echo_n "(cached) " >&6
15288 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
15290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
15291 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
15292 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
15295 # Check to make sure the PIC flag actually works.
15297 if test -n "$lt_prog_compiler_pic_CXX"; then
15298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15299 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15300 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
15301 $as_echo_n "(cached) " >&6
15303 lt_cv_prog_compiler_pic_works_CXX=no
15304 ac_outfile=conftest.$ac_objext
15305 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15306 lt_compiler_flag="$lt_prog_compiler_pic_CXX@&t@ -DPIC" ## exclude from sc_useless_quotes_in_assignment
15307 # Insert the option either (1) after the last *FLAGS variable, or
15308 # (2) before a word containing "conftest.", or (3) at the end.
15309 # Note that $ac_compile itself does not contain backslashes and begins
15310 # with a dollar sign (not a hyphen), so the echo should work correctly.
15311 # The option is referenced via a variable to avoid confusing sed.
15312 lt_compile=`echo "$ac_compile" | $SED \
15313 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15314 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15315 -e 's:$: $lt_compiler_flag:'`
15316 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15317 (eval "$lt_compile" 2>conftest.err)
15319 cat conftest.err >&5
15320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15321 if (exit $ac_status) && test -s "$ac_outfile"; then
15322 # The compiler can only warn and ignore the option if not recognized
15323 # So say no if there are warnings other than the usual output.
15324 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
15325 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15326 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15327 lt_cv_prog_compiler_pic_works_CXX=yes
15333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15334 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15336 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
15337 case $lt_prog_compiler_pic_CXX in
15339 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
15342 lt_prog_compiler_pic_CXX=
15343 lt_prog_compiler_can_build_shared_CXX=no
15353 # Check to make sure the static flag actually works.
15355 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
15356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15357 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15358 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
15359 $as_echo_n "(cached) " >&6
15361 lt_cv_prog_compiler_static_works_CXX=no
15362 save_LDFLAGS=$LDFLAGS
15363 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15364 echo "$lt_simple_link_test_code" > conftest.$ac_ext
15365 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15366 # The linker can only warn and ignore the option if not recognized
15367 # So say no if there are warnings
15368 if test -s conftest.err; then
15369 # Append any errors to the config.log.
15370 cat conftest.err 1>&5
15371 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
15372 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15373 if diff conftest.exp conftest.er2 >/dev/null; then
15374 lt_cv_prog_compiler_static_works_CXX=yes
15377 lt_cv_prog_compiler_static_works_CXX=yes
15381 LDFLAGS=$save_LDFLAGS
15384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15385 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15387 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
15390 lt_prog_compiler_static_CXX=
15396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15397 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15398 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15399 $as_echo_n "(cached) " >&6
15401 lt_cv_prog_compiler_c_o_CXX=no
15402 $RM -r conftest 2>/dev/null
15406 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15408 lt_compiler_flag="-o out/conftest2.$ac_objext"
15409 # Insert the option either (1) after the last *FLAGS variable, or
15410 # (2) before a word containing "conftest.", or (3) at the end.
15411 # Note that $ac_compile itself does not contain backslashes and begins
15412 # with a dollar sign (not a hyphen), so the echo should work correctly.
15413 lt_compile=`echo "$ac_compile" | $SED \
15414 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15415 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15416 -e 's:$: $lt_compiler_flag:'`
15417 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15418 (eval "$lt_compile" 2>out/conftest.err)
15420 cat out/conftest.err >&5
15421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15422 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15424 # The compiler can only warn and ignore the option if not recognized
15425 # So say no if there are warnings
15426 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15427 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15428 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15429 lt_cv_prog_compiler_c_o_CXX=yes
15434 # SGI C++ compiler will create directory out/ii_files/ for
15435 # template instantiation
15436 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15437 $RM out/* && rmdir out
15443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15444 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15449 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15450 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15451 $as_echo_n "(cached) " >&6
15453 lt_cv_prog_compiler_c_o_CXX=no
15454 $RM -r conftest 2>/dev/null
15458 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15460 lt_compiler_flag="-o out/conftest2.$ac_objext"
15461 # Insert the option either (1) after the last *FLAGS variable, or
15462 # (2) before a word containing "conftest.", or (3) at the end.
15463 # Note that $ac_compile itself does not contain backslashes and begins
15464 # with a dollar sign (not a hyphen), so the echo should work correctly.
15465 lt_compile=`echo "$ac_compile" | $SED \
15466 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15467 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15468 -e 's:$: $lt_compiler_flag:'`
15469 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15470 (eval "$lt_compile" 2>out/conftest.err)
15472 cat out/conftest.err >&5
15473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15474 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15476 # The compiler can only warn and ignore the option if not recognized
15477 # So say no if there are warnings
15478 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15479 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15480 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15481 lt_cv_prog_compiler_c_o_CXX=yes
15486 # SGI C++ compiler will create directory out/ii_files/ for
15487 # template instantiation
15488 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15489 $RM out/* && rmdir out
15495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15496 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15501 hard_links=nottested
15502 if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
15503 # do not overwrite the value of need_locks provided by the user
15504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15505 $as_echo_n "checking if we can lock with hard links... " >&6; }
15508 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15510 ln conftest.a conftest.b 2>&5 || hard_links=no
15511 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15513 $as_echo "$hard_links" >&6; }
15514 if test no = "$hard_links"; then
15515 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
15516 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
15525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15526 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15528 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15529 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15532 # If we're using GNU nm, then we don't want the "-C" option.
15533 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
15534 # Without the "-l" option, or with the "-B" option, AIX nm treats
15535 # weak defined symbols like other global defined symbols, whereas
15536 # GNU nm marks them as "W".
15537 # While the 'weak' keyword is ignored in the Export File, we need
15538 # it in the Import File for the 'aix-soname' feature, so we have
15539 # to replace the "-B" option with "-P" for AIX nm.
15540 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
15541 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
15543 export_symbols_cmds_CXX='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
15547 export_symbols_cmds_CXX=$ltdll_cmds
15549 cygwin* | mingw* | cegcc*)
15550 case $cc_basename in
15552 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
15555 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'
15556 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
15560 linux* | k*bsd*-gnu | gnu*)
15561 link_all_deplibs_CXX=no
15564 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15569 $as_echo "$ld_shlibs_CXX" >&6; }
15570 test no = "$ld_shlibs_CXX" && can_build_shared=no
15572 with_gnu_ld_CXX=$with_gnu_ld
15580 # Do we need to explicitly link libc?
15582 case "x$archive_cmds_need_lc_CXX" in
15584 # Assume -lc should be added
15585 archive_cmds_need_lc_CXX=yes
15587 if test yes,yes = "$GCC,$enable_shared"; then
15588 case $archive_cmds_CXX in
15590 # FIXME: we may have to deal with multi-command sequences.
15593 # Test whether the compiler implicitly links with -lc since on some
15594 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15595 # to ld, don't add -lc before -lgcc.
15596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15597 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15598 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
15599 $as_echo_n "(cached) " >&6
15602 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15604 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15605 (eval $ac_compile) 2>&5
15607 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15608 test $ac_status = 0; } 2>conftest.err; then
15611 libobjs=conftest.$ac_objext
15613 wl=$lt_prog_compiler_wl_CXX
15614 pic_flag=$lt_prog_compiler_pic_CXX
15620 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
15621 allow_undefined_flag_CXX=
15622 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15623 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15625 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15626 test $ac_status = 0; }
15628 lt_cv_archive_cmds_need_lc_CXX=no
15630 lt_cv_archive_cmds_need_lc_CXX=yes
15632 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
15634 cat conftest.err 1>&5
15639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15640 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15641 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
15709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15710 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15712 library_names_spec=
15713 libname_spec='lib$name'
15717 postuninstall_cmds=
15721 shlibpath_overrides_runpath=unknown
15723 dynamic_linker="$host_os ld.so"
15724 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15725 need_lib_prefix=unknown
15726 hardcode_into_libs=no
15728 # when you set need_version to no, make sure it does not cause -set_version
15729 # flags to be left without arguments
15730 need_version=unknown
15736 version_type=linux # correct to gnu/linux during the next big refactor
15737 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
15738 shlibpath_var=LIBPATH
15740 # AIX 3 has no versioning support, so we append a major version to the name.
15741 soname_spec='$libname$release$shared_ext$major'
15745 version_type=linux # correct to gnu/linux during the next big refactor
15748 hardcode_into_libs=yes
15749 if test ia64 = "$host_cpu"; then
15750 # AIX 5 supports IA64
15751 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
15752 shlibpath_var=LD_LIBRARY_PATH
15754 # With GCC up to 2.95.x, collect2 would create an import file
15755 # for dependence libraries. The import file would start with
15756 # the line '#! .'. This would cause the generated library to
15757 # depend on '.', always an invalid library. This was fixed in
15758 # development snapshots of GCC prior to 3.0.
15760 aix4 | aix4.[01] | aix4.[01].*)
15761 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15763 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
15766 can_build_shared=no
15770 # Using Import Files as archive members, it is possible to support
15771 # filename-based versioning of shared library archives on AIX. While
15772 # this would work for both with and without runtime linking, it will
15773 # prevent static linking of such archives. So we do filename-based
15774 # shared library versioning with .so extension only, which is used
15775 # when both runtime linking and shared linking is enabled.
15776 # Unfortunately, runtime linking may impact performance, so we do
15777 # not want this to be the default eventually. Also, we use the
15778 # versioned .so libs for executables only if there is the -brtl
15779 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
15780 # To allow for filename-based versioning support, we need to create
15781 # libNAME.so.V as an archive file, containing:
15782 # *) an Import File, referring to the versioned filename of the
15783 # archive as well as the shared archive member, telling the
15784 # bitwidth (32 or 64) of that shared object, and providing the
15785 # list of exported symbols of that shared object, eventually
15786 # decorated with the 'weak' keyword
15787 # *) the shared object with the F_LOADONLY flag set, to really avoid
15788 # it being seen by the linker.
15789 # At run time we better use the real file rather than another symlink,
15790 # but for link time we create the symlink libNAME.so -> libNAME.so.V
15792 case $with_aix_soname,$aix_use_runtimelinking in
15793 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
15794 # soname into executable. Probably we can add versioning support to
15795 # collect2, so additional links can be useful in future.
15796 aix,yes) # traditional libtool
15797 dynamic_linker='AIX unversionable lib.so'
15798 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15799 # instead of lib<name>.a to let people know that these are not
15800 # typical AIX shared libraries.
15801 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15803 aix,no) # traditional AIX only
15804 dynamic_linker='AIX lib.a(lib.so.V)'
15805 # We preserve .a as extension for shared libraries through AIX4.2
15806 # and later when we are not doing run time linking.
15807 library_names_spec='$libname$release.a $libname.a'
15808 soname_spec='$libname$release$shared_ext$major'
15810 svr4,*) # full svr4 only
15811 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
15812 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
15813 # We do not specify a path in Import Files, so LIBPATH fires.
15814 shlibpath_overrides_runpath=yes
15816 *,yes) # both, prefer svr4
15817 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
15818 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
15819 # unpreferred sharedlib libNAME.a needs extra handling
15820 postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
15821 postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
15822 # We do not specify a path in Import Files, so LIBPATH fires.
15823 shlibpath_overrides_runpath=yes
15825 *,no) # both, prefer aix
15826 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
15827 library_names_spec='$libname$release.a $libname.a'
15828 soname_spec='$libname$release$shared_ext$major'
15829 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
15830 postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
15831 postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
15834 shlibpath_var=LIBPATH
15841 # Since July 2007 AmigaOS4 officially supports .so libraries.
15842 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15843 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15846 library_names_spec='$libname.ixlibrary $libname.a'
15847 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15848 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
15854 library_names_spec='$libname$shared_ext'
15855 dynamic_linker="$host_os ld.so"
15856 shlibpath_var=LIBRARY_PATH
15860 version_type=linux # correct to gnu/linux during the next big refactor
15862 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15863 soname_spec='$libname$release$shared_ext$major'
15864 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15865 shlibpath_var=LD_LIBRARY_PATH
15866 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15867 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15868 # the default ld.so.conf also contains /usr/contrib/lib and
15869 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15870 # libtool to hard-code these into programs
15873 cygwin* | mingw* | pw32* | cegcc*)
15874 version_type=windows
15879 case $GCC,$cc_basename in
15882 library_names_spec='$libname.dll.a'
15883 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15884 postinstall_cmds='base_file=`basename \$file`~
15885 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
15886 dldir=$destdir/`dirname \$dlpath`~
15887 test -d \$dldir || mkdir -p \$dldir~
15888 $install_prog $dir/$dlname \$dldir/$dlname~
15889 chmod a+x \$dldir/$dlname~
15890 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15891 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15893 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15894 dlpath=$dir/\$dldll~
15896 shlibpath_overrides_runpath=yes
15900 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15901 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15905 # MinGW DLLs use traditional 'lib' prefix
15906 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15909 # pw32 DLLs use 'pw' prefix rather than 'lib'
15910 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15913 dynamic_linker='Win32 ld.exe'
15918 libname_spec='$name'
15919 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15920 library_names_spec='$libname.dll.lib'
15924 sys_lib_search_path_spec=
15927 for lt_path in $LIB
15930 # Let DOS variable expansion print the short 8.3 style file name.
15931 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15932 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
15935 # Convert to MSYS style.
15936 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15939 # Convert to unix form, then to dos form, then back to unix form
15940 # but this time dos style (no spaces!) so that the unix form looks
15941 # like /cygdrive/c/PROGRA~1:/cygdr...
15942 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
15943 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15944 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15947 sys_lib_search_path_spec=$LIB
15948 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15949 # It is most probably a Windows format PATH.
15950 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15952 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15954 # FIXME: find the short name or the path components, as spaces are
15955 # common. (e.g. "Program Files" -> "PROGRA~1")
15959 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15960 postinstall_cmds='base_file=`basename \$file`~
15961 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
15962 dldir=$destdir/`dirname \$dlpath`~
15963 test -d \$dldir || mkdir -p \$dldir~
15964 $install_prog $dir/$dlname \$dldir/$dlname'
15965 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15966 dlpath=$dir/\$dldll~
15968 shlibpath_overrides_runpath=yes
15969 dynamic_linker='Win32 link.exe'
15973 # Assume MSVC wrapper
15974 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
15975 dynamic_linker='Win32 ld.exe'
15978 # FIXME: first we should search . and the directory the executable is in
15982 darwin* | rhapsody*)
15983 dynamic_linker="$host_os dyld"
15984 version_type=darwin
15987 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
15988 soname_spec='$libname$release$major$shared_ext'
15989 shlibpath_overrides_runpath=yes
15990 shlibpath_var=DYLD_LIBRARY_PATH
15991 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15993 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15997 version_type=linux # correct to gnu/linux during the next big refactor
16000 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16001 soname_spec='$libname$release$shared_ext$major'
16002 shlibpath_var=LD_LIBRARY_PATH
16005 freebsd* | dragonfly*)
16006 # DragonFly does not have aout. When/if they implement a new
16007 # versioning mechanism, adjust this.
16008 if test -x /usr/bin/objformat; then
16009 objformat=`/usr/bin/objformat`
16012 freebsd[23].*) objformat=aout ;;
16013 *) objformat=elf ;;
16016 version_type=freebsd-$objformat
16017 case $version_type in
16019 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16020 soname_spec='$libname$release$shared_ext$major'
16025 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16029 shlibpath_var=LD_LIBRARY_PATH
16032 shlibpath_overrides_runpath=yes
16034 freebsd3.[01]* | freebsdelf3.[01]*)
16035 shlibpath_overrides_runpath=yes
16036 hardcode_into_libs=yes
16038 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16039 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16040 shlibpath_overrides_runpath=no
16041 hardcode_into_libs=yes
16043 *) # from 4.6 on, and DragonFly
16044 shlibpath_overrides_runpath=yes
16045 hardcode_into_libs=yes
16051 version_type=linux # correct to gnu/linux during the next big refactor
16054 dynamic_linker="$host_os runtime_loader"
16055 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16056 soname_spec='$libname$release$shared_ext$major'
16057 shlibpath_var=LIBRARY_PATH
16058 shlibpath_overrides_runpath=no
16059 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
16060 hardcode_into_libs=yes
16063 hpux9* | hpux10* | hpux11*)
16064 # Give a soname corresponding to the major version so that dld.sl refuses to
16065 # link against other versions.
16072 hardcode_into_libs=yes
16073 dynamic_linker="$host_os dld.so"
16074 shlibpath_var=LD_LIBRARY_PATH
16075 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16076 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16077 soname_spec='$libname$release$shared_ext$major'
16078 if test 32 = "$HPUX_IA64_MODE"; then
16079 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16080 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
16082 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16083 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
16088 hardcode_into_libs=yes
16089 dynamic_linker="$host_os dld.sl"
16090 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16091 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16092 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16093 soname_spec='$libname$release$shared_ext$major'
16094 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16095 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16099 dynamic_linker="$host_os dld.sl"
16100 shlibpath_var=SHLIB_PATH
16101 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16102 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16103 soname_spec='$libname$release$shared_ext$major'
16106 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16107 postinstall_cmds='chmod 555 $lib'
16108 # or fails outright, so override atomically:
16109 install_override_mode=555
16113 version_type=linux # correct to gnu/linux during the next big refactor
16116 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16117 soname_spec='$libname$release$shared_ext$major'
16118 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16119 shlibpath_var=LD_LIBRARY_PATH
16120 shlibpath_overrides_runpath=no
16121 hardcode_into_libs=yes
16124 irix5* | irix6* | nonstopux*)
16126 nonstopux*) version_type=nonstopux ;;
16128 if test yes = "$lt_cv_prog_gnu_ld"; then
16129 version_type=linux # correct to gnu/linux during the next big refactor
16136 soname_spec='$libname$release$shared_ext$major'
16137 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
16139 irix5* | nonstopux*)
16140 libsuff= shlibsuff=
16143 case $LD in # libtool.m4 will add one of these switches to LD
16144 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16145 libsuff= shlibsuff= libmagic=32-bit;;
16146 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16147 libsuff=32 shlibsuff=N32 libmagic=N32;;
16148 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16149 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16150 *) libsuff= shlibsuff= libmagic=never-match;;
16154 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16155 shlibpath_overrides_runpath=no
16156 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
16157 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
16158 hardcode_into_libs=yes
16161 # No shared lib support for Linux oldld, aout, or coff.
16162 linux*oldld* | linux*aout* | linux*coff*)
16167 version_type=none # Android doesn't support versioned libraries.
16170 library_names_spec='$libname$release$shared_ext'
16171 soname_spec='$libname$release$shared_ext'
16173 shlibpath_var=LD_LIBRARY_PATH
16174 shlibpath_overrides_runpath=yes
16176 # This implies no fast_install, which is unacceptable.
16177 # Some rework will be needed to allow for fast_install
16178 # before this can be enabled.
16179 hardcode_into_libs=yes
16181 dynamic_linker='Android linker'
16182 # Don't embed -rpath directories since the linker doesn't support them.
16183 hardcode_libdir_flag_spec_CXX='-L$libdir'
16186 # This must be glibc/ELF.
16187 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
16188 version_type=linux # correct to gnu/linux during the next big refactor
16191 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16192 soname_spec='$libname$release$shared_ext$major'
16193 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16194 shlibpath_var=LD_LIBRARY_PATH
16195 shlibpath_overrides_runpath=no
16197 # Some binutils ld are patched to set DT_RUNPATH
16198 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
16199 $as_echo_n "(cached) " >&6
16201 lt_cv_shlibpath_overrides_runpath=no
16202 save_LDFLAGS=$LDFLAGS
16203 save_libdir=$libdir
16204 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16205 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16207 /* end confdefs.h. */
16217 if ac_fn_cxx_try_link "$LINENO"; then :
16218 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
16219 lt_cv_shlibpath_overrides_runpath=yes
16222 rm -f core conftest.err conftest.$ac_objext \
16223 conftest$ac_exeext conftest.$ac_ext
16224 LDFLAGS=$save_LDFLAGS
16225 libdir=$save_libdir
16229 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
16231 # This implies no fast_install, which is unacceptable.
16232 # Some rework will be needed to allow for fast_install
16233 # before this can be enabled.
16234 hardcode_into_libs=yes
16236 # Ideally, we could use ldconfig to report *all* directores which are
16237 # searched for libraries, however this is still not possible. Aside from not
16238 # being certain /sbin/ldconfig is available, command
16239 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
16240 # even though it is searched at run-time. Try to do the best guess by
16241 # appending ld.so.conf contents (and includes) to the search path.
16242 if test -f /etc/ld.so.conf; then
16243 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' ' '`
16244 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16247 # We used to test for /lib/ld.so.1 and disable shared libraries on
16248 # powerpc, because MkLinux only supported shared libraries with the
16249 # GNU dynamic linker. Since this was broken with cross compilers,
16250 # most powerpc-linux boxes support dynamic linking these days and
16251 # people can always --disable-shared, the test was removed, and we
16252 # assume the GNU/Linux dynamic linker is in use.
16253 dynamic_linker='GNU/Linux ld.so'
16260 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16261 soname_spec='${libname}${release}${shared_ext}$major'
16262 shlibpath_var=LD_LIBRARY_PATH
16263 shlibpath_overrides_runpath=no
16264 hardcode_into_libs=yes
16265 dynamic_linker='NetBSD ld.elf_so'
16272 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16273 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16274 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16275 dynamic_linker='NetBSD (a.out) ld.so'
16277 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16278 soname_spec='$libname$release$shared_ext$major'
16279 dynamic_linker='NetBSD ld.elf_so'
16281 shlibpath_var=LD_LIBRARY_PATH
16282 shlibpath_overrides_runpath=yes
16283 hardcode_into_libs=yes
16287 version_type=linux # correct to gnu/linux during the next big refactor
16288 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16289 shlibpath_var=LD_LIBRARY_PATH
16290 shlibpath_overrides_runpath=yes
16297 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16298 soname_spec='$libname$release$shared_ext$major'
16299 shlibpath_var=LD_LIBRARY_PATH
16300 shlibpath_overrides_runpath=no
16301 hardcode_into_libs=yes
16302 dynamic_linker='ldqnx.so'
16305 openbsd* | bitrig*)
16307 sys_lib_dlsearch_path_spec=/usr/lib
16309 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
16314 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16315 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16316 shlibpath_var=LD_LIBRARY_PATH
16317 shlibpath_overrides_runpath=yes
16321 libname_spec='$name'
16322 version_type=windows
16326 # OS/2 can only load a DLL with a base name of 8 characters or less.
16327 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
16328 v=$($ECHO $release$versuffix | tr -d .-);
16329 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
16330 $ECHO $n$v`$shared_ext'
16331 library_names_spec='${libname}_dll.$libext'
16332 dynamic_linker='OS/2 ld.exe'
16333 shlibpath_var=BEGINLIBPATH
16334 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16335 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16336 postinstall_cmds='base_file=`basename \$file`~
16337 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
16338 dldir=$destdir/`dirname \$dlpath`~
16339 test -d \$dldir || mkdir -p \$dldir~
16340 $install_prog $dir/$dlname \$dldir/$dlname~
16341 chmod a+x \$dldir/$dlname~
16342 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16343 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16345 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
16346 dlpath=$dir/\$dldll~
16350 osf3* | osf4* | osf5*)
16354 soname_spec='$libname$release$shared_ext$major'
16355 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16356 shlibpath_var=LD_LIBRARY_PATH
16357 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16358 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16366 version_type=linux # correct to gnu/linux during the next big refactor
16369 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16370 soname_spec='$libname$release$shared_ext$major'
16371 shlibpath_var=LD_LIBRARY_PATH
16372 shlibpath_overrides_runpath=yes
16373 hardcode_into_libs=yes
16374 # ldd complains unless libraries are executable
16375 postinstall_cmds='chmod +x $lib'
16380 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16381 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16382 shlibpath_var=LD_LIBRARY_PATH
16383 shlibpath_overrides_runpath=yes
16384 if test yes = "$with_gnu_ld"; then
16391 version_type=linux # correct to gnu/linux during the next big refactor
16392 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16393 soname_spec='$libname$release$shared_ext$major'
16394 shlibpath_var=LD_LIBRARY_PATH
16395 case $host_vendor in
16397 shlibpath_overrides_runpath=no
16399 runpath_var=LD_RUN_PATH
16407 shlibpath_overrides_runpath=no
16408 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16414 if test -d /usr/nec; then
16415 version_type=linux # correct to gnu/linux during the next big refactor
16416 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
16417 soname_spec='$libname$shared_ext.$major'
16418 shlibpath_var=LD_LIBRARY_PATH
16422 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16426 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
16427 soname_spec='$libname$release$shared_ext$major'
16428 shlibpath_var=LD_LIBRARY_PATH
16429 shlibpath_overrides_runpath=yes
16430 hardcode_into_libs=yes
16431 if test yes = "$with_gnu_ld"; then
16432 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16434 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16437 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16441 sys_lib_dlsearch_path_spec='/usr/lib'
16445 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16446 version_type=linux # correct to gnu/linux during the next big refactor
16449 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16450 shlibpath_var=LD_LIBRARY_PATH
16451 shlibpath_overrides_runpath=no
16452 hardcode_into_libs=yes
16456 version_type=linux # correct to gnu/linux during the next big refactor
16457 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16458 soname_spec='$libname$release$shared_ext$major'
16459 shlibpath_var=LD_LIBRARY_PATH
16466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16467 $as_echo "$dynamic_linker" >&6; }
16468 test no = "$dynamic_linker" && can_build_shared=no
16470 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16471 if test yes = "$GCC"; then
16472 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16475 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
16476 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
16479 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
16480 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
16483 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
16484 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
16486 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
16487 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
16489 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
16490 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
16531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16532 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16533 hardcode_action_CXX=
16534 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16535 test -n "$runpath_var_CXX" ||
16536 test yes = "$hardcode_automatic_CXX"; then
16538 # We can hardcode non-existent directories.
16539 if test no != "$hardcode_direct_CXX" &&
16540 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16541 # have to relink, otherwise we might link with an installed library
16542 # when we should be linking with a yet-to-be-installed one
16543 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
16544 test no != "$hardcode_minus_L_CXX"; then
16545 # Linking always hardcodes the temporary library directory.
16546 hardcode_action_CXX=relink
16548 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16549 hardcode_action_CXX=immediate
16552 # We cannot hardcode anything, or else we can only hardcode existing
16554 hardcode_action_CXX=unsupported
16556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16557 $as_echo "$hardcode_action_CXX" >&6; }
16559 if test relink = "$hardcode_action_CXX" ||
16560 test yes = "$inherit_rpath_CXX"; then
16561 # Fast installation is not supported
16562 enable_fast_install=no
16563 elif test yes = "$shlibpath_overrides_runpath" ||
16564 test no = "$enable_shared"; then
16565 # Fast installation is not necessary
16566 enable_fast_install=needless
16575 fi # test -n "$compiler"
16578 CFLAGS=$lt_save_CFLAGS
16582 with_gnu_ld=$lt_save_with_gnu_ld
16583 lt_cv_path_LDCXX=$lt_cv_path_LD
16584 lt_cv_path_LD=$lt_save_path_LD
16585 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16586 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16587 fi # test yes != "$_lt_caught_CXX_error"
16590 ac_cpp='$CPP $CPPFLAGS'
16591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16598 # Checks for libraries.
16599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gf_init_easy in -lgf_complete" >&5
16600 $as_echo_n "checking for gf_init_easy in -lgf_complete... " >&6; }
16601 if ${ac_cv_lib_gf_complete_gf_init_easy+:} false; then :
16602 $as_echo_n "(cached) " >&6
16604 ac_check_lib_save_LIBS=$LIBS
16605 LIBS="-lgf_complete $LIBS"
16606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16607 /* end confdefs.h. */
16609 /* Override any GCC internal prototype to avoid an error.
16610 Use char because int might match the return type of a GCC
16611 builtin and then its argument prototype would still apply. */
16615 char gf_init_easy ();
16619 return gf_init_easy ();
16624 if ac_fn_c_try_link "$LINENO"; then :
16625 ac_cv_lib_gf_complete_gf_init_easy=yes
16627 ac_cv_lib_gf_complete_gf_init_easy=no
16629 rm -f core conftest.err conftest.$ac_objext \
16630 conftest$ac_exeext conftest.$ac_ext
16631 LIBS=$ac_check_lib_save_LIBS
16633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gf_complete_gf_init_easy" >&5
16634 $as_echo "$ac_cv_lib_gf_complete_gf_init_easy" >&6; }
16635 if test "x$ac_cv_lib_gf_complete_gf_init_easy" = xyes; then :
16636 cat >>confdefs.h <<_ACEOF
16637 @%:@define HAVE_LIBGF_COMPLETE 1
16640 LIBS="-lgf_complete $LIBS"
16643 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16644 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16645 as_fn_error $? "You need to have gf_complete installed.
16646 gf_complete is available from http://jerasure.org/jerasure/gf-complete
16647 See \`config.log' for more details" "$LINENO" 5; }
16652 # Checks for header files.
16653 for ac_header in stddef.h stdint.h stdlib.h string.h sys/time.h unistd.h
16655 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16656 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16657 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16658 cat >>confdefs.h <<_ACEOF
16659 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16666 for ac_header in gf_complete.h gf_general.h gf_method.h gf_rand.h
16668 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16669 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16670 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16671 cat >>confdefs.h <<_ACEOF
16672 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16680 # Checks for typedefs, structures, and compiler characteristics.
16681 ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
16682 case $ac_cv_c_uint32_t in #(
16686 $as_echo "@%:@define _UINT32_T 1" >>confdefs.h
16689 cat >>confdefs.h <<_ACEOF
16690 @%:@define uint32_t $ac_cv_c_uint32_t
16695 ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
16696 case $ac_cv_c_uint64_t in #(
16700 $as_echo "@%:@define _UINT64_T 1" >>confdefs.h
16703 cat >>confdefs.h <<_ACEOF
16704 @%:@define uint64_t $ac_cv_c_uint64_t
16711 ac_cpp='$CPP $CPPFLAGS'
16712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86 cpuid output" >&5
16717 $as_echo_n "checking for x86 cpuid output... " >&6; }
16718 if ${ax_cv_gcc_x86_cpuid_+:} false; then :
16719 $as_echo_n "(cached) " >&6
16721 if test "$cross_compiling" = yes; then :
16722 ax_cv_gcc_x86_cpuid_=unknown
16724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16725 /* end confdefs.h. */
16731 int op = , level = 0, eax, ebx, ecx, edx;
16733 __asm__ __volatile__ ("xchg %%ebx, %1\n"
16736 : "=a" (eax), "=r" (ebx), "=c" (ecx), "=d" (edx)
16737 : "a" (op), "2" (level));
16739 f = fopen("conftest_cpuid", "w"); if (!f) return 1;
16740 fprintf(f, "%x:%x:%x:%x\n", eax, ebx, ecx, edx);
16748 if ac_fn_c_try_run "$LINENO"; then :
16749 ax_cv_gcc_x86_cpuid_=`cat conftest_cpuid`; rm -f conftest_cpuid
16751 ax_cv_gcc_x86_cpuid_=unknown; rm -f conftest_cpuid
16753 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16754 conftest.$ac_objext conftest.beam conftest.$ac_ext
16758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpuid_" >&5
16759 $as_echo "$ax_cv_gcc_x86_cpuid_" >&6; }
16761 ac_cpp='$CPP $CPPFLAGS'
16762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16770 ac_cpp='$CPP $CPPFLAGS'
16771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86-AVX xgetbv output" >&5
16776 $as_echo_n "checking for x86-AVX xgetbv output... " >&6; }
16777 if ${ax_cv_gcc_x86_avx_xgetbv_+:} false; then :
16778 $as_echo_n "(cached) " >&6
16780 if test "$cross_compiling" = yes; then :
16781 ax_cv_gcc_x86_avx_xgetbv_=unknown
16783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16784 /* end confdefs.h. */
16790 int op = , eax, edx;
16792 /* Opcodes for xgetbv */
16793 __asm__ __volatile__ (".byte 0x0f, 0x01, 0xd0"
16794 : "=a" (eax), "=d" (edx)
16796 f = fopen("conftest_xgetbv", "w"); if (!f) return 1;
16797 fprintf(f, "%x:%x\n", eax, edx);
16805 if ac_fn_c_try_run "$LINENO"; then :
16806 ax_cv_gcc_x86_avx_xgetbv_=`cat conftest_xgetbv`; rm -f conftest_xgetbv
16808 ax_cv_gcc_x86_avx_xgetbv_=unknown; rm -f conftest_xgetbv
16810 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16811 conftest.$ac_objext conftest.beam conftest.$ac_ext
16815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_avx_xgetbv_" >&5
16816 $as_echo "$ax_cv_gcc_x86_avx_xgetbv_" >&6; }
16818 ac_cpp='$CPP $CPPFLAGS'
16819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether altivec is supported" >&5
16834 $as_echo_n "checking whether altivec is supported... " >&6; }
16835 if ${ax_cv_have_altivec_ext+:} false; then :
16836 $as_echo_n "(cached) " >&6
16839 if test `/usr/sbin/sysctl -a 2>/dev/null| grep -c hw.optional.altivec` != 0; then
16840 if test `/usr/sbin/sysctl -n hw.optional.altivec` = 1; then
16841 ax_cv_have_altivec_ext=yes
16846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_have_altivec_ext" >&5
16847 $as_echo "$ax_cv_have_altivec_ext" >&6; }
16849 if test "$ax_cv_have_altivec_ext" = yes; then
16851 $as_echo "@%:@define HAVE_ALTIVEC /**/" >>confdefs.h
16853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -faltivec" >&5
16854 $as_echo_n "checking whether C compiler accepts -faltivec... " >&6; }
16855 if ${ax_cv_check_cflags___faltivec+:} false; then :
16856 $as_echo_n "(cached) " >&6
16859 ax_check_save_flags=$CFLAGS
16860 CFLAGS="$CFLAGS -faltivec"
16861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16862 /* end confdefs.h. */
16872 if ac_fn_c_try_compile "$LINENO"; then :
16873 ax_cv_check_cflags___faltivec=yes
16875 ax_cv_check_cflags___faltivec=no
16877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16878 CFLAGS=$ax_check_save_flags
16880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___faltivec" >&5
16881 $as_echo "$ax_cv_check_cflags___faltivec" >&6; }
16882 if test "x$ax_cv_check_cflags___faltivec" = xyes; then :
16883 SIMD_FLAGS="$SIMD_FLAGS -faltivec"
16891 i[3456]86*|x86_64*|amd64*)
16900 ac_cpp='$CPP $CPPFLAGS'
16901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86 cpuid 0x00000000 output" >&5
16906 $as_echo_n "checking for x86 cpuid 0x00000000 output... " >&6; }
16907 if ${ax_cv_gcc_x86_cpuid_0x00000000+:} false; then :
16908 $as_echo_n "(cached) " >&6
16910 if test "$cross_compiling" = yes; then :
16911 ax_cv_gcc_x86_cpuid_0x00000000=unknown
16913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16914 /* end confdefs.h. */
16920 int op = 0x00000000, level = 0, eax, ebx, ecx, edx;
16922 __asm__ __volatile__ ("xchg %%ebx, %1\n"
16925 : "=a" (eax), "=r" (ebx), "=c" (ecx), "=d" (edx)
16926 : "a" (op), "2" (level));
16928 f = fopen("conftest_cpuid", "w"); if (!f) return 1;
16929 fprintf(f, "%x:%x:%x:%x\n", eax, ebx, ecx, edx);
16937 if ac_fn_c_try_run "$LINENO"; then :
16938 ax_cv_gcc_x86_cpuid_0x00000000=`cat conftest_cpuid`; rm -f conftest_cpuid
16940 ax_cv_gcc_x86_cpuid_0x00000000=unknown; rm -f conftest_cpuid
16942 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16943 conftest.$ac_objext conftest.beam conftest.$ac_ext
16947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpuid_0x00000000" >&5
16948 $as_echo "$ax_cv_gcc_x86_cpuid_0x00000000" >&6; }
16950 ac_cpp='$CPP $CPPFLAGS'
16951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16957 if test "$ax_cv_gcc_x86_cpuid_0x00000000" != "unknown";
16959 eax_cpuid0=`echo $ax_cv_gcc_x86_cpuid_0x00000000 | cut -d ":" -f 1`
16962 eax_cpuid80000000=0
16965 ac_cpp='$CPP $CPPFLAGS'
16966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86 cpuid 0x80000000 output" >&5
16971 $as_echo_n "checking for x86 cpuid 0x80000000 output... " >&6; }
16972 if ${ax_cv_gcc_x86_cpuid_0x80000000+:} false; then :
16973 $as_echo_n "(cached) " >&6
16975 if test "$cross_compiling" = yes; then :
16976 ax_cv_gcc_x86_cpuid_0x80000000=unknown
16978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16979 /* end confdefs.h. */
16985 int op = 0x80000000, level = 0, eax, ebx, ecx, edx;
16987 __asm__ __volatile__ ("xchg %%ebx, %1\n"
16990 : "=a" (eax), "=r" (ebx), "=c" (ecx), "=d" (edx)
16991 : "a" (op), "2" (level));
16993 f = fopen("conftest_cpuid", "w"); if (!f) return 1;
16994 fprintf(f, "%x:%x:%x:%x\n", eax, ebx, ecx, edx);
17002 if ac_fn_c_try_run "$LINENO"; then :
17003 ax_cv_gcc_x86_cpuid_0x80000000=`cat conftest_cpuid`; rm -f conftest_cpuid
17005 ax_cv_gcc_x86_cpuid_0x80000000=unknown; rm -f conftest_cpuid
17007 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17008 conftest.$ac_objext conftest.beam conftest.$ac_ext
17012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpuid_0x80000000" >&5
17013 $as_echo "$ax_cv_gcc_x86_cpuid_0x80000000" >&6; }
17015 ac_cpp='$CPP $CPPFLAGS'
17016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17022 if test "$ax_cv_gcc_x86_cpuid_0x80000000" != "unknown";
17024 eax_cpuid80000000=`echo $ax_cv_gcc_x86_cpuid_0x80000000 | cut -d ":" -f 1`
17029 if test "$((0x$eax_cpuid0))" -ge 1 ; then
17032 ac_cpp='$CPP $CPPFLAGS'
17033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86 cpuid 0x00000001 output" >&5
17038 $as_echo_n "checking for x86 cpuid 0x00000001 output... " >&6; }
17039 if ${ax_cv_gcc_x86_cpuid_0x00000001+:} false; then :
17040 $as_echo_n "(cached) " >&6
17042 if test "$cross_compiling" = yes; then :
17043 ax_cv_gcc_x86_cpuid_0x00000001=unknown
17045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17046 /* end confdefs.h. */
17052 int op = 0x00000001, level = 0, eax, ebx, ecx, edx;
17054 __asm__ __volatile__ ("xchg %%ebx, %1\n"
17057 : "=a" (eax), "=r" (ebx), "=c" (ecx), "=d" (edx)
17058 : "a" (op), "2" (level));
17060 f = fopen("conftest_cpuid", "w"); if (!f) return 1;
17061 fprintf(f, "%x:%x:%x:%x\n", eax, ebx, ecx, edx);
17069 if ac_fn_c_try_run "$LINENO"; then :
17070 ax_cv_gcc_x86_cpuid_0x00000001=`cat conftest_cpuid`; rm -f conftest_cpuid
17072 ax_cv_gcc_x86_cpuid_0x00000001=unknown; rm -f conftest_cpuid
17074 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17075 conftest.$ac_objext conftest.beam conftest.$ac_ext
17079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpuid_0x00000001" >&5
17080 $as_echo "$ax_cv_gcc_x86_cpuid_0x00000001" >&6; }
17082 ac_cpp='$CPP $CPPFLAGS'
17083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17089 if test "$ax_cv_gcc_x86_cpuid_0x00000001" != "unknown";
17091 ecx_cpuid1=`echo $ax_cv_gcc_x86_cpuid_0x00000001 | cut -d ":" -f 3`
17092 edx_cpuid1=`echo $ax_cv_gcc_x86_cpuid_0x00000001 | cut -d ":" -f 4`
17098 if test "$((0x$eax_cpuid0))" -ge 7 ; then
17101 ac_cpp='$CPP $CPPFLAGS'
17102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86 cpuid 0x00000007 output" >&5
17107 $as_echo_n "checking for x86 cpuid 0x00000007 output... " >&6; }
17108 if ${ax_cv_gcc_x86_cpuid_0x00000007+:} false; then :
17109 $as_echo_n "(cached) " >&6
17111 if test "$cross_compiling" = yes; then :
17112 ax_cv_gcc_x86_cpuid_0x00000007=unknown
17114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17115 /* end confdefs.h. */
17121 int op = 0x00000007, level = 0x00, eax, ebx, ecx, edx;
17123 __asm__ __volatile__ ("xchg %%ebx, %1\n"
17126 : "=a" (eax), "=r" (ebx), "=c" (ecx), "=d" (edx)
17127 : "a" (op), "2" (level));
17129 f = fopen("conftest_cpuid", "w"); if (!f) return 1;
17130 fprintf(f, "%x:%x:%x:%x\n", eax, ebx, ecx, edx);
17138 if ac_fn_c_try_run "$LINENO"; then :
17139 ax_cv_gcc_x86_cpuid_0x00000007=`cat conftest_cpuid`; rm -f conftest_cpuid
17141 ax_cv_gcc_x86_cpuid_0x00000007=unknown; rm -f conftest_cpuid
17143 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17144 conftest.$ac_objext conftest.beam conftest.$ac_ext
17148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpuid_0x00000007" >&5
17149 $as_echo "$ax_cv_gcc_x86_cpuid_0x00000007" >&6; }
17151 ac_cpp='$CPP $CPPFLAGS'
17152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17157 if test "$ax_cv_gcc_x86_cpuid_0x00000007" != "unknown";
17159 ebx_cpuid7=`echo $ax_cv_gcc_x86_cpuid_0x00000007 | cut -d ":" -f 2`
17160 ecx_cpuid7=`echo $ax_cv_gcc_x86_cpuid_0x00000007 | cut -d ":" -f 3`
17164 ecx_cpuid80000001=0
17165 edx_cpuid80000001=0
17166 if test "$((0x$eax_cpuid80000000))" -ge "$((0x80000001))" ; then
17169 ac_cpp='$CPP $CPPFLAGS'
17170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86 cpuid 0x80000001 output" >&5
17175 $as_echo_n "checking for x86 cpuid 0x80000001 output... " >&6; }
17176 if ${ax_cv_gcc_x86_cpuid_0x80000001+:} false; then :
17177 $as_echo_n "(cached) " >&6
17179 if test "$cross_compiling" = yes; then :
17180 ax_cv_gcc_x86_cpuid_0x80000001=unknown
17182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17183 /* end confdefs.h. */
17189 int op = 0x80000001, level = 0, eax, ebx, ecx, edx;
17191 __asm__ __volatile__ ("xchg %%ebx, %1\n"
17194 : "=a" (eax), "=r" (ebx), "=c" (ecx), "=d" (edx)
17195 : "a" (op), "2" (level));
17197 f = fopen("conftest_cpuid", "w"); if (!f) return 1;
17198 fprintf(f, "%x:%x:%x:%x\n", eax, ebx, ecx, edx);
17206 if ac_fn_c_try_run "$LINENO"; then :
17207 ax_cv_gcc_x86_cpuid_0x80000001=`cat conftest_cpuid`; rm -f conftest_cpuid
17209 ax_cv_gcc_x86_cpuid_0x80000001=unknown; rm -f conftest_cpuid
17211 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17212 conftest.$ac_objext conftest.beam conftest.$ac_ext
17216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpuid_0x80000001" >&5
17217 $as_echo "$ax_cv_gcc_x86_cpuid_0x80000001" >&6; }
17219 ac_cpp='$CPP $CPPFLAGS'
17220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17226 if test "$ax_cv_gcc_x86_cpuid_0x80000001" != "unknown";
17228 ecx_cpuid80000001=`echo $ax_cv_gcc_x86_cpuid_0x80000001 | cut -d ":" -f 3`
17229 edx_cpuid80000001=`echo $ax_cv_gcc_x86_cpuid_0x80000001 | cut -d ":" -f 4`
17233 if ${ax_cv_have_mmx_os_support_ext+:} false; then :
17234 $as_echo_n "(cached) " >&6
17237 ax_cv_have_mmx_os_support_ext=yes
17242 ax_cv_have_none_os_support_ext=yes
17244 if ${ax_cv_have_sse_os_support_ext+:} false; then :
17245 $as_echo_n "(cached) " >&6
17248 ax_cv_have_sse_os_support_ext=no,
17249 if test "$((0x$edx_cpuid1>>25&0x01))" = 1; then
17251 ac_cpp='$CPP $CPPFLAGS'
17252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17256 if test "$cross_compiling" = yes; then :
17257 ax_cv_have_sse_os_support_ext=no
17259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17260 /* end confdefs.h. */
17262 #include <signal.h>
17263 #include <stdlib.h>
17264 /* No way at ring1 to ring3 in protected mode to check the CR0 and CR4
17265 control registers directly. Execute an SSE instruction.
17266 If it raises SIGILL then OS doesn't support SSE based instructions */
17267 void sig_handler(int signum){ exit(1); }
17269 signal(SIGILL, sig_handler);
17270 /* SSE instruction xorps %xmm0,%xmm0 */
17271 __asm__ __volatile__ (".byte 0x0f, 0x57, 0xc0");
17275 if ac_fn_c_try_run "$LINENO"; then :
17276 ax_cv_have_sse_os_support_ext=yes
17278 ax_cv_have_sse_os_support_ext=no
17280 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17281 conftest.$ac_objext conftest.beam conftest.$ac_ext
17285 ac_cpp='$CPP $CPPFLAGS'
17286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17296 if test "$((0x$ecx_cpuid1>>28&0x01))" = 1; then
17299 ac_cpp='$CPP $CPPFLAGS'
17300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86-AVX xgetbv 0x00000000 output" >&5
17305 $as_echo_n "checking for x86-AVX xgetbv 0x00000000 output... " >&6; }
17306 if ${ax_cv_gcc_x86_avx_xgetbv_0x00000000+:} false; then :
17307 $as_echo_n "(cached) " >&6
17309 if test "$cross_compiling" = yes; then :
17310 ax_cv_gcc_x86_avx_xgetbv_0x00000000=unknown
17312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17313 /* end confdefs.h. */
17319 int op = 0x00000000, eax, edx;
17321 /* Opcodes for xgetbv */
17322 __asm__ __volatile__ (".byte 0x0f, 0x01, 0xd0"
17323 : "=a" (eax), "=d" (edx)
17325 f = fopen("conftest_xgetbv", "w"); if (!f) return 1;
17326 fprintf(f, "%x:%x\n", eax, edx);
17334 if ac_fn_c_try_run "$LINENO"; then :
17335 ax_cv_gcc_x86_avx_xgetbv_0x00000000=`cat conftest_xgetbv`; rm -f conftest_xgetbv
17337 ax_cv_gcc_x86_avx_xgetbv_0x00000000=unknown; rm -f conftest_xgetbv
17339 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17340 conftest.$ac_objext conftest.beam conftest.$ac_ext
17344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_avx_xgetbv_0x00000000" >&5
17345 $as_echo "$ax_cv_gcc_x86_avx_xgetbv_0x00000000" >&6; }
17347 ac_cpp='$CPP $CPPFLAGS'
17348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17354 if test x"$ax_cv_gcc_x86_avx_xgetbv_0x00000000" != x"unknown"; then
17355 xgetbv_eax=`echo $ax_cv_gcc_x86_avx_xgetbv_0x00000000 | cut -d ":" -f 1`
17358 if ${ax_cv_have_avx_os_support_ext+:} false; then :
17359 $as_echo_n "(cached) " >&6
17362 ax_cv_have_avx_os_support_ext=no
17363 if test "$((0x$ecx_cpuid1>>27&0x01))" = 1; then
17364 if test "$((0x$xgetbv_eax&0x6))" = 6; then
17365 ax_cv_have_avx_os_support_ext=yes
17373 if ${ax_cv_have_avx512_os_support_ext+:} false; then :
17374 $as_echo_n "(cached) " >&6
17377 ax_cv_have_avx512_os_support_ext=no
17378 if test "$ax_cv_have_avx_os_support_ext" = yes; then
17379 if test "$((0x$xgetbv_eax&0xe6))" = "$((0xe6))"; then
17380 ax_cv_have_avx512_os_support_ext=yes
17387 for ac_instr_info in "none;rdrnd;RDRND;ecx_cpuid1,30;-mrdrnd;HAVE_RDRND;CPUEXT_FLAGS" "none;bmi1;BMI1;ebx_cpuid7,3;-mbmi;HAVE_BMI1;CPUEXT_FLAGS" "none;bmi2;BMI2;ebx_cpuid7,8;-mbmi2;HAVE_BMI2;CPUEXT_FLAGS" "none;adx;ADX;ebx_cpuid7,19;-madx;HAVE_ADX;CPUEXT_FLAGS" "none;mpx;MPX;ebx_cpuid7,14;-mmpx;HAVE_MPX;CPUEXT_FLAGS" "none;prefetchwt1;PREFETCHWT1;ecx_cpuid7,0;-mprefetchwt1;HAVE_PREFETCHWT1;CPUEXT_FLAGS" "none;abm;ABM;ecx_cpuid80000001,5;-mabm;HAVE_ABM;CPUEXT_FLAGS" "mmx;mmx;MMX;edx_cpuid1,23;-mmmx;HAVE_MMX;SIMD_FLAGS" "sse;sse;SSE;edx_cpuid1,25;-msse;HAVE_SSE;SIMD_FLAGS" "sse;sse2;SSE2;edx_cpuid1,26;-msse2;HAVE_SSE2;SIMD_FLAGS" "sse;sse3;SSE3;ecx_cpuid1,1;-msse3;HAVE_SSE3;SIMD_FLAGS" "sse;ssse3;SSSE3;ecx_cpuid1,9;-mssse3;HAVE_SSSE3;SIMD_FLAGS" "sse;sse41;SSE4.1;ecx_cpuid1,19;-msse4.1;HAVE_SSE4_1;SIMD_FLAGS" "sse;sse42;SSE4.2;ecx_cpuid1,20;-msse4.2;HAVE_SSE4_2;SIMD_FLAGS" "sse;sse4a;SSE4a;ecx_cpuid80000001,6;-msse4a;HAVE_SSE4a;SIMD_FLAGS" "sse;sha;SHA;ebx_cpuid7,29;-msha;HAVE_SHA;SIMD_FLAGS" "sse;aes;AES;ecx_cpuid1,25;-maes;HAVE_AES;SIMD_FLAGS" "avx;avx;AVX;ecx_cpuid1,28;-mavx;HAVE_AVX;SIMD_FLAGS" "avx;fma3;FMA3;ecx_cpuid1,12;-mfma;HAVE_FMA3;SIMD_FLAGS" "avx;fma4;FMA4;ecx_cpuid80000001,16;-mfma4;HAVE_FMA4;SIMD_FLAGS" "avx;xop;XOP;ecx_cpuid80000001,11;-mxop;HAVE_XOP;SIMD_FLAGS" "avx;avx2;AVX2;ebx_cpuid7,5;-mavx2;HAVE_AVX2;SIMD_FLAGS" "avx512;avx512f;AVX512-F;ebx_cpuid7,16;-mavx512f;HAVE_AVX512_F;SIMD_FLAGS" "avx512;avx512cd;AVX512-CD;ebx_cpuid7,28;-mavx512cd;HAVE_AVX512_CD;SIMD_FLAGS" "avx512;avx512pf;AVX512-PF;ebx_cpuid7,26;-mavx512pf;HAVE_AVX512_PF;SIMD_FLAGS" "avx512;avx512er;AVX512-ER;ebx_cpuid7,27;-mavx512er;HAVE_AVX512_ER;SIMD_FLAGS" "avx512;avx512vl;AVX512-VL;ebx_cpuid7,31;-mavx512vl;HAVE_AVX512_VL;SIMD_FLAGS" "avx512;avx512bw;AVX512-BW;ebx_cpuid7,30;-mavx512bw;HAVE_AVX512_BW;SIMD_FLAGS" "avx512;avx512dq;AVX512-DQ;ebx_cpuid7,17;-mavx512dq;HAVE_AVX512_DQ;SIMD_FLAGS" "avx512;avx512ifma;AVX512-IFMA;ebx_cpuid7,21;-mavx512ifma;HAVE_AVX512_IFMA;SIMD_FLAGS" "avx512;avx512vbmi;AVX512-VBMI;ecx_cpuid7,1;-mavx512vbmi;HAVE_AVX512_VBMI;SIMD_FLAGS" #
17388 do ac_instr_os_support=$(eval echo \$ax_cv_have_$(echo $ac_instr_info | cut -d ";" -f 1)_os_support_ext)
17389 ac_instr_acvar=$(echo $ac_instr_info | cut -d ";" -f 2)
17390 ac_instr_shortname=$(echo $ac_instr_info | cut -d ";" -f 3)
17391 ac_instr_chk_loc=$(echo $ac_instr_info | cut -d ";" -f 4)
17392 ac_instr_chk_reg=0x$(eval echo \$$(echo $ac_instr_chk_loc | cut -d "," -f 1))
17393 ac_instr_chk_bit=$(echo $ac_instr_chk_loc | cut -d "," -f 2)
17394 ac_instr_compiler_flags=$(echo $ac_instr_info | cut -d ";" -f 5)
17395 ac_instr_have_define=$(echo $ac_instr_info | cut -d ";" -f 6)
17396 ac_instr_flag_type=$(echo $ac_instr_info | cut -d ";" -f 7)
17398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${ac_instr_shortname} is supported by the processor" >&5
17399 $as_echo_n "checking whether ${ac_instr_shortname} is supported by the processor... " >&6; }
17400 if eval \${ax_cv_have_${ac_instr_acvar}_cpu_ext+:} false; then :
17401 $as_echo_n "(cached) " >&6
17404 eval ax_cv_have_${ac_instr_acvar}_cpu_ext=no
17405 if test "$((${ac_instr_chk_reg}>>${ac_instr_chk_bit}&0x01))" = 1 ; then
17406 eval ax_cv_have_${ac_instr_acvar}_cpu_ext=yes
17410 eval ac_res=\$ax_cv_have_${ac_instr_acvar}_cpu_ext
17411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17412 $as_echo "$ac_res" >&6; }
17414 if test x"$(eval echo \$ax_cv_have_${ac_instr_acvar}_cpu_ext)" = x"yes"; then
17415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${ac_instr_shortname} is supported by the processor and OS" >&5
17416 $as_echo_n "checking whether ${ac_instr_shortname} is supported by the processor and OS... " >&6; }
17417 if eval \${ax_cv_have_${ac_instr_acvar}_ext+:} false; then :
17418 $as_echo_n "(cached) " >&6
17421 eval ax_cv_have_${ac_instr_acvar}_ext=no
17422 if test x"${ac_instr_os_support}" = x"yes"; then
17423 eval ax_cv_have_${ac_instr_acvar}_ext=yes
17427 eval ac_res=\$ax_cv_have_${ac_instr_acvar}_ext
17428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17429 $as_echo "$ac_res" >&6; }
17431 if test "$(eval echo \$ax_cv_have_${ac_instr_acvar}_ext)" = yes; then
17432 as_CACHEVAR=`$as_echo "ax_cv_check_cflags__${ac_instr_compiler_flags}" | $as_tr_sh`
17433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts ${ac_instr_compiler_flags}" >&5
17434 $as_echo_n "checking whether C compiler accepts ${ac_instr_compiler_flags}... " >&6; }
17435 if eval \${$as_CACHEVAR+:} false; then :
17436 $as_echo_n "(cached) " >&6
17439 ax_check_save_flags=$CFLAGS
17440 CFLAGS="$CFLAGS ${ac_instr_compiler_flags}"
17441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17442 /* end confdefs.h. */
17452 if ac_fn_c_try_compile "$LINENO"; then :
17453 eval "$as_CACHEVAR=yes"
17455 eval "$as_CACHEVAR=no"
17457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17458 CFLAGS=$ax_check_save_flags
17460 eval ac_res=\$$as_CACHEVAR
17461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17462 $as_echo "$ac_res" >&6; }
17463 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
17464 eval ax_cv_support_${ac_instr_acvar}_ext=yes
17466 eval ax_cv_support_${ac_instr_acvar}_ext=no
17469 if test x"$(eval echo \$ax_cv_support_${ac_instr_acvar}_ext)" = x"yes"; then
17470 eval ${ac_instr_flag_type}=\"\$${ac_instr_flag_type} ${ac_instr_compiler_flags}\"
17471 cat >>confdefs.h <<_ACEOF
17472 @%:@define ${ac_instr_have_define} 1
17476 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Your processor and OS supports ${ac_instr_shortname} instructions but not your compiler, can you try another compiler?" >&5
17477 $as_echo "$as_me: WARNING: Your processor and OS supports ${ac_instr_shortname} instructions but not your compiler, can you try another compiler?" >&2;}
17480 if test x"${ac_instr_os_support}" = x"no"; then
17481 if eval \${ax_cv_support_${ac_instr_acvar}_ext+:} false; then :
17482 $as_echo_n "(cached) " >&6
17484 eval ax_cv_support_${ac_instr_acvar}_ext=no
17487 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Your processor supports ${ac_instr_shortname}, but your OS doesn't" >&5
17488 $as_echo "$as_me: WARNING: Your processor supports ${ac_instr_shortname}, but your OS doesn't" >&2;}
17492 if eval \${ax_cv_have_${ac_instr_acvar}_ext+:} false; then :
17493 $as_echo_n "(cached) " >&6
17495 eval ax_cv_have_${ac_instr_acvar}_ext=no
17498 if eval \${ax_cv_support_${ac_instr_acvar}_ext+:} false; then :
17499 $as_echo_n "(cached) " >&6
17501 eval ax_cv_support_${ac_instr_acvar}_ext=no
17544 @%:@ Check whether --enable-sse was given.
17545 if test "${enable_sse+set}" = set; then :
17546 enableval=$enable_sse; if test "x$enableval" = "xno" ; then
17548 echo "DISABLED SSE!!!"
17554 # Checks for library functions.
17555 for ac_header in stdlib.h
17557 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
17558 if test "x$ac_cv_header_stdlib_h" = xyes; then :
17559 cat >>confdefs.h <<_ACEOF
17560 @%:@define HAVE_STDLIB_H 1
17567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
17568 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
17569 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
17570 $as_echo_n "(cached) " >&6
17572 if test "$cross_compiling" = yes; then :
17573 ac_cv_func_malloc_0_nonnull=no
17575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17576 /* end confdefs.h. */
17577 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
17578 # include <stdlib.h>
17586 return ! malloc (0);
17591 if ac_fn_c_try_run "$LINENO"; then :
17592 ac_cv_func_malloc_0_nonnull=yes
17594 ac_cv_func_malloc_0_nonnull=no
17596 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17597 conftest.$ac_objext conftest.beam conftest.$ac_ext
17601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
17602 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
17603 if test $ac_cv_func_malloc_0_nonnull = yes; then :
17605 $as_echo "@%:@define HAVE_MALLOC 1" >>confdefs.h
17608 $as_echo "@%:@define HAVE_MALLOC 0" >>confdefs.h
17610 case " $LIB@&t@OBJS " in
17611 *" malloc.$ac_objext "* ) ;;
17612 *) LIB@&t@OBJS="$LIB@&t@OBJS malloc.$ac_objext"
17617 $as_echo "@%:@define malloc rpl_malloc" >>confdefs.h
17622 for ac_func in bzero getcwd gettimeofday mkdir strchr strdup strrchr
17624 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17625 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17626 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17627 cat >>confdefs.h <<_ACEOF
17628 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17635 ac_config_files="$ac_config_files Examples/Makefile Makefile src/Makefile"
17637 cat >confcache <<\_ACEOF
17638 # This file is a shell script that caches the results of configure
17639 # tests run on this system so they can be shared between configure
17640 # scripts and configure runs, see configure's option --config-cache.
17641 # It is not useful on other systems. If it contains results you don't
17642 # want to keep, you may remove or edit it.
17644 # config.status only pays attention to the cache file if you give it
17645 # the --recheck option to rerun configure.
17647 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17648 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17649 # following values.
17653 # The following way of writing the cache mishandles newlines in values,
17654 # but we know of no workaround that is simple, portable, and efficient.
17655 # So, we kill variables containing newlines.
17656 # Ultrix sh set writes to stderr and can't be redirected directly,
17657 # and sets the high bit in the cache file unless we assign to the vars.
17659 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17660 eval ac_val=\$$ac_var
17664 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17665 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17668 _ | IFS | as_nl) ;; #(
17669 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17670 *) { eval $ac_var=; unset $ac_var;} ;;
17676 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17677 *${as_nl}ac_space=\ *)
17678 # `set' does not quote correctly, so add quotes: double-quote
17679 # substitution turns \\\\ into \\, and sed turns \\ into \.
17682 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17685 # `set' quotes correctly as required by POSIX, so do not add quotes.
17686 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17695 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17697 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17699 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17700 if test -w "$cache_file"; then
17701 if test "x$cache_file" != "x/dev/null"; then
17702 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17703 $as_echo "$as_me: updating cache $cache_file" >&6;}
17704 if test ! -f "$cache_file" || test -h "$cache_file"; then
17705 cat confcache >"$cache_file"
17707 case $cache_file in #(
17709 mv -f confcache "$cache_file"$$ &&
17710 mv -f "$cache_file"$$ "$cache_file" ;; #(
17712 mv -f confcache "$cache_file" ;;
17717 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17718 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17723 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17724 # Let make expand exec_prefix.
17725 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17727 DEFS=-DHAVE_CONFIG_H
17732 for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
17733 # 1. Remove the extension, and $U if already installed.
17734 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17735 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17736 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17737 # will be set to the directory where LIBOBJS objects are built.
17738 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17739 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17741 LIB@&t@OBJS=$ac_libobjs
17743 LTLIBOBJS=$ac_ltlibobjs
17746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
17747 $as_echo_n "checking that generated files are newer than configure... " >&6; }
17748 if test -n "$am_sleep_pid"; then
17749 # Hide warnings about reused PIDs.
17750 wait $am_sleep_pid 2>/dev/null
17752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
17753 $as_echo "done" >&6; }
17754 if test -n "$EXEEXT"; then
17756 am__EXEEXT_FALSE='#'
17758 am__EXEEXT_TRUE='#'
17762 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17763 as_fn_error $? "conditional \"AMDEP\" was never defined.
17764 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17766 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17767 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17768 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17770 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17771 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17772 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17774 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
17775 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
17776 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17779 : "${CONFIG_STATUS=./config.status}"
17781 ac_clean_files_save=$ac_clean_files
17782 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17783 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17784 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17786 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17788 # Generated by $as_me.
17789 # Run this file to recreate the current configuration.
17790 # Compiler output produced by configure, useful for debugging
17791 # configure, is in config.log if it exists.
17794 ac_cs_recheck=false
17797 SHELL=\${CONFIG_SHELL-$SHELL}
17800 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17801 ## -------------------- ##
17802 ## M4sh Initialization. ##
17803 ## -------------------- ##
17805 # Be more Bourne compatible
17806 DUALCASE=1; export DUALCASE # for MKS sh
17807 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17810 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17811 # is contrary to our usage. Disable this feature.
17812 alias -g '${1+"$@"}'='"$@"'
17813 setopt NO_GLOB_SUBST
17815 case `(set -o) 2>/dev/null` in @%:@(
17817 set -o posix ;; @%:@(
17827 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17828 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17829 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17830 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17831 # Prefer a ksh shell builtin over an external printf program on Solaris,
17832 # but without wasting forks for bash or zsh.
17833 if test -z "$BASH_VERSION$ZSH_VERSION" \
17834 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17835 as_echo='print -r --'
17836 as_echo_n='print -rn --'
17837 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17838 as_echo='printf %s\n'
17839 as_echo_n='printf %s'
17841 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17842 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17843 as_echo_n='/usr/ucb/echo -n'
17845 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17846 as_echo_n_body='eval
17850 expr "X$arg" : "X\\(.*\\)$as_nl";
17851 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17853 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17855 export as_echo_n_body
17856 as_echo_n='sh -c $as_echo_n_body as_echo'
17858 export as_echo_body
17859 as_echo='sh -c $as_echo_body as_echo'
17862 # The user is always right.
17863 if test "${PATH_SEPARATOR+set}" != set; then
17865 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17866 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17873 # We need space, tab and new line, in precisely that order. Quoting is
17874 # there to prevent editors from complaining about space-tab.
17875 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17876 # splitting by setting IFS to empty value.)
17879 # Find who we are. Look in the path if we contain no directory separator.
17882 *[\\/]* ) as_myself=$0 ;;
17883 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17884 for as_dir in $PATH
17887 test -z "$as_dir" && as_dir=.
17888 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17894 # We did not find ourselves, most probably we were run as `sh COMMAND'
17895 # in which case we are not to be found in the path.
17896 if test "x$as_myself" = x; then
17899 if test ! -f "$as_myself"; then
17900 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17904 # Unset variables that we do not need and which cause bugs (e.g. in
17905 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17906 # suppresses any "Segmentation fault" message there. '((' could
17907 # trigger a bug in pdksh 5.2.14.
17908 for as_var in BASH_ENV ENV MAIL MAILPATH
17909 do eval test x\${$as_var+set} = xset \
17910 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17923 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17926 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
17927 @%:@ ----------------------------------------
17928 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17929 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17930 @%:@ script with STATUS, using 1 if that was 0.
17933 as_status=$1; test $as_status -eq 0 && as_status=1
17935 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17936 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17938 $as_echo "$as_me: error: $2" >&2
17939 as_fn_exit $as_status
17943 @%:@ as_fn_set_status STATUS
17944 @%:@ -----------------------
17945 @%:@ Set @S|@? to STATUS, without forking.
17946 as_fn_set_status ()
17949 } @%:@ as_fn_set_status
17951 @%:@ as_fn_exit STATUS
17952 @%:@ -----------------
17953 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17957 as_fn_set_status $1
17961 @%:@ as_fn_unset VAR
17962 @%:@ ---------------
17963 @%:@ Portably unset VAR.
17966 { eval $1=; unset $1;}
17968 as_unset=as_fn_unset
17969 @%:@ as_fn_append VAR VALUE
17970 @%:@ ----------------------
17971 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
17972 @%:@ advantage of any shell optimizations that allow amortized linear growth over
17973 @%:@ repeated appends, instead of the typical quadratic growth present in naive
17974 @%:@ implementations.
17975 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17976 eval 'as_fn_append ()
17987 @%:@ as_fn_arith ARG...
17988 @%:@ ------------------
17989 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
17990 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
17991 @%:@ must be portable across @S|@(()) and expr.
17992 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17993 eval 'as_fn_arith ()
18000 as_val=`expr "$@" || test $? -eq 1`
18005 if expr a : '\(a\)' >/dev/null 2>&1 &&
18006 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18012 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18013 as_basename=basename
18018 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18024 as_me=`$as_basename -- "$0" ||
18025 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18026 X"$0" : 'X\(//\)$' \| \
18027 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18029 sed '/^.*\/\([^/][^/]*\)\/*$/{
18043 # Avoid depending upon Character Ranges.
18044 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18045 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18046 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18047 as_cr_digits='0123456789'
18048 as_cr_alnum=$as_cr_Letters$as_cr_digits
18050 ECHO_C= ECHO_N= ECHO_T=
18051 case `echo -n x` in @%:@(((((
18053 case `echo 'xy\c'` in
18054 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18056 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18063 rm -f conf$$ conf$$.exe conf$$.file
18064 if test -d conf$$.dir; then
18065 rm -f conf$$.dir/conf$$.file
18068 mkdir conf$$.dir 2>/dev/null
18070 if (echo >conf$$.file) 2>/dev/null; then
18071 if ln -s conf$$.file conf$$ 2>/dev/null; then
18073 # ... but there are two gotchas:
18074 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18075 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18076 # In both cases, we have to default to `cp -pR'.
18077 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18079 elif ln conf$$.file conf$$ 2>/dev/null; then
18087 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18088 rmdir conf$$.dir 2>/dev/null
18093 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
18098 -*) as_dir=./$as_dir;;
18100 test -d "$as_dir" || eval $as_mkdir_p || {
18104 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18105 *) as_qdir=$as_dir;;
18107 as_dirs="'$as_qdir' $as_dirs"
18108 as_dir=`$as_dirname -- "$as_dir" ||
18109 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18110 X"$as_dir" : 'X\(//\)[^/]' \| \
18111 X"$as_dir" : 'X\(//\)$' \| \
18112 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18113 $as_echo X"$as_dir" |
18114 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18118 /^X\(\/\/\)[^/].*/{
18131 test -d "$as_dir" && break
18133 test -z "$as_dirs" || eval "mkdir $as_dirs"
18134 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18137 } @%:@ as_fn_mkdir_p
18138 if mkdir -p . 2>/dev/null; then
18139 as_mkdir_p='mkdir -p "$as_dir"'
18141 test -d ./-p && rmdir ./-p
18146 @%:@ as_fn_executable_p FILE
18147 @%:@ -----------------------
18148 @%:@ Test if FILE is an executable regular file.
18149 as_fn_executable_p ()
18151 test -f "$1" && test -x "$1"
18152 } @%:@ as_fn_executable_p
18153 as_test_x='test -x'
18154 as_executable_p=as_fn_executable_p
18156 # Sed expression to map a string onto a valid CPP name.
18157 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18159 # Sed expression to map a string onto a valid variable name.
18160 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18164 ## ----------------------------------- ##
18165 ## Main body of $CONFIG_STATUS script. ##
18166 ## ----------------------------------- ##
18168 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18170 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18171 # Save the log message, to keep $0 and so on meaningful, and to
18172 # report actual input values of CONFIG_FILES etc. instead of their
18173 # values after options handling.
18175 This file was extended by Jerasure $as_me 2.0, which was
18176 generated by GNU Autoconf 2.69. Invocation command line was
18178 CONFIG_FILES = $CONFIG_FILES
18179 CONFIG_HEADERS = $CONFIG_HEADERS
18180 CONFIG_LINKS = $CONFIG_LINKS
18181 CONFIG_COMMANDS = $CONFIG_COMMANDS
18184 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18189 case $ac_config_files in *"
18190 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18193 case $ac_config_headers in *"
18194 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18198 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18199 # Files that config.status was made for.
18200 config_files="$ac_config_files"
18201 config_headers="$ac_config_headers"
18202 config_commands="$ac_config_commands"
18206 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18208 \`$as_me' instantiates files and other configuration actions
18209 from templates according to the current configuration. Unless the files
18210 and actions are specified as TAGs, all are instantiated by default.
18212 Usage: $0 [OPTION]... [TAG]...
18214 -h, --help print this help, then exit
18215 -V, --version print version number and configuration settings, then exit
18216 --config print configuration, then exit
18217 -q, --quiet, --silent
18218 do not print progress messages
18219 -d, --debug don't remove temporary files
18220 --recheck update $as_me by reconfiguring in the same conditions
18221 --file=FILE[:TEMPLATE]
18222 instantiate the configuration file FILE
18223 --header=FILE[:TEMPLATE]
18224 instantiate the configuration header FILE
18226 Configuration files:
18229 Configuration headers:
18232 Configuration commands:
18235 Report bugs to the package provider.
18236 Jerasure home page: <https://jerasure.org/jerasure/jerasure>."
18239 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18240 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18242 Jerasure config.status 2.0
18243 configured by $0, generated by GNU Autoconf 2.69,
18244 with options \\"\$ac_cs_config\\"
18246 Copyright (C) 2012 Free Software Foundation, Inc.
18247 This config.status script is free software; the Free Software Foundation
18248 gives unlimited permission to copy, distribute and modify it."
18255 test -n "\$AWK" || AWK=awk
18258 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18259 # The default lists apply if the user does not specify any file.
18265 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18266 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18270 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18282 # Handling of the options.
18283 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18285 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18286 $as_echo "$ac_cs_version"; exit ;;
18287 --config | --confi | --conf | --con | --co | --c )
18288 $as_echo "$ac_cs_config"; exit ;;
18289 --debug | --debu | --deb | --de | --d | -d )
18291 --file | --fil | --fi | --f )
18294 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18295 '') as_fn_error $? "missing file argument" ;;
18297 as_fn_append CONFIG_FILES " '$ac_optarg'"
18298 ac_need_defaults=false;;
18299 --header | --heade | --head | --hea )
18302 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18304 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18305 ac_need_defaults=false;;
18307 # Conflict between --help and --header
18308 as_fn_error $? "ambiguous option: \`$1'
18309 Try \`$0 --help' for more information.";;
18310 --help | --hel | -h )
18311 $as_echo "$ac_cs_usage"; exit ;;
18312 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18313 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18316 # This is an error.
18317 -*) as_fn_error $? "unrecognized option: \`$1'
18318 Try \`$0 --help' for more information." ;;
18320 *) as_fn_append ac_config_targets " $1"
18321 ac_need_defaults=false ;;
18327 ac_configure_extra_args=
18329 if $ac_cs_silent; then
18331 ac_configure_extra_args="$ac_configure_extra_args --silent"
18335 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18336 if \$ac_cs_recheck; then
18337 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18339 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18340 CONFIG_SHELL='$SHELL'
18341 export CONFIG_SHELL
18346 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18350 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
18351 @%:@@%:@ Running $as_me. @%:@@%:@
18357 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18361 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
18364 # The HP-UX ksh and POSIX shell print the target directory to stdout
18365 # if CDPATH is set.
18366 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18368 sed_quote_subst='$sed_quote_subst'
18369 double_quote_subst='$double_quote_subst'
18370 delay_variable_subst='$delay_variable_subst'
18371 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
18372 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
18373 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
18374 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
18375 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
18376 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
18377 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
18378 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
18379 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
18380 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
18381 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
18382 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
18383 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
18384 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
18385 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
18386 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
18387 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
18388 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
18389 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
18390 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
18391 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
18392 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
18393 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
18394 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
18395 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
18396 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
18397 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
18398 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
18399 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
18400 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
18401 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
18402 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
18403 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
18404 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
18405 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
18406 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
18407 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
18408 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
18409 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
18410 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
18411 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
18412 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
18413 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
18414 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
18415 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
18416 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
18417 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18418 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18419 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
18420 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
18421 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
18422 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
18423 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
18424 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
18425 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
18426 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
18427 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
18428 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
18429 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"`'
18430 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
18431 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
18432 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
18433 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
18434 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
18435 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
18436 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
18437 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
18438 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
18439 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
18440 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
18441 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
18442 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
18443 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
18444 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
18445 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
18446 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
18447 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
18448 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
18449 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
18450 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18451 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
18452 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
18453 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
18454 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
18455 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
18456 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
18457 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18458 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
18459 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18460 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
18461 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18462 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
18463 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
18464 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
18465 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
18466 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
18467 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
18468 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
18469 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
18470 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
18471 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18472 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18473 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18474 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18475 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18476 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18477 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18478 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
18479 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
18480 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18481 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18482 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18483 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
18484 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
18485 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
18486 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
18487 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
18488 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
18489 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
18490 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
18491 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
18492 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18493 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18494 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
18495 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
18496 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
18497 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
18498 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
18499 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
18500 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18501 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18502 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
18503 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
18504 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
18505 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18506 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
18507 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
18508 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
18509 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
18510 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
18511 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
18512 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
18513 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
18514 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18515 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18516 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
18517 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
18518 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
18519 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
18520 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
18521 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
18522 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
18523 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
18524 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
18525 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18526 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18527 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
18528 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18529 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18530 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18531 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18532 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18533 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18534 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
18535 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18536 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
18537 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
18538 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
18539 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
18540 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
18541 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
18542 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
18543 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
18544 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
18545 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
18546 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
18547 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18548 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18549 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18550 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18551 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18552 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
18553 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
18554 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
18555 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18556 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
18557 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
18558 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
18559 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
18562 LTCFLAGS='$LTCFLAGS'
18563 compiler='$compiler_DEFAULT'
18565 # A function that is used when there is no print builtin or printf.
18566 func_fallback_echo ()
18568 eval 'cat <<_LTECHO_EOF
18573 # Quote evaled strings.
18588 deplibs_check_method \
18593 sharedlib_from_linklib_cmd \
18596 archiver_list_spec \
18602 lt_cv_sys_global_symbol_pipe \
18603 lt_cv_sys_global_symbol_to_cdecl \
18604 lt_cv_sys_global_symbol_to_import \
18605 lt_cv_sys_global_symbol_to_c_name_address \
18606 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18607 lt_cv_nm_interface \
18608 nm_file_list_spec \
18609 lt_cv_truncate_bin \
18610 lt_prog_compiler_no_builtin_flag \
18611 lt_prog_compiler_pic \
18612 lt_prog_compiler_wl \
18613 lt_prog_compiler_static \
18614 lt_cv_prog_compiler_c_o \
18623 export_dynamic_flag_spec \
18624 whole_archive_flag_spec \
18625 compiler_needs_object \
18627 allow_undefined_flag \
18628 no_undefined_flag \
18629 hardcode_libdir_flag_spec \
18630 hardcode_libdir_separator \
18634 variables_saved_for_relink \
18636 library_names_spec \
18638 install_override_mode \
18642 compiler_lib_search_dirs \
18647 compiler_lib_search_path \
18651 lt_prog_compiler_no_builtin_flag_CXX \
18652 lt_prog_compiler_pic_CXX \
18653 lt_prog_compiler_wl_CXX \
18654 lt_prog_compiler_static_CXX \
18655 lt_cv_prog_compiler_c_o_CXX \
18656 export_dynamic_flag_spec_CXX \
18657 whole_archive_flag_spec_CXX \
18658 compiler_needs_object_CXX \
18660 allow_undefined_flag_CXX \
18661 no_undefined_flag_CXX \
18662 hardcode_libdir_flag_spec_CXX \
18663 hardcode_libdir_separator_CXX \
18664 exclude_expsyms_CXX \
18665 include_expsyms_CXX \
18666 file_list_spec_CXX \
18667 compiler_lib_search_dirs_CXX \
18668 predep_objects_CXX \
18669 postdep_objects_CXX \
18672 compiler_lib_search_path_CXX; do
18673 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18674 *[\\\\\\\`\\"\\\$]*)
18675 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
18678 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18683 # Double-quote double-evaled strings.
18684 for var in reload_cmds \
18685 old_postinstall_cmds \
18686 old_postuninstall_cmds \
18688 extract_expsyms_cmds \
18689 old_archive_from_new_cmds \
18690 old_archive_from_expsyms_cmds \
18692 archive_expsym_cmds \
18694 module_expsym_cmds \
18695 export_symbols_cmds \
18699 postuninstall_cmds \
18701 sys_lib_search_path_spec \
18702 configure_time_dlsearch_path \
18703 configure_time_lt_sys_library_path \
18705 old_archive_cmds_CXX \
18706 old_archive_from_new_cmds_CXX \
18707 old_archive_from_expsyms_cmds_CXX \
18709 archive_expsym_cmds_CXX \
18711 module_expsym_cmds_CXX \
18712 export_symbols_cmds_CXX \
18714 postlink_cmds_CXX; do
18715 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18716 *[\\\\\\\`\\"\\\$]*)
18717 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
18720 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18725 ac_aux_dir='$ac_aux_dir'
18727 # See if we are running on zsh, and set the options that allow our
18728 # commands through without removal of \ escapes INIT.
18729 if test -n "\${ZSH_VERSION+set}"; then
18730 setopt NO_GLOB_SUBST
18746 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18748 # Handling of arguments.
18749 for ac_config_target in $ac_config_targets
18751 case $ac_config_target in
18752 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18753 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
18754 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
18755 "Examples/Makefile") CONFIG_FILES="$CONFIG_FILES Examples/Makefile" ;;
18756 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
18757 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
18759 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18764 # If the user did not use the arguments to specify the items to instantiate,
18765 # then the envvar interface is used. Set only those that are not.
18766 # We use the long form for the default assignment because of an extremely
18767 # bizarre bug on SunOS 4.1.3.
18768 if $ac_need_defaults; then
18769 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18770 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18771 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18774 # Have a temporary directory for convenience. Make it in the build tree
18775 # simply because there is no reason against having it here, and in addition,
18776 # creating and moving files from /tmp can sometimes cause problems.
18777 # Hook for its removal unless debugging.
18778 # Note that there is a small window in which the directory will not be cleaned:
18779 # after its creation but before its name has been assigned to `$tmp'.
18783 trap 'exit_status=$?
18784 : "${ac_tmp:=$tmp}"
18785 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18787 trap 'as_fn_exit 1' 1 2 13 15
18789 # Create a (secure) tmp directory for tmp files.
18792 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18796 tmp=./conf$$-$RANDOM
18797 (umask 077 && mkdir "$tmp")
18798 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18801 # Set up the scripts for CONFIG_FILES section.
18802 # No need to generate them if there are no CONFIG_FILES.
18803 # This happens for instance with `./config.status config.h'.
18804 if test -n "$CONFIG_FILES"; then
18807 ac_cr=`echo X | tr X '\015'`
18808 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18809 # But we know of no other shell where ac_cr would be empty at this
18810 # point, so we can use a bashism as a fallback.
18811 if test "x$ac_cr" = x; then
18812 eval ac_cr=\$\'\\r\'
18814 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18815 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18818 ac_cs_awk_cr=$ac_cr
18821 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18826 echo "cat >conf$$subs.awk <<_ACEOF" &&
18827 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18829 } >conf$$subs.sh ||
18830 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18831 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18833 for ac_last_try in false false false false false :; do
18834 . ./conf$$subs.sh ||
18835 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18837 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18838 if test $ac_delim_n = $ac_delim_num; then
18840 elif $ac_last_try; then
18841 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18843 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18846 rm -f conf$$subs.sh
18848 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18849 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18853 s/^/S["/; s/!.*/"]=/
18863 s/\(.\{148\}\)..*/\1/
18865 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18870 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18877 s/\(.\{148\}\)..*/\1/
18879 s/["\\]/\\&/g; s/^/"/; s/$/"/
18883 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18888 ' <conf$$subs.awk | sed '
18893 ' >>$CONFIG_STATUS || ac_write_fail=1
18894 rm -f conf$$subs.awk
18895 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18897 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18898 for (key in S) S_is_set[key] = 1
18904 nfields = split(line, field, "@")
18906 len = length(field[1])
18907 for (i = 2; i < nfields; i++) {
18909 keylen = length(key)
18910 if (S_is_set[key]) {
18912 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18913 len += length(value) + length(field[++i])
18924 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18925 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18926 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18929 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18930 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18933 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18934 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18935 # trailing colons and then remove the whole line if VPATH becomes empty
18936 # (actually we leave an empty line to preserve line numbers).
18937 if test "x$srcdir" = x.; then
18938 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18956 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18957 fi # test -n "$CONFIG_FILES"
18959 # Set up the scripts for CONFIG_HEADERS section.
18960 # No need to generate them if there are no CONFIG_HEADERS.
18961 # This happens for instance with `./config.status Makefile'.
18962 if test -n "$CONFIG_HEADERS"; then
18963 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18967 # Transform confdefs.h into an awk script `defines.awk', embedded as
18968 # here-document in config.status, that substitutes the proper values into
18969 # config.h.in to produce config.h.
18971 # Create a delimiter string that does not exist in confdefs.h, to ease
18972 # handling of long lines.
18974 for ac_last_try in false false :; do
18975 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18976 if test -z "$ac_tt"; then
18978 elif $ac_last_try; then
18979 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18981 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18985 # For the awk script, D is an array of macro values keyed by name,
18986 # likewise P contains macro parameters if any. Preserve backslash
18987 # newline sequences.
18989 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18991 s/.\{148\}/&'"$ac_delim"'/g
18994 s/^[ ]*#[ ]*define[ ][ ]*/ /
19001 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19003 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19007 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19008 D["\1"]=" \3\\\\\\n"\\/p
19010 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19015 s/.\{148\}/&'"$ac_delim"'/g
19020 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19023 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19025 ' <confdefs.h | sed '
19026 s/'"$ac_delim"'/"\\\
19027 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19029 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19030 for (key in D) D_is_set[key] = 1
19033 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19035 split(line, arg, " ")
19036 if (arg[1] == "#") {
19040 defundef = substr(arg[1], 2)
19043 split(mac1, mac2, "(") #)
19045 prefix = substr(line, 1, index(line, defundef) - 1)
19046 if (D_is_set[macro]) {
19047 # Preserve the white space surrounding the "#".
19048 print prefix "define", macro P[macro] D[macro]
19051 # Replace #undef with comments. This is necessary, for example,
19052 # in the case of _POSIX_SOURCE, which is predefined and required
19053 # on some systems where configure will not decide to define it.
19054 if (defundef == "undef") {
19055 print "/*", prefix defundef, macro, "*/"
19063 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19064 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19065 fi # test -n "$CONFIG_HEADERS"
19068 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
19073 :[FHLC]) ac_mode=$ac_tag; continue;;
19075 case $ac_mode$ac_tag in
19077 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19078 :[FH]-) ac_tag=-:-;;
19079 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19096 -) ac_f="$ac_tmp/stdin";;
19097 *) # Look for the file first in the build tree, then in the source tree
19098 # (if the path is not absolute). The absolute path cannot be DOS-style,
19099 # because $ac_f cannot contain `:'.
19103 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19105 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19107 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19108 as_fn_append ac_file_inputs " '$ac_f'"
19111 # Let's still pretend it is `configure' which instantiates (i.e., don't
19112 # use $as_me), people would be surprised to read:
19113 # /* config.h. Generated by config.status. */
19114 configure_input='Generated from '`
19115 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19117 if test x"$ac_file" != x-; then
19118 configure_input="$ac_file. $configure_input"
19119 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19120 $as_echo "$as_me: creating $ac_file" >&6;}
19122 # Neutralize special characters interpreted by sed in replacement strings.
19123 case $configure_input in #(
19124 *\&* | *\|* | *\\* )
19125 ac_sed_conf_input=`$as_echo "$configure_input" |
19126 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19127 *) ac_sed_conf_input=$configure_input;;
19131 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19132 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19137 ac_dir=`$as_dirname -- "$ac_file" ||
19138 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19139 X"$ac_file" : 'X\(//\)[^/]' \| \
19140 X"$ac_file" : 'X\(//\)$' \| \
19141 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19142 $as_echo X"$ac_file" |
19143 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19147 /^X\(\/\/\)[^/].*/{
19160 as_dir="$ac_dir"; as_fn_mkdir_p
19164 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19166 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19167 # A ".." for each directory in $ac_dir_suffix.
19168 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19169 case $ac_top_builddir_sub in
19170 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19171 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19174 ac_abs_top_builddir=$ac_pwd
19175 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19176 # for backward compatibility:
19177 ac_top_builddir=$ac_top_build_prefix
19180 .) # We are building in place.
19182 ac_top_srcdir=$ac_top_builddir_sub
19183 ac_abs_top_srcdir=$ac_pwd ;;
19184 [\\/]* | ?:[\\/]* ) # Absolute name.
19185 ac_srcdir=$srcdir$ac_dir_suffix;
19186 ac_top_srcdir=$srcdir
19187 ac_abs_top_srcdir=$srcdir ;;
19188 *) # Relative name.
19189 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19190 ac_top_srcdir=$ac_top_build_prefix$srcdir
19191 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19193 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19203 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
19204 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
19206 ac_MKDIR_P=$MKDIR_P
19208 [\\/$]* | ?:[\\/]* ) ;;
19209 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
19213 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19214 # If the template does not know about datarootdir, expand it.
19215 # FIXME: This hack should be removed a few years after 2.60.
19216 ac_datarootdir_hack=; ac_datarootdir_seen=
19227 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19228 *datarootdir*) ac_datarootdir_seen=yes;;
19229 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19231 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19233 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19234 ac_datarootdir_hack='
19235 s&@datadir@&$datadir&g
19236 s&@docdir@&$docdir&g
19237 s&@infodir@&$infodir&g
19238 s&@localedir@&$localedir&g
19239 s&@mandir@&$mandir&g
19240 s&\\\${datarootdir}&$datarootdir&g' ;;
19244 # Neutralize VPATH when `$srcdir' = `.'.
19245 # Shell code in configure.ac might set extrasub.
19246 # FIXME: do we really want to maintain this feature?
19247 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19248 ac_sed_extra="$ac_vpsub
19251 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19253 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19254 s|@configure_input@|$ac_sed_conf_input|;t t
19255 s&@top_builddir@&$ac_top_builddir_sub&;t t
19256 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19257 s&@srcdir@&$ac_srcdir&;t t
19258 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19259 s&@top_srcdir@&$ac_top_srcdir&;t t
19260 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19261 s&@builddir@&$ac_builddir&;t t
19262 s&@abs_builddir@&$ac_abs_builddir&;t t
19263 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19264 s&@INSTALL@&$ac_INSTALL&;t t
19265 s&@MKDIR_P@&$ac_MKDIR_P&;t t
19266 $ac_datarootdir_hack
19268 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19269 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19271 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19272 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19273 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19274 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19275 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19276 which seems to be undefined. Please make sure it is defined" >&5
19277 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19278 which seems to be undefined. Please make sure it is defined" >&2;}
19280 rm -f "$ac_tmp/stdin"
19282 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19283 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19285 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19291 if test x"$ac_file" != x-; then
19293 $as_echo "/* $configure_input */" \
19294 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19295 } >"$ac_tmp/config.h" \
19296 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19297 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19298 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19299 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19302 mv "$ac_tmp/config.h" "$ac_file" \
19303 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19306 $as_echo "/* $configure_input */" \
19307 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19308 || as_fn_error $? "could not create -" "$LINENO" 5
19310 # Compute "$ac_file"'s index in $config_headers.
19313 for _am_header in $config_headers :; do
19314 case $_am_header in
19315 $_am_arg | $_am_arg:* )
19318 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
19321 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
19322 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19323 X"$_am_arg" : 'X\(//\)[^/]' \| \
19324 X"$_am_arg" : 'X\(//\)$' \| \
19325 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
19326 $as_echo X"$_am_arg" |
19327 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19331 /^X\(\/\/\)[^/].*/{
19343 s/.*/./; q'`/stamp-h$_am_stamp_count
19346 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19347 $as_echo "$as_me: executing $ac_file commands" >&6;}
19352 case $ac_file$ac_mode in
19353 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
19354 # Older Autoconf quotes --file arguments for eval, but not when files
19355 # are listed without --file. Let's play safe and only enable the eval
19356 # if we detect the quoting.
19357 case $CONFIG_FILES in
19358 *\'*) eval set x "$CONFIG_FILES" ;;
19359 *) set x $CONFIG_FILES ;;
19364 # Strip MF so we end up with the name of the file.
19365 mf=`echo "$mf" | sed -e 's/:.*$//'`
19366 # Check whether this is an Automake generated Makefile or not.
19367 # We used to match only the files named 'Makefile.in', but
19368 # some people rename them; so instead we look at the file content.
19369 # Grep'ing the first line is not enough: some people post-process
19370 # each Makefile.in and add a new line on top of each file to say so.
19371 # Grep'ing the whole file is not good either: AIX grep has a line
19372 # limit of 2048, but all sed's we know have understand at least 4000.
19373 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
19374 dirpart=`$as_dirname -- "$mf" ||
19375 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19376 X"$mf" : 'X\(//\)[^/]' \| \
19377 X"$mf" : 'X\(//\)$' \| \
19378 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
19380 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19384 /^X\(\/\/\)[^/].*/{
19400 # Extract the definition of DEPDIR, am__include, and am__quote
19401 # from the Makefile without running 'make'.
19402 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
19403 test -z "$DEPDIR" && continue
19404 am__include=`sed -n 's/^am__include = //p' < "$mf"`
19405 test -z "$am__include" && continue
19406 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
19407 # Find all dependency output files, they are included files with
19408 # $(DEPDIR) in their names. We invoke sed twice because it is the
19409 # simplest approach to changing $(DEPDIR) to its actual value in the
19411 for file in `sed -n "
19412 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
19413 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
19414 # Make sure the directory exists.
19415 test -f "$dirpart/$file" && continue
19416 fdir=`$as_dirname -- "$file" ||
19417 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19418 X"$file" : 'X\(//\)[^/]' \| \
19419 X"$file" : 'X\(//\)$' \| \
19420 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
19421 $as_echo X"$file" |
19422 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19426 /^X\(\/\/\)[^/].*/{
19439 as_dir=$dirpart/$fdir; as_fn_mkdir_p
19440 # echo "creating $dirpart/$file"
19441 echo '# dummy' > "$dirpart/$file"
19448 # See if we are running on zsh, and set the options that allow our
19449 # commands through without removal of \ escapes.
19450 if test -n "${ZSH_VERSION+set}"; then
19451 setopt NO_GLOB_SUBST
19455 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19458 cat <<_LT_EOF >> "$cfgfile"
19460 # Generated automatically by $as_me ($PACKAGE) $VERSION
19461 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
19463 # Provide generalized library-building support services.
19464 # Written by Gordon Matzigkeit, 1996
19466 # Copyright (C) 2014 Free Software Foundation, Inc.
19467 # This is free software; see the source for copying conditions. There is NO
19468 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
19470 # GNU Libtool is free software; you can redistribute it and/or modify
19471 # it under the terms of the GNU General Public License as published by
19472 # the Free Software Foundation; either version 2 of of the License, or
19473 # (at your option) any later version.
19475 # As a special exception to the GNU General Public License, if you
19476 # distribute this file as part of a program or library that is built
19477 # using GNU Libtool, you may include this file under the same
19478 # distribution terms that you use for the rest of that program.
19480 # GNU Libtool is distributed in the hope that it will be useful, but
19481 # WITHOUT ANY WARRANTY; without even the implied warranty of
19482 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19483 # GNU General Public License for more details.
19485 # You should have received a copy of the GNU General Public License
19486 # along with this program. If not, see <http://www.gnu.org/licenses/>.
19489 # The names of the tagged configurations supported by this script.
19490 available_tags='CXX '
19492 # Configured defaults for sys_lib_dlsearch_path munging.
19493 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
19495 # ### BEGIN LIBTOOL CONFIG
19497 # Which release of libtool.m4 was used?
19498 macro_version=$macro_version
19499 macro_revision=$macro_revision
19501 # Whether or not to build static libraries.
19502 build_old_libs=$enable_static
19504 # Whether or not to build shared libraries.
19505 build_libtool_libs=$enable_shared
19507 # What type of objects to build.
19510 # Whether or not to optimize for fast installation.
19511 fast_install=$enable_fast_install
19513 # Shared archive member basename,for filename based shared library versioning on AIX.
19514 shared_archive_member_spec=$shared_archive_member_spec
19516 # Shell to use when invoking shell scripts.
19519 # An echo program that protects backslashes.
19522 # The PATH separator for the build system.
19523 PATH_SEPARATOR=$lt_PATH_SEPARATOR
19526 host_alias=$host_alias
19530 # The build system.
19531 build_alias=$build_alias
19535 # A sed program that does not truncate output.
19538 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
19539 Xsed="\$SED -e 1s/^X//"
19541 # A grep program that handles long lines.
19547 # A literal string matcher.
19550 # A BSD- or MS-compatible name lister.
19553 # Whether we need soft or hard links.
19556 # What is the maximum length of a command?
19557 max_cmd_len=$max_cmd_len
19559 # Object file suffix (normally "o").
19562 # Executable file suffix (normally "").
19565 # whether the shell understands "unset".
19568 # turn spaces into newlines.
19571 # turn newlines into spaces.
19574 # convert \$build file names to \$host format.
19575 to_host_file_cmd=$lt_cv_to_host_file_cmd
19577 # convert \$build files to toolchain format.
19578 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
19580 # An object symbol dumper.
19581 OBJDUMP=$lt_OBJDUMP
19583 # Method to check whether dependent libraries are shared objects.
19584 deplibs_check_method=$lt_deplibs_check_method
19586 # Command to use when deplibs_check_method = "file_magic".
19587 file_magic_cmd=$lt_file_magic_cmd
19589 # How to find potential files when deplibs_check_method = "file_magic".
19590 file_magic_glob=$lt_file_magic_glob
19592 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
19593 want_nocaseglob=$lt_want_nocaseglob
19595 # DLL creation program.
19596 DLLTOOL=$lt_DLLTOOL
19598 # Command to associate shared and link libraries.
19599 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
19604 # Flags to create an archive.
19605 AR_FLAGS=$lt_AR_FLAGS
19607 # How to feed a file listing to the archiver.
19608 archiver_list_spec=$lt_archiver_list_spec
19610 # A symbol stripping program.
19613 # Commands used to install an old-style archive.
19615 old_postinstall_cmds=$lt_old_postinstall_cmds
19616 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19618 # Whether to use a lock for old archive extraction.
19619 lock_old_archive_extraction=$lock_old_archive_extraction
19624 # LTCC compiler flags.
19625 LTCFLAGS=$lt_CFLAGS
19627 # Take the output of nm and produce a listing of raw symbols and C names.
19628 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19630 # Transform the output of nm in a proper C declaration.
19631 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19633 # Transform the output of nm into a list of symbols to manually relocate.
19634 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
19636 # Transform the output of nm in a C name address pair.
19637 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19639 # Transform the output of nm in a C name address pair when lib prefix is needed.
19640 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19642 # The name lister interface.
19643 nm_interface=$lt_lt_cv_nm_interface
19645 # Specify filename containing input files for \$NM.
19646 nm_file_list_spec=$lt_nm_file_list_spec
19648 # The root where to search for dependent libraries,and where our libraries should be installed.
19649 lt_sysroot=$lt_sysroot
19651 # Command to truncate a binary pipe.
19652 lt_truncate_bin=$lt_lt_cv_truncate_bin
19654 # The name of the directory that contains temporary libtool files.
19657 # Used to examine libraries when file_magic_cmd begins with "file".
19658 MAGIC_CMD=$MAGIC_CMD
19660 # Must we lock files when doing compilation?
19661 need_locks=$lt_need_locks
19664 MANIFEST_TOOL=$lt_MANIFEST_TOOL
19666 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19667 DSYMUTIL=$lt_DSYMUTIL
19669 # Tool to change global to local symbols on Mac OS X.
19672 # Tool to manipulate fat objects and archives on Mac OS X.
19675 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
19678 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19679 OTOOL64=$lt_OTOOL64
19681 # Old archive suffix (normally "a").
19684 # Shared library suffix (normally ".so").
19685 shrext_cmds=$lt_shrext_cmds
19687 # The commands to extract the exported symbol list from a shared archive.
19688 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19690 # Variables whose values should be saved in libtool wrapper scripts and
19691 # restored at link time.
19692 variables_saved_for_relink=$lt_variables_saved_for_relink
19694 # Do we need the "lib" prefix for modules?
19695 need_lib_prefix=$need_lib_prefix
19697 # Do we need a version for libraries?
19698 need_version=$need_version
19700 # Library versioning type.
19701 version_type=$version_type
19703 # Shared library runtime path variable.
19704 runpath_var=$runpath_var
19706 # Shared library path variable.
19707 shlibpath_var=$shlibpath_var
19709 # Is shlibpath searched before the hard-coded library search path?
19710 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19712 # Format of library name prefix.
19713 libname_spec=$lt_libname_spec
19715 # List of archive names. First name is the real one, the rest are links.
19716 # The last name is the one that the linker finds with -lNAME
19717 library_names_spec=$lt_library_names_spec
19719 # The coded name of the library, if different from the real name.
19720 soname_spec=$lt_soname_spec
19722 # Permission mode override for installation of shared libraries.
19723 install_override_mode=$lt_install_override_mode
19725 # Command to use after installation of a shared archive.
19726 postinstall_cmds=$lt_postinstall_cmds
19728 # Command to use after uninstallation of a shared archive.
19729 postuninstall_cmds=$lt_postuninstall_cmds
19731 # Commands used to finish a libtool library installation in a directory.
19732 finish_cmds=$lt_finish_cmds
19734 # As "finish_cmds", except a single script fragment to be evaled but
19736 finish_eval=$lt_finish_eval
19738 # Whether we should hardcode library paths into libraries.
19739 hardcode_into_libs=$hardcode_into_libs
19741 # Compile-time system search path for libraries.
19742 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19744 # Detected run-time system search path for libraries.
19745 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
19747 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
19748 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
19750 # Whether dlopen is supported.
19751 dlopen_support=$enable_dlopen
19753 # Whether dlopen of programs is supported.
19754 dlopen_self=$enable_dlopen_self
19756 # Whether dlopen of statically linked programs is supported.
19757 dlopen_self_static=$enable_dlopen_self_static
19759 # Commands to strip libraries.
19760 old_striplib=$lt_old_striplib
19761 striplib=$lt_striplib
19764 # The linker used to build libraries.
19767 # How to create reloadable object files.
19768 reload_flag=$lt_reload_flag
19769 reload_cmds=$lt_reload_cmds
19771 # Commands used to build an old-style archive.
19772 old_archive_cmds=$lt_old_archive_cmds
19774 # A language specific compiler.
19777 # Is the compiler the GNU compiler?
19780 # Compiler flag to turn off builtin functions.
19781 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19783 # Additional compiler flags for building library objects.
19784 pic_flag=$lt_lt_prog_compiler_pic
19786 # How to pass a linker flag through the compiler.
19787 wl=$lt_lt_prog_compiler_wl
19789 # Compiler flag to prevent dynamic linking.
19790 link_static_flag=$lt_lt_prog_compiler_static
19792 # Does compiler simultaneously support -c and -o options?
19793 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19795 # Whether or not to add -lc for building shared libraries.
19796 build_libtool_need_lc=$archive_cmds_need_lc
19798 # Whether or not to disallow shared libs when runtime libs are static.
19799 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19801 # Compiler flag to allow reflexive dlopens.
19802 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19804 # Compiler flag to generate shared objects directly from archives.
19805 whole_archive_flag_spec=$lt_whole_archive_flag_spec
19807 # Whether the compiler copes with passing no objects directly.
19808 compiler_needs_object=$lt_compiler_needs_object
19810 # Create an old-style archive from a shared archive.
19811 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19813 # Create a temporary old-style archive to link instead of a shared archive.
19814 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19816 # Commands used to build a shared archive.
19817 archive_cmds=$lt_archive_cmds
19818 archive_expsym_cmds=$lt_archive_expsym_cmds
19820 # Commands used to build a loadable module if different from building
19821 # a shared archive.
19822 module_cmds=$lt_module_cmds
19823 module_expsym_cmds=$lt_module_expsym_cmds
19825 # Whether we are building with GNU ld or not.
19826 with_gnu_ld=$lt_with_gnu_ld
19828 # Flag that allows shared libraries with undefined symbols to be built.
19829 allow_undefined_flag=$lt_allow_undefined_flag
19831 # Flag that enforces no undefined symbols.
19832 no_undefined_flag=$lt_no_undefined_flag
19834 # Flag to hardcode \$libdir into a binary during linking.
19835 # This must work even if \$libdir does not exist
19836 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19838 # Whether we need a single "-rpath" flag with a separated argument.
19839 hardcode_libdir_separator=$lt_hardcode_libdir_separator
19841 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19842 # DIR into the resulting binary.
19843 hardcode_direct=$hardcode_direct
19845 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19846 # DIR into the resulting binary and the resulting library dependency is
19847 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
19848 # library is relocated.
19849 hardcode_direct_absolute=$hardcode_direct_absolute
19851 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19852 # into the resulting binary.
19853 hardcode_minus_L=$hardcode_minus_L
19855 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19856 # into the resulting binary.
19857 hardcode_shlibpath_var=$hardcode_shlibpath_var
19859 # Set to "yes" if building a shared library automatically hardcodes DIR
19860 # into the library and all subsequent libraries and executables linked
19862 hardcode_automatic=$hardcode_automatic
19864 # Set to yes if linker adds runtime paths of dependent libraries
19865 # to runtime path list.
19866 inherit_rpath=$inherit_rpath
19868 # Whether libtool must link a program against all its dependency libraries.
19869 link_all_deplibs=$link_all_deplibs
19871 # Set to "yes" if exported symbols are required.
19872 always_export_symbols=$always_export_symbols
19874 # The commands to list exported symbols.
19875 export_symbols_cmds=$lt_export_symbols_cmds
19877 # Symbols that should not be listed in the preloaded symbols.
19878 exclude_expsyms=$lt_exclude_expsyms
19880 # Symbols that must always be exported.
19881 include_expsyms=$lt_include_expsyms
19883 # Commands necessary for linking programs (against libraries) with templates.
19884 prelink_cmds=$lt_prelink_cmds
19886 # Commands necessary for finishing linking programs.
19887 postlink_cmds=$lt_postlink_cmds
19889 # Specify filename containing input files.
19890 file_list_spec=$lt_file_list_spec
19892 # How to hardcode a shared library path into an executable.
19893 hardcode_action=$hardcode_action
19895 # The directories searched by this compiler when creating a shared library.
19896 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
19898 # Dependencies to place before and after the objects being linked to
19899 # create a shared library.
19900 predep_objects=$lt_predep_objects
19901 postdep_objects=$lt_postdep_objects
19902 predeps=$lt_predeps
19903 postdeps=$lt_postdeps
19905 # The library search path used internally by the compiler when linking
19906 # a shared library.
19907 compiler_lib_search_path=$lt_compiler_lib_search_path
19909 # ### END LIBTOOL CONFIG
19913 cat <<'_LT_EOF' >> "$cfgfile"
19915 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
19917 # func_munge_path_list VARIABLE PATH
19918 # -----------------------------------
19919 # VARIABLE is name of variable containing _space_ separated list of
19920 # directories to be munged by the contents of PATH, which is string
19923 # string "DIR[ DIR]" will be prepended to VARIABLE
19925 # string "DIR[ DIR]" will be appended to VARIABLE
19926 # "DIRP[:DIRP]::[DIRA:]DIRA"
19927 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
19928 # "DIRA[ DIRA]" will be appended to VARIABLE
19930 # VARIABLE will be replaced by "DIR[ DIR]"
19931 func_munge_path_list ()
19937 eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'` \@S|@@S|@1\"
19940 eval @S|@1=\"\@S|@@S|@1 `$ECHO @S|@2 | $SED 's/:/ /g'`\"
19943 eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
19944 eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\"
19947 eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'`\"
19953 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
19954 func_cc_basename ()
19956 for cc_temp in @S|@*""; do
19958 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19959 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19964 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
19968 # ### END FUNCTIONS SHARED WITH CONFIGURE
19974 cat <<\_LT_EOF >> "$cfgfile"
19975 # AIX sometimes has problems with the GCC collect2 program. For some
19976 # reason, if we set the COLLECT_NAMES environment variable, the problems
19977 # vanish in a puff of smoke.
19978 if test set != "${COLLECT_NAMES+set}"; then
19980 export COLLECT_NAMES
19987 ltmain=$ac_aux_dir/ltmain.sh
19990 # We use sed instead of cat because bash on DJGPP gets confused if
19991 # if finds mixed CR/LF and LF-only lines. Since sed operates in
19992 # text mode, it properly converts lines to CR/LF. This bash problem
19993 # is reportedly fixed, but why not run on old versions too?
19994 sed '$q' "$ltmain" >> "$cfgfile" \
19995 || (rm -f "$cfgfile"; exit 1)
19997 mv -f "$cfgfile" "$ofile" ||
19998 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
20002 cat <<_LT_EOF >> "$ofile"
20004 # ### BEGIN LIBTOOL TAG CONFIG: CXX
20006 # The linker used to build libraries.
20009 # How to create reloadable object files.
20010 reload_flag=$lt_reload_flag_CXX
20011 reload_cmds=$lt_reload_cmds_CXX
20013 # Commands used to build an old-style archive.
20014 old_archive_cmds=$lt_old_archive_cmds_CXX
20016 # A language specific compiler.
20017 CC=$lt_compiler_CXX
20019 # Is the compiler the GNU compiler?
20022 # Compiler flag to turn off builtin functions.
20023 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
20025 # Additional compiler flags for building library objects.
20026 pic_flag=$lt_lt_prog_compiler_pic_CXX
20028 # How to pass a linker flag through the compiler.
20029 wl=$lt_lt_prog_compiler_wl_CXX
20031 # Compiler flag to prevent dynamic linking.
20032 link_static_flag=$lt_lt_prog_compiler_static_CXX
20034 # Does compiler simultaneously support -c and -o options?
20035 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
20037 # Whether or not to add -lc for building shared libraries.
20038 build_libtool_need_lc=$archive_cmds_need_lc_CXX
20040 # Whether or not to disallow shared libs when runtime libs are static.
20041 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
20043 # Compiler flag to allow reflexive dlopens.
20044 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
20046 # Compiler flag to generate shared objects directly from archives.
20047 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
20049 # Whether the compiler copes with passing no objects directly.
20050 compiler_needs_object=$lt_compiler_needs_object_CXX
20052 # Create an old-style archive from a shared archive.
20053 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
20055 # Create a temporary old-style archive to link instead of a shared archive.
20056 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
20058 # Commands used to build a shared archive.
20059 archive_cmds=$lt_archive_cmds_CXX
20060 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
20062 # Commands used to build a loadable module if different from building
20063 # a shared archive.
20064 module_cmds=$lt_module_cmds_CXX
20065 module_expsym_cmds=$lt_module_expsym_cmds_CXX
20067 # Whether we are building with GNU ld or not.
20068 with_gnu_ld=$lt_with_gnu_ld_CXX
20070 # Flag that allows shared libraries with undefined symbols to be built.
20071 allow_undefined_flag=$lt_allow_undefined_flag_CXX
20073 # Flag that enforces no undefined symbols.
20074 no_undefined_flag=$lt_no_undefined_flag_CXX
20076 # Flag to hardcode \$libdir into a binary during linking.
20077 # This must work even if \$libdir does not exist
20078 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
20080 # Whether we need a single "-rpath" flag with a separated argument.
20081 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
20083 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
20084 # DIR into the resulting binary.
20085 hardcode_direct=$hardcode_direct_CXX
20087 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
20088 # DIR into the resulting binary and the resulting library dependency is
20089 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
20090 # library is relocated.
20091 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
20093 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20094 # into the resulting binary.
20095 hardcode_minus_L=$hardcode_minus_L_CXX
20097 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20098 # into the resulting binary.
20099 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
20101 # Set to "yes" if building a shared library automatically hardcodes DIR
20102 # into the library and all subsequent libraries and executables linked
20104 hardcode_automatic=$hardcode_automatic_CXX
20106 # Set to yes if linker adds runtime paths of dependent libraries
20107 # to runtime path list.
20108 inherit_rpath=$inherit_rpath_CXX
20110 # Whether libtool must link a program against all its dependency libraries.
20111 link_all_deplibs=$link_all_deplibs_CXX
20113 # Set to "yes" if exported symbols are required.
20114 always_export_symbols=$always_export_symbols_CXX
20116 # The commands to list exported symbols.
20117 export_symbols_cmds=$lt_export_symbols_cmds_CXX
20119 # Symbols that should not be listed in the preloaded symbols.
20120 exclude_expsyms=$lt_exclude_expsyms_CXX
20122 # Symbols that must always be exported.
20123 include_expsyms=$lt_include_expsyms_CXX
20125 # Commands necessary for linking programs (against libraries) with templates.
20126 prelink_cmds=$lt_prelink_cmds_CXX
20128 # Commands necessary for finishing linking programs.
20129 postlink_cmds=$lt_postlink_cmds_CXX
20131 # Specify filename containing input files.
20132 file_list_spec=$lt_file_list_spec_CXX
20134 # How to hardcode a shared library path into an executable.
20135 hardcode_action=$hardcode_action_CXX
20137 # The directories searched by this compiler when creating a shared library.
20138 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
20140 # Dependencies to place before and after the objects being linked to
20141 # create a shared library.
20142 predep_objects=$lt_predep_objects_CXX
20143 postdep_objects=$lt_postdep_objects_CXX
20144 predeps=$lt_predeps_CXX
20145 postdeps=$lt_postdeps_CXX
20147 # The library search path used internally by the compiler when linking
20148 # a shared library.
20149 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
20151 # ### END LIBTOOL TAG CONFIG: CXX
20162 ac_clean_files=$ac_clean_files_save
20164 test $ac_write_fail = 0 ||
20165 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20168 # configure is writing to config.log, and then calls config.status.
20169 # config.status does its own redirection, appending to config.log.
20170 # Unfortunately, on DOS this fails, as config.log is still kept open
20171 # by configure, so config.status won't be able to write to it; its
20172 # output is simply discarded. So we exec the FD to /dev/null,
20173 # effectively closing config.log, so it can be properly (re)opened and
20174 # appended to by config.status. When coming back to configure, we
20175 # need to make the FD available again.
20176 if test "$no_create" != yes; then
20178 ac_config_status_args=
20179 test "$silent" = yes &&
20180 ac_config_status_args="$ac_config_status_args --quiet"
20182 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20184 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20185 # would make configure fail if this is the last instruction.
20186 $ac_cs_success || as_fn_exit 1
20188 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20190 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}