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
702 INSTALL_STRIP_PROGRAM
745 program_transform_name
759 enable_option_checking
766 enable_dependency_tracking
772 ac_precious_vars='build_alias
788 # Initialize some variables set by options.
790 ac_init_version=false
791 ac_unrecognized_opts=
793 # The variables have the same names as the options, with
794 # dashes changed to underlines.
802 program_transform_name=s,x,x,
810 # Installation directory options.
811 # These are left unexpanded so users can "make install exec_prefix=/foo"
812 # and all the variables that are supposed to be based on exec_prefix
813 # by default will actually change.
814 # Use braces instead of parens because sh, perl, etc. also accept them.
815 # (The list follows the same order as the GNU Coding Standards.)
816 bindir='${exec_prefix}/bin'
817 sbindir='${exec_prefix}/sbin'
818 libexecdir='${exec_prefix}/libexec'
819 datarootdir='${prefix}/share'
820 datadir='${datarootdir}'
821 sysconfdir='${prefix}/etc'
822 sharedstatedir='${prefix}/com'
823 localstatedir='${prefix}/var'
824 runstatedir='${localstatedir}/run'
825 includedir='${prefix}/include'
826 oldincludedir='/usr/include'
827 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
828 infodir='${datarootdir}/info'
833 libdir='${exec_prefix}/lib'
834 localedir='${datarootdir}/locale'
835 mandir='${datarootdir}/man'
841 # If the previous option needs an argument, assign it.
842 if test -n "$ac_prev"; then
843 eval $ac_prev=\$ac_option
849 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
854 # Accept the important Cygnus configure options, so we can diagnose typos.
856 case $ac_dashdash$ac_option in
860 -bindir | --bindir | --bindi | --bind | --bin | --bi)
862 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
865 -build | --build | --buil | --bui | --bu)
866 ac_prev=build_alias ;;
867 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
868 build_alias=$ac_optarg ;;
870 -cache-file | --cache-file | --cache-fil | --cache-fi \
871 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
872 ac_prev=cache_file ;;
873 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
874 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
875 cache_file=$ac_optarg ;;
878 cache_file=config.cache ;;
880 -datadir | --datadir | --datadi | --datad)
882 -datadir=* | --datadir=* | --datadi=* | --datad=*)
883 datadir=$ac_optarg ;;
885 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
886 | --dataroo | --dataro | --datar)
887 ac_prev=datarootdir ;;
888 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
889 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
890 datarootdir=$ac_optarg ;;
892 -disable-* | --disable-*)
893 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
894 # Reject names that are not valid shell variable names.
895 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
896 as_fn_error $? "invalid feature name: $ac_useropt"
897 ac_useropt_orig=$ac_useropt
898 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
899 case $ac_user_opts in
903 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
904 ac_unrecognized_sep=', ';;
906 eval enable_$ac_useropt=no ;;
908 -docdir | --docdir | --docdi | --doc | --do)
910 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
913 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
915 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
918 -enable-* | --enable-*)
919 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
920 # Reject names that are not valid shell variable names.
921 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
922 as_fn_error $? "invalid feature name: $ac_useropt"
923 ac_useropt_orig=$ac_useropt
924 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
925 case $ac_user_opts in
929 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
930 ac_unrecognized_sep=', ';;
932 eval enable_$ac_useropt=\$ac_optarg ;;
934 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
935 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
936 | --exec | --exe | --ex)
937 ac_prev=exec_prefix ;;
938 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
939 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
940 | --exec=* | --exe=* | --ex=*)
941 exec_prefix=$ac_optarg ;;
943 -gas | --gas | --ga | --g)
944 # Obsolete; use --with-gas.
947 -help | --help | --hel | --he | -h)
949 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
950 ac_init_help=recursive ;;
951 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
952 ac_init_help=short ;;
954 -host | --host | --hos | --ho)
955 ac_prev=host_alias ;;
956 -host=* | --host=* | --hos=* | --ho=*)
957 host_alias=$ac_optarg ;;
959 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
961 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
963 htmldir=$ac_optarg ;;
965 -includedir | --includedir | --includedi | --included | --include \
966 | --includ | --inclu | --incl | --inc)
967 ac_prev=includedir ;;
968 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
969 | --includ=* | --inclu=* | --incl=* | --inc=*)
970 includedir=$ac_optarg ;;
972 -infodir | --infodir | --infodi | --infod | --info | --inf)
974 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
975 infodir=$ac_optarg ;;
977 -libdir | --libdir | --libdi | --libd)
979 -libdir=* | --libdir=* | --libdi=* | --libd=*)
982 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
983 | --libexe | --libex | --libe)
984 ac_prev=libexecdir ;;
985 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
986 | --libexe=* | --libex=* | --libe=*)
987 libexecdir=$ac_optarg ;;
989 -localedir | --localedir | --localedi | --localed | --locale)
991 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
992 localedir=$ac_optarg ;;
994 -localstatedir | --localstatedir | --localstatedi | --localstated \
995 | --localstate | --localstat | --localsta | --localst | --locals)
996 ac_prev=localstatedir ;;
997 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
998 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
999 localstatedir=$ac_optarg ;;
1001 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1003 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1004 mandir=$ac_optarg ;;
1006 -nfp | --nfp | --nf)
1007 # Obsolete; use --without-fp.
1010 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1011 | --no-cr | --no-c | -n)
1014 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1015 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1018 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1019 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1020 | --oldin | --oldi | --old | --ol | --o)
1021 ac_prev=oldincludedir ;;
1022 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1023 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1024 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1025 oldincludedir=$ac_optarg ;;
1027 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1029 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1030 prefix=$ac_optarg ;;
1032 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1033 | --program-pre | --program-pr | --program-p)
1034 ac_prev=program_prefix ;;
1035 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1036 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1037 program_prefix=$ac_optarg ;;
1039 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1040 | --program-suf | --program-su | --program-s)
1041 ac_prev=program_suffix ;;
1042 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1043 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1044 program_suffix=$ac_optarg ;;
1046 -program-transform-name | --program-transform-name \
1047 | --program-transform-nam | --program-transform-na \
1048 | --program-transform-n | --program-transform- \
1049 | --program-transform | --program-transfor \
1050 | --program-transfo | --program-transf \
1051 | --program-trans | --program-tran \
1052 | --progr-tra | --program-tr | --program-t)
1053 ac_prev=program_transform_name ;;
1054 -program-transform-name=* | --program-transform-name=* \
1055 | --program-transform-nam=* | --program-transform-na=* \
1056 | --program-transform-n=* | --program-transform-=* \
1057 | --program-transform=* | --program-transfor=* \
1058 | --program-transfo=* | --program-transf=* \
1059 | --program-trans=* | --program-tran=* \
1060 | --progr-tra=* | --program-tr=* | --program-t=*)
1061 program_transform_name=$ac_optarg ;;
1063 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1065 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1066 pdfdir=$ac_optarg ;;
1068 -psdir | --psdir | --psdi | --psd | --ps)
1070 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1073 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1074 | -silent | --silent | --silen | --sile | --sil)
1077 -runstatedir | --runstatedir | --runstatedi | --runstated \
1078 | --runstate | --runstat | --runsta | --runst | --runs \
1079 | --run | --ru | --r)
1080 ac_prev=runstatedir ;;
1081 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1082 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1083 | --run=* | --ru=* | --r=*)
1084 runstatedir=$ac_optarg ;;
1086 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1088 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1090 sbindir=$ac_optarg ;;
1092 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1093 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1094 | --sharedst | --shareds | --shared | --share | --shar \
1096 ac_prev=sharedstatedir ;;
1097 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1098 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1099 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1101 sharedstatedir=$ac_optarg ;;
1103 -site | --site | --sit)
1105 -site=* | --site=* | --sit=*)
1108 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1110 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1111 srcdir=$ac_optarg ;;
1113 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1114 | --syscon | --sysco | --sysc | --sys | --sy)
1115 ac_prev=sysconfdir ;;
1116 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1117 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1118 sysconfdir=$ac_optarg ;;
1120 -target | --target | --targe | --targ | --tar | --ta | --t)
1121 ac_prev=target_alias ;;
1122 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1123 target_alias=$ac_optarg ;;
1125 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1128 -version | --version | --versio | --versi | --vers | -V)
1129 ac_init_version=: ;;
1132 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1133 # Reject names that are not valid shell variable names.
1134 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1135 as_fn_error $? "invalid package name: $ac_useropt"
1136 ac_useropt_orig=$ac_useropt
1137 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1138 case $ac_user_opts in
1142 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1143 ac_unrecognized_sep=', ';;
1145 eval with_$ac_useropt=\$ac_optarg ;;
1147 -without-* | --without-*)
1148 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1149 # Reject names that are not valid shell variable names.
1150 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1151 as_fn_error $? "invalid package name: $ac_useropt"
1152 ac_useropt_orig=$ac_useropt
1153 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1154 case $ac_user_opts in
1158 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1159 ac_unrecognized_sep=', ';;
1161 eval with_$ac_useropt=no ;;
1164 # Obsolete; use --with-x.
1167 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1168 | --x-incl | --x-inc | --x-in | --x-i)
1169 ac_prev=x_includes ;;
1170 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1171 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1172 x_includes=$ac_optarg ;;
1174 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1175 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1176 ac_prev=x_libraries ;;
1177 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1178 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1179 x_libraries=$ac_optarg ;;
1181 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1182 Try \`$0 --help' for more information"
1186 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1187 # Reject names that are not valid shell variable names.
1188 case $ac_envvar in #(
1189 '' | [0-9]* | *[!_$as_cr_alnum]* )
1190 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1192 eval $ac_envvar=\$ac_optarg
1193 export $ac_envvar ;;
1196 # FIXME: should be removed in autoconf 3.0.
1197 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1198 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1199 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1200 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1206 if test -n "$ac_prev"; then
1207 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1208 as_fn_error $? "missing argument to $ac_option"
1211 if test -n "$ac_unrecognized_opts"; then
1212 case $enable_option_checking in
1214 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1215 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1219 # Check all directory arguments for consistency.
1220 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1221 datadir sysconfdir sharedstatedir localstatedir includedir \
1222 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1223 libdir localedir mandir runstatedir
1225 eval ac_val=\$$ac_var
1226 # Remove trailing slashes.
1229 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1230 eval $ac_var=\$ac_val;;
1232 # Be sure to have absolute directory names.
1234 [\\/$]* | ?:[\\/]* ) continue;;
1235 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1237 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1240 # There might be people who depend on the old broken behavior: `$host'
1241 # used to hold the argument of --host etc.
1242 # FIXME: To remove some day.
1245 target=$target_alias
1247 # FIXME: To remove some day.
1248 if test "x$host_alias" != x; then
1249 if test "x$build_alias" = x; then
1250 cross_compiling=maybe
1251 elif test "x$build_alias" != "x$host_alias"; then
1257 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1259 test "$silent" = yes && exec 6>/dev/null
1262 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1263 ac_ls_di=`ls -di .` &&
1264 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1265 as_fn_error $? "working directory cannot be determined"
1266 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1267 as_fn_error $? "pwd does not report name of working directory"
1270 # Find the source files, if location was not specified.
1271 if test -z "$srcdir"; then
1272 ac_srcdir_defaulted=yes
1273 # Try the directory containing this script, then the parent directory.
1274 ac_confdir=`$as_dirname -- "$as_myself" ||
1275 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1276 X"$as_myself" : 'X\(//\)[^/]' \| \
1277 X"$as_myself" : 'X\(//\)$' \| \
1278 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1279 $as_echo X"$as_myself" |
1280 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1298 if test ! -r "$srcdir/$ac_unique_file"; then
1302 ac_srcdir_defaulted=no
1304 if test ! -r "$srcdir/$ac_unique_file"; then
1305 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1306 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1308 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1310 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1312 # When building in place, set srcdir=.
1313 if test "$ac_abs_confdir" = "$ac_pwd"; then
1316 # Remove unnecessary trailing slashes from srcdir.
1317 # Double slashes in file names in object file debugging info
1318 # mess up M-x gdb in Emacs.
1320 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1322 for ac_var in $ac_precious_vars; do
1323 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1324 eval ac_env_${ac_var}_value=\$${ac_var}
1325 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1326 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1330 # Report the --help message.
1332 if test "$ac_init_help" = "long"; then
1333 # Omit some internal or obsolete options to make the list less imposing.
1334 # This message is too long to be a string in the A/UX 3.1 sh.
1336 \`configure' configures Jerasure 2.0 to adapt to many kinds of systems.
1338 Usage: $0 [OPTION]... [VAR=VALUE]...
1340 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1341 VAR=VALUE. See below for descriptions of some of the useful variables.
1343 Defaults for the options are specified in brackets.
1346 -h, --help display this help and exit
1347 --help=short display options specific to this package
1348 --help=recursive display the short help of all the included packages
1349 -V, --version display version information and exit
1350 -q, --quiet, --silent do not print \`checking ...' messages
1351 --cache-file=FILE cache test results in FILE [disabled]
1352 -C, --config-cache alias for \`--cache-file=config.cache'
1353 -n, --no-create do not create output files
1354 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1356 Installation directories:
1357 --prefix=PREFIX install architecture-independent files in PREFIX
1358 @<:@@S|@ac_default_prefix@:>@
1359 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1362 By default, \`make install' will install all the files in
1363 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1364 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1365 for instance \`--prefix=\$HOME'.
1367 For better control, use the options below.
1369 Fine tuning of the installation directories:
1370 --bindir=DIR user executables [EPREFIX/bin]
1371 --sbindir=DIR system admin executables [EPREFIX/sbin]
1372 --libexecdir=DIR program executables [EPREFIX/libexec]
1373 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1374 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1375 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1376 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1377 --libdir=DIR object code libraries [EPREFIX/lib]
1378 --includedir=DIR C header files [PREFIX/include]
1379 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1380 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1381 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1382 --infodir=DIR info documentation [DATAROOTDIR/info]
1383 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1384 --mandir=DIR man documentation [DATAROOTDIR/man]
1385 --docdir=DIR documentation root @<:@DATAROOTDIR/doc/jerasure@:>@
1386 --htmldir=DIR html documentation [DOCDIR]
1387 --dvidir=DIR dvi documentation [DOCDIR]
1388 --pdfdir=DIR pdf documentation [DOCDIR]
1389 --psdir=DIR ps documentation [DOCDIR]
1395 --program-prefix=PREFIX prepend PREFIX to installed program names
1396 --program-suffix=SUFFIX append SUFFIX to installed program names
1397 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1400 --build=BUILD configure for building on BUILD [guessed]
1401 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1405 if test -n "$ac_init_help"; then
1406 case $ac_init_help in
1407 short | recursive ) echo "Configuration of Jerasure 2.0:";;
1412 --disable-option-checking ignore unrecognized --enable/--with options
1413 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1414 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1415 --enable-silent-rules less verbose build output (undo: "make V=1")
1416 --disable-silent-rules verbose build output (undo: "make V=0")
1417 --enable-static@<:@=PKGS@:>@ build static libraries @<:@default=no@:>@
1418 --enable-shared@<:@=PKGS@:>@ build shared libraries @<:@default=yes@:>@
1419 --enable-fast-install@<:@=PKGS@:>@
1420 optimize for fast installation @<:@default=yes@:>@
1421 --enable-dependency-tracking
1422 do not reject slow dependency extractors
1423 --disable-dependency-tracking
1424 speeds up one-time build
1425 --disable-libtool-lock avoid locking (might break parallel builds)
1426 --disable-sse Build without SSE optimizations
1429 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1430 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1431 --with-pic@<:@=PKGS@:>@ try to use only PIC/non-PIC objects @<:@default=use
1433 --with-aix-soname=aix|svr4|both
1434 shared library versioning (aka "SONAME") variant to
1435 provide on AIX, @<:@default=aix@:>@.
1436 --with-gnu-ld assume the C compiler uses GNU ld @<:@default=no@:>@
1437 --with-sysroot@<:@=DIR@:>@ Search for dependent libraries within DIR (or the
1438 compiler's sysroot if not specified).
1440 Some influential environment variables:
1441 CC C compiler command
1442 CFLAGS C compiler flags
1443 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1444 nonstandard directory <lib dir>
1445 LIBS libraries to pass to the linker, e.g. -l<library>
1446 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1447 you have headers in a nonstandard directory <include dir>
1449 User-defined run-time library search path.
1451 CXX C++ compiler command
1452 CXXFLAGS C++ compiler flags
1453 CXXCPP C++ preprocessor
1455 Use these variables to override the choices made by `configure' or to help
1456 it to find libraries and programs with nonstandard names/locations.
1458 Report bugs to the package provider.
1459 Jerasure home page: <https://jerasure.org/jerasure/jerasure>.
1464 if test "$ac_init_help" = "recursive"; then
1465 # If there are subdirs, report their specific --help.
1466 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1467 test -d "$ac_dir" ||
1468 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1473 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1475 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1476 # A ".." for each directory in $ac_dir_suffix.
1477 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1478 case $ac_top_builddir_sub in
1479 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1480 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1483 ac_abs_top_builddir=$ac_pwd
1484 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1485 # for backward compatibility:
1486 ac_top_builddir=$ac_top_build_prefix
1489 .) # We are building in place.
1491 ac_top_srcdir=$ac_top_builddir_sub
1492 ac_abs_top_srcdir=$ac_pwd ;;
1493 [\\/]* | ?:[\\/]* ) # Absolute name.
1494 ac_srcdir=$srcdir$ac_dir_suffix;
1495 ac_top_srcdir=$srcdir
1496 ac_abs_top_srcdir=$srcdir ;;
1498 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1499 ac_top_srcdir=$ac_top_build_prefix$srcdir
1500 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1502 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1504 cd "$ac_dir" || { ac_status=$?; continue; }
1505 # Check for guested configure.
1506 if test -f "$ac_srcdir/configure.gnu"; then
1508 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1509 elif test -f "$ac_srcdir/configure"; then
1511 $SHELL "$ac_srcdir/configure" --help=recursive
1513 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1515 cd "$ac_pwd" || { ac_status=$?; break; }
1519 test -n "$ac_init_help" && exit $ac_status
1520 if $ac_init_version; then
1522 Jerasure configure 2.0
1523 generated by GNU Autoconf 2.69
1525 Copyright (C) 2012 Free Software Foundation, Inc.
1526 This configure script is free software; the Free Software Foundation
1527 gives unlimited permission to copy, distribute and modify it.
1532 ## ------------------------ ##
1533 ## Autoconf initialization. ##
1534 ## ------------------------ ##
1536 @%:@ ac_fn_c_try_compile LINENO
1537 @%:@ --------------------------
1538 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1539 ac_fn_c_try_compile ()
1541 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1542 rm -f conftest.$ac_objext
1543 if { { ac_try="$ac_compile"
1545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1546 *) ac_try_echo=$ac_try;;
1548 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1549 $as_echo "$ac_try_echo"; } >&5
1550 (eval "$ac_compile") 2>conftest.err
1552 if test -s conftest.err; then
1553 grep -v '^ *+' conftest.err >conftest.er1
1554 cat conftest.er1 >&5
1555 mv -f conftest.er1 conftest.err
1557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1558 test $ac_status = 0; } && {
1559 test -z "$ac_c_werror_flag" ||
1560 test ! -s conftest.err
1561 } && test -s conftest.$ac_objext; then :
1564 $as_echo "$as_me: failed program was:" >&5
1565 sed 's/^/| /' conftest.$ac_ext >&5
1569 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1570 as_fn_set_status $ac_retval
1572 } @%:@ ac_fn_c_try_compile
1574 @%:@ ac_fn_c_try_link LINENO
1575 @%:@ -----------------------
1576 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
1579 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1580 rm -f conftest.$ac_objext conftest$ac_exeext
1581 if { { ac_try="$ac_link"
1583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1584 *) ac_try_echo=$ac_try;;
1586 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1587 $as_echo "$ac_try_echo"; } >&5
1588 (eval "$ac_link") 2>conftest.err
1590 if test -s conftest.err; then
1591 grep -v '^ *+' conftest.err >conftest.er1
1592 cat conftest.er1 >&5
1593 mv -f conftest.er1 conftest.err
1595 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1596 test $ac_status = 0; } && {
1597 test -z "$ac_c_werror_flag" ||
1598 test ! -s conftest.err
1599 } && test -s conftest$ac_exeext && {
1600 test "$cross_compiling" = yes ||
1601 test -x conftest$ac_exeext
1605 $as_echo "$as_me: failed program was:" >&5
1606 sed 's/^/| /' conftest.$ac_ext >&5
1610 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1611 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1612 # interfere with the next link command; also delete a directory that is
1613 # left behind by Apple's compiler. We do this before executing the actions.
1614 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1615 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1616 as_fn_set_status $ac_retval
1618 } @%:@ ac_fn_c_try_link
1620 @%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1621 @%:@ -------------------------------------------------------
1622 @%:@ Tests whether HEADER exists and can be compiled using the include files in
1623 @%:@ INCLUDES, setting the cache variable VAR accordingly.
1624 ac_fn_c_check_header_compile ()
1626 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1628 $as_echo_n "checking for $2... " >&6; }
1629 if eval \${$3+:} false; then :
1630 $as_echo_n "(cached) " >&6
1632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1633 /* end confdefs.h. */
1637 if ac_fn_c_try_compile "$LINENO"; then :
1642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1646 $as_echo "$ac_res" >&6; }
1647 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1649 } @%:@ ac_fn_c_check_header_compile
1651 @%:@ ac_fn_c_try_cpp LINENO
1652 @%:@ ----------------------
1653 @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1656 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1657 if { { ac_try="$ac_cpp conftest.$ac_ext"
1659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1660 *) ac_try_echo=$ac_try;;
1662 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1663 $as_echo "$ac_try_echo"; } >&5
1664 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1666 if test -s conftest.err; then
1667 grep -v '^ *+' conftest.err >conftest.er1
1668 cat conftest.er1 >&5
1669 mv -f conftest.er1 conftest.err
1671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1672 test $ac_status = 0; } > conftest.i && {
1673 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1674 test ! -s conftest.err
1678 $as_echo "$as_me: failed program was:" >&5
1679 sed 's/^/| /' conftest.$ac_ext >&5
1683 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1684 as_fn_set_status $ac_retval
1686 } @%:@ ac_fn_c_try_cpp
1688 @%:@ ac_fn_c_try_run LINENO
1689 @%:@ ----------------------
1690 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
1691 @%:@ that executables *can* be run.
1694 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1695 if { { ac_try="$ac_link"
1697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1698 *) ac_try_echo=$ac_try;;
1700 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1701 $as_echo "$ac_try_echo"; } >&5
1702 (eval "$ac_link") 2>&5
1704 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1705 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1706 { { case "(($ac_try" in
1707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1708 *) ac_try_echo=$ac_try;;
1710 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1711 $as_echo "$ac_try_echo"; } >&5
1712 (eval "$ac_try") 2>&5
1714 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1715 test $ac_status = 0; }; }; then :
1718 $as_echo "$as_me: program exited with status $ac_status" >&5
1719 $as_echo "$as_me: failed program was:" >&5
1720 sed 's/^/| /' conftest.$ac_ext >&5
1722 ac_retval=$ac_status
1724 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1725 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1726 as_fn_set_status $ac_retval
1728 } @%:@ ac_fn_c_try_run
1730 @%:@ ac_fn_c_check_func LINENO FUNC VAR
1731 @%:@ ----------------------------------
1732 @%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
1733 ac_fn_c_check_func ()
1735 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1737 $as_echo_n "checking for $2... " >&6; }
1738 if eval \${$3+:} false; then :
1739 $as_echo_n "(cached) " >&6
1741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1742 /* end confdefs.h. */
1743 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1744 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1745 #define $2 innocuous_$2
1747 /* System header to define __stub macros and hopefully few prototypes,
1748 which can conflict with char $2 (); below.
1749 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1750 <limits.h> exists even on freestanding compilers. */
1753 # include <limits.h>
1755 # include <assert.h>
1760 /* Override any GCC internal prototype to avoid an error.
1761 Use char because int might match the return type of a GCC
1762 builtin and then its argument prototype would still apply. */
1767 /* The GNU C library defines this for functions which it implements
1768 to always fail with ENOSYS. Some functions are actually named
1769 something starting with __ and the normal name is an alias. */
1770 #if defined __stub_$2 || defined __stub___$2
1782 if ac_fn_c_try_link "$LINENO"; then :
1787 rm -f core conftest.err conftest.$ac_objext \
1788 conftest$ac_exeext conftest.$ac_ext
1791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1792 $as_echo "$ac_res" >&6; }
1793 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1795 } @%:@ ac_fn_c_check_func
1797 @%:@ ac_fn_cxx_try_compile LINENO
1798 @%:@ ----------------------------
1799 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1800 ac_fn_cxx_try_compile ()
1802 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1803 rm -f conftest.$ac_objext
1804 if { { ac_try="$ac_compile"
1806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1807 *) ac_try_echo=$ac_try;;
1809 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1810 $as_echo "$ac_try_echo"; } >&5
1811 (eval "$ac_compile") 2>conftest.err
1813 if test -s conftest.err; then
1814 grep -v '^ *+' conftest.err >conftest.er1
1815 cat conftest.er1 >&5
1816 mv -f conftest.er1 conftest.err
1818 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1819 test $ac_status = 0; } && {
1820 test -z "$ac_cxx_werror_flag" ||
1821 test ! -s conftest.err
1822 } && test -s conftest.$ac_objext; then :
1825 $as_echo "$as_me: failed program was:" >&5
1826 sed 's/^/| /' conftest.$ac_ext >&5
1830 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1831 as_fn_set_status $ac_retval
1833 } @%:@ ac_fn_cxx_try_compile
1835 @%:@ ac_fn_cxx_try_cpp LINENO
1836 @%:@ ------------------------
1837 @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1838 ac_fn_cxx_try_cpp ()
1840 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1841 if { { ac_try="$ac_cpp conftest.$ac_ext"
1843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1844 *) ac_try_echo=$ac_try;;
1846 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1847 $as_echo "$ac_try_echo"; } >&5
1848 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1850 if test -s conftest.err; then
1851 grep -v '^ *+' conftest.err >conftest.er1
1852 cat conftest.er1 >&5
1853 mv -f conftest.er1 conftest.err
1855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1856 test $ac_status = 0; } > conftest.i && {
1857 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1858 test ! -s conftest.err
1862 $as_echo "$as_me: failed program was:" >&5
1863 sed 's/^/| /' conftest.$ac_ext >&5
1867 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1868 as_fn_set_status $ac_retval
1870 } @%:@ ac_fn_cxx_try_cpp
1872 @%:@ ac_fn_cxx_try_link LINENO
1873 @%:@ -------------------------
1874 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
1875 ac_fn_cxx_try_link ()
1877 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1878 rm -f conftest.$ac_objext conftest$ac_exeext
1879 if { { ac_try="$ac_link"
1881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1882 *) ac_try_echo=$ac_try;;
1884 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1885 $as_echo "$ac_try_echo"; } >&5
1886 (eval "$ac_link") 2>conftest.err
1888 if test -s conftest.err; then
1889 grep -v '^ *+' conftest.err >conftest.er1
1890 cat conftest.er1 >&5
1891 mv -f conftest.er1 conftest.err
1893 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1894 test $ac_status = 0; } && {
1895 test -z "$ac_cxx_werror_flag" ||
1896 test ! -s conftest.err
1897 } && test -s conftest$ac_exeext && {
1898 test "$cross_compiling" = yes ||
1899 test -x conftest$ac_exeext
1903 $as_echo "$as_me: failed program was:" >&5
1904 sed 's/^/| /' conftest.$ac_ext >&5
1908 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1909 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1910 # interfere with the next link command; also delete a directory that is
1911 # left behind by Apple's compiler. We do this before executing the actions.
1912 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1913 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1914 as_fn_set_status $ac_retval
1916 } @%:@ ac_fn_cxx_try_link
1918 @%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1919 @%:@ -------------------------------------------------------
1920 @%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
1921 @%:@ the include files in INCLUDES and setting the cache variable VAR
1923 ac_fn_c_check_header_mongrel ()
1925 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1926 if eval \${$3+:} false; then :
1927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1928 $as_echo_n "checking for $2... " >&6; }
1929 if eval \${$3+:} false; then :
1930 $as_echo_n "(cached) " >&6
1933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1934 $as_echo "$ac_res" >&6; }
1936 # Is the header compilable?
1937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1938 $as_echo_n "checking $2 usability... " >&6; }
1939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1940 /* end confdefs.h. */
1944 if ac_fn_c_try_compile "$LINENO"; then :
1945 ac_header_compiler=yes
1947 ac_header_compiler=no
1949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1951 $as_echo "$ac_header_compiler" >&6; }
1953 # Is the header present?
1954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1955 $as_echo_n "checking $2 presence... " >&6; }
1956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1957 /* end confdefs.h. */
1960 if ac_fn_c_try_cpp "$LINENO"; then :
1961 ac_header_preproc=yes
1963 ac_header_preproc=no
1965 rm -f conftest.err conftest.i conftest.$ac_ext
1966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1967 $as_echo "$ac_header_preproc" >&6; }
1969 # So? What about this header?
1970 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1973 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1975 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1979 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1981 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1983 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1984 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1985 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1986 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1987 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1991 $as_echo_n "checking for $2... " >&6; }
1992 if eval \${$3+:} false; then :
1993 $as_echo_n "(cached) " >&6
1995 eval "$3=\$ac_header_compiler"
1998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1999 $as_echo "$ac_res" >&6; }
2001 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2003 } @%:@ ac_fn_c_check_header_mongrel
2005 @%:@ ac_fn_c_find_uintX_t LINENO BITS VAR
2006 @%:@ ------------------------------------
2007 @%:@ Finds an unsigned integer type with width BITS, setting cache variable VAR
2009 ac_fn_c_find_uintX_t ()
2011 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
2013 $as_echo_n "checking for uint$2_t... " >&6; }
2014 if eval \${$3+:} false; then :
2015 $as_echo_n "(cached) " >&6
2018 # Order is important - never check a type that is potentially smaller
2019 # than half of the expected target width.
2020 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
2021 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
2022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2023 /* end confdefs.h. */
2024 $ac_includes_default
2028 static int test_array @<:@1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)@:>@;
2029 test_array @<:@0@:>@ = 0;
2030 return test_array @<:@0@:>@;
2036 if ac_fn_c_try_compile "$LINENO"; then :
2037 case $ac_type in @%:@(
2039 eval "$3=yes" ;; @%:@(
2041 eval "$3=\$ac_type" ;;
2044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2045 if eval test \"x\$"$3"\" = x"no"; then :
2053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2054 $as_echo "$ac_res" >&6; }
2055 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2057 } @%:@ ac_fn_c_find_uintX_t
2058 cat >config.log <<_ACEOF
2059 This file contains any messages produced by compilers while
2060 running configure, to aid debugging if configure makes a mistake.
2062 It was created by Jerasure $as_me 2.0, which was
2063 generated by GNU Autoconf 2.69. Invocation command line was
2075 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2076 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2077 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2078 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2079 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2081 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2082 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2084 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2085 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2086 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2087 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2088 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2089 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2090 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2098 test -z "$as_dir" && as_dir=.
2099 $as_echo "PATH: $as_dir"
2115 # Keep a trace of the command line.
2116 # Strip out --no-create and --no-recursion so they do not pile up.
2117 # Strip out --silent because we don't want to record it for future runs.
2118 # Also quote any args containing shell meta-characters.
2119 # Make two passes to allow for proper duplicate-argument suppression.
2123 ac_must_keep_next=false
2129 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2130 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2131 | -silent | --silent | --silen | --sile | --sil)
2134 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2137 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2139 as_fn_append ac_configure_args1 " '$ac_arg'"
2140 if test $ac_must_keep_next = true; then
2141 ac_must_keep_next=false # Got value, back to normal.
2144 *=* | --config-cache | -C | -disable-* | --disable-* \
2145 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2146 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2147 | -with-* | --with-* | -without-* | --without-* | --x)
2148 case "$ac_configure_args0 " in
2149 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2152 -* ) ac_must_keep_next=true ;;
2155 as_fn_append ac_configure_args " '$ac_arg'"
2160 { ac_configure_args0=; unset ac_configure_args0;}
2161 { ac_configure_args1=; unset ac_configure_args1;}
2163 # When interrupted or exit'd, cleanup temporary files, and complete
2164 # config.log. We remove comments because anyway the quotes in there
2165 # would cause problems or look ugly.
2166 # WARNING: Use '\'' to represent an apostrophe within the trap.
2167 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2168 trap 'exit_status=$?
2169 # Save into config.log some information that might help in debugging.
2173 $as_echo "## ---------------- ##
2174 ## Cache variables. ##
2175 ## ---------------- ##"
2177 # The following way of writing the cache mishandles newlines in values,
2179 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2180 eval ac_val=\$$ac_var
2184 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2185 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2188 _ | IFS | as_nl) ;; #(
2189 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2190 *) { eval $ac_var=; unset $ac_var;} ;;
2195 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2196 *${as_nl}ac_space=\ *)
2198 "s/'\''/'\''\\\\'\'''\''/g;
2199 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2202 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2209 $as_echo "## ----------------- ##
2210 ## Output variables. ##
2211 ## ----------------- ##"
2213 for ac_var in $ac_subst_vars
2215 eval ac_val=\$$ac_var
2217 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2219 $as_echo "$ac_var='\''$ac_val'\''"
2223 if test -n "$ac_subst_files"; then
2224 $as_echo "## ------------------- ##
2225 ## File substitutions. ##
2226 ## ------------------- ##"
2228 for ac_var in $ac_subst_files
2230 eval ac_val=\$$ac_var
2232 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2234 $as_echo "$ac_var='\''$ac_val'\''"
2239 if test -s confdefs.h; then
2240 $as_echo "## ----------- ##
2247 test "$ac_signal" != 0 &&
2248 $as_echo "$as_me: caught signal $ac_signal"
2249 $as_echo "$as_me: exit $exit_status"
2251 rm -f core *.core core.conftest.* &&
2252 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2255 for ac_signal in 1 2 13 15; do
2256 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2260 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2261 rm -f -r conftest* confdefs.h
2263 $as_echo "/* confdefs.h */" > confdefs.h
2265 # Predefined preprocessor variables.
2267 cat >>confdefs.h <<_ACEOF
2268 @%:@define PACKAGE_NAME "$PACKAGE_NAME"
2271 cat >>confdefs.h <<_ACEOF
2272 @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2275 cat >>confdefs.h <<_ACEOF
2276 @%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
2279 cat >>confdefs.h <<_ACEOF
2280 @%:@define PACKAGE_STRING "$PACKAGE_STRING"
2283 cat >>confdefs.h <<_ACEOF
2284 @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2287 cat >>confdefs.h <<_ACEOF
2288 @%:@define PACKAGE_URL "$PACKAGE_URL"
2292 # Let the site file select an alternate cache file if it wants to.
2293 # Prefer an explicitly selected file to automatically selected ones.
2296 if test -n "$CONFIG_SITE"; then
2297 # We do not want a PATH search for config.site.
2298 case $CONFIG_SITE in @%:@((
2299 -*) ac_site_file1=./$CONFIG_SITE;;
2300 */*) ac_site_file1=$CONFIG_SITE;;
2301 *) ac_site_file1=./$CONFIG_SITE;;
2303 elif test "x$prefix" != xNONE; then
2304 ac_site_file1=$prefix/share/config.site
2305 ac_site_file2=$prefix/etc/config.site
2307 ac_site_file1=$ac_default_prefix/share/config.site
2308 ac_site_file2=$ac_default_prefix/etc/config.site
2310 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2312 test "x$ac_site_file" = xNONE && continue
2313 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2314 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2315 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2316 sed 's/^/| /' "$ac_site_file" >&5
2318 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2319 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2320 as_fn_error $? "failed to load site script $ac_site_file
2321 See \`config.log' for more details" "$LINENO" 5; }
2325 if test -r "$cache_file"; then
2326 # Some versions of bash will fail to source /dev/null (special files
2327 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2328 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2330 $as_echo "$as_me: loading cache $cache_file" >&6;}
2332 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2333 *) . "./$cache_file";;
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2338 $as_echo "$as_me: creating cache $cache_file" >&6;}
2342 # Check that the precious variables saved in the cache have kept the same
2344 ac_cache_corrupted=false
2345 for ac_var in $ac_precious_vars; do
2346 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2347 eval ac_new_set=\$ac_env_${ac_var}_set
2348 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2349 eval ac_new_val=\$ac_env_${ac_var}_value
2350 case $ac_old_set,$ac_new_set in
2352 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2353 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2354 ac_cache_corrupted=: ;;
2356 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2357 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2358 ac_cache_corrupted=: ;;
2361 if test "x$ac_old_val" != "x$ac_new_val"; then
2362 # differences in whitespace do not lead to failure.
2363 ac_old_val_w=`echo x $ac_old_val`
2364 ac_new_val_w=`echo x $ac_new_val`
2365 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2366 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2367 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2368 ac_cache_corrupted=:
2370 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2371 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2372 eval $ac_var=\$ac_old_val
2374 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2375 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2376 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2377 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2380 # Pass precious variables to config.status.
2381 if test "$ac_new_set" = set; then
2383 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2384 *) ac_arg=$ac_var=$ac_new_val ;;
2386 case " $ac_configure_args " in
2387 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2388 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2392 if $ac_cache_corrupted; then
2393 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2394 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2395 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2396 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2397 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2399 ## -------------------- ##
2400 ## Main body of script. ##
2401 ## -------------------- ##
2404 ac_cpp='$CPP $CPPFLAGS'
2405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2411 ac_config_headers="$ac_config_headers include/config.h"
2415 for ac_dir in build-aux "$srcdir"/build-aux; do
2416 if test -f "$ac_dir/install-sh"; then
2418 ac_install_sh="$ac_aux_dir/install-sh -c"
2420 elif test -f "$ac_dir/install.sh"; then
2422 ac_install_sh="$ac_aux_dir/install.sh -c"
2424 elif test -f "$ac_dir/shtool"; then
2426 ac_install_sh="$ac_aux_dir/shtool install -c"
2430 if test -z "$ac_aux_dir"; then
2431 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2434 # These three variables are undocumented and unsupported,
2435 # and are intended to be withdrawn in a future Autoconf release.
2436 # They can cause serious problems if a builder's source tree is in a directory
2437 # whose full name contains unusual characters.
2438 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2439 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2440 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2445 am__api_version='1.16'
2447 # Find a good install program. We prefer a C program (faster),
2448 # so one script is as good as another. But avoid the broken or
2449 # incompatible versions:
2450 # SysV /etc/install, /usr/sbin/install
2451 # SunOS /usr/etc/install
2452 # IRIX /sbin/install
2454 # AmigaOS /C/install, which installs bootblocks on floppy discs
2455 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2456 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2457 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2458 # OS/2's system install, which has a completely different semantic
2459 # ./install, which can be erroneously created by make from ./install.sh.
2460 # Reject install programs that cannot install multiple files.
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2462 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2463 if test -z "$INSTALL"; then
2464 if ${ac_cv_path_install+:} false; then :
2465 $as_echo_n "(cached) " >&6
2467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2471 test -z "$as_dir" && as_dir=.
2472 # Account for people who put trailing slashes in PATH elements.
2473 case $as_dir/ in @%:@((
2474 ./ | .// | /[cC]/* | \
2475 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2476 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2479 # OSF1 and SCO ODT 3.0 have their own names for install.
2480 # Don't use installbsd from OSF since it installs stuff as root
2482 for ac_prog in ginstall scoinst install; do
2483 for ac_exec_ext in '' $ac_executable_extensions; do
2484 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2485 if test $ac_prog = install &&
2486 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2487 # AIX install. It has an incompatible calling convention.
2489 elif test $ac_prog = install &&
2490 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2491 # program-specific install script used by HP pwplus--don't use.
2494 rm -rf conftest.one conftest.two conftest.dir
2495 echo one > conftest.one
2496 echo two > conftest.two
2498 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2499 test -s conftest.one && test -s conftest.two &&
2500 test -s conftest.dir/conftest.one &&
2501 test -s conftest.dir/conftest.two
2503 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2516 rm -rf conftest.one conftest.two conftest.dir
2519 if test "${ac_cv_path_install+set}" = set; then
2520 INSTALL=$ac_cv_path_install
2522 # As a last resort, use the slow shell script. Don't cache a
2523 # value for INSTALL within a source directory, because that will
2524 # break other packages using the cache if that directory is
2525 # removed, or if the value is a relative name.
2526 INSTALL=$ac_install_sh
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2530 $as_echo "$INSTALL" >&6; }
2532 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2533 # It thinks the first close brace ends the variable substitution.
2534 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2536 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2538 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2541 $as_echo_n "checking whether build environment is sane... " >&6; }
2542 # Reject unsafe characters in $srcdir or the absolute working directory
2543 # name. Accept space and tab only in the latter.
2547 *[\\\"\#\$\&\'\`$am_lf]*)
2548 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2551 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2552 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2555 # Do 'set' in a subshell so we don't clobber the current shell's
2556 # arguments. Must try -L first in case configure is actually a
2557 # symlink; some systems play weird games with the mod time of symlinks
2558 # (eg FreeBSD returns the mod time of the symlink's containing
2562 for am_try in 1 2; do
2563 echo "timestamp, slept: $am_has_slept" > conftest.file
2564 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2565 if test "$*" = "X"; then
2567 set X `ls -t "$srcdir/configure" conftest.file`
2569 if test "$*" != "X $srcdir/configure conftest.file" \
2570 && test "$*" != "X conftest.file $srcdir/configure"; then
2572 # If neither matched, then we have a broken ls. This can happen
2573 # if, for instance, CONFIG_SHELL is bash and it inherits a
2574 # broken ls alias from the environment. This has actually
2575 # happened. Such a system could not be considered "sane".
2576 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2577 alias in your environment" "$LINENO" 5
2579 if test "$2" = conftest.file || test $am_try -eq 2; then
2586 test "$2" = conftest.file
2592 as_fn_error $? "newly created file is older than distributed files!
2593 Check your system clock" "$LINENO" 5
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2596 $as_echo "yes" >&6; }
2597 # If we didn't sleep, we still need to ensure time stamps of config.status and
2598 # generated files are strictly newer.
2600 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2607 test "$program_prefix" != NONE &&
2608 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2609 # Use a double $ so make ignores it.
2610 test "$program_suffix" != NONE &&
2611 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2612 # Double any \ or $.
2613 # By default was `s,x,x', remove it if useless.
2614 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2615 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2617 # Expand $ac_aux_dir to an absolute path.
2618 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2620 if test x"${MISSING+set}" != xset; then
2623 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2625 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2628 # Use eval to expand $SHELL
2629 if eval "$MISSING --is-lightweight"; then
2630 am_missing_run="$MISSING "
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2634 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2637 if test x"${install_sh+set}" != xset; then
2640 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2642 install_sh="\${SHELL} $am_aux_dir/install-sh"
2646 # Installed binaries are usually stripped using 'strip' when the user
2647 # run "make install-strip". However 'strip' might not be the right
2648 # tool to use in cross-compilation environments, therefore Automake
2649 # will honor the 'STRIP' environment variable to overrule this program.
2650 if test "$cross_compiling" != no; then
2651 if test -n "$ac_tool_prefix"; then
2652 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2653 set dummy ${ac_tool_prefix}strip; ac_word=$2
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2655 $as_echo_n "checking for $ac_word... " >&6; }
2656 if ${ac_cv_prog_STRIP+:} false; then :
2657 $as_echo_n "(cached) " >&6
2659 if test -n "$STRIP"; then
2660 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2666 test -z "$as_dir" && as_dir=.
2667 for ac_exec_ext in '' $ac_executable_extensions; do
2668 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2669 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2679 STRIP=$ac_cv_prog_STRIP
2680 if test -n "$STRIP"; then
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2682 $as_echo "$STRIP" >&6; }
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2685 $as_echo "no" >&6; }
2690 if test -z "$ac_cv_prog_STRIP"; then
2692 # Extract the first word of "strip", so it can be a program name with args.
2693 set dummy strip; ac_word=$2
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2695 $as_echo_n "checking for $ac_word... " >&6; }
2696 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2697 $as_echo_n "(cached) " >&6
2699 if test -n "$ac_ct_STRIP"; then
2700 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2706 test -z "$as_dir" && as_dir=.
2707 for ac_exec_ext in '' $ac_executable_extensions; do
2708 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2709 ac_cv_prog_ac_ct_STRIP="strip"
2710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2719 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2720 if test -n "$ac_ct_STRIP"; then
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2722 $as_echo "$ac_ct_STRIP" >&6; }
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2725 $as_echo "no" >&6; }
2728 if test "x$ac_ct_STRIP" = x; then
2731 case $cross_compiling:$ac_tool_warned in
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2734 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2735 ac_tool_warned=yes ;;
2740 STRIP="$ac_cv_prog_STRIP"
2744 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2747 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2748 if test -z "$MKDIR_P"; then
2749 if ${ac_cv_path_mkdir+:} false; then :
2750 $as_echo_n "(cached) " >&6
2752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2753 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2756 test -z "$as_dir" && as_dir=.
2757 for ac_prog in mkdir gmkdir; do
2758 for ac_exec_ext in '' $ac_executable_extensions; do
2759 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2760 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2761 'mkdir (GNU coreutils) '* | \
2762 'mkdir (coreutils) '* | \
2763 'mkdir (fileutils) '4.1*)
2764 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2774 test -d ./--version && rmdir ./--version
2775 if test "${ac_cv_path_mkdir+set}" = set; then
2776 MKDIR_P="$ac_cv_path_mkdir -p"
2778 # As a last resort, use the slow shell script. Don't cache a
2779 # value for MKDIR_P within a source directory, because that will
2780 # break other packages using the cache if that directory is
2781 # removed, or if the value is a relative name.
2782 MKDIR_P="$ac_install_sh -d"
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2786 $as_echo "$MKDIR_P" >&6; }
2788 for ac_prog in gawk mawk nawk awk
2790 # Extract the first word of "$ac_prog", so it can be a program name with args.
2791 set dummy $ac_prog; ac_word=$2
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2793 $as_echo_n "checking for $ac_word... " >&6; }
2794 if ${ac_cv_prog_AWK+:} false; then :
2795 $as_echo_n "(cached) " >&6
2797 if test -n "$AWK"; then
2798 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2804 test -z "$as_dir" && as_dir=.
2805 for ac_exec_ext in '' $ac_executable_extensions; do
2806 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2807 ac_cv_prog_AWK="$ac_prog"
2808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2818 if test -n "$AWK"; then
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2820 $as_echo "$AWK" >&6; }
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2823 $as_echo "no" >&6; }
2827 test -n "$AWK" && break
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2831 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2833 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2834 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2835 $as_echo_n "(cached) " >&6
2837 cat >conftest.make <<\_ACEOF
2840 @echo '@@@%%%=$(MAKE)=@@@%%%'
2842 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2843 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2845 eval ac_cv_prog_make_${ac_make}_set=yes;;
2847 eval ac_cv_prog_make_${ac_make}_set=no;;
2851 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2853 $as_echo "yes" >&6; }
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2857 $as_echo "no" >&6; }
2858 SET_MAKE="MAKE=${MAKE-make}"
2861 rm -rf .tst 2>/dev/null
2862 mkdir .tst 2>/dev/null
2863 if test -d .tst; then
2868 rmdir .tst 2>/dev/null
2870 @%:@ Check whether --enable-silent-rules was given.
2871 if test "${enable_silent_rules+set}" = set; then :
2872 enableval=$enable_silent_rules;
2875 case $enable_silent_rules in @%:@ (((
2876 yes) AM_DEFAULT_VERBOSITY=0;;
2877 no) AM_DEFAULT_VERBOSITY=1;;
2878 *) AM_DEFAULT_VERBOSITY=1;;
2880 am_make=${MAKE-make}
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2882 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2883 if ${am_cv_make_support_nested_variables+:} false; then :
2884 $as_echo_n "(cached) " >&6
2886 if $as_echo 'TRUE=$(BAR$(V))
2892 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2893 am_cv_make_support_nested_variables=yes
2895 am_cv_make_support_nested_variables=no
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2899 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2900 if test $am_cv_make_support_nested_variables = yes; then
2902 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2904 AM_V=$AM_DEFAULT_VERBOSITY
2905 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2909 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2910 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2911 # is not polluted with repeated "-I."
2912 am__isrc=' -I$(srcdir)'
2913 # test to see if srcdir already configured
2914 if test -f $srcdir/config.status; then
2915 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2919 # test whether we have cygpath
2920 if test -z "$CYGPATH_W"; then
2921 if (cygpath --version) >/dev/null 2>/dev/null; then
2922 CYGPATH_W='cygpath -w'
2929 # Define the identity of the package.
2934 cat >>confdefs.h <<_ACEOF
2935 @%:@define PACKAGE "$PACKAGE"
2939 cat >>confdefs.h <<_ACEOF
2940 @%:@define VERSION "$VERSION"
2943 # Some tools Automake needs.
2945 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2948 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2951 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2954 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2957 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2959 # For better backward compatibility. To be removed once Automake 1.9.x
2960 # dies out for good. For more background, see:
2961 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2962 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2963 mkdir_p='$(MKDIR_P)'
2965 # We need awk for the "check" target (and possibly the TAP driver). The
2966 # system "awk" is bad on some platforms.
2967 # Always define AMTAR for backward compatibility. Yes, it's still used
2968 # in the wild :-( We should find a proper way to deprecate it ...
2972 # We'll loop over all known methods to create a tar archive until one works.
2973 _am_tools='gnutar pax cpio none'
2975 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2982 # POSIX will say in a future version that running "rm -f" with no argument
2983 # is OK; and we want to be able to make that assumption in our Makefile
2984 # recipes. So use an aggressive probe to check that the usage we want is
2985 # actually supported "in the wild" to an acceptable degree.
2986 # See automake bug#10828.
2987 # To make any issue more visible, cause the running configure to be aborted
2988 # by default if the 'rm' program in use doesn't match our expectations; the
2989 # user can still override this though.
2990 if rm -f && rm -fr && rm -rf; then : OK; else
2994 Your 'rm' program seems unable to run without file operands specified
2995 on the command line, even when the '-f' option is present. This is contrary
2996 to the behaviour of most rm programs out there, and not conforming with
2997 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2999 Please tell bug-automake@gnu.org about your system, including the value
3000 of your $PATH and any error possibly output before this message. This
3001 can help us improve future automake versions.
3004 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3005 echo 'Configuration will proceed anyway, since you have set the' >&2
3006 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3010 Aborting the configuration process, to ensure you take notice of the issue.
3012 You can download and install GNU coreutils to get an 'rm' implementation
3013 that behaves properly: <https://www.gnu.org/software/coreutils/>.
3015 If you want to complete the configuration process using your problematic
3016 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3017 to "yes", and re-run configure.
3020 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3025 # Package default C compiler flags.
3026 : ${CFLAGS='-g -O3 -Wall'}
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3031 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3036 macro_version='2.4.6'
3037 macro_revision='2.4.6'
3051 ltmain=$ac_aux_dir/ltmain.sh
3053 # Make sure we can run config.sub.
3054 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3055 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3058 $as_echo_n "checking build system type... " >&6; }
3059 if ${ac_cv_build+:} false; then :
3060 $as_echo_n "(cached) " >&6
3062 ac_build_alias=$build_alias
3063 test "x$ac_build_alias" = x &&
3064 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3065 test "x$ac_build_alias" = x &&
3066 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3067 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3068 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3072 $as_echo "$ac_cv_build" >&6; }
3073 case $ac_cv_build in
3075 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3078 ac_save_IFS=$IFS; IFS='-'
3084 # Remember, the first character of IFS is used to create $*,
3085 # except with old shells:
3088 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3092 $as_echo_n "checking host system type... " >&6; }
3093 if ${ac_cv_host+:} false; then :
3094 $as_echo_n "(cached) " >&6
3096 if test "x$host_alias" = x; then
3097 ac_cv_host=$ac_cv_build
3099 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3100 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3105 $as_echo "$ac_cv_host" >&6; }
3108 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3111 ac_save_IFS=$IFS; IFS='-'
3117 # Remember, the first character of IFS is used to create $*,
3118 # except with old shells:
3121 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3124 # Backslashify metacharacters that are still active within
3125 # double-quoted strings.
3126 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3128 # Same as above, but do not quote variable references.
3129 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3131 # Sed substitution to delay expansion of an escaped shell variable in a
3132 # double_quote_subst'ed string.
3133 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3135 # Sed substitution to delay expansion of an escaped single quote.
3136 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3138 # Sed substitution to avoid accidental globbing in evaled expressions
3139 no_glob_subst='s/\*/\\\*/g'
3141 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3142 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3143 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3146 $as_echo_n "checking how to print strings... " >&6; }
3147 # Test print first, because it will be a builtin if present.
3148 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3149 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3151 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3154 # Use this function as a fallback that always works.
3155 func_fallback_echo ()
3157 eval 'cat <<_LTECHO_EOF
3161 ECHO='func_fallback_echo'
3164 # func_echo_all arg...
3165 # Invoke $ECHO with all args, space-separated.
3172 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3173 $as_echo "printf" >&6; } ;;
3174 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3175 $as_echo "print -r" >&6; } ;;
3176 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3177 $as_echo "cat" >&6; } ;;
3193 DEPDIR="${am__leading_dot}deps"
3195 ac_config_commands="$ac_config_commands depfiles"
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3198 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
3199 cat > confinc.mk << 'END'
3201 @echo this is the am__doit target >confinc.out
3206 # BSD make does it like this.
3207 echo '.include "confinc.mk" # ignored' > confmf.BSD
3208 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
3209 echo 'include confinc.mk # ignored' > confmf.GNU
3211 for s in GNU BSD; do
3212 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3213 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3216 (exit $ac_status); }
3217 case $?:`cat confinc.out 2>/dev/null` in @%:@(
3218 '0:this is the am__doit target') :
3221 am__include='.include' am__quote='"' ;; @%:@(
3223 am__include='include' am__quote='' ;;
3228 if test "$am__include" != "#"; then
3229 _am_result="yes ($s style)"
3233 rm -f confinc.* confmf.*
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3235 $as_echo "${_am_result}" >&6; }
3237 @%:@ Check whether --enable-dependency-tracking was given.
3238 if test "${enable_dependency_tracking+set}" = set; then :
3239 enableval=$enable_dependency_tracking;
3242 if test "x$enable_dependency_tracking" != xno; then
3243 am_depcomp="$ac_aux_dir/depcomp"
3247 if test "x$enable_dependency_tracking" != xno; then
3257 ac_cpp='$CPP $CPPFLAGS'
3258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3261 if test -n "$ac_tool_prefix"; then
3262 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3263 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3265 $as_echo_n "checking for $ac_word... " >&6; }
3266 if ${ac_cv_prog_CC+:} false; then :
3267 $as_echo_n "(cached) " >&6
3269 if test -n "$CC"; then
3270 ac_cv_prog_CC="$CC" # Let the user override the test.
3272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3276 test -z "$as_dir" && as_dir=.
3277 for ac_exec_ext in '' $ac_executable_extensions; do
3278 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3279 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3290 if test -n "$CC"; then
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3292 $as_echo "$CC" >&6; }
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3295 $as_echo "no" >&6; }
3300 if test -z "$ac_cv_prog_CC"; then
3302 # Extract the first word of "gcc", so it can be a program name with args.
3303 set dummy gcc; ac_word=$2
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3305 $as_echo_n "checking for $ac_word... " >&6; }
3306 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3307 $as_echo_n "(cached) " >&6
3309 if test -n "$ac_ct_CC"; then
3310 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3316 test -z "$as_dir" && as_dir=.
3317 for ac_exec_ext in '' $ac_executable_extensions; do
3318 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3319 ac_cv_prog_ac_ct_CC="gcc"
3320 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3329 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3330 if test -n "$ac_ct_CC"; then
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3332 $as_echo "$ac_ct_CC" >&6; }
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3335 $as_echo "no" >&6; }
3338 if test "x$ac_ct_CC" = x; then
3341 case $cross_compiling:$ac_tool_warned in
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3344 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3345 ac_tool_warned=yes ;;
3353 if test -z "$CC"; then
3354 if test -n "$ac_tool_prefix"; then
3355 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3356 set dummy ${ac_tool_prefix}cc; ac_word=$2
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3358 $as_echo_n "checking for $ac_word... " >&6; }
3359 if ${ac_cv_prog_CC+:} false; then :
3360 $as_echo_n "(cached) " >&6
3362 if test -n "$CC"; then
3363 ac_cv_prog_CC="$CC" # Let the user override the test.
3365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3369 test -z "$as_dir" && as_dir=.
3370 for ac_exec_ext in '' $ac_executable_extensions; do
3371 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3372 ac_cv_prog_CC="${ac_tool_prefix}cc"
3373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3383 if test -n "$CC"; then
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3385 $as_echo "$CC" >&6; }
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3388 $as_echo "no" >&6; }
3394 if test -z "$CC"; then
3395 # Extract the first word of "cc", so it can be a program name with args.
3396 set dummy cc; ac_word=$2
3397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3398 $as_echo_n "checking for $ac_word... " >&6; }
3399 if ${ac_cv_prog_CC+:} false; then :
3400 $as_echo_n "(cached) " >&6
3402 if test -n "$CC"; then
3403 ac_cv_prog_CC="$CC" # Let the user override the test.
3406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3410 test -z "$as_dir" && as_dir=.
3411 for ac_exec_ext in '' $ac_executable_extensions; do
3412 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3413 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3414 ac_prog_rejected=yes
3418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3425 if test $ac_prog_rejected = yes; then
3426 # We found a bogon in the path, so make sure we never use it.
3427 set dummy $ac_cv_prog_CC
3429 if test $@%:@ != 0; then
3430 # We chose a different compiler from the bogus one.
3431 # However, it has the same basename, so the bogon will be chosen
3432 # first if we set CC to just the basename; use the full file name.
3434 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3440 if test -n "$CC"; then
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3442 $as_echo "$CC" >&6; }
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3445 $as_echo "no" >&6; }
3450 if test -z "$CC"; then
3451 if test -n "$ac_tool_prefix"; then
3452 for ac_prog in cl.exe
3454 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3455 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3457 $as_echo_n "checking for $ac_word... " >&6; }
3458 if ${ac_cv_prog_CC+:} false; then :
3459 $as_echo_n "(cached) " >&6
3461 if test -n "$CC"; then
3462 ac_cv_prog_CC="$CC" # Let the user override the test.
3464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3468 test -z "$as_dir" && as_dir=.
3469 for ac_exec_ext in '' $ac_executable_extensions; do
3470 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3471 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3482 if test -n "$CC"; then
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3484 $as_echo "$CC" >&6; }
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3487 $as_echo "no" >&6; }
3491 test -n "$CC" && break
3494 if test -z "$CC"; then
3496 for ac_prog in cl.exe
3498 # Extract the first word of "$ac_prog", so it can be a program name with args.
3499 set dummy $ac_prog; ac_word=$2
3500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3501 $as_echo_n "checking for $ac_word... " >&6; }
3502 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3503 $as_echo_n "(cached) " >&6
3505 if test -n "$ac_ct_CC"; then
3506 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3512 test -z "$as_dir" && as_dir=.
3513 for ac_exec_ext in '' $ac_executable_extensions; do
3514 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3515 ac_cv_prog_ac_ct_CC="$ac_prog"
3516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3525 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3526 if test -n "$ac_ct_CC"; then
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3528 $as_echo "$ac_ct_CC" >&6; }
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3531 $as_echo "no" >&6; }
3535 test -n "$ac_ct_CC" && break
3538 if test "x$ac_ct_CC" = x; then
3541 case $cross_compiling:$ac_tool_warned in
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3544 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3545 ac_tool_warned=yes ;;
3554 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3555 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3556 as_fn_error $? "no acceptable C compiler found in \$PATH
3557 See \`config.log' for more details" "$LINENO" 5; }
3559 # Provide some information about the compiler.
3560 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3563 for ac_option in --version -v -V -qversion; do
3564 { { ac_try="$ac_compiler $ac_option >&5"
3566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3567 *) ac_try_echo=$ac_try;;
3569 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3570 $as_echo "$ac_try_echo"; } >&5
3571 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3573 if test -s conftest.err; then
3575 ... rest of stderr output deleted ...
3576 10q' conftest.err >conftest.er1
3577 cat conftest.er1 >&5
3579 rm -f conftest.er1 conftest.err
3580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3581 test $ac_status = 0; }
3584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3585 /* end confdefs.h. */
3595 ac_clean_files_save=$ac_clean_files
3596 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3597 # Try to create an executable without -o first, disregard a.out.
3598 # It will help us diagnose broken compilers, and finding out an intuition
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3601 $as_echo_n "checking whether the C compiler works... " >&6; }
3602 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3604 # The possible output files:
3605 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3608 for ac_file in $ac_files
3611 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3612 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3617 if { { ac_try="$ac_link_default"
3619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3620 *) ac_try_echo=$ac_try;;
3622 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3623 $as_echo "$ac_try_echo"; } >&5
3624 (eval "$ac_link_default") 2>&5
3626 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3627 test $ac_status = 0; }; then :
3628 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3629 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3630 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3631 # so that the user can short-circuit this test for compilers unknown to
3633 for ac_file in $ac_files ''
3635 test -f "$ac_file" || continue
3637 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3640 # We found the default executable, but exeext='' is most
3644 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3646 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3648 # We set ac_cv_exeext here because the later test for it is not
3649 # safe: cross compilers may not add the suffix if given an `-o'
3650 # argument, so we may need to know it at that point already.
3651 # Even if this section looks crufty: it has the advantage of
3658 test "$ac_cv_exeext" = no && ac_cv_exeext=
3663 if test -z "$ac_file"; then :
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3665 $as_echo "no" >&6; }
3666 $as_echo "$as_me: failed program was:" >&5
3667 sed 's/^/| /' conftest.$ac_ext >&5
3669 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3670 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3671 as_fn_error 77 "C compiler cannot create executables
3672 See \`config.log' for more details" "$LINENO" 5; }
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3675 $as_echo "yes" >&6; }
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3678 $as_echo_n "checking for C compiler default output file name... " >&6; }
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3680 $as_echo "$ac_file" >&6; }
3681 ac_exeext=$ac_cv_exeext
3683 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3684 ac_clean_files=$ac_clean_files_save
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3686 $as_echo_n "checking for suffix of executables... " >&6; }
3687 if { { ac_try="$ac_link"
3689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3690 *) ac_try_echo=$ac_try;;
3692 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3693 $as_echo "$ac_try_echo"; } >&5
3694 (eval "$ac_link") 2>&5
3696 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3697 test $ac_status = 0; }; then :
3698 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3699 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3700 # work properly (i.e., refer to `conftest.exe'), while it won't with
3702 for ac_file in conftest.exe conftest conftest.*; do
3703 test -f "$ac_file" || continue
3705 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3706 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3712 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3713 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3714 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3715 See \`config.log' for more details" "$LINENO" 5; }
3717 rm -f conftest conftest$ac_cv_exeext
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3719 $as_echo "$ac_cv_exeext" >&6; }
3721 rm -f conftest.$ac_ext
3722 EXEEXT=$ac_cv_exeext
3724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3725 /* end confdefs.h. */
3726 @%:@include <stdio.h>
3730 FILE *f = fopen ("conftest.out", "w");
3731 return ferror (f) || fclose (f) != 0;
3737 ac_clean_files="$ac_clean_files conftest.out"
3738 # Check that the compiler produces executables we can run. If not, either
3739 # the compiler is broken, or we cross compile.
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3741 $as_echo_n "checking whether we are cross compiling... " >&6; }
3742 if test "$cross_compiling" != yes; then
3743 { { ac_try="$ac_link"
3745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3746 *) ac_try_echo=$ac_try;;
3748 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3749 $as_echo "$ac_try_echo"; } >&5
3750 (eval "$ac_link") 2>&5
3752 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3753 test $ac_status = 0; }
3754 if { ac_try='./conftest$ac_cv_exeext'
3755 { { case "(($ac_try" in
3756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3757 *) ac_try_echo=$ac_try;;
3759 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3760 $as_echo "$ac_try_echo"; } >&5
3761 (eval "$ac_try") 2>&5
3763 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3764 test $ac_status = 0; }; }; then
3767 if test "$cross_compiling" = maybe; then
3770 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3771 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3772 as_fn_error $? "cannot run C compiled programs.
3773 If you meant to cross compile, use \`--host'.
3774 See \`config.log' for more details" "$LINENO" 5; }
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3779 $as_echo "$cross_compiling" >&6; }
3781 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3782 ac_clean_files=$ac_clean_files_save
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3784 $as_echo_n "checking for suffix of object files... " >&6; }
3785 if ${ac_cv_objext+:} false; then :
3786 $as_echo_n "(cached) " >&6
3788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3789 /* end confdefs.h. */
3799 rm -f conftest.o conftest.obj
3800 if { { ac_try="$ac_compile"
3802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3803 *) ac_try_echo=$ac_try;;
3805 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3806 $as_echo "$ac_try_echo"; } >&5
3807 (eval "$ac_compile") 2>&5
3809 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3810 test $ac_status = 0; }; then :
3811 for ac_file in conftest.o conftest.obj conftest.*; do
3812 test -f "$ac_file" || continue;
3814 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3815 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3820 $as_echo "$as_me: failed program was:" >&5
3821 sed 's/^/| /' conftest.$ac_ext >&5
3823 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3824 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3825 as_fn_error $? "cannot compute suffix of object files: cannot compile
3826 See \`config.log' for more details" "$LINENO" 5; }
3828 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3831 $as_echo "$ac_cv_objext" >&6; }
3832 OBJEXT=$ac_cv_objext
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3835 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3836 if ${ac_cv_c_compiler_gnu+:} false; then :
3837 $as_echo_n "(cached) " >&6
3839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3840 /* end confdefs.h. */
3853 if ac_fn_c_try_compile "$LINENO"; then :
3858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3859 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3863 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3864 if test $ac_compiler_gnu = yes; then
3869 ac_test_CFLAGS=${CFLAGS+set}
3870 ac_save_CFLAGS=$CFLAGS
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3872 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3873 if ${ac_cv_prog_cc_g+:} false; then :
3874 $as_echo_n "(cached) " >&6
3876 ac_save_c_werror_flag=$ac_c_werror_flag
3877 ac_c_werror_flag=yes
3880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3881 /* end confdefs.h. */
3891 if ac_fn_c_try_compile "$LINENO"; then :
3895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3896 /* end confdefs.h. */
3906 if ac_fn_c_try_compile "$LINENO"; then :
3909 ac_c_werror_flag=$ac_save_c_werror_flag
3911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3912 /* end confdefs.h. */
3922 if ac_fn_c_try_compile "$LINENO"; then :
3925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3930 ac_c_werror_flag=$ac_save_c_werror_flag
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3933 $as_echo "$ac_cv_prog_cc_g" >&6; }
3934 if test "$ac_test_CFLAGS" = set; then
3935 CFLAGS=$ac_save_CFLAGS
3936 elif test $ac_cv_prog_cc_g = yes; then
3937 if test "$GCC" = yes; then
3943 if test "$GCC" = yes; then
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3950 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3951 if ${ac_cv_prog_cc_c89+:} false; then :
3952 $as_echo_n "(cached) " >&6
3954 ac_cv_prog_cc_c89=no
3956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3957 /* end confdefs.h. */
3961 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3962 struct buf { int x; };
3963 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3964 static char *e (p, i)
3970 static char *f (char * (*g) (char **, int), char **p, ...)
3975 s = g (p, va_arg (v,int));
3980 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3981 function prototypes and stuff, but not '\xHH' hex character constants.
3982 These don't provoke an error unfortunately, instead are silently treated
3983 as 'x'. The following induces an error, until -std is added to get
3984 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3985 array size at least. It's necessary to write '\x00'==0 to get something
3986 that's true only with -std. */
3987 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3989 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3990 inside strings and character constants. */
3992 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3994 int test (int i, double x);
3995 struct s1 {int (*f) (int a);};
3996 struct s2 {int (*f) (double a);};
3997 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4003 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4008 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4009 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4011 CC="$ac_save_CC $ac_arg"
4012 if ac_fn_c_try_compile "$LINENO"; then :
4013 ac_cv_prog_cc_c89=$ac_arg
4015 rm -f core conftest.err conftest.$ac_objext
4016 test "x$ac_cv_prog_cc_c89" != "xno" && break
4018 rm -f conftest.$ac_ext
4023 case "x$ac_cv_prog_cc_c89" in
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4026 $as_echo "none needed" >&6; } ;;
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4029 $as_echo "unsupported" >&6; } ;;
4031 CC="$CC $ac_cv_prog_cc_c89"
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4033 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4035 if test "x$ac_cv_prog_cc_c89" != xno; then :
4040 ac_cpp='$CPP $CPPFLAGS'
4041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4046 ac_cpp='$CPP $CPPFLAGS'
4047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4051 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4052 if ${am_cv_prog_cc_c_o+:} false; then :
4053 $as_echo_n "(cached) " >&6
4055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4056 /* end confdefs.h. */
4066 # Make sure it works both with $CC and with simple cc.
4067 # Following AC_PROG_CC_C_O, we do the test twice because some
4068 # compilers refuse to overwrite an existing .o file with -o,
4069 # though they will create one.
4070 am_cv_prog_cc_c_o=yes
4072 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4073 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4076 (exit $ac_status); } \
4077 && test -f conftest2.$ac_objext; then
4080 am_cv_prog_cc_c_o=no
4084 rm -f core conftest*
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4088 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4089 if test "$am_cv_prog_cc_c_o" != yes; then
4090 # Losing compiler, so override with the script.
4091 # FIXME: It is wrong to rewrite CC.
4092 # But if we don't then we get into trouble of one sort or another.
4093 # A longer-term fix would be to have automake use am__CC in this case,
4094 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4095 CC="$am_aux_dir/compile $CC"
4098 ac_cpp='$CPP $CPPFLAGS'
4099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4104 depcc="$CC" am_compiler_list=
4106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4107 $as_echo_n "checking dependency style of $depcc... " >&6; }
4108 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4109 $as_echo_n "(cached) " >&6
4111 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4112 # We make a subdir and do the tests there. Otherwise we can end up
4113 # making bogus files that we don't know about and never remove. For
4114 # instance it was reported that on HP-UX the gcc test will end up
4115 # making a dummy file named 'D' -- because '-MD' means "put the output
4119 # Copy depcomp to subdir because otherwise we won't find it if we're
4120 # using a relative directory.
4121 cp "$am_depcomp" conftest.dir
4123 # We will build objects and dependencies in a subdirectory because
4124 # it helps to detect inapplicable dependency modes. For instance
4125 # both Tru64's cc and ICC support -MD to output dependencies as a
4126 # side effect of compilation, but ICC will put the dependencies in
4127 # the current directory while Tru64 will put them in the object
4131 am_cv_CC_dependencies_compiler_type=none
4132 if test "$am_compiler_list" = ""; then
4133 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4136 case " $depcc " in #(
4137 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4140 for depmode in $am_compiler_list; do
4141 # Setup a source with many dependencies, because some compilers
4142 # like to wrap large dependency lists on column 80 (with \), and
4143 # we should not choose a depcomp mode which is confused by this.
4145 # We need to recreate these files for each test, as the compiler may
4146 # overwrite some of them when testing with obscure command lines.
4147 # This happens at least with the AIX C compiler.
4149 for i in 1 2 3 4 5 6; do
4150 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4151 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4152 # Solaris 10 /bin/sh.
4153 echo '/* dummy */' > sub/conftst$i.h
4155 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4157 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4158 # mode. It turns out that the SunPro C++ compiler does not properly
4159 # handle '-M -o', and we need to detect this. Also, some Intel
4160 # versions had trouble with output in subdirs.
4161 am__obj=sub/conftest.${OBJEXT-o}
4162 am__minus_obj="-o $am__obj"
4165 # This depmode causes a compiler race in universal mode.
4166 test "$am__universal" = false || continue
4169 # After this tag, mechanisms are not by side-effect, so they'll
4170 # only be used when explicitly requested.
4171 if test "x$enable_dependency_tracking" = xyes; then
4177 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4178 # This compiler won't grok '-c -o', but also, the minuso test has
4179 # not run yet. These depmodes are late enough in the game, and
4180 # so weak that their functioning should not be impacted.
4181 am__obj=conftest.${OBJEXT-o}
4186 if depmode=$depmode \
4187 source=sub/conftest.c object=$am__obj \
4188 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4189 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4190 >/dev/null 2>conftest.err &&
4191 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4192 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4193 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4194 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4195 # icc doesn't choke on unknown options, it will just issue warnings
4196 # or remarks (even with -Werror). So we grep stderr for any message
4197 # that says an option was ignored or not supported.
4198 # When given -MP, icc 7.0 and 7.1 complain thusly:
4199 # icc: Command line warning: ignoring option '-M'; no argument required
4200 # The diagnosis changed in icc 8.0:
4201 # icc: Command line remark: option '-MP' not supported
4202 if (grep 'ignoring option' conftest.err ||
4203 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4204 am_cv_CC_dependencies_compiler_type=$depmode
4213 am_cv_CC_dependencies_compiler_type=none
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4218 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4219 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4222 test "x$enable_dependency_tracking" != xno \
4223 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4225 am__fastdepCC_FALSE='#'
4227 am__fastdepCC_TRUE='#'
4228 am__fastdepCC_FALSE=
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4233 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4234 if ${ac_cv_path_SED+:} false; then :
4235 $as_echo_n "(cached) " >&6
4237 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4238 for ac_i in 1 2 3 4 5 6 7; do
4239 ac_script="$ac_script$as_nl$ac_script"
4241 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4242 { ac_script=; unset ac_script;}
4243 if test -z "$SED"; then
4244 ac_path_SED_found=false
4245 # Loop through the user's path and test for each of PROGNAME-LIST
4246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4250 test -z "$as_dir" && as_dir=.
4251 for ac_prog in sed gsed; do
4252 for ac_exec_ext in '' $ac_executable_extensions; do
4253 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4254 as_fn_executable_p "$ac_path_SED" || continue
4255 # Check for GNU ac_path_SED and select it if it is found.
4256 # Check for GNU $ac_path_SED
4257 case `"$ac_path_SED" --version 2>&1` in
4259 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4262 $as_echo_n 0123456789 >"conftest.in"
4265 cat "conftest.in" "conftest.in" >"conftest.tmp"
4266 mv "conftest.tmp" "conftest.in"
4267 cp "conftest.in" "conftest.nl"
4268 $as_echo '' >> "conftest.nl"
4269 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4270 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4271 as_fn_arith $ac_count + 1 && ac_count=$as_val
4272 if test $ac_count -gt ${ac_path_SED_max-0}; then
4273 # Best one so far, save it but keep looking for a better one
4274 ac_cv_path_SED="$ac_path_SED"
4275 ac_path_SED_max=$ac_count
4277 # 10*(2^10) chars as input seems more than enough
4278 test $ac_count -gt 10 && break
4280 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4283 $ac_path_SED_found && break 3
4288 if test -z "$ac_cv_path_SED"; then
4289 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4297 $as_echo "$ac_cv_path_SED" >&6; }
4298 SED="$ac_cv_path_SED"
4301 test -z "$SED" && SED=sed
4302 Xsed="$SED -e 1s/^X//"
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4315 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4316 if ${ac_cv_path_GREP+:} false; then :
4317 $as_echo_n "(cached) " >&6
4319 if test -z "$GREP"; then
4320 ac_path_GREP_found=false
4321 # Loop through the user's path and test for each of PROGNAME-LIST
4322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4323 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4326 test -z "$as_dir" && as_dir=.
4327 for ac_prog in grep ggrep; do
4328 for ac_exec_ext in '' $ac_executable_extensions; do
4329 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4330 as_fn_executable_p "$ac_path_GREP" || continue
4331 # Check for GNU ac_path_GREP and select it if it is found.
4332 # Check for GNU $ac_path_GREP
4333 case `"$ac_path_GREP" --version 2>&1` in
4335 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4338 $as_echo_n 0123456789 >"conftest.in"
4341 cat "conftest.in" "conftest.in" >"conftest.tmp"
4342 mv "conftest.tmp" "conftest.in"
4343 cp "conftest.in" "conftest.nl"
4344 $as_echo 'GREP' >> "conftest.nl"
4345 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4346 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4347 as_fn_arith $ac_count + 1 && ac_count=$as_val
4348 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4349 # Best one so far, save it but keep looking for a better one
4350 ac_cv_path_GREP="$ac_path_GREP"
4351 ac_path_GREP_max=$ac_count
4353 # 10*(2^10) chars as input seems more than enough
4354 test $ac_count -gt 10 && break
4356 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4359 $ac_path_GREP_found && break 3
4364 if test -z "$ac_cv_path_GREP"; then
4365 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4368 ac_cv_path_GREP=$GREP
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4373 $as_echo "$ac_cv_path_GREP" >&6; }
4374 GREP="$ac_cv_path_GREP"
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4378 $as_echo_n "checking for egrep... " >&6; }
4379 if ${ac_cv_path_EGREP+:} false; then :
4380 $as_echo_n "(cached) " >&6
4382 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4383 then ac_cv_path_EGREP="$GREP -E"
4385 if test -z "$EGREP"; then
4386 ac_path_EGREP_found=false
4387 # Loop through the user's path and test for each of PROGNAME-LIST
4388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4389 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4392 test -z "$as_dir" && as_dir=.
4393 for ac_prog in egrep; do
4394 for ac_exec_ext in '' $ac_executable_extensions; do
4395 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4396 as_fn_executable_p "$ac_path_EGREP" || continue
4397 # Check for GNU ac_path_EGREP and select it if it is found.
4398 # Check for GNU $ac_path_EGREP
4399 case `"$ac_path_EGREP" --version 2>&1` in
4401 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4404 $as_echo_n 0123456789 >"conftest.in"
4407 cat "conftest.in" "conftest.in" >"conftest.tmp"
4408 mv "conftest.tmp" "conftest.in"
4409 cp "conftest.in" "conftest.nl"
4410 $as_echo 'EGREP' >> "conftest.nl"
4411 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4412 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4413 as_fn_arith $ac_count + 1 && ac_count=$as_val
4414 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4415 # Best one so far, save it but keep looking for a better one
4416 ac_cv_path_EGREP="$ac_path_EGREP"
4417 ac_path_EGREP_max=$ac_count
4419 # 10*(2^10) chars as input seems more than enough
4420 test $ac_count -gt 10 && break
4422 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4425 $ac_path_EGREP_found && break 3
4430 if test -z "$ac_cv_path_EGREP"; then
4431 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4434 ac_cv_path_EGREP=$EGREP
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4440 $as_echo "$ac_cv_path_EGREP" >&6; }
4441 EGREP="$ac_cv_path_EGREP"
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4445 $as_echo_n "checking for fgrep... " >&6; }
4446 if ${ac_cv_path_FGREP+:} false; then :
4447 $as_echo_n "(cached) " >&6
4449 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4450 then ac_cv_path_FGREP="$GREP -F"
4452 if test -z "$FGREP"; then
4453 ac_path_FGREP_found=false
4454 # Loop through the user's path and test for each of PROGNAME-LIST
4455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4456 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4459 test -z "$as_dir" && as_dir=.
4460 for ac_prog in fgrep; do
4461 for ac_exec_ext in '' $ac_executable_extensions; do
4462 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4463 as_fn_executable_p "$ac_path_FGREP" || continue
4464 # Check for GNU ac_path_FGREP and select it if it is found.
4465 # Check for GNU $ac_path_FGREP
4466 case `"$ac_path_FGREP" --version 2>&1` in
4468 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4471 $as_echo_n 0123456789 >"conftest.in"
4474 cat "conftest.in" "conftest.in" >"conftest.tmp"
4475 mv "conftest.tmp" "conftest.in"
4476 cp "conftest.in" "conftest.nl"
4477 $as_echo 'FGREP' >> "conftest.nl"
4478 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4479 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4480 as_fn_arith $ac_count + 1 && ac_count=$as_val
4481 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4482 # Best one so far, save it but keep looking for a better one
4483 ac_cv_path_FGREP="$ac_path_FGREP"
4484 ac_path_FGREP_max=$ac_count
4486 # 10*(2^10) chars as input seems more than enough
4487 test $ac_count -gt 10 && break
4489 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4492 $ac_path_FGREP_found && break 3
4497 if test -z "$ac_cv_path_FGREP"; then
4498 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4501 ac_cv_path_FGREP=$FGREP
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4507 $as_echo "$ac_cv_path_FGREP" >&6; }
4508 FGREP="$ac_cv_path_FGREP"
4511 test -z "$GREP" && GREP=grep
4531 @%:@ Check whether --with-gnu-ld was given.
4532 if test "${with_gnu_ld+set}" = set; then :
4533 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
4539 if test yes = "$GCC"; then
4540 # Check if gcc -print-prog-name=ld gives a path.
4541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4542 $as_echo_n "checking for ld used by $CC... " >&6; }
4545 # gcc leaves a trailing carriage return, which upsets mingw
4546 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4548 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4551 # Accept absolute paths.
4553 re_direlt='/[^/][^/]*/\.\./'
4554 # Canonicalize the pathname of ld
4555 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4556 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4557 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4559 test -z "$LD" && LD=$ac_prog
4562 # If it fails, then pretend we aren't using GCC.
4566 # If it is relative, then search for the first ld in PATH.
4570 elif test yes = "$with_gnu_ld"; then
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4572 $as_echo_n "checking for GNU ld... " >&6; }
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4575 $as_echo_n "checking for non-GNU ld... " >&6; }
4577 if ${lt_cv_path_LD+:} false; then :
4578 $as_echo_n "(cached) " >&6
4580 if test -z "$LD"; then
4581 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4582 for ac_dir in $PATH; do
4584 test -z "$ac_dir" && ac_dir=.
4585 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4586 lt_cv_path_LD=$ac_dir/$ac_prog
4587 # Check to see if the program is GNU ld. I'd rather use --version,
4588 # but apparently some variants of GNU ld only accept -v.
4589 # Break only if it was the GNU/non-GNU ld that we prefer.
4590 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4591 *GNU* | *'with BFD'*)
4592 test no != "$with_gnu_ld" && break
4595 test yes != "$with_gnu_ld" && break
4602 lt_cv_path_LD=$LD # Let the user override the test with a path.
4607 if test -n "$LD"; then
4608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4609 $as_echo "$LD" >&6; }
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4612 $as_echo "no" >&6; }
4614 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4616 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4617 if ${lt_cv_prog_gnu_ld+:} false; then :
4618 $as_echo_n "(cached) " >&6
4620 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4621 case `$LD -v 2>&1 </dev/null` in
4622 *GNU* | *'with BFD'*)
4623 lt_cv_prog_gnu_ld=yes
4626 lt_cv_prog_gnu_ld=no
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4631 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4632 with_gnu_ld=$lt_cv_prog_gnu_ld
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4643 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4644 if ${lt_cv_path_NM+:} false; then :
4645 $as_echo_n "(cached) " >&6
4647 if test -n "$NM"; then
4648 # Let the user override the test.
4651 lt_nm_to_check=${ac_tool_prefix}nm
4652 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4653 lt_nm_to_check="$lt_nm_to_check nm"
4655 for lt_tmp_nm in $lt_nm_to_check; do
4656 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4657 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4659 test -z "$ac_dir" && ac_dir=.
4660 tmp_nm=$ac_dir/$lt_tmp_nm
4661 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
4662 # Check to see if the nm accepts a BSD-compat flag.
4663 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
4664 # nm: unknown option "B" ignored
4665 # Tru64's nm complains that /dev/null is an invalid object file
4666 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
4668 mingw*) lt_bad_file=conftest.nm/nofile ;;
4669 *) lt_bad_file=/dev/null ;;
4671 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
4672 *$lt_bad_file* | *'Invalid file or object type'*)
4673 lt_cv_path_NM="$tmp_nm -B"
4677 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4679 lt_cv_path_NM="$tmp_nm -p"
4683 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4684 continue # so that we can try to find one that supports BSD flags
4693 : ${lt_cv_path_NM=no}
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4697 $as_echo "$lt_cv_path_NM" >&6; }
4698 if test no != "$lt_cv_path_NM"; then
4701 # Didn't find any BSD compatible name lister, look for dumpbin.
4702 if test -n "$DUMPBIN"; then :
4703 # Let the user override the test.
4705 if test -n "$ac_tool_prefix"; then
4706 for ac_prog in dumpbin "link -dump"
4708 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4709 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4711 $as_echo_n "checking for $ac_word... " >&6; }
4712 if ${ac_cv_prog_DUMPBIN+:} false; then :
4713 $as_echo_n "(cached) " >&6
4715 if test -n "$DUMPBIN"; then
4716 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4722 test -z "$as_dir" && as_dir=.
4723 for ac_exec_ext in '' $ac_executable_extensions; do
4724 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4725 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4735 DUMPBIN=$ac_cv_prog_DUMPBIN
4736 if test -n "$DUMPBIN"; then
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4738 $as_echo "$DUMPBIN" >&6; }
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4741 $as_echo "no" >&6; }
4745 test -n "$DUMPBIN" && break
4748 if test -z "$DUMPBIN"; then
4749 ac_ct_DUMPBIN=$DUMPBIN
4750 for ac_prog in dumpbin "link -dump"
4752 # Extract the first word of "$ac_prog", so it can be a program name with args.
4753 set dummy $ac_prog; ac_word=$2
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4755 $as_echo_n "checking for $ac_word... " >&6; }
4756 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4757 $as_echo_n "(cached) " >&6
4759 if test -n "$ac_ct_DUMPBIN"; then
4760 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4766 test -z "$as_dir" && as_dir=.
4767 for ac_exec_ext in '' $ac_executable_extensions; do
4768 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4769 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4779 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4780 if test -n "$ac_ct_DUMPBIN"; then
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4782 $as_echo "$ac_ct_DUMPBIN" >&6; }
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4785 $as_echo "no" >&6; }
4789 test -n "$ac_ct_DUMPBIN" && break
4792 if test "x$ac_ct_DUMPBIN" = x; then
4795 case $cross_compiling:$ac_tool_warned in
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4798 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4799 ac_tool_warned=yes ;;
4801 DUMPBIN=$ac_ct_DUMPBIN
4805 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
4807 DUMPBIN="$DUMPBIN -symbols -headers"
4815 if test : != "$DUMPBIN"; then
4819 test -z "$NM" && NM=nm
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4827 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4828 if ${lt_cv_nm_interface+:} false; then :
4829 $as_echo_n "(cached) " >&6
4831 lt_cv_nm_interface="BSD nm"
4832 echo "int some_variable = 0;" > conftest.$ac_ext
4833 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4834 (eval "$ac_compile" 2>conftest.err)
4835 cat conftest.err >&5
4836 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4837 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4838 cat conftest.err >&5
4839 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4840 cat conftest.out >&5
4841 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4842 lt_cv_nm_interface="MS dumpbin"
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4847 $as_echo "$lt_cv_nm_interface" >&6; }
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4850 $as_echo_n "checking whether ln -s works... " >&6; }
4852 if test "$LN_S" = "ln -s"; then
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4854 $as_echo "yes" >&6; }
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4857 $as_echo "no, using $LN_S" >&6; }
4860 # find the maximum length of command line arguments
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4862 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4863 if ${lt_cv_sys_max_cmd_len+:} false; then :
4864 $as_echo_n "(cached) " >&6
4871 # On DJGPP, this test can blow up pretty badly due to problems in libc
4872 # (any single argument exceeding 2000 bytes causes a buffer overrun
4873 # during glob expansion). Even if it were fixed, the result of this
4874 # check would be larger than it should be.
4875 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4879 # Under GNU Hurd, this test is not required because there is
4880 # no limit to the length of command line arguments.
4881 # Libtool will interpret -1 as no limit whatsoever
4882 lt_cv_sys_max_cmd_len=-1;
4885 cygwin* | mingw* | cegcc*)
4886 # On Win9x/ME, this test blows up -- it succeeds, but takes
4887 # about 5 minutes as the teststring grows exponentially.
4888 # Worse, since 9x/ME are not pre-emptively multitasking,
4889 # you end up with a "frozen" computer, even though with patience
4890 # the test eventually succeeds (with a max line length of 256k).
4891 # Instead, let's just punt: use the minimum linelength reported by
4892 # all of the supported platforms: 8192 (on NT/2K/XP).
4893 lt_cv_sys_max_cmd_len=8192;
4897 # On MiNT this can take a long time and run out of memory.
4898 lt_cv_sys_max_cmd_len=8192;
4902 # On AmigaOS with pdksh, this test takes hours, literally.
4903 # So we just punt and use a minimum line length of 8192.
4904 lt_cv_sys_max_cmd_len=8192;
4907 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
4908 # This has been around since 386BSD, at least. Likely further.
4909 if test -x /sbin/sysctl; then
4910 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4911 elif test -x /usr/sbin/sysctl; then
4912 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4914 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4916 # And add a safety zone
4917 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4918 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4922 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4923 lt_cv_sys_max_cmd_len=196608
4927 # The test takes a long time on OS/2.
4928 lt_cv_sys_max_cmd_len=8192
4932 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4933 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4934 # nice to cause kernel panics so lets avoid the loop below.
4935 # First set a reasonable default.
4936 lt_cv_sys_max_cmd_len=16384
4938 if test -x /sbin/sysconfig; then
4939 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4940 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4945 lt_cv_sys_max_cmd_len=102400
4947 sysv5* | sco5v6* | sysv4.2uw2*)
4948 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4949 if test -n "$kargmax"; then
4950 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4952 lt_cv_sys_max_cmd_len=32768
4956 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4957 if test -n "$lt_cv_sys_max_cmd_len" && \
4958 test undefined != "$lt_cv_sys_max_cmd_len"; then
4959 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4960 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4962 # Make teststring a little bigger before we do anything with it.
4963 # a 1K string should be a reasonable start.
4964 for i in 1 2 3 4 5 6 7 8; do
4965 teststring=$teststring$teststring
4967 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4968 # If test is not a shell built-in, we'll probably end up computing a
4969 # maximum length that is only half of the actual maximum length, but
4971 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
4972 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4973 test 17 != "$i" # 1/2 MB should be enough
4976 teststring=$teststring$teststring
4978 # Only check the string length outside the loop.
4979 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4981 # Add a significant safety factor because C++ compilers can tack on
4982 # massive amounts of additional arguments before passing them to the
4983 # linker. It appears as though 1/2 is a usable value.
4984 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4991 if test -n "$lt_cv_sys_max_cmd_len"; then
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4993 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4996 $as_echo "none" >&6; }
4998 max_cmd_len=$lt_cv_sys_max_cmd_len
5009 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5019 # test EBCDIC or ASCII
5020 case `echo X|tr X '\101'` in
5021 A) # ASCII based system
5022 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5023 lt_SP2NL='tr \040 \012'
5024 lt_NL2SP='tr \015\012 \040\040'
5026 *) # EBCDIC based system
5027 lt_SP2NL='tr \100 \n'
5028 lt_NL2SP='tr \r\n \100\100'
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5041 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5042 if ${lt_cv_to_host_file_cmd+:} false; then :
5043 $as_echo_n "(cached) " >&6
5048 *-*-mingw* ) # actually msys
5049 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5052 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5054 * ) # otherwise, assume *nix
5055 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5061 *-*-mingw* ) # actually msys
5062 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5065 lt_cv_to_host_file_cmd=func_convert_file_noop
5067 * ) # otherwise, assume *nix
5068 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5072 * ) # unhandled hosts (and "normal" native builds)
5073 lt_cv_to_host_file_cmd=func_convert_file_noop
5079 to_host_file_cmd=$lt_cv_to_host_file_cmd
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5081 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5088 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5089 if ${lt_cv_to_tool_file_cmd+:} false; then :
5090 $as_echo_n "(cached) " >&6
5092 #assume ordinary cross tools, or native build.
5093 lt_cv_to_tool_file_cmd=func_convert_file_noop
5097 *-*-mingw* ) # actually msys
5098 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5106 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5108 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5115 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5116 if ${lt_cv_ld_reload_flag+:} false; then :
5117 $as_echo_n "(cached) " >&6
5119 lt_cv_ld_reload_flag='-r'
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5122 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5123 reload_flag=$lt_cv_ld_reload_flag
5124 case $reload_flag in
5126 *) reload_flag=" $reload_flag" ;;
5128 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5130 cygwin* | mingw* | pw32* | cegcc*)
5131 if test yes != "$GCC"; then
5136 if test yes = "$GCC"; then
5137 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5139 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5152 if test -n "$ac_tool_prefix"; then
5153 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5154 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5156 $as_echo_n "checking for $ac_word... " >&6; }
5157 if ${ac_cv_prog_OBJDUMP+:} false; then :
5158 $as_echo_n "(cached) " >&6
5160 if test -n "$OBJDUMP"; then
5161 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5167 test -z "$as_dir" && as_dir=.
5168 for ac_exec_ext in '' $ac_executable_extensions; do
5169 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5170 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5171 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5180 OBJDUMP=$ac_cv_prog_OBJDUMP
5181 if test -n "$OBJDUMP"; then
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5183 $as_echo "$OBJDUMP" >&6; }
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5186 $as_echo "no" >&6; }
5191 if test -z "$ac_cv_prog_OBJDUMP"; then
5192 ac_ct_OBJDUMP=$OBJDUMP
5193 # Extract the first word of "objdump", so it can be a program name with args.
5194 set dummy objdump; ac_word=$2
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5196 $as_echo_n "checking for $ac_word... " >&6; }
5197 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5198 $as_echo_n "(cached) " >&6
5200 if test -n "$ac_ct_OBJDUMP"; then
5201 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5207 test -z "$as_dir" && as_dir=.
5208 for ac_exec_ext in '' $ac_executable_extensions; do
5209 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5210 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5211 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5220 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5221 if test -n "$ac_ct_OBJDUMP"; then
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5223 $as_echo "$ac_ct_OBJDUMP" >&6; }
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5226 $as_echo "no" >&6; }
5229 if test "x$ac_ct_OBJDUMP" = x; then
5232 case $cross_compiling:$ac_tool_warned in
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5235 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5236 ac_tool_warned=yes ;;
5238 OBJDUMP=$ac_ct_OBJDUMP
5241 OBJDUMP="$ac_cv_prog_OBJDUMP"
5244 test -z "$OBJDUMP" && OBJDUMP=objdump
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5255 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5256 if ${lt_cv_deplibs_check_method+:} false; then :
5257 $as_echo_n "(cached) " >&6
5259 lt_cv_file_magic_cmd='$MAGIC_CMD'
5260 lt_cv_file_magic_test_file=
5261 lt_cv_deplibs_check_method='unknown'
5262 # Need to set the preceding variable on all platforms that support
5263 # interlibrary dependencies.
5264 # 'none' -- dependencies not supported.
5265 # 'unknown' -- same as none, but documents that we really don't know.
5266 # 'pass_all' -- all dependencies passed with no checks.
5267 # 'test_compile' -- check by making test program.
5268 # 'file_magic [[regex]]' -- check by looking for files in library path
5269 # that responds to the $file_magic_cmd with a given extended regex.
5270 # If you have 'file' or equivalent on your system and you're not sure
5271 # whether 'pass_all' will *always* work, you probably want this one.
5275 lt_cv_deplibs_check_method=pass_all
5279 lt_cv_deplibs_check_method=pass_all
5283 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5284 lt_cv_file_magic_cmd='/usr/bin/file -L'
5285 lt_cv_file_magic_test_file=/shlib/libc.so
5289 # func_win32_libid is a shell function defined in ltmain.sh
5290 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5291 lt_cv_file_magic_cmd='func_win32_libid'
5295 # Base MSYS/MinGW do not provide the 'file' command needed by
5296 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5297 # unless we find 'file', for example because we are cross-compiling.
5298 if ( file / ) >/dev/null 2>&1; then
5299 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5300 lt_cv_file_magic_cmd='func_win32_libid'
5302 # Keep this pattern in sync with the one in func_win32_libid.
5303 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5304 lt_cv_file_magic_cmd='$OBJDUMP -f'
5309 # use the weaker test based on 'objdump'. See mingw*.
5310 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5311 lt_cv_file_magic_cmd='$OBJDUMP -f'
5314 darwin* | rhapsody*)
5315 lt_cv_deplibs_check_method=pass_all
5318 freebsd* | dragonfly*)
5319 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5322 # Not sure whether the presence of OpenBSD here was a mistake.
5323 # Let's accept both of them until this is cleared up.
5324 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5325 lt_cv_file_magic_cmd=/usr/bin/file
5326 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5330 lt_cv_deplibs_check_method=pass_all
5335 lt_cv_deplibs_check_method=pass_all
5338 hpux10.20* | hpux11*)
5339 lt_cv_file_magic_cmd=/usr/bin/file
5342 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5343 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5346 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]'
5347 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5350 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5351 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5357 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5358 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5361 irix5* | irix6* | nonstopux*)
5363 *-32|*"-32 ") libmagic=32-bit;;
5364 *-n32|*"-n32 ") libmagic=N32;;
5365 *-64|*"-64 ") libmagic=64-bit;;
5366 *) libmagic=never-match;;
5368 lt_cv_deplibs_check_method=pass_all
5371 # This must be glibc/ELF.
5372 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5373 lt_cv_deplibs_check_method=pass_all
5376 netbsd* | netbsdelf*-gnu)
5377 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5378 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5380 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5385 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5386 lt_cv_file_magic_cmd=/usr/bin/file
5387 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5391 lt_cv_deplibs_check_method=pass_all
5395 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5396 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5398 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5402 osf3* | osf4* | osf5*)
5403 lt_cv_deplibs_check_method=pass_all
5407 lt_cv_deplibs_check_method=pass_all
5411 lt_cv_deplibs_check_method=pass_all
5414 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5415 lt_cv_deplibs_check_method=pass_all
5419 case $host_vendor in
5421 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]'
5422 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5425 lt_cv_deplibs_check_method=pass_all
5428 lt_cv_file_magic_cmd='/bin/file'
5429 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5432 lt_cv_file_magic_cmd='/bin/file'
5433 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5434 lt_cv_file_magic_test_file=/lib/libc.so
5437 lt_cv_deplibs_check_method=pass_all
5440 lt_cv_deplibs_check_method=pass_all
5446 lt_cv_deplibs_check_method=pass_all
5449 lt_cv_deplibs_check_method=pass_all
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5455 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5459 if test "$build" = "$host"; then
5462 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5465 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5471 file_magic_cmd=$lt_cv_file_magic_cmd
5472 deplibs_check_method=$lt_cv_deplibs_check_method
5473 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5496 if test -n "$ac_tool_prefix"; then
5497 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5498 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5500 $as_echo_n "checking for $ac_word... " >&6; }
5501 if ${ac_cv_prog_DLLTOOL+:} false; then :
5502 $as_echo_n "(cached) " >&6
5504 if test -n "$DLLTOOL"; then
5505 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5511 test -z "$as_dir" && as_dir=.
5512 for ac_exec_ext in '' $ac_executable_extensions; do
5513 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5514 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5524 DLLTOOL=$ac_cv_prog_DLLTOOL
5525 if test -n "$DLLTOOL"; then
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5527 $as_echo "$DLLTOOL" >&6; }
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5530 $as_echo "no" >&6; }
5535 if test -z "$ac_cv_prog_DLLTOOL"; then
5536 ac_ct_DLLTOOL=$DLLTOOL
5537 # Extract the first word of "dlltool", so it can be a program name with args.
5538 set dummy dlltool; ac_word=$2
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5540 $as_echo_n "checking for $ac_word... " >&6; }
5541 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5542 $as_echo_n "(cached) " >&6
5544 if test -n "$ac_ct_DLLTOOL"; then
5545 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5551 test -z "$as_dir" && as_dir=.
5552 for ac_exec_ext in '' $ac_executable_extensions; do
5553 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5554 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5564 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5565 if test -n "$ac_ct_DLLTOOL"; then
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5567 $as_echo "$ac_ct_DLLTOOL" >&6; }
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5570 $as_echo "no" >&6; }
5573 if test "x$ac_ct_DLLTOOL" = x; then
5576 case $cross_compiling:$ac_tool_warned in
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5579 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5580 ac_tool_warned=yes ;;
5582 DLLTOOL=$ac_ct_DLLTOOL
5585 DLLTOOL="$ac_cv_prog_DLLTOOL"
5588 test -z "$DLLTOOL" && DLLTOOL=dlltool
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5600 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5601 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5602 $as_echo_n "(cached) " >&6
5604 lt_cv_sharedlib_from_linklib_cmd='unknown'
5607 cygwin* | mingw* | pw32* | cegcc*)
5608 # two different shell functions defined in ltmain.sh;
5609 # decide which one to use based on capabilities of $DLLTOOL
5610 case `$DLLTOOL --help 2>&1` in
5611 *--identify-strict*)
5612 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5615 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5620 # fallback: assume linklib IS sharedlib
5621 lt_cv_sharedlib_from_linklib_cmd=$ECHO
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5627 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5628 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5629 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5638 if test -n "$ac_tool_prefix"; then
5641 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5642 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5644 $as_echo_n "checking for $ac_word... " >&6; }
5645 if ${ac_cv_prog_AR+:} false; then :
5646 $as_echo_n "(cached) " >&6
5648 if test -n "$AR"; then
5649 ac_cv_prog_AR="$AR" # Let the user override the test.
5651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5655 test -z "$as_dir" && as_dir=.
5656 for ac_exec_ext in '' $ac_executable_extensions; do
5657 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5658 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5669 if test -n "$AR"; then
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5671 $as_echo "$AR" >&6; }
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5674 $as_echo "no" >&6; }
5678 test -n "$AR" && break
5681 if test -z "$AR"; then
5685 # Extract the first word of "$ac_prog", so it can be a program name with args.
5686 set dummy $ac_prog; ac_word=$2
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5688 $as_echo_n "checking for $ac_word... " >&6; }
5689 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5690 $as_echo_n "(cached) " >&6
5692 if test -n "$ac_ct_AR"; then
5693 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5699 test -z "$as_dir" && as_dir=.
5700 for ac_exec_ext in '' $ac_executable_extensions; do
5701 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5702 ac_cv_prog_ac_ct_AR="$ac_prog"
5703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5712 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5713 if test -n "$ac_ct_AR"; then
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5715 $as_echo "$ac_ct_AR" >&6; }
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5718 $as_echo "no" >&6; }
5722 test -n "$ac_ct_AR" && break
5725 if test "x$ac_ct_AR" = x; then
5728 case $cross_compiling:$ac_tool_warned in
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5731 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5732 ac_tool_warned=yes ;;
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5752 $as_echo_n "checking for archiver @FILE support... " >&6; }
5753 if ${lt_cv_ar_at_file+:} false; then :
5754 $as_echo_n "(cached) " >&6
5757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5758 /* end confdefs.h. */
5768 if ac_fn_c_try_compile "$LINENO"; then :
5769 echo conftest.$ac_objext > conftest.lst
5770 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5771 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5772 (eval $lt_ar_try) 2>&5
5774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5775 test $ac_status = 0; }
5776 if test 0 -eq "$ac_status"; then
5777 # Ensure the archiver fails upon bogus file names.
5778 rm -f conftest.$ac_objext libconftest.a
5779 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5780 (eval $lt_ar_try) 2>&5
5782 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5783 test $ac_status = 0; }
5784 if test 0 -ne "$ac_status"; then
5788 rm -f conftest.* libconftest.a
5791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5795 $as_echo "$lt_cv_ar_at_file" >&6; }
5797 if test no = "$lt_cv_ar_at_file"; then
5800 archiver_list_spec=$lt_cv_ar_at_file
5809 if test -n "$ac_tool_prefix"; then
5810 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5811 set dummy ${ac_tool_prefix}strip; ac_word=$2
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5813 $as_echo_n "checking for $ac_word... " >&6; }
5814 if ${ac_cv_prog_STRIP+:} false; then :
5815 $as_echo_n "(cached) " >&6
5817 if test -n "$STRIP"; then
5818 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5824 test -z "$as_dir" && as_dir=.
5825 for ac_exec_ext in '' $ac_executable_extensions; do
5826 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5827 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5837 STRIP=$ac_cv_prog_STRIP
5838 if test -n "$STRIP"; then
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5840 $as_echo "$STRIP" >&6; }
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5843 $as_echo "no" >&6; }
5848 if test -z "$ac_cv_prog_STRIP"; then
5850 # Extract the first word of "strip", so it can be a program name with args.
5851 set dummy strip; ac_word=$2
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5853 $as_echo_n "checking for $ac_word... " >&6; }
5854 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5855 $as_echo_n "(cached) " >&6
5857 if test -n "$ac_ct_STRIP"; then
5858 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5864 test -z "$as_dir" && as_dir=.
5865 for ac_exec_ext in '' $ac_executable_extensions; do
5866 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5867 ac_cv_prog_ac_ct_STRIP="strip"
5868 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5877 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5878 if test -n "$ac_ct_STRIP"; then
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5880 $as_echo "$ac_ct_STRIP" >&6; }
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5883 $as_echo "no" >&6; }
5886 if test "x$ac_ct_STRIP" = x; then
5889 case $cross_compiling:$ac_tool_warned in
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5892 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5893 ac_tool_warned=yes ;;
5898 STRIP="$ac_cv_prog_STRIP"
5901 test -z "$STRIP" && STRIP=:
5908 if test -n "$ac_tool_prefix"; then
5909 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5910 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5912 $as_echo_n "checking for $ac_word... " >&6; }
5913 if ${ac_cv_prog_RANLIB+:} false; then :
5914 $as_echo_n "(cached) " >&6
5916 if test -n "$RANLIB"; then
5917 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5923 test -z "$as_dir" && as_dir=.
5924 for ac_exec_ext in '' $ac_executable_extensions; do
5925 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5926 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5936 RANLIB=$ac_cv_prog_RANLIB
5937 if test -n "$RANLIB"; then
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5939 $as_echo "$RANLIB" >&6; }
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5942 $as_echo "no" >&6; }
5947 if test -z "$ac_cv_prog_RANLIB"; then
5948 ac_ct_RANLIB=$RANLIB
5949 # Extract the first word of "ranlib", so it can be a program name with args.
5950 set dummy ranlib; ac_word=$2
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5952 $as_echo_n "checking for $ac_word... " >&6; }
5953 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5954 $as_echo_n "(cached) " >&6
5956 if test -n "$ac_ct_RANLIB"; then
5957 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5963 test -z "$as_dir" && as_dir=.
5964 for ac_exec_ext in '' $ac_executable_extensions; do
5965 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5966 ac_cv_prog_ac_ct_RANLIB="ranlib"
5967 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5976 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5977 if test -n "$ac_ct_RANLIB"; then
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5979 $as_echo "$ac_ct_RANLIB" >&6; }
5981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5982 $as_echo "no" >&6; }
5985 if test "x$ac_ct_RANLIB" = x; then
5988 case $cross_compiling:$ac_tool_warned in
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5991 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5992 ac_tool_warned=yes ;;
5994 RANLIB=$ac_ct_RANLIB
5997 RANLIB="$ac_cv_prog_RANLIB"
6000 test -z "$RANLIB" && RANLIB=:
6007 # Determine commands to create old-style static archives.
6008 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6009 old_postinstall_cmds='chmod 644 $oldlib'
6010 old_postuninstall_cmds=
6012 if test -n "$RANLIB"; then
6015 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6018 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6021 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6026 lock_old_archive_extraction=yes ;;
6028 lock_old_archive_extraction=no ;;
6069 # If no C compiler was specified, use CC.
6072 # If no C compiler flags were specified, use CFLAGS.
6073 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6075 # Allow CC to be a program name with arguments.
6079 # Check for command to grab the raw symbol name followed by C symbol from nm.
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6081 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6082 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6083 $as_echo_n "(cached) " >&6
6086 # These are sane defaults that work on at least a few old systems.
6087 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6089 # Character class describing NM global symbol codes.
6090 symcode='[BCDEGRST]'
6092 # Regexp to match symbols that can be accessed directly from C.
6093 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6095 # Define system-specific variables.
6100 cygwin* | mingw* | pw32* | cegcc*)
6101 symcode='[ABCDGISTW]'
6104 if test ia64 = "$host_cpu"; then
6105 symcode='[ABCDEGRST]'
6109 symcode='[BCDEGRST]'
6112 symcode='[BCDEGQRST]'
6123 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6131 # If we're using GNU nm, then use its standard symbol codes.
6132 case `$NM -V 2>&1` in
6133 *GNU* | *'with BFD'*)
6134 symcode='[ABCDGIRSTW]' ;;
6137 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6138 # Gets list of data symbols to import.
6139 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6140 # Adjust the below global symbol transforms to fixup imported variables.
6141 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6142 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
6143 lt_c_name_lib_hook="\
6144 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
6145 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
6147 # Disable hooks by default.
6148 lt_cv_sys_global_symbol_to_import=
6154 # Transform an extracted symbol line into a proper C declaration.
6155 # Some systems (esp. on ia64) link data and code symbols differently,
6156 # so use this general approach.
6157 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6159 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6160 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6162 # Transform an extracted symbol line into symbol name and symbol address
6163 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6165 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6166 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
6168 # Transform an extracted symbol line into symbol name with lib prefix and
6170 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6171 $lt_c_name_lib_hook\
6172 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6173 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
6174 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
6176 # Handle CRLF in mingw tool chain
6180 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6184 # Try without a prefix underscore, then with it.
6185 for ac_symprfx in "" "_"; do
6187 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6188 symxfrm="\\1 $ac_symprfx\\2 \\2"
6190 # Write the raw and C identifiers.
6191 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6192 # Fake it for dumpbin and say T for any non-static function,
6193 # D for any global variable and I for any imported variable.
6194 # Also find C++ and __fastcall symbols from MSVC++,
6195 # which start with @ or ?.
6196 lt_cv_sys_global_symbol_pipe="$AWK '"\
6197 " {last_section=section; section=\$ 3};"\
6198 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6199 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6200 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6201 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6202 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6203 " \$ 0!~/External *\|/{next};"\
6204 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6205 " {if(hide[section]) next};"\
6206 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6207 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6208 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6209 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6210 " ' prfx=^$ac_symprfx"
6212 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6214 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6216 # Check to see that the pipe works correctly.
6220 cat > conftest.$ac_ext <<_LT_EOF
6225 void nm_test_func(void);
6226 void nm_test_func(void){}
6230 int main(){nm_test_var='a';nm_test_func();return(0);}
6233 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6234 (eval $ac_compile) 2>&5
6236 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6237 test $ac_status = 0; }; then
6238 # Now try to grab the symbols.
6240 $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
6241 if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
6242 # Try sorting and uniquifying the output.
6243 if sort "$nlist" | uniq > "$nlist"T; then
6244 mv -f "$nlist"T "$nlist"
6249 # Make sure that we snagged all the symbols we need.
6250 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6251 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6252 cat <<_LT_EOF > conftest.$ac_ext
6253 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6254 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6255 /* DATA imports from DLLs on WIN32 can't be const, because runtime
6256 relocations are performed -- see ld's documentation on pseudo-relocs. */
6257 # define LT@&t@_DLSYM_CONST
6258 #elif defined __osf__
6259 /* This system does not cope well with relocations in const data. */
6260 # define LT@&t@_DLSYM_CONST
6262 # define LT@&t@_DLSYM_CONST const
6270 # Now generate the symbol file.
6271 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6273 cat <<_LT_EOF >> conftest.$ac_ext
6275 /* The mapping between symbol names and symbols. */
6276 LT@&t@_DLSYM_CONST struct {
6280 lt__PROGRAM__LTX_preloaded_symbols[] =
6282 { "@PROGRAM@", (void *) 0 },
6284 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6285 cat <<\_LT_EOF >> conftest.$ac_ext
6289 /* This works around a problem in FreeBSD linker */
6290 #ifdef FREEBSD_WORKAROUND
6291 static const void *lt_preloaded_setup() {
6292 return lt__PROGRAM__LTX_preloaded_symbols;
6300 # Now try linking the two files.
6301 mv conftest.$ac_objext conftstm.$ac_objext
6302 lt_globsym_save_LIBS=$LIBS
6303 lt_globsym_save_CFLAGS=$CFLAGS
6304 LIBS=conftstm.$ac_objext
6305 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6306 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6307 (eval $ac_link) 2>&5
6309 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6310 test $ac_status = 0; } && test -s conftest$ac_exeext; then
6313 LIBS=$lt_globsym_save_LIBS
6314 CFLAGS=$lt_globsym_save_CFLAGS
6316 echo "cannot find nm_test_func in $nlist" >&5
6319 echo "cannot find nm_test_var in $nlist" >&5
6322 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6325 echo "$progname: failed program was:" >&5
6326 cat conftest.$ac_ext >&5
6328 rm -rf conftest* conftst*
6330 # Do not use the global_symbol_pipe unless it works.
6331 if test yes = "$pipe_works"; then
6334 lt_cv_sys_global_symbol_pipe=
6340 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6341 lt_cv_sys_global_symbol_to_cdecl=
6343 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6345 $as_echo "failed" >&6; }
6347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6348 $as_echo "ok" >&6; }
6351 # Response file support.
6352 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6353 nm_file_list_spec='@'
6354 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6355 nm_file_list_spec='@'
6394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6395 $as_echo_n "checking for sysroot... " >&6; }
6397 @%:@ Check whether --with-sysroot was given.
6398 if test "${with_sysroot+set}" = set; then :
6399 withval=$with_sysroot;
6406 case $with_sysroot in #(
6408 if test yes = "$GCC"; then
6409 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6413 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
6419 $as_echo "$with_sysroot" >&6; }
6420 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6425 $as_echo "${lt_sysroot:-no}" >&6; }
6431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
6432 $as_echo_n "checking for a working dd... " >&6; }
6433 if ${ac_cv_path_lt_DD+:} false; then :
6434 $as_echo_n "(cached) " >&6
6436 printf 0123456789abcdef0123456789abcdef >conftest.i
6437 cat conftest.i conftest.i >conftest2.i
6439 if test -z "$lt_DD"; then
6440 ac_path_lt_DD_found=false
6441 # Loop through the user's path and test for each of PROGNAME-LIST
6442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6446 test -z "$as_dir" && as_dir=.
6447 for ac_prog in dd; do
6448 for ac_exec_ext in '' $ac_executable_extensions; do
6449 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
6450 as_fn_executable_p "$ac_path_lt_DD" || continue
6451 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6452 cmp -s conftest.i conftest.out \
6453 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
6455 $ac_path_lt_DD_found && break 3
6460 if test -z "$ac_cv_path_lt_DD"; then
6464 ac_cv_path_lt_DD=$lt_DD
6467 rm -f conftest.i conftest2.i conftest.out
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
6470 $as_echo "$ac_cv_path_lt_DD" >&6; }
6473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
6474 $as_echo_n "checking how to truncate binary pipes... " >&6; }
6475 if ${lt_cv_truncate_bin+:} false; then :
6476 $as_echo_n "(cached) " >&6
6478 printf 0123456789abcdef0123456789abcdef >conftest.i
6479 cat conftest.i conftest.i >conftest2.i
6481 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6482 cmp -s conftest.i conftest.out \
6483 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
6485 rm -f conftest.i conftest2.i conftest.out
6486 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
6488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
6489 $as_echo "$lt_cv_truncate_bin" >&6; }
6497 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
6500 for cc_temp in @S|@*""; do
6502 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6503 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6508 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
6511 @%:@ Check whether --enable-libtool-lock was given.
6512 if test "${enable_libtool_lock+set}" = set; then :
6513 enableval=$enable_libtool_lock;
6516 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
6518 # Some flags need to be propagated to the compiler or linker for good
6522 # Find out what ABI is being produced by ac_compile, and set mode
6523 # options accordingly.
6524 echo 'int i;' > conftest.$ac_ext
6525 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6526 (eval $ac_compile) 2>&5
6528 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6529 test $ac_status = 0; }; then
6530 case `/usr/bin/file conftest.$ac_objext` in
6542 # Find out what ABI is being produced by ac_compile, and set linker
6543 # options accordingly.
6544 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6545 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6546 (eval $ac_compile) 2>&5
6548 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6549 test $ac_status = 0; }; then
6550 if test yes = "$lt_cv_prog_gnu_ld"; then
6551 case `/usr/bin/file conftest.$ac_objext` in
6553 LD="${LD-ld} -melf32bsmip"
6556 LD="${LD-ld} -melf32bmipn32"
6559 LD="${LD-ld} -melf64bmip"
6563 case `/usr/bin/file conftest.$ac_objext` in
6580 # Find out what ABI is being produced by ac_compile, and set linker
6581 # options accordingly.
6582 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6583 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6584 (eval $ac_compile) 2>&5
6586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6587 test $ac_status = 0; }; then
6589 case `/usr/bin/file conftest.$ac_objext` in
6597 case `/usr/bin/file conftest.$ac_objext` in
6599 emul="${emul}btsmip"
6602 emul="${emul}ltsmip"
6605 case `/usr/bin/file conftest.$ac_objext` in
6610 LD="${LD-ld} -m $emul"
6615 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6616 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6617 # Find out what ABI is being produced by ac_compile, and set linker
6618 # options accordingly. Note that the listed cases only cover the
6619 # situations where additional linker options are needed (such as when
6620 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
6621 # vice versa); the common cases where no linker options are needed do
6622 # not appear in the list.
6623 echo 'int i;' > conftest.$ac_ext
6624 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6625 (eval $ac_compile) 2>&5
6627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6628 test $ac_status = 0; }; then
6629 case `/usr/bin/file conftest.o` in
6632 x86_64-*kfreebsd*-gnu)
6633 LD="${LD-ld} -m elf_i386_fbsd"
6636 case `/usr/bin/file conftest.o` in
6638 LD="${LD-ld} -m elf32_x86_64"
6641 LD="${LD-ld} -m elf_i386"
6645 powerpc64le-*linux*)
6646 LD="${LD-ld} -m elf32lppclinux"
6649 LD="${LD-ld} -m elf32ppclinux"
6652 LD="${LD-ld} -m elf_s390"
6655 LD="${LD-ld} -m elf32_sparc"
6661 x86_64-*kfreebsd*-gnu)
6662 LD="${LD-ld} -m elf_x86_64_fbsd"
6665 LD="${LD-ld} -m elf_x86_64"
6668 LD="${LD-ld} -m elf64lppc"
6671 LD="${LD-ld} -m elf64ppc"
6673 s390*-*linux*|s390*-*tpf*)
6674 LD="${LD-ld} -m elf64_s390"
6677 LD="${LD-ld} -m elf64_sparc"
6687 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6689 CFLAGS="$CFLAGS -belf"
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6691 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6692 if ${lt_cv_cc_needs_belf+:} false; then :
6693 $as_echo_n "(cached) " >&6
6696 ac_cpp='$CPP $CPPFLAGS'
6697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6702 /* end confdefs.h. */
6712 if ac_fn_c_try_link "$LINENO"; then :
6713 lt_cv_cc_needs_belf=yes
6715 lt_cv_cc_needs_belf=no
6717 rm -f core conftest.err conftest.$ac_objext \
6718 conftest$ac_exeext conftest.$ac_ext
6720 ac_cpp='$CPP $CPPFLAGS'
6721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6727 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6728 if test yes != "$lt_cv_cc_needs_belf"; then
6729 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6734 # Find out what ABI is being produced by ac_compile, and set linker
6735 # options accordingly.
6736 echo 'int i;' > conftest.$ac_ext
6737 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6738 (eval $ac_compile) 2>&5
6740 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6741 test $ac_status = 0; }; then
6742 case `/usr/bin/file conftest.o` in
6744 case $lt_cv_prog_gnu_ld in
6747 i?86-*-solaris*|x86_64-*-solaris*)
6748 LD="${LD-ld} -m elf_x86_64"
6751 LD="${LD-ld} -m elf64_sparc"
6754 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6755 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6760 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6772 need_locks=$enable_libtool_lock
6774 if test -n "$ac_tool_prefix"; then
6775 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6776 set dummy ${ac_tool_prefix}mt; ac_word=$2
6777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6778 $as_echo_n "checking for $ac_word... " >&6; }
6779 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6780 $as_echo_n "(cached) " >&6
6782 if test -n "$MANIFEST_TOOL"; then
6783 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6789 test -z "$as_dir" && as_dir=.
6790 for ac_exec_ext in '' $ac_executable_extensions; do
6791 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6792 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6802 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6803 if test -n "$MANIFEST_TOOL"; then
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6805 $as_echo "$MANIFEST_TOOL" >&6; }
6807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6808 $as_echo "no" >&6; }
6813 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6814 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6815 # Extract the first word of "mt", so it can be a program name with args.
6816 set dummy mt; ac_word=$2
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6818 $as_echo_n "checking for $ac_word... " >&6; }
6819 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6820 $as_echo_n "(cached) " >&6
6822 if test -n "$ac_ct_MANIFEST_TOOL"; then
6823 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6829 test -z "$as_dir" && as_dir=.
6830 for ac_exec_ext in '' $ac_executable_extensions; do
6831 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6832 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6842 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6843 if test -n "$ac_ct_MANIFEST_TOOL"; then
6844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6845 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6848 $as_echo "no" >&6; }
6851 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6854 case $cross_compiling:$ac_tool_warned in
6856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6857 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6858 ac_tool_warned=yes ;;
6860 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6863 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6866 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6868 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6869 if ${lt_cv_path_mainfest_tool+:} false; then :
6870 $as_echo_n "(cached) " >&6
6872 lt_cv_path_mainfest_tool=no
6873 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6874 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6875 cat conftest.err >&5
6876 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6877 lt_cv_path_mainfest_tool=yes
6881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6882 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6883 if test yes != "$lt_cv_path_mainfest_tool"; then
6893 rhapsody* | darwin*)
6894 if test -n "$ac_tool_prefix"; then
6895 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6896 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6898 $as_echo_n "checking for $ac_word... " >&6; }
6899 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6900 $as_echo_n "(cached) " >&6
6902 if test -n "$DSYMUTIL"; then
6903 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6909 test -z "$as_dir" && as_dir=.
6910 for ac_exec_ext in '' $ac_executable_extensions; do
6911 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6912 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6922 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6923 if test -n "$DSYMUTIL"; then
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6925 $as_echo "$DSYMUTIL" >&6; }
6927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6928 $as_echo "no" >&6; }
6933 if test -z "$ac_cv_prog_DSYMUTIL"; then
6934 ac_ct_DSYMUTIL=$DSYMUTIL
6935 # Extract the first word of "dsymutil", so it can be a program name with args.
6936 set dummy dsymutil; ac_word=$2
6937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6938 $as_echo_n "checking for $ac_word... " >&6; }
6939 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6940 $as_echo_n "(cached) " >&6
6942 if test -n "$ac_ct_DSYMUTIL"; then
6943 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6949 test -z "$as_dir" && as_dir=.
6950 for ac_exec_ext in '' $ac_executable_extensions; do
6951 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6952 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6962 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6963 if test -n "$ac_ct_DSYMUTIL"; then
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6965 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6968 $as_echo "no" >&6; }
6971 if test "x$ac_ct_DSYMUTIL" = x; then
6974 case $cross_compiling:$ac_tool_warned in
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6977 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6978 ac_tool_warned=yes ;;
6980 DSYMUTIL=$ac_ct_DSYMUTIL
6983 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6986 if test -n "$ac_tool_prefix"; then
6987 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6988 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6990 $as_echo_n "checking for $ac_word... " >&6; }
6991 if ${ac_cv_prog_NMEDIT+:} false; then :
6992 $as_echo_n "(cached) " >&6
6994 if test -n "$NMEDIT"; then
6995 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7001 test -z "$as_dir" && as_dir=.
7002 for ac_exec_ext in '' $ac_executable_extensions; do
7003 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7004 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7014 NMEDIT=$ac_cv_prog_NMEDIT
7015 if test -n "$NMEDIT"; then
7016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7017 $as_echo "$NMEDIT" >&6; }
7019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7020 $as_echo "no" >&6; }
7025 if test -z "$ac_cv_prog_NMEDIT"; then
7026 ac_ct_NMEDIT=$NMEDIT
7027 # Extract the first word of "nmedit", so it can be a program name with args.
7028 set dummy nmedit; ac_word=$2
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7030 $as_echo_n "checking for $ac_word... " >&6; }
7031 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7032 $as_echo_n "(cached) " >&6
7034 if test -n "$ac_ct_NMEDIT"; then
7035 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7041 test -z "$as_dir" && as_dir=.
7042 for ac_exec_ext in '' $ac_executable_extensions; do
7043 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7044 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7054 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7055 if test -n "$ac_ct_NMEDIT"; then
7056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7057 $as_echo "$ac_ct_NMEDIT" >&6; }
7059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7060 $as_echo "no" >&6; }
7063 if test "x$ac_ct_NMEDIT" = x; then
7066 case $cross_compiling:$ac_tool_warned in
7068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7069 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7070 ac_tool_warned=yes ;;
7072 NMEDIT=$ac_ct_NMEDIT
7075 NMEDIT="$ac_cv_prog_NMEDIT"
7078 if test -n "$ac_tool_prefix"; then
7079 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7080 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7082 $as_echo_n "checking for $ac_word... " >&6; }
7083 if ${ac_cv_prog_LIPO+:} false; then :
7084 $as_echo_n "(cached) " >&6
7086 if test -n "$LIPO"; then
7087 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7093 test -z "$as_dir" && as_dir=.
7094 for ac_exec_ext in '' $ac_executable_extensions; do
7095 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7096 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7106 LIPO=$ac_cv_prog_LIPO
7107 if test -n "$LIPO"; then
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7109 $as_echo "$LIPO" >&6; }
7111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7112 $as_echo "no" >&6; }
7117 if test -z "$ac_cv_prog_LIPO"; then
7119 # Extract the first word of "lipo", so it can be a program name with args.
7120 set dummy lipo; ac_word=$2
7121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7122 $as_echo_n "checking for $ac_word... " >&6; }
7123 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7124 $as_echo_n "(cached) " >&6
7126 if test -n "$ac_ct_LIPO"; then
7127 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7133 test -z "$as_dir" && as_dir=.
7134 for ac_exec_ext in '' $ac_executable_extensions; do
7135 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7136 ac_cv_prog_ac_ct_LIPO="lipo"
7137 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7146 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7147 if test -n "$ac_ct_LIPO"; then
7148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7149 $as_echo "$ac_ct_LIPO" >&6; }
7151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7152 $as_echo "no" >&6; }
7155 if test "x$ac_ct_LIPO" = x; then
7158 case $cross_compiling:$ac_tool_warned in
7160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7161 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7162 ac_tool_warned=yes ;;
7167 LIPO="$ac_cv_prog_LIPO"
7170 if test -n "$ac_tool_prefix"; then
7171 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7172 set dummy ${ac_tool_prefix}otool; ac_word=$2
7173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7174 $as_echo_n "checking for $ac_word... " >&6; }
7175 if ${ac_cv_prog_OTOOL+:} false; then :
7176 $as_echo_n "(cached) " >&6
7178 if test -n "$OTOOL"; then
7179 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7185 test -z "$as_dir" && as_dir=.
7186 for ac_exec_ext in '' $ac_executable_extensions; do
7187 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7188 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7198 OTOOL=$ac_cv_prog_OTOOL
7199 if test -n "$OTOOL"; then
7200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7201 $as_echo "$OTOOL" >&6; }
7203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7204 $as_echo "no" >&6; }
7209 if test -z "$ac_cv_prog_OTOOL"; then
7211 # Extract the first word of "otool", so it can be a program name with args.
7212 set dummy otool; ac_word=$2
7213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7214 $as_echo_n "checking for $ac_word... " >&6; }
7215 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7216 $as_echo_n "(cached) " >&6
7218 if test -n "$ac_ct_OTOOL"; then
7219 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7225 test -z "$as_dir" && as_dir=.
7226 for ac_exec_ext in '' $ac_executable_extensions; do
7227 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7228 ac_cv_prog_ac_ct_OTOOL="otool"
7229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7238 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7239 if test -n "$ac_ct_OTOOL"; then
7240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7241 $as_echo "$ac_ct_OTOOL" >&6; }
7243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7244 $as_echo "no" >&6; }
7247 if test "x$ac_ct_OTOOL" = x; then
7250 case $cross_compiling:$ac_tool_warned in
7252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7253 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7254 ac_tool_warned=yes ;;
7259 OTOOL="$ac_cv_prog_OTOOL"
7262 if test -n "$ac_tool_prefix"; then
7263 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7264 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7266 $as_echo_n "checking for $ac_word... " >&6; }
7267 if ${ac_cv_prog_OTOOL64+:} false; then :
7268 $as_echo_n "(cached) " >&6
7270 if test -n "$OTOOL64"; then
7271 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7277 test -z "$as_dir" && as_dir=.
7278 for ac_exec_ext in '' $ac_executable_extensions; do
7279 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7280 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7290 OTOOL64=$ac_cv_prog_OTOOL64
7291 if test -n "$OTOOL64"; then
7292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7293 $as_echo "$OTOOL64" >&6; }
7295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7296 $as_echo "no" >&6; }
7301 if test -z "$ac_cv_prog_OTOOL64"; then
7302 ac_ct_OTOOL64=$OTOOL64
7303 # Extract the first word of "otool64", so it can be a program name with args.
7304 set dummy otool64; ac_word=$2
7305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7306 $as_echo_n "checking for $ac_word... " >&6; }
7307 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7308 $as_echo_n "(cached) " >&6
7310 if test -n "$ac_ct_OTOOL64"; then
7311 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7317 test -z "$as_dir" && as_dir=.
7318 for ac_exec_ext in '' $ac_executable_extensions; do
7319 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7320 ac_cv_prog_ac_ct_OTOOL64="otool64"
7321 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7330 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7331 if test -n "$ac_ct_OTOOL64"; then
7332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7333 $as_echo "$ac_ct_OTOOL64" >&6; }
7335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7336 $as_echo "no" >&6; }
7339 if test "x$ac_ct_OTOOL64" = x; then
7342 case $cross_compiling:$ac_tool_warned in
7344 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7345 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7346 ac_tool_warned=yes ;;
7348 OTOOL64=$ac_ct_OTOOL64
7351 OTOOL64="$ac_cv_prog_OTOOL64"
7380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7381 $as_echo_n "checking for -single_module linker flag... " >&6; }
7382 if ${lt_cv_apple_cc_single_mod+:} false; then :
7383 $as_echo_n "(cached) " >&6
7385 lt_cv_apple_cc_single_mod=no
7386 if test -z "$LT_MULTI_MODULE"; then
7387 # By default we will add the -single_module flag. You can override
7388 # by either setting the environment variable LT_MULTI_MODULE
7389 # non-empty at configure time, or by adding -multi_module to the
7391 rm -rf libconftest.dylib*
7392 echo "int foo(void){return 1;}" > conftest.c
7393 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7394 -dynamiclib -Wl,-single_module conftest.c" >&5
7395 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7396 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7398 # If there is a non-empty error log, and "single_module"
7399 # appears in it, assume the flag caused a linker warning
7400 if test -s conftest.err && $GREP single_module conftest.err; then
7401 cat conftest.err >&5
7402 # Otherwise, if the output was created with a 0 exit code from
7403 # the compiler, it worked.
7404 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
7405 lt_cv_apple_cc_single_mod=yes
7407 cat conftest.err >&5
7409 rm -rf libconftest.dylib*
7413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7414 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7417 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7418 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7419 $as_echo_n "(cached) " >&6
7421 lt_cv_ld_exported_symbols_list=no
7422 save_LDFLAGS=$LDFLAGS
7423 echo "_main" > conftest.sym
7424 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7426 /* end confdefs.h. */
7436 if ac_fn_c_try_link "$LINENO"; then :
7437 lt_cv_ld_exported_symbols_list=yes
7439 lt_cv_ld_exported_symbols_list=no
7441 rm -f core conftest.err conftest.$ac_objext \
7442 conftest$ac_exeext conftest.$ac_ext
7443 LDFLAGS=$save_LDFLAGS
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7447 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7450 $as_echo_n "checking for -force_load linker flag... " >&6; }
7451 if ${lt_cv_ld_force_load+:} false; then :
7452 $as_echo_n "(cached) " >&6
7454 lt_cv_ld_force_load=no
7455 cat > conftest.c << _LT_EOF
7456 int forced_loaded() { return 2;}
7458 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7459 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7460 echo "$AR cru libconftest.a conftest.o" >&5
7461 $AR cru libconftest.a conftest.o 2>&5
7462 echo "$RANLIB libconftest.a" >&5
7463 $RANLIB libconftest.a 2>&5
7464 cat > conftest.c << _LT_EOF
7465 int main() { return 0;}
7467 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7468 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7470 if test -s conftest.err && $GREP force_load conftest.err; then
7471 cat conftest.err >&5
7472 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
7473 lt_cv_ld_force_load=yes
7475 cat conftest.err >&5
7477 rm -f conftest.err libconftest.a conftest conftest.c
7478 rm -rf conftest.dSYM
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7482 $as_echo "$lt_cv_ld_force_load" >&6; }
7484 rhapsody* | darwin1.[012])
7485 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
7487 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7488 darwin*) # darwin 5.x on
7489 # if running on 10.5 or later, the deployment target defaults
7490 # to the OS version, if on x86, and 10.4, the deployment
7491 # target defaults to 10.4. Don't you love it?
7492 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7493 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7494 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7496 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7498 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7502 if test yes = "$lt_cv_apple_cc_single_mod"; then
7503 _lt_dar_single_mod='$single_module'
7505 if test yes = "$lt_cv_ld_exported_symbols_list"; then
7506 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
7508 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
7510 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
7511 _lt_dsymutil='~$DSYMUTIL $lib || :'
7518 # func_munge_path_list VARIABLE PATH
7519 # -----------------------------------
7520 # VARIABLE is name of variable containing _space_ separated list of
7521 # directories to be munged by the contents of PATH, which is string
7524 # string "DIR[ DIR]" will be prepended to VARIABLE
7526 # string "DIR[ DIR]" will be appended to VARIABLE
7527 # "DIRP[:DIRP]::[DIRA:]DIRA"
7528 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
7529 # "DIRA[ DIRA]" will be appended to VARIABLE
7531 # VARIABLE will be replaced by "DIR[ DIR]"
7532 func_munge_path_list ()
7538 eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'` \@S|@@S|@1\"
7541 eval @S|@1=\"\@S|@@S|@1 `$ECHO @S|@2 | $SED 's/:/ /g'`\"
7544 eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
7545 eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\"
7548 eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'`\"
7554 ac_cpp='$CPP $CPPFLAGS'
7555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7559 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7560 # On Suns, sometimes $CPP names a directory.
7561 if test -n "$CPP" && test -d "$CPP"; then
7564 if test -z "$CPP"; then
7565 if ${ac_cv_prog_CPP+:} false; then :
7566 $as_echo_n "(cached) " >&6
7568 # Double quotes because CPP needs to be expanded
7569 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7572 for ac_c_preproc_warn_flag in '' yes
7574 # Use a header file that comes with gcc, so configuring glibc
7575 # with a fresh cross-compiler works.
7576 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7577 # <limits.h> exists even on freestanding compilers.
7578 # On the NeXT, cc -E runs the code through the compiler's parser,
7579 # not just through cpp. "Syntax error" is here to catch this case.
7580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7581 /* end confdefs.h. */
7583 @%:@ include <limits.h>
7585 @%:@ include <assert.h>
7589 if ac_fn_c_try_cpp "$LINENO"; then :
7592 # Broken: fails on valid input.
7595 rm -f conftest.err conftest.i conftest.$ac_ext
7597 # OK, works on sane cases. Now check whether nonexistent headers
7598 # can be detected and how.
7599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7600 /* end confdefs.h. */
7601 @%:@include <ac_nonexistent.h>
7603 if ac_fn_c_try_cpp "$LINENO"; then :
7604 # Broken: success on invalid input.
7607 # Passes both tests.
7611 rm -f conftest.err conftest.i conftest.$ac_ext
7614 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7615 rm -f conftest.i conftest.err conftest.$ac_ext
7616 if $ac_preproc_ok; then :
7628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7629 $as_echo "$CPP" >&6; }
7631 for ac_c_preproc_warn_flag in '' yes
7633 # Use a header file that comes with gcc, so configuring glibc
7634 # with a fresh cross-compiler works.
7635 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7636 # <limits.h> exists even on freestanding compilers.
7637 # On the NeXT, cc -E runs the code through the compiler's parser,
7638 # not just through cpp. "Syntax error" is here to catch this case.
7639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7640 /* end confdefs.h. */
7642 @%:@ include <limits.h>
7644 @%:@ include <assert.h>
7648 if ac_fn_c_try_cpp "$LINENO"; then :
7651 # Broken: fails on valid input.
7654 rm -f conftest.err conftest.i conftest.$ac_ext
7656 # OK, works on sane cases. Now check whether nonexistent headers
7657 # can be detected and how.
7658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7659 /* end confdefs.h. */
7660 @%:@include <ac_nonexistent.h>
7662 if ac_fn_c_try_cpp "$LINENO"; then :
7663 # Broken: success on invalid input.
7666 # Passes both tests.
7670 rm -f conftest.err conftest.i conftest.$ac_ext
7673 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7674 rm -f conftest.i conftest.err conftest.$ac_ext
7675 if $ac_preproc_ok; then :
7678 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7679 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7680 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7681 See \`config.log' for more details" "$LINENO" 5; }
7685 ac_cpp='$CPP $CPPFLAGS'
7686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7692 $as_echo_n "checking for ANSI C header files... " >&6; }
7693 if ${ac_cv_header_stdc+:} false; then :
7694 $as_echo_n "(cached) " >&6
7696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7697 /* end confdefs.h. */
7711 if ac_fn_c_try_compile "$LINENO"; then :
7712 ac_cv_header_stdc=yes
7714 ac_cv_header_stdc=no
7716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7718 if test $ac_cv_header_stdc = yes; then
7719 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7721 /* end confdefs.h. */
7725 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7726 $EGREP "memchr" >/dev/null 2>&1; then :
7729 ac_cv_header_stdc=no
7735 if test $ac_cv_header_stdc = yes; then
7736 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7738 /* end confdefs.h. */
7742 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7743 $EGREP "free" >/dev/null 2>&1; then :
7746 ac_cv_header_stdc=no
7752 if test $ac_cv_header_stdc = yes; then
7753 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7754 if test "$cross_compiling" = yes; then :
7757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7758 /* end confdefs.h. */
7761 #if ((' ' & 0x0FF) == 0x020)
7762 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7763 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7765 # define ISLOWER(c) \
7766 (('a' <= (c) && (c) <= 'i') \
7767 || ('j' <= (c) && (c) <= 'r') \
7768 || ('s' <= (c) && (c) <= 'z'))
7769 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7772 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7777 for (i = 0; i < 256; i++)
7778 if (XOR (islower (i), ISLOWER (i))
7779 || toupper (i) != TOUPPER (i))
7784 if ac_fn_c_try_run "$LINENO"; then :
7787 ac_cv_header_stdc=no
7789 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7790 conftest.$ac_objext conftest.beam conftest.$ac_ext
7795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7796 $as_echo "$ac_cv_header_stdc" >&6; }
7797 if test $ac_cv_header_stdc = yes; then
7799 $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
7803 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7804 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7805 inttypes.h stdint.h unistd.h
7807 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7808 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7810 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7811 cat >>confdefs.h <<_ACEOF
7812 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7820 for ac_header in dlfcn.h
7822 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7824 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7825 cat >>confdefs.h <<_ACEOF
7826 @%:@define HAVE_DLFCN_H 1
7838 @%:@ Check whether --enable-static was given.
7839 if test "${enable_static+set}" = set; then :
7840 enableval=$enable_static; p=${PACKAGE-default}
7842 yes) enable_static=yes ;;
7843 no) enable_static=no ;;
7846 # Look at the argument we got. We use all the common list separators.
7847 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7848 for pkg in $enableval; do
7850 if test "X$pkg" = "X$p"; then
7876 @%:@ Check whether --enable-shared was given.
7877 if test "${enable_shared+set}" = set; then :
7878 enableval=$enable_shared; p=${PACKAGE-default}
7880 yes) enable_shared=yes ;;
7881 no) enable_shared=no ;;
7884 # Look at the argument we got. We use all the common list separators.
7885 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7886 for pkg in $enableval; do
7888 if test "X$pkg" = "X$p"; then
7909 @%:@ Check whether --with-pic was given.
7910 if test "${with_pic+set}" = set; then :
7911 withval=$with_pic; lt_p=${PACKAGE-default}
7913 yes|no) pic_mode=$withval ;;
7916 # Look at the argument we got. We use all the common list separators.
7917 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7918 for lt_pkg in $withval; do
7920 if test "X$lt_pkg" = "X$lt_p"; then
7938 @%:@ Check whether --enable-fast-install was given.
7939 if test "${enable_fast_install+set}" = set; then :
7940 enableval=$enable_fast_install; p=${PACKAGE-default}
7942 yes) enable_fast_install=yes ;;
7943 no) enable_fast_install=no ;;
7945 enable_fast_install=no
7946 # Look at the argument we got. We use all the common list separators.
7947 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7948 for pkg in $enableval; do
7950 if test "X$pkg" = "X$p"; then
7951 enable_fast_install=yes
7958 enable_fast_install=yes
7968 shared_archive_member_spec=
7969 case $host,$enable_shared in
7970 power*-*-aix[5-9]*,yes)
7971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
7972 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
7974 @%:@ Check whether --with-aix-soname was given.
7975 if test "${with_aix_soname+set}" = set; then :
7976 withval=$with_aix_soname; case $withval in
7980 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
7983 lt_cv_with_aix_soname=$with_aix_soname
7985 if ${lt_cv_with_aix_soname+:} false; then :
7986 $as_echo_n "(cached) " >&6
7988 lt_cv_with_aix_soname=aix
7991 with_aix_soname=$lt_cv_with_aix_soname
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
7995 $as_echo "$with_aix_soname" >&6; }
7996 if test aix != "$with_aix_soname"; then
7997 # For the AIX way of multilib, we name the shared archive member
7998 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
7999 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
8000 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8001 # the AIX toolchain works better with OBJECT_MODE set (default 32).
8002 if test 64 = "${OBJECT_MODE-32}"; then
8003 shared_archive_member_spec=shr_64
8005 shared_archive_member_spec=shr
8023 # This can be used to rebuild libtool when needed
8024 LIBTOOL_DEPS=$ltmain
8026 # Always use our own libtool.
8027 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8058 test -z "$LN_S" && LN_S="ln -s"
8073 if test -n "${ZSH_VERSION+set}"; then
8074 setopt NO_GLOB_SUBST
8077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8078 $as_echo_n "checking for objdir... " >&6; }
8079 if ${lt_cv_objdir+:} false; then :
8080 $as_echo_n "(cached) " >&6
8082 rm -f .libs 2>/dev/null
8083 mkdir .libs 2>/dev/null
8084 if test -d .libs; then
8087 # MS-DOS does not allow filenames that begin with a dot.
8090 rmdir .libs 2>/dev/null
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8093 $as_echo "$lt_cv_objdir" >&6; }
8094 objdir=$lt_cv_objdir
8100 cat >>confdefs.h <<_ACEOF
8101 @%:@define LT_OBJDIR "$lt_cv_objdir/"
8109 # AIX sometimes has problems with the GCC collect2 program. For some
8110 # reason, if we set the COLLECT_NAMES environment variable, the problems
8111 # vanish in a puff of smoke.
8112 if test set != "${COLLECT_NAMES+set}"; then
8114 export COLLECT_NAMES
8121 can_build_shared=yes
8123 # All known linkers require a '.a' archive for static linking (except MSVC,
8124 # which needs '.lib').
8127 with_gnu_ld=$lt_cv_prog_gnu_ld
8132 # Set sane defaults for various variables
8133 test -z "$CC" && CC=cc
8134 test -z "$LTCC" && LTCC=$CC
8135 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8136 test -z "$LD" && LD=ld
8137 test -z "$ac_objext" && ac_objext=o
8139 func_cc_basename $compiler
8140 cc_basename=$func_cc_basename_result
8143 # Only perform the check for file, if the check method requires it
8144 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8145 case $deplibs_check_method in
8147 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8149 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8150 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8151 $as_echo_n "(cached) " >&6
8155 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8158 lt_save_MAGIC_CMD=$MAGIC_CMD
8159 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8160 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8161 for ac_dir in $ac_dummy; do
8163 test -z "$ac_dir" && ac_dir=.
8164 if test -f "$ac_dir/${ac_tool_prefix}file"; then
8165 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
8166 if test -n "$file_magic_test_file"; then
8167 case $deplibs_check_method in
8169 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8170 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8171 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8172 $EGREP "$file_magic_regex" > /dev/null; then
8177 *** Warning: the command libtool uses to detect shared libraries,
8178 *** $file_magic_cmd, produces output that libtool cannot recognize.
8179 *** The result is that libtool may fail to recognize shared libraries
8180 *** as such. This will affect the creation of libtool libraries that
8181 *** depend on shared libraries, but programs linked with such libtool
8182 *** libraries will work regardless of this problem. Nevertheless, you
8183 *** may want to report the problem to your system manager and/or to
8184 *** bug-libtool@gnu.org
8194 MAGIC_CMD=$lt_save_MAGIC_CMD
8199 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8200 if test -n "$MAGIC_CMD"; then
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8202 $as_echo "$MAGIC_CMD" >&6; }
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8205 $as_echo "no" >&6; }
8212 if test -z "$lt_cv_path_MAGIC_CMD"; then
8213 if test -n "$ac_tool_prefix"; then
8214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8215 $as_echo_n "checking for file... " >&6; }
8216 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8217 $as_echo_n "(cached) " >&6
8221 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8224 lt_save_MAGIC_CMD=$MAGIC_CMD
8225 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8226 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8227 for ac_dir in $ac_dummy; do
8229 test -z "$ac_dir" && ac_dir=.
8230 if test -f "$ac_dir/file"; then
8231 lt_cv_path_MAGIC_CMD=$ac_dir/"file"
8232 if test -n "$file_magic_test_file"; then
8233 case $deplibs_check_method in
8235 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8236 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8237 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8238 $EGREP "$file_magic_regex" > /dev/null; then
8243 *** Warning: the command libtool uses to detect shared libraries,
8244 *** $file_magic_cmd, produces output that libtool cannot recognize.
8245 *** The result is that libtool may fail to recognize shared libraries
8246 *** as such. This will affect the creation of libtool libraries that
8247 *** depend on shared libraries, but programs linked with such libtool
8248 *** libraries will work regardless of this problem. Nevertheless, you
8249 *** may want to report the problem to your system manager and/or to
8250 *** bug-libtool@gnu.org
8260 MAGIC_CMD=$lt_save_MAGIC_CMD
8265 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8266 if test -n "$MAGIC_CMD"; then
8267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8268 $as_echo "$MAGIC_CMD" >&6; }
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8271 $as_echo "no" >&6; }
8284 # Use C for the default configuration in the libtool script
8288 ac_cpp='$CPP $CPPFLAGS'
8289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8294 # Source file extension for C test sources.
8297 # Object file extension for compiled C test sources.
8301 # Code to be used in simple compile tests
8302 lt_simple_compile_test_code="int some_variable = 0;"
8304 # Code to be used in simple link tests
8305 lt_simple_link_test_code='int main(){return(0);}'
8313 # If no C compiler was specified, use CC.
8316 # If no C compiler flags were specified, use CFLAGS.
8317 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8319 # Allow CC to be a program name with arguments.
8322 # Save the default compiler, since it gets overwritten when the other
8323 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8324 compiler_DEFAULT=$CC
8326 # save warnings/boilerplate of simple test code
8327 ac_outfile=conftest.$ac_objext
8328 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8329 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8330 _lt_compiler_boilerplate=`cat conftest.err`
8333 ac_outfile=conftest.$ac_objext
8334 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8335 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8336 _lt_linker_boilerplate=`cat conftest.err`
8341 ## There is no encapsulation within the following macros, do not change
8342 ## the running order or otherwise move them around unless you know exactly
8343 ## what you are doing...
8344 if test -n "$compiler"; then
8346 lt_prog_compiler_no_builtin_flag=
8348 if test yes = "$GCC"; then
8349 case $cc_basename in
8351 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8353 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8357 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8358 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8359 $as_echo_n "(cached) " >&6
8361 lt_cv_prog_compiler_rtti_exceptions=no
8362 ac_outfile=conftest.$ac_objext
8363 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8364 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
8365 # Insert the option either (1) after the last *FLAGS variable, or
8366 # (2) before a word containing "conftest.", or (3) at the end.
8367 # Note that $ac_compile itself does not contain backslashes and begins
8368 # with a dollar sign (not a hyphen), so the echo should work correctly.
8369 # The option is referenced via a variable to avoid confusing sed.
8370 lt_compile=`echo "$ac_compile" | $SED \
8371 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8372 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8373 -e 's:$: $lt_compiler_flag:'`
8374 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8375 (eval "$lt_compile" 2>conftest.err)
8377 cat conftest.err >&5
8378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8379 if (exit $ac_status) && test -s "$ac_outfile"; then
8380 # The compiler can only warn and ignore the option if not recognized
8381 # So say no if there are warnings other than the usual output.
8382 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8383 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8384 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8385 lt_cv_prog_compiler_rtti_exceptions=yes
8391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8392 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8394 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
8395 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8407 lt_prog_compiler_wl=
8408 lt_prog_compiler_pic=
8409 lt_prog_compiler_static=
8412 if test yes = "$GCC"; then
8413 lt_prog_compiler_wl='-Wl,'
8414 lt_prog_compiler_static='-static'
8418 # All AIX code is PIC.
8419 if test ia64 = "$host_cpu"; then
8420 # AIX 5 now supports IA64 processor
8421 lt_prog_compiler_static='-Bstatic'
8423 lt_prog_compiler_pic='-fPIC'
8429 # see comment about AmigaOS4 .so support
8430 lt_prog_compiler_pic='-fPIC'
8433 # FIXME: we need at least 68020 code to build shared libraries, but
8434 # adding the '-m68020' flag to GCC prevents building anything better,
8436 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8441 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8442 # PIC is the default for these OSes.
8445 mingw* | cygwin* | pw32* | os2* | cegcc*)
8446 # This hack is so that the source file can tell whether it is being
8447 # built for inclusion in a dll (and should export symbols for example).
8448 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8449 # (--disable-auto-import) libraries
8450 lt_prog_compiler_pic='-DDLL_EXPORT'
8453 lt_prog_compiler_static='$wl-static'
8458 darwin* | rhapsody*)
8459 # PIC is the default on this platform
8460 # Common symbols not allowed in MH_DYLIB files
8461 lt_prog_compiler_pic='-fno-common'
8465 # PIC is the default for Haiku.
8466 # The "-static" flag exists, but is broken.
8467 lt_prog_compiler_static=
8471 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8472 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8473 # sets the default TLS model and affects inlining.
8479 lt_prog_compiler_pic='-fPIC'
8485 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8486 # Instead, we relocate shared libraries at runtime.
8490 # Just because we use GCC doesn't mean we suddenly get shared libraries
8491 # on systems that don't support them.
8492 lt_prog_compiler_can_build_shared=no
8497 # QNX uses GNU C++, but need to define -shared option too, otherwise
8499 lt_prog_compiler_pic='-fPIC -shared'
8503 if test -d /usr/nec; then
8504 lt_prog_compiler_pic=-Kconform_pic
8509 lt_prog_compiler_pic='-fPIC'
8513 case $cc_basename in
8514 nvcc*) # Cuda Compiler Driver 2.2
8515 lt_prog_compiler_wl='-Xlinker '
8516 if test -n "$lt_prog_compiler_pic"; then
8517 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8522 # PORTME Check for flag to pass linker flags through the system compiler.
8525 lt_prog_compiler_wl='-Wl,'
8526 if test ia64 = "$host_cpu"; then
8527 # AIX 5 now supports IA64 processor
8528 lt_prog_compiler_static='-Bstatic'
8530 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8534 darwin* | rhapsody*)
8535 # PIC is the default on this platform
8536 # Common symbols not allowed in MH_DYLIB files
8537 lt_prog_compiler_pic='-fno-common'
8538 case $cc_basename in
8540 # NAG Fortran compiler
8541 lt_prog_compiler_wl='-Wl,-Wl,,'
8542 lt_prog_compiler_pic='-PIC'
8543 lt_prog_compiler_static='-Bstatic'
8548 mingw* | cygwin* | pw32* | os2* | cegcc*)
8549 # This hack is so that the source file can tell whether it is being
8550 # built for inclusion in a dll (and should export symbols for example).
8551 lt_prog_compiler_pic='-DDLL_EXPORT'
8554 lt_prog_compiler_static='$wl-static'
8559 hpux9* | hpux10* | hpux11*)
8560 lt_prog_compiler_wl='-Wl,'
8561 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8568 lt_prog_compiler_pic='+Z'
8571 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8572 lt_prog_compiler_static='$wl-a ${wl}archive'
8575 irix5* | irix6* | nonstopux*)
8576 lt_prog_compiler_wl='-Wl,'
8577 # PIC (with -KPIC) is the default.
8578 lt_prog_compiler_static='-non_shared'
8581 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8582 case $cc_basename in
8583 # old Intel for x86_64, which still supported -KPIC.
8585 lt_prog_compiler_wl='-Wl,'
8586 lt_prog_compiler_pic='-KPIC'
8587 lt_prog_compiler_static='-static'
8589 # icc used to be incompatible with GCC.
8590 # ICC 10 doesn't accept -KPIC any more.
8592 lt_prog_compiler_wl='-Wl,'
8593 lt_prog_compiler_pic='-fPIC'
8594 lt_prog_compiler_static='-static'
8596 # Lahey Fortran 8.1.
8598 lt_prog_compiler_wl='-Wl,'
8599 lt_prog_compiler_pic='--shared'
8600 lt_prog_compiler_static='--static'
8603 # NAG Fortran compiler
8604 lt_prog_compiler_wl='-Wl,-Wl,,'
8605 lt_prog_compiler_pic='-PIC'
8606 lt_prog_compiler_static='-Bstatic'
8609 # Fabrice Bellard et al's Tiny C Compiler
8610 lt_prog_compiler_wl='-Wl,'
8611 lt_prog_compiler_pic='-fPIC'
8612 lt_prog_compiler_static='-static'
8614 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8615 # Portland Group compilers (*not* the Pentium gcc compiler,
8616 # which looks to be a dead project)
8617 lt_prog_compiler_wl='-Wl,'
8618 lt_prog_compiler_pic='-fpic'
8619 lt_prog_compiler_static='-Bstatic'
8622 lt_prog_compiler_wl='-Wl,'
8623 # All Alpha code is PIC.
8624 lt_prog_compiler_static='-non_shared'
8626 xl* | bgxl* | bgf* | mpixl*)
8627 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8628 lt_prog_compiler_wl='-Wl,'
8629 lt_prog_compiler_pic='-qpic'
8630 lt_prog_compiler_static='-qstaticlink'
8633 case `$CC -V 2>&1 | sed 5q` in
8634 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8635 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8636 lt_prog_compiler_pic='-KPIC'
8637 lt_prog_compiler_static='-Bstatic'
8638 lt_prog_compiler_wl=''
8640 *Sun\ F* | *Sun*Fortran*)
8641 lt_prog_compiler_pic='-KPIC'
8642 lt_prog_compiler_static='-Bstatic'
8643 lt_prog_compiler_wl='-Qoption ld '
8647 lt_prog_compiler_pic='-KPIC'
8648 lt_prog_compiler_static='-Bstatic'
8649 lt_prog_compiler_wl='-Wl,'
8651 *Intel*\ [CF]*Compiler*)
8652 lt_prog_compiler_wl='-Wl,'
8653 lt_prog_compiler_pic='-fPIC'
8654 lt_prog_compiler_static='-static'
8657 lt_prog_compiler_wl='-Wl,'
8658 lt_prog_compiler_pic='-fpic'
8659 lt_prog_compiler_static='-Bstatic'
8667 lt_prog_compiler_pic='-KPIC'
8668 lt_prog_compiler_static='-Bstatic'
8672 # QNX uses GNU C++, but need to define -shared option too, otherwise
8674 lt_prog_compiler_pic='-fPIC -shared'
8677 osf3* | osf4* | osf5*)
8678 lt_prog_compiler_wl='-Wl,'
8679 # All OSF/1 code is PIC.
8680 lt_prog_compiler_static='-non_shared'
8684 lt_prog_compiler_static='-non_shared'
8688 lt_prog_compiler_pic='-KPIC'
8689 lt_prog_compiler_static='-Bstatic'
8690 case $cc_basename in
8691 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8692 lt_prog_compiler_wl='-Qoption ld ';;
8694 lt_prog_compiler_wl='-Wl,';;
8699 lt_prog_compiler_wl='-Qoption ld '
8700 lt_prog_compiler_pic='-PIC'
8701 lt_prog_compiler_static='-Bstatic'
8704 sysv4 | sysv4.2uw2* | sysv4.3*)
8705 lt_prog_compiler_wl='-Wl,'
8706 lt_prog_compiler_pic='-KPIC'
8707 lt_prog_compiler_static='-Bstatic'
8711 if test -d /usr/nec; then
8712 lt_prog_compiler_pic='-Kconform_pic'
8713 lt_prog_compiler_static='-Bstatic'
8717 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8718 lt_prog_compiler_wl='-Wl,'
8719 lt_prog_compiler_pic='-KPIC'
8720 lt_prog_compiler_static='-Bstatic'
8724 lt_prog_compiler_wl='-Wl,'
8725 lt_prog_compiler_can_build_shared=no
8729 lt_prog_compiler_pic='-pic'
8730 lt_prog_compiler_static='-Bstatic'
8734 lt_prog_compiler_can_build_shared=no
8740 # For platforms that do not support PIC, -DPIC is meaningless:
8742 lt_prog_compiler_pic=
8745 lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
8749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8750 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8751 if ${lt_cv_prog_compiler_pic+:} false; then :
8752 $as_echo_n "(cached) " >&6
8754 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8757 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8758 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8761 # Check to make sure the PIC flag actually works.
8763 if test -n "$lt_prog_compiler_pic"; then
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8765 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8766 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8767 $as_echo_n "(cached) " >&6
8769 lt_cv_prog_compiler_pic_works=no
8770 ac_outfile=conftest.$ac_objext
8771 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8772 lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC" ## exclude from sc_useless_quotes_in_assignment
8773 # Insert the option either (1) after the last *FLAGS variable, or
8774 # (2) before a word containing "conftest.", or (3) at the end.
8775 # Note that $ac_compile itself does not contain backslashes and begins
8776 # with a dollar sign (not a hyphen), so the echo should work correctly.
8777 # The option is referenced via a variable to avoid confusing sed.
8778 lt_compile=`echo "$ac_compile" | $SED \
8779 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8780 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8781 -e 's:$: $lt_compiler_flag:'`
8782 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8783 (eval "$lt_compile" 2>conftest.err)
8785 cat conftest.err >&5
8786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8787 if (exit $ac_status) && test -s "$ac_outfile"; then
8788 # The compiler can only warn and ignore the option if not recognized
8789 # So say no if there are warnings other than the usual output.
8790 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8791 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8792 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8793 lt_cv_prog_compiler_pic_works=yes
8799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8800 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8802 if test yes = "$lt_cv_prog_compiler_pic_works"; then
8803 case $lt_prog_compiler_pic in
8805 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8808 lt_prog_compiler_pic=
8809 lt_prog_compiler_can_build_shared=no
8825 # Check to make sure the static flag actually works.
8827 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8829 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8830 if ${lt_cv_prog_compiler_static_works+:} false; then :
8831 $as_echo_n "(cached) " >&6
8833 lt_cv_prog_compiler_static_works=no
8834 save_LDFLAGS=$LDFLAGS
8835 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8836 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8837 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8838 # The linker can only warn and ignore the option if not recognized
8839 # So say no if there are warnings
8840 if test -s conftest.err; then
8841 # Append any errors to the config.log.
8842 cat conftest.err 1>&5
8843 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8844 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8845 if diff conftest.exp conftest.er2 >/dev/null; then
8846 lt_cv_prog_compiler_static_works=yes
8849 lt_cv_prog_compiler_static_works=yes
8853 LDFLAGS=$save_LDFLAGS
8856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8857 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8859 if test yes = "$lt_cv_prog_compiler_static_works"; then
8862 lt_prog_compiler_static=
8871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8872 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8873 if ${lt_cv_prog_compiler_c_o+:} false; then :
8874 $as_echo_n "(cached) " >&6
8876 lt_cv_prog_compiler_c_o=no
8877 $RM -r conftest 2>/dev/null
8881 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8883 lt_compiler_flag="-o out/conftest2.$ac_objext"
8884 # Insert the option either (1) after the last *FLAGS variable, or
8885 # (2) before a word containing "conftest.", or (3) at the end.
8886 # Note that $ac_compile itself does not contain backslashes and begins
8887 # with a dollar sign (not a hyphen), so the echo should work correctly.
8888 lt_compile=`echo "$ac_compile" | $SED \
8889 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8890 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8891 -e 's:$: $lt_compiler_flag:'`
8892 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8893 (eval "$lt_compile" 2>out/conftest.err)
8895 cat out/conftest.err >&5
8896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8897 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8899 # The compiler can only warn and ignore the option if not recognized
8900 # So say no if there are warnings
8901 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8902 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8903 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8904 lt_cv_prog_compiler_c_o=yes
8909 # SGI C++ compiler will create directory out/ii_files/ for
8910 # template instantiation
8911 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8912 $RM out/* && rmdir out
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8919 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8927 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8928 if ${lt_cv_prog_compiler_c_o+:} false; then :
8929 $as_echo_n "(cached) " >&6
8931 lt_cv_prog_compiler_c_o=no
8932 $RM -r conftest 2>/dev/null
8936 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8938 lt_compiler_flag="-o out/conftest2.$ac_objext"
8939 # Insert the option either (1) after the last *FLAGS variable, or
8940 # (2) before a word containing "conftest.", or (3) at the end.
8941 # Note that $ac_compile itself does not contain backslashes and begins
8942 # with a dollar sign (not a hyphen), so the echo should work correctly.
8943 lt_compile=`echo "$ac_compile" | $SED \
8944 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8945 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8946 -e 's:$: $lt_compiler_flag:'`
8947 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8948 (eval "$lt_compile" 2>out/conftest.err)
8950 cat out/conftest.err >&5
8951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8952 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8954 # The compiler can only warn and ignore the option if not recognized
8955 # So say no if there are warnings
8956 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8957 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8958 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8959 lt_cv_prog_compiler_c_o=yes
8964 # SGI C++ compiler will create directory out/ii_files/ for
8965 # template instantiation
8966 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8967 $RM out/* && rmdir out
8973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8974 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8979 hard_links=nottested
8980 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
8981 # do not overwrite the value of need_locks provided by the user
8982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8983 $as_echo_n "checking if we can lock with hard links... " >&6; }
8986 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8988 ln conftest.a conftest.b 2>&5 || hard_links=no
8989 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8991 $as_echo "$hard_links" >&6; }
8992 if test no = "$hard_links"; then
8993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
8994 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9007 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9010 allow_undefined_flag=
9011 always_export_symbols=no
9013 archive_expsym_cmds=
9014 compiler_needs_object=no
9015 enable_shared_with_static_runtimes=no
9016 export_dynamic_flag_spec=
9017 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9018 hardcode_automatic=no
9020 hardcode_direct_absolute=no
9021 hardcode_libdir_flag_spec=
9022 hardcode_libdir_separator=
9024 hardcode_shlibpath_var=unsupported
9026 link_all_deplibs=unknown
9029 old_archive_from_new_cmds=
9030 old_archive_from_expsyms_cmds=
9031 thread_safe_flag_spec=
9032 whole_archive_flag_spec=
9033 # include_expsyms should be a list of space-separated symbols to be *always*
9034 # included in the symbol list
9036 # exclude_expsyms can be an extended regexp of symbols to exclude
9037 # it will be wrapped by ' (' and ')$', so one must not match beginning or
9038 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9039 # as well as any symbol that contains 'd'.
9040 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9041 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9042 # platforms (ab)use it in PIC code, but their linkers get confused if
9043 # the symbol is explicitly referenced. Since portable code cannot
9044 # rely on this symbol name, it's probably fine to never include it in
9045 # preloaded symbol tables.
9046 # Exclude shared library initialization/finalization symbols.
9047 extract_expsyms_cmds=
9050 cygwin* | mingw* | pw32* | cegcc*)
9051 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9052 # When not using gcc, we currently assume that we are using
9053 # Microsoft Visual C++.
9054 if test yes != "$GCC"; then
9059 # we just hope/assume this is gcc and not c89 (= MSVC++)
9065 linux* | k*bsd*-gnu | gnu*)
9072 # On some targets, GNU ld is compatible enough with the native linker
9073 # that we're better off using the native interface for both.
9074 lt_use_gnu_ld_interface=no
9075 if test yes = "$with_gnu_ld"; then
9078 # The AIX port of GNU ld has always aspired to compatibility
9079 # with the native linker. However, as the warning in the GNU ld
9080 # block says, versions before 2.19.5* couldn't really create working
9081 # shared libraries, regardless of the interface used.
9082 case `$LD -v 2>&1` in
9083 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9084 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9085 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9087 lt_use_gnu_ld_interface=yes
9092 lt_use_gnu_ld_interface=yes
9097 if test yes = "$lt_use_gnu_ld_interface"; then
9098 # If archive_cmds runs LD, not CC, wlarc should be empty
9101 # Set some defaults for GNU ld with shared library support. These
9102 # are reset later if shared libraries are not supported. Putting them
9103 # here allows them to be overridden if necessary.
9104 runpath_var=LD_RUN_PATH
9105 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9106 export_dynamic_flag_spec='$wl--export-dynamic'
9107 # ancient GNU ld didn't support --whole-archive et. al.
9108 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9109 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9111 whole_archive_flag_spec=
9113 supports_anon_versioning=no
9114 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9115 *GNU\ gold*) supports_anon_versioning=yes ;;
9116 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9117 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9118 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9119 *\ 2.11.*) ;; # other 2.11 versions
9120 *) supports_anon_versioning=yes ;;
9123 # See if GNU ld supports shared libraries.
9126 # On AIX/PPC, the GNU linker is very broken
9127 if test ia64 != "$host_cpu"; then
9131 *** Warning: the GNU linker, at least up to release 2.19, is reported
9132 *** to be unable to reliably create shared libraries on AIX.
9133 *** Therefore, libtool is disabling shared libraries support. If you
9134 *** really care for shared libraries, you may want to install binutils
9135 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9136 *** You will then need to restart the configuration process.
9145 # see comment about AmigaOS4 .so support
9146 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9147 archive_expsym_cmds=''
9150 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)'
9151 hardcode_libdir_flag_spec='-L$libdir'
9152 hardcode_minus_L=yes
9158 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9159 allow_undefined_flag=unsupported
9160 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9161 # support --undefined. This deserves some investigation. FIXME
9162 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9168 cygwin* | mingw* | pw32* | cegcc*)
9169 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9170 # as there is no search path for DLLs.
9171 hardcode_libdir_flag_spec='-L$libdir'
9172 export_dynamic_flag_spec='$wl--export-all-symbols'
9173 allow_undefined_flag=unsupported
9174 always_export_symbols=no
9175 enable_shared_with_static_runtimes=yes
9176 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'
9177 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9179 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9180 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9181 # If the export-symbols file already is a .def file, use it as
9182 # is; otherwise, prepend EXPORTS...
9183 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9184 cp $export_symbols $output_objdir/$soname.def;
9186 echo EXPORTS > $output_objdir/$soname.def;
9187 cat $export_symbols >> $output_objdir/$soname.def;
9189 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9196 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9197 link_all_deplibs=yes
9201 hardcode_libdir_flag_spec='-L$libdir'
9202 hardcode_minus_L=yes
9203 allow_undefined_flag=unsupported
9205 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9206 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9207 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9208 $ECHO EXPORTS >> $output_objdir/$libname.def~
9209 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9210 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9211 emximp -o $lib $output_objdir/$libname.def'
9212 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9213 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9214 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9215 $ECHO EXPORTS >> $output_objdir/$libname.def~
9217 if test EXPORTS = "`$SED 1q $export_symbols`"; then
9218 prefix_cmds="$prefix_cmds -e 1d";
9220 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9221 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9222 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9223 emximp -o $lib $output_objdir/$libname.def'
9224 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9225 enable_shared_with_static_runtimes=yes
9230 hardcode_shlibpath_var=no
9231 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9232 export_dynamic_flag_spec='$wl-E'
9233 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9234 # Instead, shared libraries are loaded at an image base (0x10000000 by
9235 # default) and relocated if they conflict, which is a slow very memory
9236 # consuming and fragmenting process. To avoid this, we pick a random,
9237 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9238 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9239 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9240 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'
9243 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9245 if test linux-dietlibc = "$host_os"; then
9246 case $cc_basename in
9247 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9250 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9251 && test no = "$tmp_diet"
9253 tmp_addflag=' $pic_flag'
9254 tmp_sharedflag='-shared'
9255 case $cc_basename,$host_cpu in
9256 pgcc*) # Portland Group C compiler
9257 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'
9258 tmp_addflag=' $pic_flag'
9260 pgf77* | pgf90* | pgf95* | pgfortran*)
9261 # Portland Group f77 and f90 compilers
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 -Mnomain' ;;
9264 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9265 tmp_addflag=' -i_dynamic' ;;
9266 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9267 tmp_addflag=' -i_dynamic -nofor_main' ;;
9268 ifc* | ifort*) # Intel Fortran compiler
9269 tmp_addflag=' -nofor_main' ;;
9270 lf95*) # Lahey Fortran 8.1
9271 whole_archive_flag_spec=
9272 tmp_sharedflag='--shared' ;;
9273 nagfor*) # NAGFOR 5.3
9274 tmp_sharedflag='-Wl,-shared' ;;
9275 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9276 tmp_sharedflag='-qmkshrobj'
9278 nvcc*) # Cuda Compiler Driver 2.2
9279 whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
9280 compiler_needs_object=yes
9283 case `$CC -V 2>&1 | sed 5q` in
9284 *Sun\ C*) # Sun C 5.9
9285 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'
9286 compiler_needs_object=yes
9287 tmp_sharedflag='-G' ;;
9288 *Sun\ F*) # Sun Fortran 8.3
9289 tmp_sharedflag='-G' ;;
9291 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9293 if test yes = "$supports_anon_versioning"; then
9294 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9295 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9296 echo "local: *; };" >> $output_objdir/$libname.ver~
9297 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9300 case $cc_basename in
9302 export_dynamic_flag_spec='-rdynamic'
9304 xlf* | bgf* | bgxlf* | mpixlf*)
9305 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9306 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9307 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9308 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9309 if test yes = "$supports_anon_versioning"; then
9310 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9311 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9312 echo "local: *; };" >> $output_objdir/$libname.ver~
9313 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9322 netbsd* | netbsdelf*-gnu)
9323 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9324 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9327 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9328 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9333 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9337 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9338 *** create shared libraries on Solaris systems. Therefore, libtool
9339 *** is disabling shared libraries support. We urge you to upgrade GNU
9340 *** binutils to release 2.9.1 or newer. Another option is to modify
9341 *** your PATH or compiler configuration so that the native linker is
9342 *** used, and then restart.
9345 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9346 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9347 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9353 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9354 case `$LD -v 2>&1` in
9355 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9359 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
9360 *** reliably create shared libraries on SCO systems. Therefore, libtool
9361 *** is disabling shared libraries support. We urge you to upgrade GNU
9362 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9363 *** your PATH or compiler configuration so that the native linker is
9364 *** used, and then restart.
9369 # For security reasons, it is highly recommended that you always
9370 # use absolute paths for naming shared libraries, and exclude the
9371 # DT_RUNPATH tag from executables and libraries. But doing so
9372 # requires that you compile everything twice, which is a pain.
9373 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9374 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9375 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9376 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9385 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9388 hardcode_shlibpath_var=no
9392 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9393 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9394 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9401 if test no = "$ld_shlibs"; then
9403 hardcode_libdir_flag_spec=
9404 export_dynamic_flag_spec=
9405 whole_archive_flag_spec=
9408 # PORTME fill in a description of your system's linker (not GNU ld)
9411 allow_undefined_flag=unsupported
9412 always_export_symbols=yes
9413 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'
9414 # Note: this linker hardcodes the directories in LIBPATH if there
9415 # are no directories specified by -L.
9416 hardcode_minus_L=yes
9417 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
9418 # Neither direct hardcoding nor static linking is supported with a
9420 hardcode_direct=unsupported
9425 if test ia64 = "$host_cpu"; then
9426 # On IA64, the linker does run time linking by default, so we don't
9427 # have to do anything special.
9428 aix_use_runtimelinking=no
9429 exp_sym_flag='-Bexport'
9432 # If we're using GNU nm, then we don't want the "-C" option.
9433 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
9434 # Without the "-l" option, or with the "-B" option, AIX nm treats
9435 # weak defined symbols like other global defined symbols, whereas
9436 # GNU nm marks them as "W".
9437 # While the 'weak' keyword is ignored in the Export File, we need
9438 # it in the Import File for the 'aix-soname' feature, so we have
9439 # to replace the "-B" option with "-P" for AIX nm.
9440 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9441 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'
9443 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'
9445 aix_use_runtimelinking=no
9447 # Test if we are trying to use run time linking or normal
9448 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9449 # have runtime linking enabled, and use it for executables.
9450 # For shared libraries, we enable/disable runtime linking
9451 # depending on the kind of the shared library created -
9452 # when "with_aix_soname,aix_use_runtimelinking" is:
9453 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
9454 # "aix,yes" lib.so shared, rtl:yes, for executables
9455 # lib.a static archive
9456 # "both,no" lib.so.V(shr.o) shared, rtl:yes
9457 # lib.a(lib.so.V) shared, rtl:no, for executables
9458 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
9459 # lib.a(lib.so.V) shared, rtl:no
9460 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
9461 # lib.a static archive
9462 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9463 for ld_flag in $LDFLAGS; do
9464 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
9465 aix_use_runtimelinking=yes
9469 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
9470 # With aix-soname=svr4, we create the lib.so.V shared archives only,
9471 # so we don't have lib.a shared libs to link our executables.
9472 # We have to force runtime linking in this case.
9473 aix_use_runtimelinking=yes
9474 LDFLAGS="$LDFLAGS -Wl,-brtl"
9479 exp_sym_flag='-bexport'
9480 no_entry_flag='-bnoentry'
9483 # When large executables or shared objects are built, AIX ld can
9484 # have problems creating the table of contents. If linking a library
9485 # or program results in "error TOC overflow" add -mminimal-toc to
9486 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9487 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9491 hardcode_direct_absolute=yes
9492 hardcode_libdir_separator=':'
9493 link_all_deplibs=yes
9494 file_list_spec='$wl-f,'
9495 case $with_aix_soname,$aix_use_runtimelinking in
9496 aix,*) ;; # traditional, no import file
9497 svr4,* | *,yes) # use import file
9498 # The Import File defines what to hardcode.
9500 hardcode_direct_absolute=no
9504 if test yes = "$GCC"; then
9505 case $host_os in aix4.[012]|aix4.[012].*)
9506 # We only want to do this on AIX 4.2 and lower, the check
9507 # below for broken collect2 doesn't work under 4.3+
9508 collect2name=`$CC -print-prog-name=collect2`
9509 if test -f "$collect2name" &&
9510 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9512 # We have reworked collect2
9515 # We have old collect2
9516 hardcode_direct=unsupported
9517 # It fails to find uninstalled libraries when the uninstalled
9518 # path is not listed in the libpath. Setting hardcode_minus_L
9519 # to unsupported forces relinking
9520 hardcode_minus_L=yes
9521 hardcode_libdir_flag_spec='-L$libdir'
9522 hardcode_libdir_separator=
9526 shared_flag='-shared'
9527 if test yes = "$aix_use_runtimelinking"; then
9528 shared_flag="$shared_flag "'$wl-G'
9530 # Need to ensure runtime linking is disabled for the traditional
9531 # shared library, or the linker may eventually find shared libraries
9532 # /with/ Import File - we do not want to mix them.
9533 shared_flag_aix='-shared'
9534 shared_flag_svr4='-shared $wl-G'
9537 if test ia64 = "$host_cpu"; then
9538 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9539 # chokes on -Wl,-G. The following line is correct:
9542 if test yes = "$aix_use_runtimelinking"; then
9545 shared_flag='$wl-bM:SRE'
9547 shared_flag_aix='$wl-bM:SRE'
9548 shared_flag_svr4='$wl-G'
9552 export_dynamic_flag_spec='$wl-bexpall'
9553 # It seems that -bexpall does not export symbols beginning with
9554 # underscore (_), so it is better to generate a list of symbols to export.
9555 always_export_symbols=yes
9556 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
9557 # Warning - without using the other runtime loading flags (-brtl),
9558 # -berok will link without error, but may produce a broken library.
9559 allow_undefined_flag='-berok'
9560 # Determine the default libpath from the value encoded in an
9562 if test set = "${lt_cv_aix_libpath+set}"; then
9563 aix_libpath=$lt_cv_aix_libpath
9565 if ${lt_cv_aix_libpath_+:} false; then :
9566 $as_echo_n "(cached) " >&6
9568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9569 /* end confdefs.h. */
9579 if ac_fn_c_try_link "$LINENO"; then :
9581 lt_aix_libpath_sed='
9582 /Import File Strings/,/^$/ {
9584 s/^0 *\([^ ]*\) *$/\1/
9588 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9589 # Check for a 64-bit object if we didn't find anything.
9590 if test -z "$lt_cv_aix_libpath_"; then
9591 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9594 rm -f core conftest.err conftest.$ac_objext \
9595 conftest$ac_exeext conftest.$ac_ext
9596 if test -z "$lt_cv_aix_libpath_"; then
9597 lt_cv_aix_libpath_=/usr/lib:/lib
9602 aix_libpath=$lt_cv_aix_libpath_
9605 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9606 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
9608 if test ia64 = "$host_cpu"; then
9609 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
9610 allow_undefined_flag="-z nodefs"
9611 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"
9613 # Determine the default libpath from the value encoded in an
9615 if test set = "${lt_cv_aix_libpath+set}"; then
9616 aix_libpath=$lt_cv_aix_libpath
9618 if ${lt_cv_aix_libpath_+:} false; then :
9619 $as_echo_n "(cached) " >&6
9621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9622 /* end confdefs.h. */
9632 if ac_fn_c_try_link "$LINENO"; then :
9634 lt_aix_libpath_sed='
9635 /Import File Strings/,/^$/ {
9637 s/^0 *\([^ ]*\) *$/\1/
9641 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9642 # Check for a 64-bit object if we didn't find anything.
9643 if test -z "$lt_cv_aix_libpath_"; then
9644 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9647 rm -f core conftest.err conftest.$ac_objext \
9648 conftest$ac_exeext conftest.$ac_ext
9649 if test -z "$lt_cv_aix_libpath_"; then
9650 lt_cv_aix_libpath_=/usr/lib:/lib
9655 aix_libpath=$lt_cv_aix_libpath_
9658 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9659 # Warning - without using the other run time loading flags,
9660 # -berok will link without error, but may produce a broken library.
9661 no_undefined_flag=' $wl-bernotok'
9662 allow_undefined_flag=' $wl-berok'
9663 if test yes = "$with_gnu_ld"; then
9664 # We only use this code for GNU lds that support --whole-archive.
9665 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
9667 # Exported symbols can be pulled into shared objects from archives
9668 whole_archive_flag_spec='$convenience'
9670 archive_cmds_need_lc=yes
9671 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
9672 # -brtl affects multiple linker settings, -berok does not and is overridden later
9673 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
9674 if test svr4 != "$with_aix_soname"; then
9675 # This is similar to how AIX traditionally builds its shared libraries.
9676 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'
9678 if test aix != "$with_aix_soname"; then
9679 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'
9681 # used by -dlpreopen to get the symbols
9682 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
9684 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
9692 # see comment about AmigaOS4 .so support
9693 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9694 archive_expsym_cmds=''
9697 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)'
9698 hardcode_libdir_flag_spec='-L$libdir'
9699 hardcode_minus_L=yes
9705 export_dynamic_flag_spec=-rdynamic
9708 cygwin* | mingw* | pw32* | cegcc*)
9709 # When not using gcc, we currently assume that we are using
9710 # Microsoft Visual C++.
9711 # hardcode_libdir_flag_spec is actually meaningless, as there is
9712 # no search path for DLLs.
9713 case $cc_basename in
9716 hardcode_libdir_flag_spec=' '
9717 allow_undefined_flag=unsupported
9718 always_export_symbols=yes
9720 # Tell ltmain to make .lib files, not .a files.
9722 # Tell ltmain to make .dll files, not .so files.
9724 # FIXME: Setting linknames here is a bad hack.
9725 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
9726 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9727 cp "$export_symbols" "$output_objdir/$soname.def";
9728 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
9730 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
9732 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9734 # The linker will not automatically build a static lib if we build a DLL.
9735 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9736 enable_shared_with_static_runtimes=yes
9737 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9738 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9740 old_postinstall_cmds='chmod 644 $oldlib'
9741 postlink_cmds='lt_outputfile="@OUTPUT@"~
9742 lt_tool_outputfile="@TOOL_OUTPUT@"~
9743 case $lt_outputfile in
9746 lt_outputfile=$lt_outputfile.exe
9747 lt_tool_outputfile=$lt_tool_outputfile.exe
9750 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
9751 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9752 $RM "$lt_outputfile.manifest";
9756 # Assume MSVC wrapper
9757 hardcode_libdir_flag_spec=' '
9758 allow_undefined_flag=unsupported
9759 # Tell ltmain to make .lib files, not .a files.
9761 # Tell ltmain to make .dll files, not .so files.
9763 # FIXME: Setting linknames here is a bad hack.
9764 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9765 # The linker will automatically build a .lib file if we build a DLL.
9766 old_archive_from_new_cmds='true'
9767 # FIXME: Should let the user specify the lib program.
9768 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9769 enable_shared_with_static_runtimes=yes
9774 darwin* | rhapsody*)
9777 archive_cmds_need_lc=no
9779 hardcode_automatic=yes
9780 hardcode_shlibpath_var=unsupported
9781 if test yes = "$lt_cv_ld_force_load"; then
9782 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\"`'
9785 whole_archive_flag_spec=''
9787 link_all_deplibs=yes
9788 allow_undefined_flag=$_lt_dar_allow_undefined
9789 case $cc_basename in
9790 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
9791 *) _lt_dar_can_shared=$GCC ;;
9793 if test yes = "$_lt_dar_can_shared"; then
9794 output_verbose_link_cmd=func_echo_all
9795 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
9796 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
9797 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"
9798 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"
9807 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9808 hardcode_libdir_flag_spec='-L$libdir'
9809 hardcode_shlibpath_var=no
9812 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9813 # support. Future versions do this automatically, but an explicit c++rt0.o
9814 # does not break anything, and helps significantly (at the cost of a little
9817 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9818 hardcode_libdir_flag_spec='-R$libdir'
9820 hardcode_shlibpath_var=no
9823 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9825 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9827 hardcode_minus_L=yes
9828 hardcode_shlibpath_var=no
9831 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9832 freebsd* | dragonfly*)
9833 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9834 hardcode_libdir_flag_spec='-R$libdir'
9836 hardcode_shlibpath_var=no
9840 if test yes = "$GCC"; then
9841 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'
9843 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'
9845 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9846 hardcode_libdir_separator=:
9849 # hardcode_minus_L: Not really in the search PATH,
9850 # but as the default location of the library.
9851 hardcode_minus_L=yes
9852 export_dynamic_flag_spec='$wl-E'
9856 if test yes,no = "$GCC,$with_gnu_ld"; then
9857 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9859 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9861 if test no = "$with_gnu_ld"; then
9862 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9863 hardcode_libdir_separator=:
9865 hardcode_direct_absolute=yes
9866 export_dynamic_flag_spec='$wl-E'
9867 # hardcode_minus_L: Not really in the search PATH,
9868 # but as the default location of the library.
9869 hardcode_minus_L=yes
9874 if test yes,no = "$GCC,$with_gnu_ld"; then
9877 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9880 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9883 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9889 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9892 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9896 # Older versions of the 11.00 compiler do not understand -b yet
9897 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9899 $as_echo_n "checking if $CC understands -b... " >&6; }
9900 if ${lt_cv_prog_compiler__b+:} false; then :
9901 $as_echo_n "(cached) " >&6
9903 lt_cv_prog_compiler__b=no
9904 save_LDFLAGS=$LDFLAGS
9905 LDFLAGS="$LDFLAGS -b"
9906 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9907 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9908 # The linker can only warn and ignore the option if not recognized
9909 # So say no if there are warnings
9910 if test -s conftest.err; then
9911 # Append any errors to the config.log.
9912 cat conftest.err 1>&5
9913 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9914 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9915 if diff conftest.exp conftest.er2 >/dev/null; then
9916 lt_cv_prog_compiler__b=yes
9919 lt_cv_prog_compiler__b=yes
9923 LDFLAGS=$save_LDFLAGS
9926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9927 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9929 if test yes = "$lt_cv_prog_compiler__b"; then
9930 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9932 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9938 if test no = "$with_gnu_ld"; then
9939 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9940 hardcode_libdir_separator=:
9945 hardcode_shlibpath_var=no
9949 hardcode_direct_absolute=yes
9950 export_dynamic_flag_spec='$wl-E'
9952 # hardcode_minus_L: Not really in the search PATH,
9953 # but as the default location of the library.
9954 hardcode_minus_L=yes
9960 irix5* | irix6* | nonstopux*)
9961 if test yes = "$GCC"; then
9962 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'
9963 # Try to use the -exported_symbol ld option, if it does not
9964 # work, assume that -exports_file does not work either and
9965 # implicitly export all symbols.
9966 # This should be the same for all languages, so no per-tag cache variable.
9967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9968 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9969 if ${lt_cv_irix_exported_symbol+:} false; then :
9970 $as_echo_n "(cached) " >&6
9972 save_LDFLAGS=$LDFLAGS
9973 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
9974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9975 /* end confdefs.h. */
9976 int foo (void) { return 0; }
9978 if ac_fn_c_try_link "$LINENO"; then :
9979 lt_cv_irix_exported_symbol=yes
9981 lt_cv_irix_exported_symbol=no
9983 rm -f core conftest.err conftest.$ac_objext \
9984 conftest$ac_exeext conftest.$ac_ext
9985 LDFLAGS=$save_LDFLAGS
9987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9988 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9989 if test yes = "$lt_cv_irix_exported_symbol"; then
9990 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'
9994 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'
9995 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'
9997 archive_cmds_need_lc='no'
9998 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9999 hardcode_libdir_separator=:
10001 link_all_deplibs=yes
10005 case $cc_basename in
10007 # Fabrice Bellard et al's Tiny C Compiler
10009 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10014 netbsd* | netbsdelf*-gnu)
10015 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10016 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10018 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10020 hardcode_libdir_flag_spec='-R$libdir'
10021 hardcode_direct=yes
10022 hardcode_shlibpath_var=no
10026 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10027 hardcode_direct=yes
10028 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10029 hardcode_libdir_separator=:
10030 hardcode_shlibpath_var=no
10036 openbsd* | bitrig*)
10037 if test -f /usr/libexec/ld.so; then
10038 hardcode_direct=yes
10039 hardcode_shlibpath_var=no
10040 hardcode_direct_absolute=yes
10041 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10042 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10043 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10044 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10045 export_dynamic_flag_spec='$wl-E'
10047 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10048 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10056 hardcode_libdir_flag_spec='-L$libdir'
10057 hardcode_minus_L=yes
10058 allow_undefined_flag=unsupported
10060 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10061 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10062 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10063 $ECHO EXPORTS >> $output_objdir/$libname.def~
10064 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10065 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10066 emximp -o $lib $output_objdir/$libname.def'
10067 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10068 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10069 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10070 $ECHO EXPORTS >> $output_objdir/$libname.def~
10071 prefix_cmds="$SED"~
10072 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10073 prefix_cmds="$prefix_cmds -e 1d";
10075 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10076 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10077 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10078 emximp -o $lib $output_objdir/$libname.def'
10079 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10080 enable_shared_with_static_runtimes=yes
10084 if test yes = "$GCC"; then
10085 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10086 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'
10088 allow_undefined_flag=' -expect_unresolved \*'
10089 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'
10091 archive_cmds_need_lc='no'
10092 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10093 hardcode_libdir_separator=:
10096 osf4* | osf5*) # as osf3* with the addition of -msym flag
10097 if test yes = "$GCC"; then
10098 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10099 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'
10100 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10102 allow_undefined_flag=' -expect_unresolved \*'
10103 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'
10104 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~
10105 $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'
10107 # Both c and cxx compiler support -rpath directly
10108 hardcode_libdir_flag_spec='-rpath $libdir'
10110 archive_cmds_need_lc='no'
10111 hardcode_libdir_separator=:
10115 no_undefined_flag=' -z defs'
10116 if test yes = "$GCC"; then
10118 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10119 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10120 $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'
10122 case `$CC -V 2>&1` in
10125 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10126 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10127 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10131 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10132 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10133 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10137 hardcode_libdir_flag_spec='-R$libdir'
10138 hardcode_shlibpath_var=no
10140 solaris2.[0-5] | solaris2.[0-5].*) ;;
10142 # The compiler driver will combine and reorder linker options,
10143 # but understands '-z linker_flag'. GCC discards it without '$wl',
10144 # but is careful enough not to reorder.
10145 # Supported since Solaris 2.6 (maybe 2.5.1?)
10146 if test yes = "$GCC"; then
10147 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10149 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10153 link_all_deplibs=yes
10157 if test sequent = "$host_vendor"; then
10158 # Use $CC to link under sequent, because it throws in some extra .o
10159 # files that make .init and .fini sections work.
10160 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10162 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10164 hardcode_libdir_flag_spec='-L$libdir'
10165 hardcode_direct=yes
10166 hardcode_minus_L=yes
10167 hardcode_shlibpath_var=no
10171 case $host_vendor in
10173 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10174 hardcode_direct=yes # is this really true???
10177 ## LD is ld it makes a PLAMLIB
10178 ## CC just makes a GrossModule.
10179 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10180 reload_cmds='$CC -r -o $output$reload_objs'
10184 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10185 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10188 runpath_var='LD_RUN_PATH'
10189 hardcode_shlibpath_var=no
10193 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10194 hardcode_shlibpath_var=no
10195 export_dynamic_flag_spec='-Bexport'
10199 if test -d /usr/nec; then
10200 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10201 hardcode_shlibpath_var=no
10202 runpath_var=LD_RUN_PATH
10203 hardcode_runpath_var=yes
10208 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10209 no_undefined_flag='$wl-z,text'
10210 archive_cmds_need_lc=no
10211 hardcode_shlibpath_var=no
10212 runpath_var='LD_RUN_PATH'
10214 if test yes = "$GCC"; then
10215 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10216 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10218 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10219 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10223 sysv5* | sco3.2v5* | sco5v6*)
10224 # Note: We CANNOT use -z defs as we might desire, because we do not
10225 # link with -lc, and that would cause any symbols used from libc to
10226 # always be unresolved, which means just about no library would
10227 # ever link correctly. If we're not using GNU ld we use -z text
10228 # though, which does catch some bad symbols but isn't as heavy-handed
10230 no_undefined_flag='$wl-z,text'
10231 allow_undefined_flag='$wl-z,nodefs'
10232 archive_cmds_need_lc=no
10233 hardcode_shlibpath_var=no
10234 hardcode_libdir_flag_spec='$wl-R,$libdir'
10235 hardcode_libdir_separator=':'
10236 link_all_deplibs=yes
10237 export_dynamic_flag_spec='$wl-Bexport'
10238 runpath_var='LD_RUN_PATH'
10240 if test yes = "$GCC"; then
10241 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10242 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10244 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10245 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10250 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10251 hardcode_libdir_flag_spec='-L$libdir'
10252 hardcode_shlibpath_var=no
10260 if test sni = "$host_vendor"; then
10262 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10263 export_dynamic_flag_spec='$wl-Blargedynsym'
10269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10270 $as_echo "$ld_shlibs" >&6; }
10271 test no = "$ld_shlibs" && can_build_shared=no
10273 with_gnu_ld=$with_gnu_ld
10290 # Do we need to explicitly link libc?
10292 case "x$archive_cmds_need_lc" in
10294 # Assume -lc should be added
10295 archive_cmds_need_lc=yes
10297 if test yes,yes = "$GCC,$enable_shared"; then
10298 case $archive_cmds in
10300 # FIXME: we may have to deal with multi-command sequences.
10303 # Test whether the compiler implicitly links with -lc since on some
10304 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10305 # to ld, don't add -lc before -lgcc.
10306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10307 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10308 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10309 $as_echo_n "(cached) " >&6
10312 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10314 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10315 (eval $ac_compile) 2>&5
10317 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10318 test $ac_status = 0; } 2>conftest.err; then
10321 libobjs=conftest.$ac_objext
10323 wl=$lt_prog_compiler_wl
10324 pic_flag=$lt_prog_compiler_pic
10330 lt_save_allow_undefined_flag=$allow_undefined_flag
10331 allow_undefined_flag=
10332 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10333 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10335 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10336 test $ac_status = 0; }
10338 lt_cv_archive_cmds_need_lc=no
10340 lt_cv_archive_cmds_need_lc=yes
10342 allow_undefined_flag=$lt_save_allow_undefined_flag
10344 cat conftest.err 1>&5
10349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10350 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10351 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10510 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10512 if test yes = "$GCC"; then
10514 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
10515 *) lt_awk_arg='/^libraries:/' ;;
10518 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
10519 *) lt_sed_strip_eq='s|=/|/|g' ;;
10521 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10522 case $lt_search_path_spec in
10524 # if the path contains ";" then we assume it to be the separator
10525 # otherwise default to the standard path separator (i.e. ":") - it is
10526 # assumed that no part of a normal pathname contains ";" but that should
10527 # okay in the real world where ";" in dirpaths is itself problematic.
10528 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10531 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10534 # Ok, now we have the path, separated by spaces, we can step through it
10535 # and add multilib dir if necessary...
10536 lt_tmp_lt_search_path_spec=
10537 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10538 # ...but if some path component already ends with the multilib dir we assume
10539 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
10540 case "$lt_multi_os_dir; $lt_search_path_spec " in
10541 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
10545 for lt_sys_path in $lt_search_path_spec; do
10546 if test -d "$lt_sys_path$lt_multi_os_dir"; then
10547 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
10548 elif test -n "$lt_multi_os_dir"; then
10549 test -d "$lt_sys_path" && \
10550 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10553 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10554 BEGIN {RS = " "; FS = "/|\n";} {
10557 for (lt_i = NF; lt_i > 0; lt_i--) {
10558 if ($lt_i != "" && $lt_i != ".") {
10559 if ($lt_i == "..") {
10562 if (lt_count == 0) {
10563 lt_foo = "/" $lt_i lt_foo;
10570 if (lt_foo != "") { lt_freq[lt_foo]++; }
10571 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10573 # AWK program above erroneously prepends '/' to C:/dos/paths
10576 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10577 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
10579 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10581 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10583 library_names_spec=
10584 libname_spec='lib$name'
10588 postuninstall_cmds=
10592 shlibpath_overrides_runpath=unknown
10594 dynamic_linker="$host_os ld.so"
10595 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10596 need_lib_prefix=unknown
10597 hardcode_into_libs=no
10599 # when you set need_version to no, make sure it does not cause -set_version
10600 # flags to be left without arguments
10601 need_version=unknown
10607 version_type=linux # correct to gnu/linux during the next big refactor
10608 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
10609 shlibpath_var=LIBPATH
10611 # AIX 3 has no versioning support, so we append a major version to the name.
10612 soname_spec='$libname$release$shared_ext$major'
10616 version_type=linux # correct to gnu/linux during the next big refactor
10619 hardcode_into_libs=yes
10620 if test ia64 = "$host_cpu"; then
10621 # AIX 5 supports IA64
10622 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
10623 shlibpath_var=LD_LIBRARY_PATH
10625 # With GCC up to 2.95.x, collect2 would create an import file
10626 # for dependence libraries. The import file would start with
10627 # the line '#! .'. This would cause the generated library to
10628 # depend on '.', always an invalid library. This was fixed in
10629 # development snapshots of GCC prior to 3.0.
10631 aix4 | aix4.[01] | aix4.[01].*)
10632 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10634 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
10637 can_build_shared=no
10641 # Using Import Files as archive members, it is possible to support
10642 # filename-based versioning of shared library archives on AIX. While
10643 # this would work for both with and without runtime linking, it will
10644 # prevent static linking of such archives. So we do filename-based
10645 # shared library versioning with .so extension only, which is used
10646 # when both runtime linking and shared linking is enabled.
10647 # Unfortunately, runtime linking may impact performance, so we do
10648 # not want this to be the default eventually. Also, we use the
10649 # versioned .so libs for executables only if there is the -brtl
10650 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
10651 # To allow for filename-based versioning support, we need to create
10652 # libNAME.so.V as an archive file, containing:
10653 # *) an Import File, referring to the versioned filename of the
10654 # archive as well as the shared archive member, telling the
10655 # bitwidth (32 or 64) of that shared object, and providing the
10656 # list of exported symbols of that shared object, eventually
10657 # decorated with the 'weak' keyword
10658 # *) the shared object with the F_LOADONLY flag set, to really avoid
10659 # it being seen by the linker.
10660 # At run time we better use the real file rather than another symlink,
10661 # but for link time we create the symlink libNAME.so -> libNAME.so.V
10663 case $with_aix_soname,$aix_use_runtimelinking in
10664 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
10665 # soname into executable. Probably we can add versioning support to
10666 # collect2, so additional links can be useful in future.
10667 aix,yes) # traditional libtool
10668 dynamic_linker='AIX unversionable lib.so'
10669 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10670 # instead of lib<name>.a to let people know that these are not
10671 # typical AIX shared libraries.
10672 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10674 aix,no) # traditional AIX only
10675 dynamic_linker='AIX lib.a(lib.so.V)'
10676 # We preserve .a as extension for shared libraries through AIX4.2
10677 # and later when we are not doing run time linking.
10678 library_names_spec='$libname$release.a $libname.a'
10679 soname_spec='$libname$release$shared_ext$major'
10681 svr4,*) # full svr4 only
10682 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
10683 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
10684 # We do not specify a path in Import Files, so LIBPATH fires.
10685 shlibpath_overrides_runpath=yes
10687 *,yes) # both, prefer svr4
10688 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
10689 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
10690 # unpreferred sharedlib libNAME.a needs extra handling
10691 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"'
10692 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"'
10693 # We do not specify a path in Import Files, so LIBPATH fires.
10694 shlibpath_overrides_runpath=yes
10696 *,no) # both, prefer aix
10697 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
10698 library_names_spec='$libname$release.a $libname.a'
10699 soname_spec='$libname$release$shared_ext$major'
10700 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
10701 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)'
10702 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"'
10705 shlibpath_var=LIBPATH
10712 # Since July 2007 AmigaOS4 officially supports .so libraries.
10713 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10714 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10717 library_names_spec='$libname.ixlibrary $libname.a'
10718 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10719 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'
10725 library_names_spec='$libname$shared_ext'
10726 dynamic_linker="$host_os ld.so"
10727 shlibpath_var=LIBRARY_PATH
10731 version_type=linux # correct to gnu/linux during the next big refactor
10733 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10734 soname_spec='$libname$release$shared_ext$major'
10735 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10736 shlibpath_var=LD_LIBRARY_PATH
10737 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10738 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10739 # the default ld.so.conf also contains /usr/contrib/lib and
10740 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10741 # libtool to hard-code these into programs
10744 cygwin* | mingw* | pw32* | cegcc*)
10745 version_type=windows
10750 case $GCC,$cc_basename in
10753 library_names_spec='$libname.dll.a'
10754 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10755 postinstall_cmds='base_file=`basename \$file`~
10756 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10757 dldir=$destdir/`dirname \$dlpath`~
10758 test -d \$dldir || mkdir -p \$dldir~
10759 $install_prog $dir/$dlname \$dldir/$dlname~
10760 chmod a+x \$dldir/$dlname~
10761 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10762 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10764 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10765 dlpath=$dir/\$dldll~
10767 shlibpath_overrides_runpath=yes
10771 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10772 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10774 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10777 # MinGW DLLs use traditional 'lib' prefix
10778 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10781 # pw32 DLLs use 'pw' prefix rather than 'lib'
10782 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10785 dynamic_linker='Win32 ld.exe'
10790 libname_spec='$name'
10791 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10792 library_names_spec='$libname.dll.lib'
10796 sys_lib_search_path_spec=
10799 for lt_path in $LIB
10802 # Let DOS variable expansion print the short 8.3 style file name.
10803 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10804 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10807 # Convert to MSYS style.
10808 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10811 # Convert to unix form, then to dos form, then back to unix form
10812 # but this time dos style (no spaces!) so that the unix form looks
10813 # like /cygdrive/c/PROGRA~1:/cygdr...
10814 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10815 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10816 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10819 sys_lib_search_path_spec=$LIB
10820 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10821 # It is most probably a Windows format PATH.
10822 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10824 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10826 # FIXME: find the short name or the path components, as spaces are
10827 # common. (e.g. "Program Files" -> "PROGRA~1")
10831 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10832 postinstall_cmds='base_file=`basename \$file`~
10833 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10834 dldir=$destdir/`dirname \$dlpath`~
10835 test -d \$dldir || mkdir -p \$dldir~
10836 $install_prog $dir/$dlname \$dldir/$dlname'
10837 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10838 dlpath=$dir/\$dldll~
10840 shlibpath_overrides_runpath=yes
10841 dynamic_linker='Win32 link.exe'
10845 # Assume MSVC wrapper
10846 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
10847 dynamic_linker='Win32 ld.exe'
10850 # FIXME: first we should search . and the directory the executable is in
10854 darwin* | rhapsody*)
10855 dynamic_linker="$host_os dyld"
10856 version_type=darwin
10859 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
10860 soname_spec='$libname$release$major$shared_ext'
10861 shlibpath_overrides_runpath=yes
10862 shlibpath_var=DYLD_LIBRARY_PATH
10863 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10865 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10866 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10870 version_type=linux # correct to gnu/linux during the next big refactor
10873 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10874 soname_spec='$libname$release$shared_ext$major'
10875 shlibpath_var=LD_LIBRARY_PATH
10878 freebsd* | dragonfly*)
10879 # DragonFly does not have aout. When/if they implement a new
10880 # versioning mechanism, adjust this.
10881 if test -x /usr/bin/objformat; then
10882 objformat=`/usr/bin/objformat`
10885 freebsd[23].*) objformat=aout ;;
10886 *) objformat=elf ;;
10889 version_type=freebsd-$objformat
10890 case $version_type in
10892 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10893 soname_spec='$libname$release$shared_ext$major'
10898 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10902 shlibpath_var=LD_LIBRARY_PATH
10905 shlibpath_overrides_runpath=yes
10907 freebsd3.[01]* | freebsdelf3.[01]*)
10908 shlibpath_overrides_runpath=yes
10909 hardcode_into_libs=yes
10911 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10912 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10913 shlibpath_overrides_runpath=no
10914 hardcode_into_libs=yes
10916 *) # from 4.6 on, and DragonFly
10917 shlibpath_overrides_runpath=yes
10918 hardcode_into_libs=yes
10924 version_type=linux # correct to gnu/linux during the next big refactor
10927 dynamic_linker="$host_os runtime_loader"
10928 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10929 soname_spec='$libname$release$shared_ext$major'
10930 shlibpath_var=LIBRARY_PATH
10931 shlibpath_overrides_runpath=no
10932 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10933 hardcode_into_libs=yes
10936 hpux9* | hpux10* | hpux11*)
10937 # Give a soname corresponding to the major version so that dld.sl refuses to
10938 # link against other versions.
10945 hardcode_into_libs=yes
10946 dynamic_linker="$host_os dld.so"
10947 shlibpath_var=LD_LIBRARY_PATH
10948 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10949 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10950 soname_spec='$libname$release$shared_ext$major'
10951 if test 32 = "$HPUX_IA64_MODE"; then
10952 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10953 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
10955 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10956 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
10961 hardcode_into_libs=yes
10962 dynamic_linker="$host_os dld.sl"
10963 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10964 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10965 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10966 soname_spec='$libname$release$shared_ext$major'
10967 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10968 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10972 dynamic_linker="$host_os dld.sl"
10973 shlibpath_var=SHLIB_PATH
10974 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10975 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10976 soname_spec='$libname$release$shared_ext$major'
10979 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10980 postinstall_cmds='chmod 555 $lib'
10981 # or fails outright, so override atomically:
10982 install_override_mode=555
10986 version_type=linux # correct to gnu/linux during the next big refactor
10989 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10990 soname_spec='$libname$release$shared_ext$major'
10991 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10992 shlibpath_var=LD_LIBRARY_PATH
10993 shlibpath_overrides_runpath=no
10994 hardcode_into_libs=yes
10997 irix5* | irix6* | nonstopux*)
10999 nonstopux*) version_type=nonstopux ;;
11001 if test yes = "$lt_cv_prog_gnu_ld"; then
11002 version_type=linux # correct to gnu/linux during the next big refactor
11009 soname_spec='$libname$release$shared_ext$major'
11010 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11012 irix5* | nonstopux*)
11013 libsuff= shlibsuff=
11016 case $LD in # libtool.m4 will add one of these switches to LD
11017 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11018 libsuff= shlibsuff= libmagic=32-bit;;
11019 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11020 libsuff=32 shlibsuff=N32 libmagic=N32;;
11021 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11022 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11023 *) libsuff= shlibsuff= libmagic=never-match;;
11027 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11028 shlibpath_overrides_runpath=no
11029 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11030 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
11031 hardcode_into_libs=yes
11034 # No shared lib support for Linux oldld, aout, or coff.
11035 linux*oldld* | linux*aout* | linux*coff*)
11040 version_type=none # Android doesn't support versioned libraries.
11043 library_names_spec='$libname$release$shared_ext'
11044 soname_spec='$libname$release$shared_ext'
11046 shlibpath_var=LD_LIBRARY_PATH
11047 shlibpath_overrides_runpath=yes
11049 # This implies no fast_install, which is unacceptable.
11050 # Some rework will be needed to allow for fast_install
11051 # before this can be enabled.
11052 hardcode_into_libs=yes
11054 dynamic_linker='Android linker'
11055 # Don't embed -rpath directories since the linker doesn't support them.
11056 hardcode_libdir_flag_spec='-L$libdir'
11059 # This must be glibc/ELF.
11060 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11061 version_type=linux # correct to gnu/linux during the next big refactor
11064 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11065 soname_spec='$libname$release$shared_ext$major'
11066 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11067 shlibpath_var=LD_LIBRARY_PATH
11068 shlibpath_overrides_runpath=no
11070 # Some binutils ld are patched to set DT_RUNPATH
11071 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11072 $as_echo_n "(cached) " >&6
11074 lt_cv_shlibpath_overrides_runpath=no
11075 save_LDFLAGS=$LDFLAGS
11076 save_libdir=$libdir
11077 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11078 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11080 /* end confdefs.h. */
11090 if ac_fn_c_try_link "$LINENO"; then :
11091 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11092 lt_cv_shlibpath_overrides_runpath=yes
11095 rm -f core conftest.err conftest.$ac_objext \
11096 conftest$ac_exeext conftest.$ac_ext
11097 LDFLAGS=$save_LDFLAGS
11098 libdir=$save_libdir
11102 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11104 # This implies no fast_install, which is unacceptable.
11105 # Some rework will be needed to allow for fast_install
11106 # before this can be enabled.
11107 hardcode_into_libs=yes
11109 # Ideally, we could use ldconfig to report *all* directores which are
11110 # searched for libraries, however this is still not possible. Aside from not
11111 # being certain /sbin/ldconfig is available, command
11112 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11113 # even though it is searched at run-time. Try to do the best guess by
11114 # appending ld.so.conf contents (and includes) to the search path.
11115 if test -f /etc/ld.so.conf; then
11116 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' ' '`
11117 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11120 # We used to test for /lib/ld.so.1 and disable shared libraries on
11121 # powerpc, because MkLinux only supported shared libraries with the
11122 # GNU dynamic linker. Since this was broken with cross compilers,
11123 # most powerpc-linux boxes support dynamic linking these days and
11124 # people can always --disable-shared, the test was removed, and we
11125 # assume the GNU/Linux dynamic linker is in use.
11126 dynamic_linker='GNU/Linux ld.so'
11133 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11134 soname_spec='${libname}${release}${shared_ext}$major'
11135 shlibpath_var=LD_LIBRARY_PATH
11136 shlibpath_overrides_runpath=no
11137 hardcode_into_libs=yes
11138 dynamic_linker='NetBSD ld.elf_so'
11145 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11146 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11147 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11148 dynamic_linker='NetBSD (a.out) ld.so'
11150 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11151 soname_spec='$libname$release$shared_ext$major'
11152 dynamic_linker='NetBSD ld.elf_so'
11154 shlibpath_var=LD_LIBRARY_PATH
11155 shlibpath_overrides_runpath=yes
11156 hardcode_into_libs=yes
11160 version_type=linux # correct to gnu/linux during the next big refactor
11161 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11162 shlibpath_var=LD_LIBRARY_PATH
11163 shlibpath_overrides_runpath=yes
11170 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11171 soname_spec='$libname$release$shared_ext$major'
11172 shlibpath_var=LD_LIBRARY_PATH
11173 shlibpath_overrides_runpath=no
11174 hardcode_into_libs=yes
11175 dynamic_linker='ldqnx.so'
11178 openbsd* | bitrig*)
11180 sys_lib_dlsearch_path_spec=/usr/lib
11182 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11187 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11188 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11189 shlibpath_var=LD_LIBRARY_PATH
11190 shlibpath_overrides_runpath=yes
11194 libname_spec='$name'
11195 version_type=windows
11199 # OS/2 can only load a DLL with a base name of 8 characters or less.
11200 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
11201 v=$($ECHO $release$versuffix | tr -d .-);
11202 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11203 $ECHO $n$v`$shared_ext'
11204 library_names_spec='${libname}_dll.$libext'
11205 dynamic_linker='OS/2 ld.exe'
11206 shlibpath_var=BEGINLIBPATH
11207 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11208 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11209 postinstall_cmds='base_file=`basename \$file`~
11210 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11211 dldir=$destdir/`dirname \$dlpath`~
11212 test -d \$dldir || mkdir -p \$dldir~
11213 $install_prog $dir/$dlname \$dldir/$dlname~
11214 chmod a+x \$dldir/$dlname~
11215 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11216 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11218 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11219 dlpath=$dir/\$dldll~
11223 osf3* | osf4* | osf5*)
11227 soname_spec='$libname$release$shared_ext$major'
11228 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11229 shlibpath_var=LD_LIBRARY_PATH
11230 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11231 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11239 version_type=linux # correct to gnu/linux during the next big refactor
11242 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11243 soname_spec='$libname$release$shared_ext$major'
11244 shlibpath_var=LD_LIBRARY_PATH
11245 shlibpath_overrides_runpath=yes
11246 hardcode_into_libs=yes
11247 # ldd complains unless libraries are executable
11248 postinstall_cmds='chmod +x $lib'
11253 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11254 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11255 shlibpath_var=LD_LIBRARY_PATH
11256 shlibpath_overrides_runpath=yes
11257 if test yes = "$with_gnu_ld"; then
11264 version_type=linux # correct to gnu/linux during the next big refactor
11265 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11266 soname_spec='$libname$release$shared_ext$major'
11267 shlibpath_var=LD_LIBRARY_PATH
11268 case $host_vendor in
11270 shlibpath_overrides_runpath=no
11272 runpath_var=LD_RUN_PATH
11280 shlibpath_overrides_runpath=no
11281 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11287 if test -d /usr/nec; then
11288 version_type=linux # correct to gnu/linux during the next big refactor
11289 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11290 soname_spec='$libname$shared_ext.$major'
11291 shlibpath_var=LD_LIBRARY_PATH
11295 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11299 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11300 soname_spec='$libname$release$shared_ext$major'
11301 shlibpath_var=LD_LIBRARY_PATH
11302 shlibpath_overrides_runpath=yes
11303 hardcode_into_libs=yes
11304 if test yes = "$with_gnu_ld"; then
11305 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11307 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11310 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11314 sys_lib_dlsearch_path_spec='/usr/lib'
11318 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11319 version_type=linux # correct to gnu/linux during the next big refactor
11322 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11323 shlibpath_var=LD_LIBRARY_PATH
11324 shlibpath_overrides_runpath=no
11325 hardcode_into_libs=yes
11329 version_type=linux # correct to gnu/linux during the next big refactor
11330 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11331 soname_spec='$libname$release$shared_ext$major'
11332 shlibpath_var=LD_LIBRARY_PATH
11339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11340 $as_echo "$dynamic_linker" >&6; }
11341 test no = "$dynamic_linker" && can_build_shared=no
11343 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11344 if test yes = "$GCC"; then
11345 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11348 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11349 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
11352 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11353 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
11356 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11357 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
11359 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11360 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
11362 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11363 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
11461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11462 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11464 if test -n "$hardcode_libdir_flag_spec" ||
11465 test -n "$runpath_var" ||
11466 test yes = "$hardcode_automatic"; then
11468 # We can hardcode non-existent directories.
11469 if test no != "$hardcode_direct" &&
11470 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11471 # have to relink, otherwise we might link with an installed library
11472 # when we should be linking with a yet-to-be-installed one
11473 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
11474 test no != "$hardcode_minus_L"; then
11475 # Linking always hardcodes the temporary library directory.
11476 hardcode_action=relink
11478 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11479 hardcode_action=immediate
11482 # We cannot hardcode anything, or else we can only hardcode existing
11484 hardcode_action=unsupported
11486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11487 $as_echo "$hardcode_action" >&6; }
11489 if test relink = "$hardcode_action" ||
11490 test yes = "$inherit_rpath"; then
11491 # Fast installation is not supported
11492 enable_fast_install=no
11493 elif test yes = "$shlibpath_overrides_runpath" ||
11494 test no = "$enable_shared"; then
11495 # Fast installation is not necessary
11496 enable_fast_install=needless
11504 if test yes != "$enable_dlopen"; then
11505 enable_dlopen=unknown
11506 enable_dlopen_self=unknown
11507 enable_dlopen_self_static=unknown
11514 lt_cv_dlopen=load_add_on
11516 lt_cv_dlopen_self=yes
11519 mingw* | pw32* | cegcc*)
11520 lt_cv_dlopen=LoadLibrary
11525 lt_cv_dlopen=dlopen
11530 # if libdl is installed we need to link against it
11531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11532 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11533 if ${ac_cv_lib_dl_dlopen+:} false; then :
11534 $as_echo_n "(cached) " >&6
11536 ac_check_lib_save_LIBS=$LIBS
11538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11539 /* end confdefs.h. */
11541 /* Override any GCC internal prototype to avoid an error.
11542 Use char because int might match the return type of a GCC
11543 builtin and then its argument prototype would still apply. */
11556 if ac_fn_c_try_link "$LINENO"; then :
11557 ac_cv_lib_dl_dlopen=yes
11559 ac_cv_lib_dl_dlopen=no
11561 rm -f core conftest.err conftest.$ac_objext \
11562 conftest$ac_exeext conftest.$ac_ext
11563 LIBS=$ac_check_lib_save_LIBS
11565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11566 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11567 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11568 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11573 lt_cv_dlopen_self=yes
11580 # Don't try to run any link tests for TPF. We know it's impossible
11581 # because TPF is a cross-compiler, and we know how we open DSOs.
11582 lt_cv_dlopen=dlopen
11584 lt_cv_dlopen_self=no
11588 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11589 if test "x$ac_cv_func_shl_load" = xyes; then :
11590 lt_cv_dlopen=shl_load
11592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11593 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11594 if ${ac_cv_lib_dld_shl_load+:} false; then :
11595 $as_echo_n "(cached) " >&6
11597 ac_check_lib_save_LIBS=$LIBS
11599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11600 /* end confdefs.h. */
11602 /* Override any GCC internal prototype to avoid an error.
11603 Use char because int might match the return type of a GCC
11604 builtin and then its argument prototype would still apply. */
11612 return shl_load ();
11617 if ac_fn_c_try_link "$LINENO"; then :
11618 ac_cv_lib_dld_shl_load=yes
11620 ac_cv_lib_dld_shl_load=no
11622 rm -f core conftest.err conftest.$ac_objext \
11623 conftest$ac_exeext conftest.$ac_ext
11624 LIBS=$ac_check_lib_save_LIBS
11626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11627 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11628 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11629 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
11631 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11632 if test "x$ac_cv_func_dlopen" = xyes; then :
11633 lt_cv_dlopen=dlopen
11635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11636 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11637 if ${ac_cv_lib_dl_dlopen+:} false; then :
11638 $as_echo_n "(cached) " >&6
11640 ac_check_lib_save_LIBS=$LIBS
11642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11643 /* end confdefs.h. */
11645 /* Override any GCC internal prototype to avoid an error.
11646 Use char because int might match the return type of a GCC
11647 builtin and then its argument prototype would still apply. */
11660 if ac_fn_c_try_link "$LINENO"; then :
11661 ac_cv_lib_dl_dlopen=yes
11663 ac_cv_lib_dl_dlopen=no
11665 rm -f core conftest.err conftest.$ac_objext \
11666 conftest$ac_exeext conftest.$ac_ext
11667 LIBS=$ac_check_lib_save_LIBS
11669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11670 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11671 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11672 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11675 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11676 if ${ac_cv_lib_svld_dlopen+:} false; then :
11677 $as_echo_n "(cached) " >&6
11679 ac_check_lib_save_LIBS=$LIBS
11680 LIBS="-lsvld $LIBS"
11681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11682 /* end confdefs.h. */
11684 /* Override any GCC internal prototype to avoid an error.
11685 Use char because int might match the return type of a GCC
11686 builtin and then its argument prototype would still apply. */
11699 if ac_fn_c_try_link "$LINENO"; then :
11700 ac_cv_lib_svld_dlopen=yes
11702 ac_cv_lib_svld_dlopen=no
11704 rm -f core conftest.err conftest.$ac_objext \
11705 conftest$ac_exeext conftest.$ac_ext
11706 LIBS=$ac_check_lib_save_LIBS
11708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11709 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11710 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11711 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
11713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11714 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11715 if ${ac_cv_lib_dld_dld_link+:} false; then :
11716 $as_echo_n "(cached) " >&6
11718 ac_check_lib_save_LIBS=$LIBS
11720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11721 /* end confdefs.h. */
11723 /* Override any GCC internal prototype to avoid an error.
11724 Use char because int might match the return type of a GCC
11725 builtin and then its argument prototype would still apply. */
11733 return dld_link ();
11738 if ac_fn_c_try_link "$LINENO"; then :
11739 ac_cv_lib_dld_dld_link=yes
11741 ac_cv_lib_dld_dld_link=no
11743 rm -f core conftest.err conftest.$ac_objext \
11744 conftest$ac_exeext conftest.$ac_ext
11745 LIBS=$ac_check_lib_save_LIBS
11747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11748 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11749 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11750 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
11771 if test no = "$lt_cv_dlopen"; then
11777 case $lt_cv_dlopen in
11779 save_CPPFLAGS=$CPPFLAGS
11780 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11782 save_LDFLAGS=$LDFLAGS
11783 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11786 LIBS="$lt_cv_dlopen_libs $LIBS"
11788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11789 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11790 if ${lt_cv_dlopen_self+:} false; then :
11791 $as_echo_n "(cached) " >&6
11793 if test yes = "$cross_compiling"; then :
11794 lt_cv_dlopen_self=cross
11796 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11797 lt_status=$lt_dlunknown
11798 cat > conftest.$ac_ext <<_LT_EOF
11799 #line $LINENO "configure"
11800 #include "confdefs.h"
11809 # define LT_DLGLOBAL RTLD_GLOBAL
11812 # define LT_DLGLOBAL DL_GLOBAL
11814 # define LT_DLGLOBAL 0
11818 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11819 find out it does not work in some platform. */
11820 #ifndef LT_DLLAZY_OR_NOW
11822 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11825 # define LT_DLLAZY_OR_NOW DL_LAZY
11828 # define LT_DLLAZY_OR_NOW RTLD_NOW
11831 # define LT_DLLAZY_OR_NOW DL_NOW
11833 # define LT_DLLAZY_OR_NOW 0
11840 /* When -fvisibility=hidden is used, assume the code has been annotated
11841 correspondingly for the symbols needed. */
11842 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11843 int fnord () __attribute__((visibility("default")));
11846 int fnord () { return 42; }
11849 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11850 int status = $lt_dlunknown;
11854 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11857 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11858 else puts (dlerror ());
11860 /* dlclose (self); */
11868 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11869 (eval $ac_link) 2>&5
11871 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11872 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
11873 (./conftest; exit; ) >&5 2>/dev/null
11875 case x$lt_status in
11876 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11877 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11878 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11881 # compilation failed
11882 lt_cv_dlopen_self=no
11889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11890 $as_echo "$lt_cv_dlopen_self" >&6; }
11892 if test yes = "$lt_cv_dlopen_self"; then
11893 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11895 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11896 if ${lt_cv_dlopen_self_static+:} false; then :
11897 $as_echo_n "(cached) " >&6
11899 if test yes = "$cross_compiling"; then :
11900 lt_cv_dlopen_self_static=cross
11902 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11903 lt_status=$lt_dlunknown
11904 cat > conftest.$ac_ext <<_LT_EOF
11905 #line $LINENO "configure"
11906 #include "confdefs.h"
11915 # define LT_DLGLOBAL RTLD_GLOBAL
11918 # define LT_DLGLOBAL DL_GLOBAL
11920 # define LT_DLGLOBAL 0
11924 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11925 find out it does not work in some platform. */
11926 #ifndef LT_DLLAZY_OR_NOW
11928 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11931 # define LT_DLLAZY_OR_NOW DL_LAZY
11934 # define LT_DLLAZY_OR_NOW RTLD_NOW
11937 # define LT_DLLAZY_OR_NOW DL_NOW
11939 # define LT_DLLAZY_OR_NOW 0
11946 /* When -fvisibility=hidden is used, assume the code has been annotated
11947 correspondingly for the symbols needed. */
11948 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11949 int fnord () __attribute__((visibility("default")));
11952 int fnord () { return 42; }
11955 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11956 int status = $lt_dlunknown;
11960 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11963 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11964 else puts (dlerror ());
11966 /* dlclose (self); */
11974 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11975 (eval $ac_link) 2>&5
11977 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11978 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
11979 (./conftest; exit; ) >&5 2>/dev/null
11981 case x$lt_status in
11982 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11983 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11984 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11987 # compilation failed
11988 lt_cv_dlopen_self_static=no
11995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11996 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11999 CPPFLAGS=$save_CPPFLAGS
12000 LDFLAGS=$save_LDFLAGS
12005 case $lt_cv_dlopen_self in
12006 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12007 *) enable_dlopen_self=unknown ;;
12010 case $lt_cv_dlopen_self_static in
12011 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12012 *) enable_dlopen_self_static=unknown ;;
12034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12035 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12036 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12037 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12038 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12040 $as_echo "yes" >&6; }
12042 # FIXME - insert some real tests, host_os isn't really good enough
12045 if test -n "$STRIP"; then
12046 striplib="$STRIP -x"
12047 old_striplib="$STRIP -S"
12048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12049 $as_echo "yes" >&6; }
12051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12052 $as_echo "no" >&6; }
12056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12057 $as_echo "no" >&6; }
12073 # Report what library types will actually be built
12074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12075 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12077 $as_echo "$can_build_shared" >&6; }
12079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12080 $as_echo_n "checking whether to build shared libraries... " >&6; }
12081 test no = "$can_build_shared" && enable_shared=no
12083 # On AIX, shared libraries and static libraries use the same namespace, and
12084 # are all built from PIC.
12087 test yes = "$enable_shared" && enable_static=no
12088 if test -n "$RANLIB"; then
12089 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12090 postinstall_cmds='$RANLIB $lib'
12095 if test ia64 != "$host_cpu"; then
12096 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12097 yes,aix,yes) ;; # shared object as lib.so file only
12098 yes,svr4,*) ;; # shared object as lib.so archive member only
12099 yes,*) enable_static=no ;; # shared object in lib.a archive as well
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12105 $as_echo "$enable_shared" >&6; }
12107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12108 $as_echo_n "checking whether to build static libraries... " >&6; }
12109 # Make sure either enable_shared or enable_static is yes.
12110 test yes = "$enable_shared" || enable_static=yes
12111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12112 $as_echo "$enable_static" >&6; }
12119 ac_cpp='$CPP $CPPFLAGS'
12120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12140 ac_config_commands="$ac_config_commands libtool"
12145 # Only expand once:
12149 # Checks for programs.
12151 ac_cpp='$CPP $CPPFLAGS'
12152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12155 if test -n "$ac_tool_prefix"; then
12156 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12157 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12159 $as_echo_n "checking for $ac_word... " >&6; }
12160 if ${ac_cv_prog_CC+:} false; then :
12161 $as_echo_n "(cached) " >&6
12163 if test -n "$CC"; then
12164 ac_cv_prog_CC="$CC" # Let the user override the test.
12166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12167 for as_dir in $PATH
12170 test -z "$as_dir" && as_dir=.
12171 for ac_exec_ext in '' $ac_executable_extensions; do
12172 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12173 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12184 if test -n "$CC"; then
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12186 $as_echo "$CC" >&6; }
12188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12189 $as_echo "no" >&6; }
12194 if test -z "$ac_cv_prog_CC"; then
12196 # Extract the first word of "gcc", so it can be a program name with args.
12197 set dummy gcc; ac_word=$2
12198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12199 $as_echo_n "checking for $ac_word... " >&6; }
12200 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12201 $as_echo_n "(cached) " >&6
12203 if test -n "$ac_ct_CC"; then
12204 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12207 for as_dir in $PATH
12210 test -z "$as_dir" && as_dir=.
12211 for ac_exec_ext in '' $ac_executable_extensions; do
12212 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12213 ac_cv_prog_ac_ct_CC="gcc"
12214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12223 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12224 if test -n "$ac_ct_CC"; then
12225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12226 $as_echo "$ac_ct_CC" >&6; }
12228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12229 $as_echo "no" >&6; }
12232 if test "x$ac_ct_CC" = x; then
12235 case $cross_compiling:$ac_tool_warned in
12237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12238 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12239 ac_tool_warned=yes ;;
12244 CC="$ac_cv_prog_CC"
12247 if test -z "$CC"; then
12248 if test -n "$ac_tool_prefix"; then
12249 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12250 set dummy ${ac_tool_prefix}cc; ac_word=$2
12251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12252 $as_echo_n "checking for $ac_word... " >&6; }
12253 if ${ac_cv_prog_CC+:} false; then :
12254 $as_echo_n "(cached) " >&6
12256 if test -n "$CC"; then
12257 ac_cv_prog_CC="$CC" # Let the user override the test.
12259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12260 for as_dir in $PATH
12263 test -z "$as_dir" && as_dir=.
12264 for ac_exec_ext in '' $ac_executable_extensions; do
12265 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12266 ac_cv_prog_CC="${ac_tool_prefix}cc"
12267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12277 if test -n "$CC"; then
12278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12279 $as_echo "$CC" >&6; }
12281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12282 $as_echo "no" >&6; }
12288 if test -z "$CC"; then
12289 # Extract the first word of "cc", so it can be a program name with args.
12290 set dummy cc; ac_word=$2
12291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12292 $as_echo_n "checking for $ac_word... " >&6; }
12293 if ${ac_cv_prog_CC+:} false; then :
12294 $as_echo_n "(cached) " >&6
12296 if test -n "$CC"; then
12297 ac_cv_prog_CC="$CC" # Let the user override the test.
12299 ac_prog_rejected=no
12300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12301 for as_dir in $PATH
12304 test -z "$as_dir" && as_dir=.
12305 for ac_exec_ext in '' $ac_executable_extensions; do
12306 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12307 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12308 ac_prog_rejected=yes
12312 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12319 if test $ac_prog_rejected = yes; then
12320 # We found a bogon in the path, so make sure we never use it.
12321 set dummy $ac_cv_prog_CC
12323 if test $@%:@ != 0; then
12324 # We chose a different compiler from the bogus one.
12325 # However, it has the same basename, so the bogon will be chosen
12326 # first if we set CC to just the basename; use the full file name.
12328 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12334 if test -n "$CC"; then
12335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12336 $as_echo "$CC" >&6; }
12338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12339 $as_echo "no" >&6; }
12344 if test -z "$CC"; then
12345 if test -n "$ac_tool_prefix"; then
12346 for ac_prog in cl.exe
12348 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12349 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12351 $as_echo_n "checking for $ac_word... " >&6; }
12352 if ${ac_cv_prog_CC+:} false; then :
12353 $as_echo_n "(cached) " >&6
12355 if test -n "$CC"; then
12356 ac_cv_prog_CC="$CC" # Let the user override the test.
12358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12359 for as_dir in $PATH
12362 test -z "$as_dir" && as_dir=.
12363 for ac_exec_ext in '' $ac_executable_extensions; do
12364 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12365 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12376 if test -n "$CC"; then
12377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12378 $as_echo "$CC" >&6; }
12380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12381 $as_echo "no" >&6; }
12385 test -n "$CC" && break
12388 if test -z "$CC"; then
12390 for ac_prog in cl.exe
12392 # Extract the first word of "$ac_prog", so it can be a program name with args.
12393 set dummy $ac_prog; ac_word=$2
12394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12395 $as_echo_n "checking for $ac_word... " >&6; }
12396 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12397 $as_echo_n "(cached) " >&6
12399 if test -n "$ac_ct_CC"; then
12400 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12403 for as_dir in $PATH
12406 test -z "$as_dir" && as_dir=.
12407 for ac_exec_ext in '' $ac_executable_extensions; do
12408 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12409 ac_cv_prog_ac_ct_CC="$ac_prog"
12410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12419 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12420 if test -n "$ac_ct_CC"; then
12421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12422 $as_echo "$ac_ct_CC" >&6; }
12424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12425 $as_echo "no" >&6; }
12429 test -n "$ac_ct_CC" && break
12432 if test "x$ac_ct_CC" = x; then
12435 case $cross_compiling:$ac_tool_warned in
12437 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12438 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12439 ac_tool_warned=yes ;;
12448 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12449 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12450 as_fn_error $? "no acceptable C compiler found in \$PATH
12451 See \`config.log' for more details" "$LINENO" 5; }
12453 # Provide some information about the compiler.
12454 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12457 for ac_option in --version -v -V -qversion; do
12458 { { ac_try="$ac_compiler $ac_option >&5"
12459 case "(($ac_try" in
12460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12461 *) ac_try_echo=$ac_try;;
12463 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12464 $as_echo "$ac_try_echo"; } >&5
12465 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12467 if test -s conftest.err; then
12469 ... rest of stderr output deleted ...
12470 10q' conftest.err >conftest.er1
12471 cat conftest.er1 >&5
12473 rm -f conftest.er1 conftest.err
12474 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12475 test $ac_status = 0; }
12478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12479 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12480 if ${ac_cv_c_compiler_gnu+:} false; then :
12481 $as_echo_n "(cached) " >&6
12483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12484 /* end confdefs.h. */
12497 if ac_fn_c_try_compile "$LINENO"; then :
12498 ac_compiler_gnu=yes
12502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12503 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12507 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12508 if test $ac_compiler_gnu = yes; then
12513 ac_test_CFLAGS=${CFLAGS+set}
12514 ac_save_CFLAGS=$CFLAGS
12515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12516 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12517 if ${ac_cv_prog_cc_g+:} false; then :
12518 $as_echo_n "(cached) " >&6
12520 ac_save_c_werror_flag=$ac_c_werror_flag
12521 ac_c_werror_flag=yes
12524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12525 /* end confdefs.h. */
12535 if ac_fn_c_try_compile "$LINENO"; then :
12536 ac_cv_prog_cc_g=yes
12539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12540 /* end confdefs.h. */
12550 if ac_fn_c_try_compile "$LINENO"; then :
12553 ac_c_werror_flag=$ac_save_c_werror_flag
12555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12556 /* end confdefs.h. */
12566 if ac_fn_c_try_compile "$LINENO"; then :
12567 ac_cv_prog_cc_g=yes
12569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12574 ac_c_werror_flag=$ac_save_c_werror_flag
12576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12577 $as_echo "$ac_cv_prog_cc_g" >&6; }
12578 if test "$ac_test_CFLAGS" = set; then
12579 CFLAGS=$ac_save_CFLAGS
12580 elif test $ac_cv_prog_cc_g = yes; then
12581 if test "$GCC" = yes; then
12587 if test "$GCC" = yes; then
12593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12594 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12595 if ${ac_cv_prog_cc_c89+:} false; then :
12596 $as_echo_n "(cached) " >&6
12598 ac_cv_prog_cc_c89=no
12600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12601 /* end confdefs.h. */
12602 #include <stdarg.h>
12605 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12606 struct buf { int x; };
12607 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12608 static char *e (p, i)
12614 static char *f (char * (*g) (char **, int), char **p, ...)
12619 s = g (p, va_arg (v,int));
12624 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12625 function prototypes and stuff, but not '\xHH' hex character constants.
12626 These don't provoke an error unfortunately, instead are silently treated
12627 as 'x'. The following induces an error, until -std is added to get
12628 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12629 array size at least. It's necessary to write '\x00'==0 to get something
12630 that's true only with -std. */
12631 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12633 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12634 inside strings and character constants. */
12636 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12638 int test (int i, double x);
12639 struct s1 {int (*f) (int a);};
12640 struct s2 {int (*f) (double a);};
12641 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12647 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12652 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12653 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12655 CC="$ac_save_CC $ac_arg"
12656 if ac_fn_c_try_compile "$LINENO"; then :
12657 ac_cv_prog_cc_c89=$ac_arg
12659 rm -f core conftest.err conftest.$ac_objext
12660 test "x$ac_cv_prog_cc_c89" != "xno" && break
12662 rm -f conftest.$ac_ext
12667 case "x$ac_cv_prog_cc_c89" in
12669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12670 $as_echo "none needed" >&6; } ;;
12672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12673 $as_echo "unsupported" >&6; } ;;
12675 CC="$CC $ac_cv_prog_cc_c89"
12676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12677 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12679 if test "x$ac_cv_prog_cc_c89" != xno; then :
12684 ac_cpp='$CPP $CPPFLAGS'
12685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12690 ac_cpp='$CPP $CPPFLAGS'
12691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
12695 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
12696 if ${am_cv_prog_cc_c_o+:} false; then :
12697 $as_echo_n "(cached) " >&6
12699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12700 /* end confdefs.h. */
12710 # Make sure it works both with $CC and with simple cc.
12711 # Following AC_PROG_CC_C_O, we do the test twice because some
12712 # compilers refuse to overwrite an existing .o file with -o,
12713 # though they will create one.
12714 am_cv_prog_cc_c_o=yes
12715 for am_i in 1 2; do
12716 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
12717 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
12719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12720 (exit $ac_status); } \
12721 && test -f conftest2.$ac_objext; then
12724 am_cv_prog_cc_c_o=no
12728 rm -f core conftest*
12731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
12732 $as_echo "$am_cv_prog_cc_c_o" >&6; }
12733 if test "$am_cv_prog_cc_c_o" != yes; then
12734 # Losing compiler, so override with the script.
12735 # FIXME: It is wrong to rewrite CC.
12736 # But if we don't then we get into trouble of one sort or another.
12737 # A longer-term fix would be to have automake use am__CC in this case,
12738 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12739 CC="$am_aux_dir/compile $CC"
12742 ac_cpp='$CPP $CPPFLAGS'
12743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12748 depcc="$CC" am_compiler_list=
12750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12751 $as_echo_n "checking dependency style of $depcc... " >&6; }
12752 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12753 $as_echo_n "(cached) " >&6
12755 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12756 # We make a subdir and do the tests there. Otherwise we can end up
12757 # making bogus files that we don't know about and never remove. For
12758 # instance it was reported that on HP-UX the gcc test will end up
12759 # making a dummy file named 'D' -- because '-MD' means "put the output
12761 rm -rf conftest.dir
12763 # Copy depcomp to subdir because otherwise we won't find it if we're
12764 # using a relative directory.
12765 cp "$am_depcomp" conftest.dir
12767 # We will build objects and dependencies in a subdirectory because
12768 # it helps to detect inapplicable dependency modes. For instance
12769 # both Tru64's cc and ICC support -MD to output dependencies as a
12770 # side effect of compilation, but ICC will put the dependencies in
12771 # the current directory while Tru64 will put them in the object
12775 am_cv_CC_dependencies_compiler_type=none
12776 if test "$am_compiler_list" = ""; then
12777 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12779 am__universal=false
12780 case " $depcc " in #(
12781 *\ -arch\ *\ -arch\ *) am__universal=true ;;
12784 for depmode in $am_compiler_list; do
12785 # Setup a source with many dependencies, because some compilers
12786 # like to wrap large dependency lists on column 80 (with \), and
12787 # we should not choose a depcomp mode which is confused by this.
12789 # We need to recreate these files for each test, as the compiler may
12790 # overwrite some of them when testing with obscure command lines.
12791 # This happens at least with the AIX C compiler.
12793 for i in 1 2 3 4 5 6; do
12794 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12795 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
12796 # Solaris 10 /bin/sh.
12797 echo '/* dummy */' > sub/conftst$i.h
12799 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12801 # We check with '-c' and '-o' for the sake of the "dashmstdout"
12802 # mode. It turns out that the SunPro C++ compiler does not properly
12803 # handle '-M -o', and we need to detect this. Also, some Intel
12804 # versions had trouble with output in subdirs.
12805 am__obj=sub/conftest.${OBJEXT-o}
12806 am__minus_obj="-o $am__obj"
12809 # This depmode causes a compiler race in universal mode.
12810 test "$am__universal" = false || continue
12813 # After this tag, mechanisms are not by side-effect, so they'll
12814 # only be used when explicitly requested.
12815 if test "x$enable_dependency_tracking" = xyes; then
12821 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12822 # This compiler won't grok '-c -o', but also, the minuso test has
12823 # not run yet. These depmodes are late enough in the game, and
12824 # so weak that their functioning should not be impacted.
12825 am__obj=conftest.${OBJEXT-o}
12830 if depmode=$depmode \
12831 source=sub/conftest.c object=$am__obj \
12832 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12833 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12834 >/dev/null 2>conftest.err &&
12835 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12836 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12837 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12838 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12839 # icc doesn't choke on unknown options, it will just issue warnings
12840 # or remarks (even with -Werror). So we grep stderr for any message
12841 # that says an option was ignored or not supported.
12842 # When given -MP, icc 7.0 and 7.1 complain thusly:
12843 # icc: Command line warning: ignoring option '-M'; no argument required
12844 # The diagnosis changed in icc 8.0:
12845 # icc: Command line remark: option '-MP' not supported
12846 if (grep 'ignoring option' conftest.err ||
12847 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12848 am_cv_CC_dependencies_compiler_type=$depmode
12855 rm -rf conftest.dir
12857 am_cv_CC_dependencies_compiler_type=none
12861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12862 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12863 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12866 test "x$enable_dependency_tracking" != xno \
12867 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12868 am__fastdepCC_TRUE=
12869 am__fastdepCC_FALSE='#'
12871 am__fastdepCC_TRUE='#'
12872 am__fastdepCC_FALSE=
12877 ac_cpp='$CXXCPP $CPPFLAGS'
12878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12881 if test -z "$CXX"; then
12882 if test -n "$CCC"; then
12885 if test -n "$ac_tool_prefix"; then
12886 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
12888 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12889 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12891 $as_echo_n "checking for $ac_word... " >&6; }
12892 if ${ac_cv_prog_CXX+:} false; then :
12893 $as_echo_n "(cached) " >&6
12895 if test -n "$CXX"; then
12896 ac_cv_prog_CXX="$CXX" # Let the user override the test.
12898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12899 for as_dir in $PATH
12902 test -z "$as_dir" && as_dir=.
12903 for ac_exec_ext in '' $ac_executable_extensions; do
12904 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12905 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
12906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12915 CXX=$ac_cv_prog_CXX
12916 if test -n "$CXX"; then
12917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
12918 $as_echo "$CXX" >&6; }
12920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12921 $as_echo "no" >&6; }
12925 test -n "$CXX" && break
12928 if test -z "$CXX"; then
12930 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
12932 # Extract the first word of "$ac_prog", so it can be a program name with args.
12933 set dummy $ac_prog; ac_word=$2
12934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12935 $as_echo_n "checking for $ac_word... " >&6; }
12936 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
12937 $as_echo_n "(cached) " >&6
12939 if test -n "$ac_ct_CXX"; then
12940 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
12942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12943 for as_dir in $PATH
12946 test -z "$as_dir" && as_dir=.
12947 for ac_exec_ext in '' $ac_executable_extensions; do
12948 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12949 ac_cv_prog_ac_ct_CXX="$ac_prog"
12950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12959 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
12960 if test -n "$ac_ct_CXX"; then
12961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
12962 $as_echo "$ac_ct_CXX" >&6; }
12964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12965 $as_echo "no" >&6; }
12969 test -n "$ac_ct_CXX" && break
12972 if test "x$ac_ct_CXX" = x; then
12975 case $cross_compiling:$ac_tool_warned in
12977 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12978 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12979 ac_tool_warned=yes ;;
12987 # Provide some information about the compiler.
12988 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
12991 for ac_option in --version -v -V -qversion; do
12992 { { ac_try="$ac_compiler $ac_option >&5"
12993 case "(($ac_try" in
12994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12995 *) ac_try_echo=$ac_try;;
12997 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12998 $as_echo "$ac_try_echo"; } >&5
12999 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13001 if test -s conftest.err; then
13003 ... rest of stderr output deleted ...
13004 10q' conftest.err >conftest.er1
13005 cat conftest.er1 >&5
13007 rm -f conftest.er1 conftest.err
13008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13009 test $ac_status = 0; }
13012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
13013 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
13014 if ${ac_cv_cxx_compiler_gnu+:} false; then :
13015 $as_echo_n "(cached) " >&6
13017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13018 /* end confdefs.h. */
13031 if ac_fn_cxx_try_compile "$LINENO"; then :
13032 ac_compiler_gnu=yes
13036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13037 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
13041 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
13042 if test $ac_compiler_gnu = yes; then
13047 ac_test_CXXFLAGS=${CXXFLAGS+set}
13048 ac_save_CXXFLAGS=$CXXFLAGS
13049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
13050 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
13051 if ${ac_cv_prog_cxx_g+:} false; then :
13052 $as_echo_n "(cached) " >&6
13054 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
13055 ac_cxx_werror_flag=yes
13056 ac_cv_prog_cxx_g=no
13058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13059 /* end confdefs.h. */
13069 if ac_fn_cxx_try_compile "$LINENO"; then :
13070 ac_cv_prog_cxx_g=yes
13073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13074 /* end confdefs.h. */
13084 if ac_fn_cxx_try_compile "$LINENO"; then :
13087 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13090 /* end confdefs.h. */
13100 if ac_fn_cxx_try_compile "$LINENO"; then :
13101 ac_cv_prog_cxx_g=yes
13103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13108 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
13111 $as_echo "$ac_cv_prog_cxx_g" >&6; }
13112 if test "$ac_test_CXXFLAGS" = set; then
13113 CXXFLAGS=$ac_save_CXXFLAGS
13114 elif test $ac_cv_prog_cxx_g = yes; then
13115 if test "$GXX" = yes; then
13121 if test "$GXX" = yes; then
13128 ac_cpp='$CPP $CPPFLAGS'
13129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13133 depcc="$CXX" am_compiler_list=
13135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13136 $as_echo_n "checking dependency style of $depcc... " >&6; }
13137 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
13138 $as_echo_n "(cached) " >&6
13140 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13141 # We make a subdir and do the tests there. Otherwise we can end up
13142 # making bogus files that we don't know about and never remove. For
13143 # instance it was reported that on HP-UX the gcc test will end up
13144 # making a dummy file named 'D' -- because '-MD' means "put the output
13146 rm -rf conftest.dir
13148 # Copy depcomp to subdir because otherwise we won't find it if we're
13149 # using a relative directory.
13150 cp "$am_depcomp" conftest.dir
13152 # We will build objects and dependencies in a subdirectory because
13153 # it helps to detect inapplicable dependency modes. For instance
13154 # both Tru64's cc and ICC support -MD to output dependencies as a
13155 # side effect of compilation, but ICC will put the dependencies in
13156 # the current directory while Tru64 will put them in the object
13160 am_cv_CXX_dependencies_compiler_type=none
13161 if test "$am_compiler_list" = ""; then
13162 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13164 am__universal=false
13165 case " $depcc " in #(
13166 *\ -arch\ *\ -arch\ *) am__universal=true ;;
13169 for depmode in $am_compiler_list; do
13170 # Setup a source with many dependencies, because some compilers
13171 # like to wrap large dependency lists on column 80 (with \), and
13172 # we should not choose a depcomp mode which is confused by this.
13174 # We need to recreate these files for each test, as the compiler may
13175 # overwrite some of them when testing with obscure command lines.
13176 # This happens at least with the AIX C compiler.
13178 for i in 1 2 3 4 5 6; do
13179 echo '#include "conftst'$i'.h"' >> sub/conftest.c
13180 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
13181 # Solaris 10 /bin/sh.
13182 echo '/* dummy */' > sub/conftst$i.h
13184 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13186 # We check with '-c' and '-o' for the sake of the "dashmstdout"
13187 # mode. It turns out that the SunPro C++ compiler does not properly
13188 # handle '-M -o', and we need to detect this. Also, some Intel
13189 # versions had trouble with output in subdirs.
13190 am__obj=sub/conftest.${OBJEXT-o}
13191 am__minus_obj="-o $am__obj"
13194 # This depmode causes a compiler race in universal mode.
13195 test "$am__universal" = false || continue
13198 # After this tag, mechanisms are not by side-effect, so they'll
13199 # only be used when explicitly requested.
13200 if test "x$enable_dependency_tracking" = xyes; then
13206 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
13207 # This compiler won't grok '-c -o', but also, the minuso test has
13208 # not run yet. These depmodes are late enough in the game, and
13209 # so weak that their functioning should not be impacted.
13210 am__obj=conftest.${OBJEXT-o}
13215 if depmode=$depmode \
13216 source=sub/conftest.c object=$am__obj \
13217 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13218 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13219 >/dev/null 2>conftest.err &&
13220 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13221 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13222 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13223 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13224 # icc doesn't choke on unknown options, it will just issue warnings
13225 # or remarks (even with -Werror). So we grep stderr for any message
13226 # that says an option was ignored or not supported.
13227 # When given -MP, icc 7.0 and 7.1 complain thusly:
13228 # icc: Command line warning: ignoring option '-M'; no argument required
13229 # The diagnosis changed in icc 8.0:
13230 # icc: Command line remark: option '-MP' not supported
13231 if (grep 'ignoring option' conftest.err ||
13232 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13233 am_cv_CXX_dependencies_compiler_type=$depmode
13240 rm -rf conftest.dir
13242 am_cv_CXX_dependencies_compiler_type=none
13246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
13247 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
13248 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
13251 test "x$enable_dependency_tracking" != xno \
13252 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
13253 am__fastdepCXX_TRUE=
13254 am__fastdepCXX_FALSE='#'
13256 am__fastdepCXX_TRUE='#'
13257 am__fastdepCXX_FALSE=
13263 func_stripname_cnf ()
13266 .*) func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%\\\\@S|@2\$%%"`;;
13267 *) func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%@S|@2\$%%"`;;
13269 } # func_stripname_cnf
13271 if test -n "$CXX" && ( test no != "$CXX" &&
13272 ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
13273 (test g++ != "$CXX"))); then
13275 ac_cpp='$CXXCPP $CPPFLAGS'
13276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13280 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13281 if test -z "$CXXCPP"; then
13282 if ${ac_cv_prog_CXXCPP+:} false; then :
13283 $as_echo_n "(cached) " >&6
13285 # Double quotes because CXXCPP needs to be expanded
13286 for CXXCPP in "$CXX -E" "/lib/cpp"
13288 ac_preproc_ok=false
13289 for ac_cxx_preproc_warn_flag in '' yes
13291 # Use a header file that comes with gcc, so configuring glibc
13292 # with a fresh cross-compiler works.
13293 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13294 # <limits.h> exists even on freestanding compilers.
13295 # On the NeXT, cc -E runs the code through the compiler's parser,
13296 # not just through cpp. "Syntax error" is here to catch this case.
13297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13298 /* end confdefs.h. */
13300 @%:@ include <limits.h>
13302 @%:@ include <assert.h>
13306 if ac_fn_cxx_try_cpp "$LINENO"; then :
13309 # Broken: fails on valid input.
13312 rm -f conftest.err conftest.i conftest.$ac_ext
13314 # OK, works on sane cases. Now check whether nonexistent headers
13315 # can be detected and how.
13316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13317 /* end confdefs.h. */
13318 @%:@include <ac_nonexistent.h>
13320 if ac_fn_cxx_try_cpp "$LINENO"; then :
13321 # Broken: success on invalid input.
13324 # Passes both tests.
13328 rm -f conftest.err conftest.i conftest.$ac_ext
13331 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13332 rm -f conftest.i conftest.err conftest.$ac_ext
13333 if $ac_preproc_ok; then :
13338 ac_cv_prog_CXXCPP=$CXXCPP
13341 CXXCPP=$ac_cv_prog_CXXCPP
13343 ac_cv_prog_CXXCPP=$CXXCPP
13345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13346 $as_echo "$CXXCPP" >&6; }
13347 ac_preproc_ok=false
13348 for ac_cxx_preproc_warn_flag in '' yes
13350 # Use a header file that comes with gcc, so configuring glibc
13351 # with a fresh cross-compiler works.
13352 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13353 # <limits.h> exists even on freestanding compilers.
13354 # On the NeXT, cc -E runs the code through the compiler's parser,
13355 # not just through cpp. "Syntax error" is here to catch this case.
13356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13357 /* end confdefs.h. */
13359 @%:@ include <limits.h>
13361 @%:@ include <assert.h>
13365 if ac_fn_cxx_try_cpp "$LINENO"; then :
13368 # Broken: fails on valid input.
13371 rm -f conftest.err conftest.i conftest.$ac_ext
13373 # OK, works on sane cases. Now check whether nonexistent headers
13374 # can be detected and how.
13375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13376 /* end confdefs.h. */
13377 @%:@include <ac_nonexistent.h>
13379 if ac_fn_cxx_try_cpp "$LINENO"; then :
13380 # Broken: success on invalid input.
13383 # Passes both tests.
13387 rm -f conftest.err conftest.i conftest.$ac_ext
13390 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13391 rm -f conftest.i conftest.err conftest.$ac_ext
13392 if $ac_preproc_ok; then :
13395 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13396 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13397 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
13398 See \`config.log' for more details" "$LINENO" 5; }
13402 ac_cpp='$CPP $CPPFLAGS'
13403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13408 _lt_caught_CXX_error=yes
13412 ac_cpp='$CXXCPP $CPPFLAGS'
13413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13417 archive_cmds_need_lc_CXX=no
13418 allow_undefined_flag_CXX=
13419 always_export_symbols_CXX=no
13420 archive_expsym_cmds_CXX=
13421 compiler_needs_object_CXX=no
13422 export_dynamic_flag_spec_CXX=
13423 hardcode_direct_CXX=no
13424 hardcode_direct_absolute_CXX=no
13425 hardcode_libdir_flag_spec_CXX=
13426 hardcode_libdir_separator_CXX=
13427 hardcode_minus_L_CXX=no
13428 hardcode_shlibpath_var_CXX=unsupported
13429 hardcode_automatic_CXX=no
13430 inherit_rpath_CXX=no
13432 module_expsym_cmds_CXX=
13433 link_all_deplibs_CXX=unknown
13434 old_archive_cmds_CXX=$old_archive_cmds
13435 reload_flag_CXX=$reload_flag
13436 reload_cmds_CXX=$reload_cmds
13437 no_undefined_flag_CXX=
13438 whole_archive_flag_spec_CXX=
13439 enable_shared_with_static_runtimes_CXX=no
13441 # Source file extension for C++ test sources.
13444 # Object file extension for compiled C++ test sources.
13448 # No sense in running all these tests if we already determined that
13449 # the CXX compiler isn't working. Some variables (like enable_shared)
13450 # are currently assumed to apply to all compilers on this platform,
13451 # and will be corrupted by setting them based on a non-working compiler.
13452 if test yes != "$_lt_caught_CXX_error"; then
13453 # Code to be used in simple compile tests
13454 lt_simple_compile_test_code="int some_variable = 0;"
13456 # Code to be used in simple link tests
13457 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
13459 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13466 # If no C compiler was specified, use CC.
13469 # If no C compiler flags were specified, use CFLAGS.
13470 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13472 # Allow CC to be a program name with arguments.
13476 # save warnings/boilerplate of simple test code
13477 ac_outfile=conftest.$ac_objext
13478 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13479 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13480 _lt_compiler_boilerplate=`cat conftest.err`
13483 ac_outfile=conftest.$ac_objext
13484 echo "$lt_simple_link_test_code" >conftest.$ac_ext
13485 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13486 _lt_linker_boilerplate=`cat conftest.err`
13490 # Allow CC to be a program name with arguments.
13492 lt_save_CFLAGS=$CFLAGS
13496 lt_save_with_gnu_ld=$with_gnu_ld
13497 lt_save_path_LD=$lt_cv_path_LD
13498 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13499 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13501 $as_unset lt_cv_prog_gnu_ld
13503 if test -n "${lt_cv_path_LDCXX+set}"; then
13504 lt_cv_path_LD=$lt_cv_path_LDCXX
13506 $as_unset lt_cv_path_LD
13508 test -z "${LDCXX+set}" || LD=$LDCXX
13513 func_cc_basename $compiler
13514 cc_basename=$func_cc_basename_result
13517 if test -n "$compiler"; then
13518 # We don't want -fno-exception when compiling C++ code, so set the
13519 # no_builtin_flag separately
13520 if test yes = "$GXX"; then
13521 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13523 lt_prog_compiler_no_builtin_flag_CXX=
13526 if test yes = "$GXX"; then
13527 # Set up default GNU C++ configuration
13531 @%:@ Check whether --with-gnu-ld was given.
13532 if test "${with_gnu_ld+set}" = set; then :
13533 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
13539 if test yes = "$GCC"; then
13540 # Check if gcc -print-prog-name=ld gives a path.
13541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13542 $as_echo_n "checking for ld used by $CC... " >&6; }
13545 # gcc leaves a trailing carriage return, which upsets mingw
13546 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13548 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13551 # Accept absolute paths.
13553 re_direlt='/[^/][^/]*/\.\./'
13554 # Canonicalize the pathname of ld
13555 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13556 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
13557 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13559 test -z "$LD" && LD=$ac_prog
13562 # If it fails, then pretend we aren't using GCC.
13566 # If it is relative, then search for the first ld in PATH.
13567 with_gnu_ld=unknown
13570 elif test yes = "$with_gnu_ld"; then
13571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13572 $as_echo_n "checking for GNU ld... " >&6; }
13574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13575 $as_echo_n "checking for non-GNU ld... " >&6; }
13577 if ${lt_cv_path_LD+:} false; then :
13578 $as_echo_n "(cached) " >&6
13580 if test -z "$LD"; then
13581 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
13582 for ac_dir in $PATH; do
13584 test -z "$ac_dir" && ac_dir=.
13585 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13586 lt_cv_path_LD=$ac_dir/$ac_prog
13587 # Check to see if the program is GNU ld. I'd rather use --version,
13588 # but apparently some variants of GNU ld only accept -v.
13589 # Break only if it was the GNU/non-GNU ld that we prefer.
13590 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13591 *GNU* | *'with BFD'*)
13592 test no != "$with_gnu_ld" && break
13595 test yes != "$with_gnu_ld" && break
13602 lt_cv_path_LD=$LD # Let the user override the test with a path.
13607 if test -n "$LD"; then
13608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13609 $as_echo "$LD" >&6; }
13611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13612 $as_echo "no" >&6; }
13614 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13616 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13617 if ${lt_cv_prog_gnu_ld+:} false; then :
13618 $as_echo_n "(cached) " >&6
13620 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13621 case `$LD -v 2>&1 </dev/null` in
13622 *GNU* | *'with BFD'*)
13623 lt_cv_prog_gnu_ld=yes
13626 lt_cv_prog_gnu_ld=no
13630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13631 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13632 with_gnu_ld=$lt_cv_prog_gnu_ld
13640 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13641 # archiving commands below assume that GNU ld is being used.
13642 if test yes = "$with_gnu_ld"; then
13643 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
13644 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'
13646 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
13647 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
13649 # If archive_cmds runs LD, not CC, wlarc should be empty
13650 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13651 # investigate it a little bit more. (MM)
13654 # ancient GNU ld didn't support --whole-archive et. al.
13655 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13656 $GREP 'no-whole-archive' > /dev/null; then
13657 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
13659 whole_archive_flag_spec_CXX=
13665 # A generic and very simple default shared library creation
13666 # command for GNU C++ for the case where it uses the native
13667 # linker, instead of GNU ld. If possible, this setting should
13668 # overridden to take advantage of the native linker features on
13669 # the platform it is being used on.
13670 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13673 # Commands to make compiler produce verbose output that lists
13674 # what "hidden" libraries, object files and flags are used when
13675 # linking a shared library.
13676 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
13684 # PORTME: fill in a description of your system's C++ link characteristics
13685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13686 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13690 # FIXME: insert proper C++ library support
13694 if test ia64 = "$host_cpu"; then
13695 # On IA64, the linker does run time linking by default, so we don't
13696 # have to do anything special.
13697 aix_use_runtimelinking=no
13698 exp_sym_flag='-Bexport'
13701 aix_use_runtimelinking=no
13703 # Test if we are trying to use run time linking or normal
13704 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13705 # have runtime linking enabled, and use it for executables.
13706 # For shared libraries, we enable/disable runtime linking
13707 # depending on the kind of the shared library created -
13708 # when "with_aix_soname,aix_use_runtimelinking" is:
13709 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
13710 # "aix,yes" lib.so shared, rtl:yes, for executables
13711 # lib.a static archive
13712 # "both,no" lib.so.V(shr.o) shared, rtl:yes
13713 # lib.a(lib.so.V) shared, rtl:no, for executables
13714 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
13715 # lib.a(lib.so.V) shared, rtl:no
13716 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
13717 # lib.a static archive
13718 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13719 for ld_flag in $LDFLAGS; do
13722 aix_use_runtimelinking=yes
13727 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
13728 # With aix-soname=svr4, we create the lib.so.V shared archives only,
13729 # so we don't have lib.a shared libs to link our executables.
13730 # We have to force runtime linking in this case.
13731 aix_use_runtimelinking=yes
13732 LDFLAGS="$LDFLAGS -Wl,-brtl"
13737 exp_sym_flag='-bexport'
13738 no_entry_flag='-bnoentry'
13741 # When large executables or shared objects are built, AIX ld can
13742 # have problems creating the table of contents. If linking a library
13743 # or program results in "error TOC overflow" add -mminimal-toc to
13744 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13745 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13747 archive_cmds_CXX=''
13748 hardcode_direct_CXX=yes
13749 hardcode_direct_absolute_CXX=yes
13750 hardcode_libdir_separator_CXX=':'
13751 link_all_deplibs_CXX=yes
13752 file_list_spec_CXX='$wl-f,'
13753 case $with_aix_soname,$aix_use_runtimelinking in
13754 aix,*) ;; # no import file
13755 svr4,* | *,yes) # use import file
13756 # The Import File defines what to hardcode.
13757 hardcode_direct_CXX=no
13758 hardcode_direct_absolute_CXX=no
13762 if test yes = "$GXX"; then
13763 case $host_os in aix4.[012]|aix4.[012].*)
13764 # We only want to do this on AIX 4.2 and lower, the check
13765 # below for broken collect2 doesn't work under 4.3+
13766 collect2name=`$CC -print-prog-name=collect2`
13767 if test -f "$collect2name" &&
13768 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13770 # We have reworked collect2
13773 # We have old collect2
13774 hardcode_direct_CXX=unsupported
13775 # It fails to find uninstalled libraries when the uninstalled
13776 # path is not listed in the libpath. Setting hardcode_minus_L
13777 # to unsupported forces relinking
13778 hardcode_minus_L_CXX=yes
13779 hardcode_libdir_flag_spec_CXX='-L$libdir'
13780 hardcode_libdir_separator_CXX=
13783 shared_flag='-shared'
13784 if test yes = "$aix_use_runtimelinking"; then
13785 shared_flag=$shared_flag' $wl-G'
13787 # Need to ensure runtime linking is disabled for the traditional
13788 # shared library, or the linker may eventually find shared libraries
13789 # /with/ Import File - we do not want to mix them.
13790 shared_flag_aix='-shared'
13791 shared_flag_svr4='-shared $wl-G'
13794 if test ia64 = "$host_cpu"; then
13795 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13796 # chokes on -Wl,-G. The following line is correct:
13799 if test yes = "$aix_use_runtimelinking"; then
13800 shared_flag='$wl-G'
13802 shared_flag='$wl-bM:SRE'
13804 shared_flag_aix='$wl-bM:SRE'
13805 shared_flag_svr4='$wl-G'
13809 export_dynamic_flag_spec_CXX='$wl-bexpall'
13810 # It seems that -bexpall does not export symbols beginning with
13811 # underscore (_), so it is better to generate a list of symbols to
13813 always_export_symbols_CXX=yes
13814 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
13815 # Warning - without using the other runtime loading flags (-brtl),
13816 # -berok will link without error, but may produce a broken library.
13817 # The "-G" linker flag allows undefined symbols.
13818 no_undefined_flag_CXX='-bernotok'
13819 # Determine the default libpath from the value encoded in an empty
13821 if test set = "${lt_cv_aix_libpath+set}"; then
13822 aix_libpath=$lt_cv_aix_libpath
13824 if ${lt_cv_aix_libpath__CXX+:} false; then :
13825 $as_echo_n "(cached) " >&6
13827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13828 /* end confdefs.h. */
13838 if ac_fn_cxx_try_link "$LINENO"; then :
13840 lt_aix_libpath_sed='
13841 /Import File Strings/,/^$/ {
13843 s/^0 *\([^ ]*\) *$/\1/
13847 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13848 # Check for a 64-bit object if we didn't find anything.
13849 if test -z "$lt_cv_aix_libpath__CXX"; then
13850 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13853 rm -f core conftest.err conftest.$ac_objext \
13854 conftest$ac_exeext conftest.$ac_ext
13855 if test -z "$lt_cv_aix_libpath__CXX"; then
13856 lt_cv_aix_libpath__CXX=/usr/lib:/lib
13861 aix_libpath=$lt_cv_aix_libpath__CXX
13864 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
13866 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
13868 if test ia64 = "$host_cpu"; then
13869 hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
13870 allow_undefined_flag_CXX="-z nodefs"
13871 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"
13873 # Determine the default libpath from the value encoded in an
13874 # empty executable.
13875 if test set = "${lt_cv_aix_libpath+set}"; then
13876 aix_libpath=$lt_cv_aix_libpath
13878 if ${lt_cv_aix_libpath__CXX+:} false; then :
13879 $as_echo_n "(cached) " >&6
13881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13882 /* end confdefs.h. */
13892 if ac_fn_cxx_try_link "$LINENO"; then :
13894 lt_aix_libpath_sed='
13895 /Import File Strings/,/^$/ {
13897 s/^0 *\([^ ]*\) *$/\1/
13901 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13902 # Check for a 64-bit object if we didn't find anything.
13903 if test -z "$lt_cv_aix_libpath__CXX"; then
13904 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13907 rm -f core conftest.err conftest.$ac_objext \
13908 conftest$ac_exeext conftest.$ac_ext
13909 if test -z "$lt_cv_aix_libpath__CXX"; then
13910 lt_cv_aix_libpath__CXX=/usr/lib:/lib
13915 aix_libpath=$lt_cv_aix_libpath__CXX
13918 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
13919 # Warning - without using the other run time loading flags,
13920 # -berok will link without error, but may produce a broken library.
13921 no_undefined_flag_CXX=' $wl-bernotok'
13922 allow_undefined_flag_CXX=' $wl-berok'
13923 if test yes = "$with_gnu_ld"; then
13924 # We only use this code for GNU lds that support --whole-archive.
13925 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
13927 # Exported symbols can be pulled into shared objects from archives
13928 whole_archive_flag_spec_CXX='$convenience'
13930 archive_cmds_need_lc_CXX=yes
13931 archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
13932 # -brtl affects multiple linker settings, -berok does not and is overridden later
13933 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
13934 if test svr4 != "$with_aix_soname"; then
13935 # This is similar to how AIX traditionally builds its shared
13936 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
13937 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'
13939 if test aix != "$with_aix_soname"; then
13940 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'
13942 # used by -dlpreopen to get the symbols
13943 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
13945 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
13951 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13952 allow_undefined_flag_CXX=unsupported
13953 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13954 # support --undefined. This deserves some investigation. FIXME
13955 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13962 case $cc_basename in
13964 # FIXME: insert proper C++ library support
13970 cygwin* | mingw* | pw32* | cegcc*)
13971 case $GXX,$cc_basename in
13974 # hardcode_libdir_flag_spec is actually meaningless, as there is
13975 # no search path for DLLs.
13976 hardcode_libdir_flag_spec_CXX=' '
13977 allow_undefined_flag_CXX=unsupported
13978 always_export_symbols_CXX=yes
13979 file_list_spec_CXX='@'
13980 # Tell ltmain to make .lib files, not .a files.
13982 # Tell ltmain to make .dll files, not .so files.
13984 # FIXME: Setting linknames here is a bad hack.
13985 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
13986 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
13987 cp "$export_symbols" "$output_objdir/$soname.def";
13988 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
13990 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
13992 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13994 # The linker will not automatically build a static lib if we build a DLL.
13995 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13996 enable_shared_with_static_runtimes_CXX=yes
13998 old_postinstall_cmds_CXX='chmod 644 $oldlib'
13999 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
14000 lt_tool_outputfile="@TOOL_OUTPUT@"~
14001 case $lt_outputfile in
14004 lt_outputfile=$lt_outputfile.exe
14005 lt_tool_outputfile=$lt_tool_outputfile.exe
14008 func_to_tool_file "$lt_outputfile"~
14009 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
14010 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
14011 $RM "$lt_outputfile.manifest";
14016 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14017 # as there is no search path for DLLs.
14018 hardcode_libdir_flag_spec_CXX='-L$libdir'
14019 export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
14020 allow_undefined_flag_CXX=unsupported
14021 always_export_symbols_CXX=no
14022 enable_shared_with_static_runtimes_CXX=yes
14024 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14025 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'
14026 # If the export-symbols file already is a .def file, use it as
14027 # is; otherwise, prepend EXPORTS...
14028 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
14029 cp $export_symbols $output_objdir/$soname.def;
14031 echo EXPORTS > $output_objdir/$soname.def;
14032 cat $export_symbols >> $output_objdir/$soname.def;
14034 $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'
14041 darwin* | rhapsody*)
14044 archive_cmds_need_lc_CXX=no
14045 hardcode_direct_CXX=no
14046 hardcode_automatic_CXX=yes
14047 hardcode_shlibpath_var_CXX=unsupported
14048 if test yes = "$lt_cv_ld_force_load"; then
14049 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\"`'
14052 whole_archive_flag_spec_CXX=''
14054 link_all_deplibs_CXX=yes
14055 allow_undefined_flag_CXX=$_lt_dar_allow_undefined
14056 case $cc_basename in
14057 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
14058 *) _lt_dar_can_shared=$GCC ;;
14060 if test yes = "$_lt_dar_can_shared"; then
14061 output_verbose_link_cmd=func_echo_all
14062 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"
14063 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
14064 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"
14065 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"
14066 if test yes != "$lt_cv_apple_cc_single_mod"; then
14067 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"
14068 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"
14078 hardcode_libdir_flag_spec_CXX='-L$libdir'
14079 hardcode_minus_L_CXX=yes
14080 allow_undefined_flag_CXX=unsupported
14082 archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14083 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14084 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14085 $ECHO EXPORTS >> $output_objdir/$libname.def~
14086 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
14087 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14088 emximp -o $lib $output_objdir/$libname.def'
14089 archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14090 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14091 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14092 $ECHO EXPORTS >> $output_objdir/$libname.def~
14093 prefix_cmds="$SED"~
14094 if test EXPORTS = "`$SED 1q $export_symbols`"; then
14095 prefix_cmds="$prefix_cmds -e 1d";
14097 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
14098 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
14099 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14100 emximp -o $lib $output_objdir/$libname.def'
14101 old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
14102 enable_shared_with_static_runtimes_CXX=yes
14106 case $cc_basename in
14108 # FIXME: insert proper C++ library support
14112 # Green Hills C++ Compiler
14113 # FIXME: insert proper C++ library support
14117 # FIXME: insert proper C++ library support
14124 # C++ shared libraries reported to be fairly broken before
14130 archive_cmds_need_lc_CXX=no
14133 freebsd* | dragonfly*)
14134 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14140 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14141 link_all_deplibs_CXX=yes
14145 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
14146 hardcode_libdir_separator_CXX=:
14147 export_dynamic_flag_spec_CXX='$wl-E'
14148 hardcode_direct_CXX=yes
14149 hardcode_minus_L_CXX=yes # Not in the search PATH,
14150 # but as the default
14151 # location of the library.
14153 case $cc_basename in
14155 # FIXME: insert proper C++ library support
14159 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'
14160 # Commands to make compiler produce verbose output that lists
14161 # what "hidden" libraries, object files and flags are used when
14162 # linking a shared library.
14164 # There doesn't appear to be a way to prevent this compiler from
14165 # explicitly linking system object files so we need to strip them
14166 # from the output so that they don't get included in the library
14168 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"'
14171 if test yes = "$GXX"; then
14172 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'
14174 # FIXME: insert proper C++ library support
14182 if test no = "$with_gnu_ld"; then
14183 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
14184 hardcode_libdir_separator_CXX=:
14190 export_dynamic_flag_spec_CXX='$wl-E'
14196 hardcode_direct_CXX=no
14197 hardcode_shlibpath_var_CXX=no
14200 hardcode_direct_CXX=yes
14201 hardcode_direct_absolute_CXX=yes
14202 hardcode_minus_L_CXX=yes # Not in the search PATH,
14203 # but as the default
14204 # location of the library.
14208 case $cc_basename in
14210 # FIXME: insert proper C++ library support
14216 archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14219 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14222 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14225 # Commands to make compiler produce verbose output that lists
14226 # what "hidden" libraries, object files and flags are used when
14227 # linking a shared library.
14229 # There doesn't appear to be a way to prevent this compiler from
14230 # explicitly linking system object files so we need to strip them
14231 # from the output so that they don't get included in the library
14233 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"'
14236 if test yes = "$GXX"; then
14237 if test no = "$with_gnu_ld"; then
14240 archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14243 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14246 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'
14251 # FIXME: insert proper C++ library support
14259 hardcode_direct_CXX=no
14260 hardcode_shlibpath_var_CXX=no
14261 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14262 export_dynamic_flag_spec_CXX='$wl-E'
14263 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14264 # Instead, shared libraries are loaded at an image base (0x10000000 by
14265 # default) and relocated if they conflict, which is a slow very memory
14266 # consuming and fragmenting process. To avoid this, we pick a random,
14267 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14268 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14269 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'
14270 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'
14273 case $cc_basename in
14276 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'
14278 # Archives containing C++ object files must be created using
14279 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
14280 # necessary to make sure instantiated templates are included
14282 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
14285 if test yes = "$GXX"; then
14286 if test no = "$with_gnu_ld"; then
14287 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'
14289 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'
14292 link_all_deplibs_CXX=yes
14295 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14296 hardcode_libdir_separator_CXX=:
14297 inherit_rpath_CXX=yes
14300 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14301 case $cc_basename in
14303 # Kuck and Associates, Inc. (KAI) C++ Compiler
14305 # KCC will only create a shared library if the output file
14306 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14307 # to its proper name (with version) after linking.
14308 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'
14309 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'
14310 # Commands to make compiler produce verbose output that lists
14311 # what "hidden" libraries, object files and flags are used when
14312 # linking a shared library.
14314 # There doesn't appear to be a way to prevent this compiler from
14315 # explicitly linking system object files so we need to strip them
14316 # from the output so that they don't get included in the library
14318 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"'
14320 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14321 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14323 # Archives containing C++ object files must be created using
14324 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14325 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14330 # version 8.0 and above of icpc choke on multiply defined symbols
14331 # if we add $predep_objects and $postdep_objects, however 7.1 and
14332 # earlier do not add the objects themselves.
14333 case `$CC -V 2>&1` in
14335 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14336 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'
14338 *) # Version 8.0 or newer
14341 ia64*) tmp_idyn=' -i_dynamic';;
14343 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14344 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'
14347 archive_cmds_need_lc_CXX=no
14348 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14349 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14350 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
14353 # Portland Group C++ compiler
14355 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
14356 prelink_cmds_CXX='tpldir=Template.dir~
14358 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14359 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
14360 old_archive_cmds_CXX='tpldir=Template.dir~
14362 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14363 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
14365 archive_cmds_CXX='tpldir=Template.dir~
14367 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14368 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14369 archive_expsym_cmds_CXX='tpldir=Template.dir~
14371 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14372 $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'
14374 *) # Version 6 and above use weak symbols
14375 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14376 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'
14380 hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
14381 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14382 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'
14386 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14387 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'
14389 runpath_var=LD_RUN_PATH
14390 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14391 hardcode_libdir_separator_CXX=:
14393 # Commands to make compiler produce verbose output that lists
14394 # what "hidden" libraries, object files and flags are used when
14395 # linking a shared library.
14397 # There doesn't appear to be a way to prevent this compiler from
14398 # explicitly linking system object files so we need to strip them
14399 # from the output so that they don't get included in the library
14401 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'
14403 xl* | mpixl* | bgxl*)
14404 # IBM XL 8.0 on PPC, with GNU ld
14405 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14406 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14407 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14408 if test yes = "$supports_anon_versioning"; then
14409 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
14410 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14411 echo "local: *; };" >> $output_objdir/$libname.ver~
14412 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
14416 case `$CC -V 2>&1 | sed 5q` in
14419 no_undefined_flag_CXX=' -zdefs'
14420 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14421 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'
14422 hardcode_libdir_flag_spec_CXX='-R$libdir'
14423 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'
14424 compiler_needs_object_CXX=yes
14426 # Not sure whether something based on
14427 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14429 output_verbose_link_cmd='func_echo_all'
14431 # Archives containing C++ object files must be created using
14432 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14433 # necessary to make sure instantiated templates are included
14435 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14443 # FIXME: insert proper C++ library support
14448 # FIXME: insert proper C++ library support
14453 case $cc_basename in
14455 # FIXME: insert proper C++ library support
14459 # FIXME: insert proper C++ library support
14466 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14467 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14469 hardcode_libdir_flag_spec_CXX='-R$libdir'
14470 hardcode_direct_CXX=yes
14471 hardcode_shlibpath_var_CXX=no
14473 # Workaround some broken pre-1.5 toolchains
14474 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14481 openbsd* | bitrig*)
14482 if test -f /usr/libexec/ld.so; then
14483 hardcode_direct_CXX=yes
14484 hardcode_shlibpath_var_CXX=no
14485 hardcode_direct_absolute_CXX=yes
14486 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14487 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14488 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
14489 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
14490 export_dynamic_flag_spec_CXX='$wl-E'
14491 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
14493 output_verbose_link_cmd=func_echo_all
14499 osf3* | osf4* | osf5*)
14500 case $cc_basename in
14502 # Kuck and Associates, Inc. (KAI) C++ Compiler
14504 # KCC will only create a shared library if the output file
14505 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14506 # to its proper name (with version) after linking.
14507 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'
14509 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14510 hardcode_libdir_separator_CXX=:
14512 # Archives containing C++ object files must be created using
14513 # the KAI C++ compiler.
14515 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
14516 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
14520 # Rational C++ 2.4.1
14521 # FIXME: insert proper C++ library support
14527 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
14528 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'
14529 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14532 allow_undefined_flag_CXX=' -expect_unresolved \*'
14533 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'
14534 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14535 echo "-hidden">> $lib.exp~
14536 $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~
14538 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14542 hardcode_libdir_separator_CXX=:
14544 # Commands to make compiler produce verbose output that lists
14545 # what "hidden" libraries, object files and flags are used when
14546 # linking a shared library.
14548 # There doesn't appear to be a way to prevent this compiler from
14549 # explicitly linking system object files so we need to strip them
14550 # from the output so that they don't get included in the library
14552 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"'
14555 if test yes,no = "$GXX,$with_gnu_ld"; then
14556 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
14559 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'
14562 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'
14566 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14567 hardcode_libdir_separator_CXX=:
14569 # Commands to make compiler produce verbose output that lists
14570 # what "hidden" libraries, object files and flags are used when
14571 # linking a shared library.
14572 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
14575 # FIXME: insert proper C++ library support
14583 # FIXME: insert proper C++ library support
14588 case $cc_basename in
14591 # FIXME: insert proper C++ library support
14596 # FIXME: insert proper C++ library support
14600 # FIXME: insert proper C++ library support
14607 case $cc_basename in
14609 # Sun C++ 4.2, 5.x and Centerline C++
14610 archive_cmds_need_lc_CXX=yes
14611 no_undefined_flag_CXX=' -zdefs'
14612 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14613 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14614 $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'
14616 hardcode_libdir_flag_spec_CXX='-R$libdir'
14617 hardcode_shlibpath_var_CXX=no
14619 solaris2.[0-5] | solaris2.[0-5].*) ;;
14621 # The compiler driver will combine and reorder linker options,
14622 # but understands '-z linker_flag'.
14623 # Supported since Solaris 2.6 (maybe 2.5.1?)
14624 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
14627 link_all_deplibs_CXX=yes
14629 output_verbose_link_cmd='func_echo_all'
14631 # Archives containing C++ object files must be created using
14632 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14633 # necessary to make sure instantiated templates are included
14635 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14638 # Green Hills C++ Compiler
14639 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14641 # The C++ compiler must be used to create the archive.
14642 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14645 # GNU C++ compiler with Solaris linker
14646 if test yes,no = "$GXX,$with_gnu_ld"; then
14647 no_undefined_flag_CXX=' $wl-z ${wl}defs'
14648 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
14649 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14650 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14651 $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'
14653 # Commands to make compiler produce verbose output that lists
14654 # what "hidden" libraries, object files and flags are used when
14655 # linking a shared library.
14656 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
14658 # g++ 2.7 appears to require '-G' NOT '-shared' on this
14660 archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
14661 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14662 $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'
14664 # Commands to make compiler produce verbose output that lists
14665 # what "hidden" libraries, object files and flags are used when
14666 # linking a shared library.
14667 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
14670 hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
14672 solaris2.[0-5] | solaris2.[0-5].*) ;;
14674 whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
14682 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14683 no_undefined_flag_CXX='$wl-z,text'
14684 archive_cmds_need_lc_CXX=no
14685 hardcode_shlibpath_var_CXX=no
14686 runpath_var='LD_RUN_PATH'
14688 case $cc_basename in
14690 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14691 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14694 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14695 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14700 sysv5* | sco3.2v5* | sco5v6*)
14701 # Note: We CANNOT use -z defs as we might desire, because we do not
14702 # link with -lc, and that would cause any symbols used from libc to
14703 # always be unresolved, which means just about no library would
14704 # ever link correctly. If we're not using GNU ld we use -z text
14705 # though, which does catch some bad symbols but isn't as heavy-handed
14707 no_undefined_flag_CXX='$wl-z,text'
14708 allow_undefined_flag_CXX='$wl-z,nodefs'
14709 archive_cmds_need_lc_CXX=no
14710 hardcode_shlibpath_var_CXX=no
14711 hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
14712 hardcode_libdir_separator_CXX=':'
14713 link_all_deplibs_CXX=yes
14714 export_dynamic_flag_spec_CXX='$wl-Bexport'
14715 runpath_var='LD_RUN_PATH'
14717 case $cc_basename in
14719 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14720 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14721 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
14722 '"$old_archive_cmds_CXX"
14723 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
14724 '"$reload_cmds_CXX"
14727 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14728 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14734 case $cc_basename in
14736 # NonStop-UX NCC 3.20
14737 # FIXME: insert proper C++ library support
14741 # FIXME: insert proper C++ library support
14748 # FIXME: insert proper C++ library support
14753 # FIXME: insert proper C++ library support
14758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14759 $as_echo "$ld_shlibs_CXX" >&6; }
14760 test no = "$ld_shlibs_CXX" && can_build_shared=no
14766 ## There is no encapsulation within the following macros, do not change
14767 ## the running order or otherwise move them around unless you know exactly
14768 ## what you are doing...
14769 # Dependencies to place before and after the object being linked:
14770 predep_objects_CXX=
14771 postdep_objects_CXX=
14774 compiler_lib_search_path_CXX=
14776 cat > conftest.$ac_ext <<_LT_EOF
14780 Foo (void) { a = 0; }
14787 _lt_libdeps_save_CFLAGS=$CFLAGS
14788 case "$CC $CFLAGS " in #(
14789 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
14790 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
14791 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
14794 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14795 (eval $ac_compile) 2>&5
14797 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14798 test $ac_status = 0; }; then
14799 # Parse the compiler output and extract the necessary
14800 # objects, libraries and library flags.
14802 # Sentinel used to keep track of whether or not we are before
14803 # the conftest object file.
14804 pre_test_object_deps_done=no
14806 for p in `eval "$output_verbose_link_cmd"`; do
14810 # Some compilers place space between "-{L,R}" and the path.
14811 # Remove the space.
14812 if test x-L = "$p" ||
14813 test x-R = "$p"; then
14818 # Expand the sysroot to ease extracting the directories later.
14819 if test -z "$prev"; then
14821 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
14822 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
14823 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
14827 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
14829 if test no = "$pre_test_object_deps_done"; then
14832 # Internal compiler library paths should come after those
14833 # provided the user. The postdeps already come after the
14834 # user supplied libs so there is no need to process them.
14835 if test -z "$compiler_lib_search_path_CXX"; then
14836 compiler_lib_search_path_CXX=$prev$p
14838 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
14841 # The "-l" case would never come before the object being
14842 # linked, so don't bother handling this case.
14845 if test -z "$postdeps_CXX"; then
14846 postdeps_CXX=$prev$p
14848 postdeps_CXX="${postdeps_CXX} $prev$p"
14854 *.lto.$objext) ;; # Ignore GCC LTO objects
14856 # This assumes that the test object file only shows up
14857 # once in the compiler output.
14858 if test "$p" = "conftest.$objext"; then
14859 pre_test_object_deps_done=yes
14863 if test no = "$pre_test_object_deps_done"; then
14864 if test -z "$predep_objects_CXX"; then
14865 predep_objects_CXX=$p
14867 predep_objects_CXX="$predep_objects_CXX $p"
14870 if test -z "$postdep_objects_CXX"; then
14871 postdep_objects_CXX=$p
14873 postdep_objects_CXX="$postdep_objects_CXX $p"
14878 *) ;; # Ignore the rest.
14886 echo "libtool.m4: error: problem compiling CXX test program"
14889 $RM -f confest.$objext
14890 CFLAGS=$_lt_libdeps_save_CFLAGS
14892 # PORTME: override above test on systems where it is broken
14895 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14896 # hack all around it, let's just trust "g++" to DTRT.
14897 predep_objects_CXX=
14898 postdep_objects_CXX=
14904 case " $postdeps_CXX " in
14905 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
14907 compiler_lib_search_dirs_CXX=
14908 if test -n "${compiler_lib_search_path_CXX}"; then
14909 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
14942 lt_prog_compiler_wl_CXX=
14943 lt_prog_compiler_pic_CXX=
14944 lt_prog_compiler_static_CXX=
14947 # C++ specific cases for pic, static, wl, etc.
14948 if test yes = "$GXX"; then
14949 lt_prog_compiler_wl_CXX='-Wl,'
14950 lt_prog_compiler_static_CXX='-static'
14954 # All AIX code is PIC.
14955 if test ia64 = "$host_cpu"; then
14956 # AIX 5 now supports IA64 processor
14957 lt_prog_compiler_static_CXX='-Bstatic'
14959 lt_prog_compiler_pic_CXX='-fPIC'
14965 # see comment about AmigaOS4 .so support
14966 lt_prog_compiler_pic_CXX='-fPIC'
14969 # FIXME: we need at least 68020 code to build shared libraries, but
14970 # adding the '-m68020' flag to GCC prevents building anything better,
14972 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14977 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14978 # PIC is the default for these OSes.
14980 mingw* | cygwin* | os2* | pw32* | cegcc*)
14981 # This hack is so that the source file can tell whether it is being
14982 # built for inclusion in a dll (and should export symbols for example).
14983 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14984 # (--disable-auto-import) libraries
14985 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14988 lt_prog_compiler_static_CXX='$wl-static'
14992 darwin* | rhapsody*)
14993 # PIC is the default on this platform
14994 # Common symbols not allowed in MH_DYLIB files
14995 lt_prog_compiler_pic_CXX='-fno-common'
14998 # DJGPP does not support shared libraries at all
14999 lt_prog_compiler_pic_CXX=
15002 # PIC is the default for Haiku.
15003 # The "-static" flag exists, but is broken.
15004 lt_prog_compiler_static_CXX=
15007 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15008 # Instead, we relocate shared libraries at runtime.
15011 if test -d /usr/nec; then
15012 lt_prog_compiler_pic_CXX=-Kconform_pic
15016 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15017 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
15018 # sets the default TLS model and affects inlining.
15023 lt_prog_compiler_pic_CXX='-fPIC'
15028 # QNX uses GNU C++, but need to define -shared option too, otherwise
15029 # it will coredump.
15030 lt_prog_compiler_pic_CXX='-fPIC -shared'
15033 lt_prog_compiler_pic_CXX='-fPIC'
15039 # All AIX code is PIC.
15040 if test ia64 = "$host_cpu"; then
15041 # AIX 5 now supports IA64 processor
15042 lt_prog_compiler_static_CXX='-Bstatic'
15044 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
15048 case $cc_basename in
15050 # Green Hills C++ Compiler
15051 # _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"
15055 mingw* | cygwin* | os2* | pw32* | cegcc*)
15056 # This hack is so that the source file can tell whether it is being
15057 # built for inclusion in a dll (and should export symbols for example).
15058 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15061 case $cc_basename in
15063 lt_prog_compiler_pic_CXX='-KPIC'
15066 # Green Hills C++ Compiler
15067 lt_prog_compiler_pic_CXX='-pic'
15073 freebsd* | dragonfly*)
15074 # FreeBSD uses GNU C++
15076 hpux9* | hpux10* | hpux11*)
15077 case $cc_basename in
15079 lt_prog_compiler_wl_CXX='-Wl,'
15080 lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
15081 if test ia64 != "$host_cpu"; then
15082 lt_prog_compiler_pic_CXX='+Z'
15086 lt_prog_compiler_wl_CXX='-Wl,'
15087 lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
15093 lt_prog_compiler_pic_CXX='+Z'
15102 # This is c89, which is MS Visual C++ (no shared libs)
15103 # Anyone wants to do a port?
15105 irix5* | irix6* | nonstopux*)
15106 case $cc_basename in
15108 lt_prog_compiler_wl_CXX='-Wl,'
15109 lt_prog_compiler_static_CXX='-non_shared'
15110 # CC pic flag -KPIC is the default.
15116 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15117 case $cc_basename in
15120 lt_prog_compiler_wl_CXX='--backend -Wl,'
15121 lt_prog_compiler_pic_CXX='-fPIC'
15124 # old Intel C++ for x86_64, which still supported -KPIC.
15125 lt_prog_compiler_wl_CXX='-Wl,'
15126 lt_prog_compiler_pic_CXX='-KPIC'
15127 lt_prog_compiler_static_CXX='-static'
15130 # Intel C++, used to be incompatible with GCC.
15131 # ICC 10 doesn't accept -KPIC any more.
15132 lt_prog_compiler_wl_CXX='-Wl,'
15133 lt_prog_compiler_pic_CXX='-fPIC'
15134 lt_prog_compiler_static_CXX='-static'
15137 # Portland Group C++ compiler
15138 lt_prog_compiler_wl_CXX='-Wl,'
15139 lt_prog_compiler_pic_CXX='-fpic'
15140 lt_prog_compiler_static_CXX='-Bstatic'
15144 # Make sure the PIC flag is empty. It appears that all Alpha
15145 # Linux and Compaq Tru64 Unix objects are PIC.
15146 lt_prog_compiler_pic_CXX=
15147 lt_prog_compiler_static_CXX='-non_shared'
15149 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
15150 # IBM XL 8.0, 9.0 on PPC and BlueGene
15151 lt_prog_compiler_wl_CXX='-Wl,'
15152 lt_prog_compiler_pic_CXX='-qpic'
15153 lt_prog_compiler_static_CXX='-qstaticlink'
15156 case `$CC -V 2>&1 | sed 5q` in
15159 lt_prog_compiler_pic_CXX='-KPIC'
15160 lt_prog_compiler_static_CXX='-Bstatic'
15161 lt_prog_compiler_wl_CXX='-Qoption ld '
15172 case $cc_basename in
15174 lt_prog_compiler_pic_CXX='-W c,exportall'
15180 netbsd* | netbsdelf*-gnu)
15183 # QNX uses GNU C++, but need to define -shared option too, otherwise
15184 # it will coredump.
15185 lt_prog_compiler_pic_CXX='-fPIC -shared'
15187 osf3* | osf4* | osf5*)
15188 case $cc_basename in
15190 lt_prog_compiler_wl_CXX='--backend -Wl,'
15193 # Rational C++ 2.4.1
15194 lt_prog_compiler_pic_CXX='-pic'
15197 # Digital/Compaq C++
15198 lt_prog_compiler_wl_CXX='-Wl,'
15199 # Make sure the PIC flag is empty. It appears that all Alpha
15200 # Linux and Compaq Tru64 Unix objects are PIC.
15201 lt_prog_compiler_pic_CXX=
15202 lt_prog_compiler_static_CXX='-non_shared'
15211 case $cc_basename in
15213 # Sun C++ 4.2, 5.x and Centerline C++
15214 lt_prog_compiler_pic_CXX='-KPIC'
15215 lt_prog_compiler_static_CXX='-Bstatic'
15216 lt_prog_compiler_wl_CXX='-Qoption ld '
15219 # Green Hills C++ Compiler
15220 lt_prog_compiler_pic_CXX='-PIC'
15227 case $cc_basename in
15230 lt_prog_compiler_pic_CXX='-pic'
15231 lt_prog_compiler_static_CXX='-Bstatic'
15235 lt_prog_compiler_pic_CXX='-pic'
15241 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15242 case $cc_basename in
15244 lt_prog_compiler_wl_CXX='-Wl,'
15245 lt_prog_compiler_pic_CXX='-KPIC'
15246 lt_prog_compiler_static_CXX='-Bstatic'
15251 case $cc_basename in
15253 # NonStop-UX NCC 3.20
15254 lt_prog_compiler_pic_CXX='-KPIC'
15263 lt_prog_compiler_can_build_shared_CXX=no
15269 # For platforms that do not support PIC, -DPIC is meaningless:
15271 lt_prog_compiler_pic_CXX=
15274 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX@&t@ -DPIC"
15278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15279 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15280 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
15281 $as_echo_n "(cached) " >&6
15283 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
15285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
15286 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
15287 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
15290 # Check to make sure the PIC flag actually works.
15292 if test -n "$lt_prog_compiler_pic_CXX"; then
15293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15294 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15295 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
15296 $as_echo_n "(cached) " >&6
15298 lt_cv_prog_compiler_pic_works_CXX=no
15299 ac_outfile=conftest.$ac_objext
15300 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15301 lt_compiler_flag="$lt_prog_compiler_pic_CXX@&t@ -DPIC" ## exclude from sc_useless_quotes_in_assignment
15302 # Insert the option either (1) after the last *FLAGS variable, or
15303 # (2) before a word containing "conftest.", or (3) at the end.
15304 # Note that $ac_compile itself does not contain backslashes and begins
15305 # with a dollar sign (not a hyphen), so the echo should work correctly.
15306 # The option is referenced via a variable to avoid confusing sed.
15307 lt_compile=`echo "$ac_compile" | $SED \
15308 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15309 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15310 -e 's:$: $lt_compiler_flag:'`
15311 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15312 (eval "$lt_compile" 2>conftest.err)
15314 cat conftest.err >&5
15315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15316 if (exit $ac_status) && test -s "$ac_outfile"; then
15317 # The compiler can only warn and ignore the option if not recognized
15318 # So say no if there are warnings other than the usual output.
15319 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
15320 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15321 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15322 lt_cv_prog_compiler_pic_works_CXX=yes
15328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15329 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15331 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
15332 case $lt_prog_compiler_pic_CXX in
15334 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
15337 lt_prog_compiler_pic_CXX=
15338 lt_prog_compiler_can_build_shared_CXX=no
15348 # Check to make sure the static flag actually works.
15350 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
15351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15352 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15353 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
15354 $as_echo_n "(cached) " >&6
15356 lt_cv_prog_compiler_static_works_CXX=no
15357 save_LDFLAGS=$LDFLAGS
15358 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15359 echo "$lt_simple_link_test_code" > conftest.$ac_ext
15360 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15361 # The linker can only warn and ignore the option if not recognized
15362 # So say no if there are warnings
15363 if test -s conftest.err; then
15364 # Append any errors to the config.log.
15365 cat conftest.err 1>&5
15366 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
15367 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15368 if diff conftest.exp conftest.er2 >/dev/null; then
15369 lt_cv_prog_compiler_static_works_CXX=yes
15372 lt_cv_prog_compiler_static_works_CXX=yes
15376 LDFLAGS=$save_LDFLAGS
15379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15380 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15382 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
15385 lt_prog_compiler_static_CXX=
15391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15392 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15393 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15394 $as_echo_n "(cached) " >&6
15396 lt_cv_prog_compiler_c_o_CXX=no
15397 $RM -r conftest 2>/dev/null
15401 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15403 lt_compiler_flag="-o out/conftest2.$ac_objext"
15404 # Insert the option either (1) after the last *FLAGS variable, or
15405 # (2) before a word containing "conftest.", or (3) at the end.
15406 # Note that $ac_compile itself does not contain backslashes and begins
15407 # with a dollar sign (not a hyphen), so the echo should work correctly.
15408 lt_compile=`echo "$ac_compile" | $SED \
15409 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15410 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15411 -e 's:$: $lt_compiler_flag:'`
15412 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15413 (eval "$lt_compile" 2>out/conftest.err)
15415 cat out/conftest.err >&5
15416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15417 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15419 # The compiler can only warn and ignore the option if not recognized
15420 # So say no if there are warnings
15421 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15422 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15423 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15424 lt_cv_prog_compiler_c_o_CXX=yes
15429 # SGI C++ compiler will create directory out/ii_files/ for
15430 # template instantiation
15431 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15432 $RM out/* && rmdir out
15438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15439 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15444 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15445 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
15446 $as_echo_n "(cached) " >&6
15448 lt_cv_prog_compiler_c_o_CXX=no
15449 $RM -r conftest 2>/dev/null
15453 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15455 lt_compiler_flag="-o out/conftest2.$ac_objext"
15456 # Insert the option either (1) after the last *FLAGS variable, or
15457 # (2) before a word containing "conftest.", or (3) at the end.
15458 # Note that $ac_compile itself does not contain backslashes and begins
15459 # with a dollar sign (not a hyphen), so the echo should work correctly.
15460 lt_compile=`echo "$ac_compile" | $SED \
15461 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15462 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15463 -e 's:$: $lt_compiler_flag:'`
15464 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15465 (eval "$lt_compile" 2>out/conftest.err)
15467 cat out/conftest.err >&5
15468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15469 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15471 # The compiler can only warn and ignore the option if not recognized
15472 # So say no if there are warnings
15473 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
15474 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15475 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15476 lt_cv_prog_compiler_c_o_CXX=yes
15481 # SGI C++ compiler will create directory out/ii_files/ for
15482 # template instantiation
15483 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15484 $RM out/* && rmdir out
15490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15491 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15496 hard_links=nottested
15497 if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
15498 # do not overwrite the value of need_locks provided by the user
15499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15500 $as_echo_n "checking if we can lock with hard links... " >&6; }
15503 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15505 ln conftest.a conftest.b 2>&5 || hard_links=no
15506 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15508 $as_echo "$hard_links" >&6; }
15509 if test no = "$hard_links"; then
15510 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
15511 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
15520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15521 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15523 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15524 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15527 # If we're using GNU nm, then we don't want the "-C" option.
15528 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
15529 # Without the "-l" option, or with the "-B" option, AIX nm treats
15530 # weak defined symbols like other global defined symbols, whereas
15531 # GNU nm marks them as "W".
15532 # While the 'weak' keyword is ignored in the Export File, we need
15533 # it in the Import File for the 'aix-soname' feature, so we have
15534 # to replace the "-B" option with "-P" for AIX nm.
15535 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
15536 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'
15538 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'
15542 export_symbols_cmds_CXX=$ltdll_cmds
15544 cygwin* | mingw* | cegcc*)
15545 case $cc_basename in
15547 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
15550 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'
15551 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
15555 linux* | k*bsd*-gnu | gnu*)
15556 link_all_deplibs_CXX=no
15559 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15564 $as_echo "$ld_shlibs_CXX" >&6; }
15565 test no = "$ld_shlibs_CXX" && can_build_shared=no
15567 with_gnu_ld_CXX=$with_gnu_ld
15575 # Do we need to explicitly link libc?
15577 case "x$archive_cmds_need_lc_CXX" in
15579 # Assume -lc should be added
15580 archive_cmds_need_lc_CXX=yes
15582 if test yes,yes = "$GCC,$enable_shared"; then
15583 case $archive_cmds_CXX in
15585 # FIXME: we may have to deal with multi-command sequences.
15588 # Test whether the compiler implicitly links with -lc since on some
15589 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15590 # to ld, don't add -lc before -lgcc.
15591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15592 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15593 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
15594 $as_echo_n "(cached) " >&6
15597 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15599 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15600 (eval $ac_compile) 2>&5
15602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15603 test $ac_status = 0; } 2>conftest.err; then
15606 libobjs=conftest.$ac_objext
15608 wl=$lt_prog_compiler_wl_CXX
15609 pic_flag=$lt_prog_compiler_pic_CXX
15615 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
15616 allow_undefined_flag_CXX=
15617 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15618 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15620 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15621 test $ac_status = 0; }
15623 lt_cv_archive_cmds_need_lc_CXX=no
15625 lt_cv_archive_cmds_need_lc_CXX=yes
15627 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
15629 cat conftest.err 1>&5
15634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15635 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15636 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
15704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15705 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15707 library_names_spec=
15708 libname_spec='lib$name'
15712 postuninstall_cmds=
15716 shlibpath_overrides_runpath=unknown
15718 dynamic_linker="$host_os ld.so"
15719 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15720 need_lib_prefix=unknown
15721 hardcode_into_libs=no
15723 # when you set need_version to no, make sure it does not cause -set_version
15724 # flags to be left without arguments
15725 need_version=unknown
15731 version_type=linux # correct to gnu/linux during the next big refactor
15732 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
15733 shlibpath_var=LIBPATH
15735 # AIX 3 has no versioning support, so we append a major version to the name.
15736 soname_spec='$libname$release$shared_ext$major'
15740 version_type=linux # correct to gnu/linux during the next big refactor
15743 hardcode_into_libs=yes
15744 if test ia64 = "$host_cpu"; then
15745 # AIX 5 supports IA64
15746 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
15747 shlibpath_var=LD_LIBRARY_PATH
15749 # With GCC up to 2.95.x, collect2 would create an import file
15750 # for dependence libraries. The import file would start with
15751 # the line '#! .'. This would cause the generated library to
15752 # depend on '.', always an invalid library. This was fixed in
15753 # development snapshots of GCC prior to 3.0.
15755 aix4 | aix4.[01] | aix4.[01].*)
15756 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15758 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
15761 can_build_shared=no
15765 # Using Import Files as archive members, it is possible to support
15766 # filename-based versioning of shared library archives on AIX. While
15767 # this would work for both with and without runtime linking, it will
15768 # prevent static linking of such archives. So we do filename-based
15769 # shared library versioning with .so extension only, which is used
15770 # when both runtime linking and shared linking is enabled.
15771 # Unfortunately, runtime linking may impact performance, so we do
15772 # not want this to be the default eventually. Also, we use the
15773 # versioned .so libs for executables only if there is the -brtl
15774 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
15775 # To allow for filename-based versioning support, we need to create
15776 # libNAME.so.V as an archive file, containing:
15777 # *) an Import File, referring to the versioned filename of the
15778 # archive as well as the shared archive member, telling the
15779 # bitwidth (32 or 64) of that shared object, and providing the
15780 # list of exported symbols of that shared object, eventually
15781 # decorated with the 'weak' keyword
15782 # *) the shared object with the F_LOADONLY flag set, to really avoid
15783 # it being seen by the linker.
15784 # At run time we better use the real file rather than another symlink,
15785 # but for link time we create the symlink libNAME.so -> libNAME.so.V
15787 case $with_aix_soname,$aix_use_runtimelinking in
15788 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
15789 # soname into executable. Probably we can add versioning support to
15790 # collect2, so additional links can be useful in future.
15791 aix,yes) # traditional libtool
15792 dynamic_linker='AIX unversionable lib.so'
15793 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15794 # instead of lib<name>.a to let people know that these are not
15795 # typical AIX shared libraries.
15796 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15798 aix,no) # traditional AIX only
15799 dynamic_linker='AIX lib.a(lib.so.V)'
15800 # We preserve .a as extension for shared libraries through AIX4.2
15801 # and later when we are not doing run time linking.
15802 library_names_spec='$libname$release.a $libname.a'
15803 soname_spec='$libname$release$shared_ext$major'
15805 svr4,*) # full svr4 only
15806 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
15807 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
15808 # We do not specify a path in Import Files, so LIBPATH fires.
15809 shlibpath_overrides_runpath=yes
15811 *,yes) # both, prefer svr4
15812 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
15813 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
15814 # unpreferred sharedlib libNAME.a needs extra handling
15815 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"'
15816 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"'
15817 # We do not specify a path in Import Files, so LIBPATH fires.
15818 shlibpath_overrides_runpath=yes
15820 *,no) # both, prefer aix
15821 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
15822 library_names_spec='$libname$release.a $libname.a'
15823 soname_spec='$libname$release$shared_ext$major'
15824 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
15825 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)'
15826 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"'
15829 shlibpath_var=LIBPATH
15836 # Since July 2007 AmigaOS4 officially supports .so libraries.
15837 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15838 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15841 library_names_spec='$libname.ixlibrary $libname.a'
15842 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15843 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'
15849 library_names_spec='$libname$shared_ext'
15850 dynamic_linker="$host_os ld.so"
15851 shlibpath_var=LIBRARY_PATH
15855 version_type=linux # correct to gnu/linux during the next big refactor
15857 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15858 soname_spec='$libname$release$shared_ext$major'
15859 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15860 shlibpath_var=LD_LIBRARY_PATH
15861 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15862 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15863 # the default ld.so.conf also contains /usr/contrib/lib and
15864 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15865 # libtool to hard-code these into programs
15868 cygwin* | mingw* | pw32* | cegcc*)
15869 version_type=windows
15874 case $GCC,$cc_basename in
15877 library_names_spec='$libname.dll.a'
15878 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15879 postinstall_cmds='base_file=`basename \$file`~
15880 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
15881 dldir=$destdir/`dirname \$dlpath`~
15882 test -d \$dldir || mkdir -p \$dldir~
15883 $install_prog $dir/$dlname \$dldir/$dlname~
15884 chmod a+x \$dldir/$dlname~
15885 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15886 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15888 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15889 dlpath=$dir/\$dldll~
15891 shlibpath_overrides_runpath=yes
15895 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15896 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15900 # MinGW DLLs use traditional 'lib' prefix
15901 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15904 # pw32 DLLs use 'pw' prefix rather than 'lib'
15905 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15908 dynamic_linker='Win32 ld.exe'
15913 libname_spec='$name'
15914 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15915 library_names_spec='$libname.dll.lib'
15919 sys_lib_search_path_spec=
15922 for lt_path in $LIB
15925 # Let DOS variable expansion print the short 8.3 style file name.
15926 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15927 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
15930 # Convert to MSYS style.
15931 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15934 # Convert to unix form, then to dos form, then back to unix form
15935 # but this time dos style (no spaces!) so that the unix form looks
15936 # like /cygdrive/c/PROGRA~1:/cygdr...
15937 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
15938 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15939 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15942 sys_lib_search_path_spec=$LIB
15943 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15944 # It is most probably a Windows format PATH.
15945 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15947 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15949 # FIXME: find the short name or the path components, as spaces are
15950 # common. (e.g. "Program Files" -> "PROGRA~1")
15954 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15955 postinstall_cmds='base_file=`basename \$file`~
15956 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
15957 dldir=$destdir/`dirname \$dlpath`~
15958 test -d \$dldir || mkdir -p \$dldir~
15959 $install_prog $dir/$dlname \$dldir/$dlname'
15960 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15961 dlpath=$dir/\$dldll~
15963 shlibpath_overrides_runpath=yes
15964 dynamic_linker='Win32 link.exe'
15968 # Assume MSVC wrapper
15969 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
15970 dynamic_linker='Win32 ld.exe'
15973 # FIXME: first we should search . and the directory the executable is in
15977 darwin* | rhapsody*)
15978 dynamic_linker="$host_os dyld"
15979 version_type=darwin
15982 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
15983 soname_spec='$libname$release$major$shared_ext'
15984 shlibpath_overrides_runpath=yes
15985 shlibpath_var=DYLD_LIBRARY_PATH
15986 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15988 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15992 version_type=linux # correct to gnu/linux during the next big refactor
15995 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
15996 soname_spec='$libname$release$shared_ext$major'
15997 shlibpath_var=LD_LIBRARY_PATH
16000 freebsd* | dragonfly*)
16001 # DragonFly does not have aout. When/if they implement a new
16002 # versioning mechanism, adjust this.
16003 if test -x /usr/bin/objformat; then
16004 objformat=`/usr/bin/objformat`
16007 freebsd[23].*) objformat=aout ;;
16008 *) objformat=elf ;;
16011 version_type=freebsd-$objformat
16012 case $version_type in
16014 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16015 soname_spec='$libname$release$shared_ext$major'
16020 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16024 shlibpath_var=LD_LIBRARY_PATH
16027 shlibpath_overrides_runpath=yes
16029 freebsd3.[01]* | freebsdelf3.[01]*)
16030 shlibpath_overrides_runpath=yes
16031 hardcode_into_libs=yes
16033 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16034 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16035 shlibpath_overrides_runpath=no
16036 hardcode_into_libs=yes
16038 *) # from 4.6 on, and DragonFly
16039 shlibpath_overrides_runpath=yes
16040 hardcode_into_libs=yes
16046 version_type=linux # correct to gnu/linux during the next big refactor
16049 dynamic_linker="$host_os runtime_loader"
16050 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16051 soname_spec='$libname$release$shared_ext$major'
16052 shlibpath_var=LIBRARY_PATH
16053 shlibpath_overrides_runpath=no
16054 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
16055 hardcode_into_libs=yes
16058 hpux9* | hpux10* | hpux11*)
16059 # Give a soname corresponding to the major version so that dld.sl refuses to
16060 # link against other versions.
16067 hardcode_into_libs=yes
16068 dynamic_linker="$host_os dld.so"
16069 shlibpath_var=LD_LIBRARY_PATH
16070 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16071 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16072 soname_spec='$libname$release$shared_ext$major'
16073 if test 32 = "$HPUX_IA64_MODE"; then
16074 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16075 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
16077 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16078 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
16083 hardcode_into_libs=yes
16084 dynamic_linker="$host_os dld.sl"
16085 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16086 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16087 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16088 soname_spec='$libname$release$shared_ext$major'
16089 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16090 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16094 dynamic_linker="$host_os dld.sl"
16095 shlibpath_var=SHLIB_PATH
16096 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16097 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16098 soname_spec='$libname$release$shared_ext$major'
16101 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16102 postinstall_cmds='chmod 555 $lib'
16103 # or fails outright, so override atomically:
16104 install_override_mode=555
16108 version_type=linux # correct to gnu/linux during the next big refactor
16111 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16112 soname_spec='$libname$release$shared_ext$major'
16113 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16114 shlibpath_var=LD_LIBRARY_PATH
16115 shlibpath_overrides_runpath=no
16116 hardcode_into_libs=yes
16119 irix5* | irix6* | nonstopux*)
16121 nonstopux*) version_type=nonstopux ;;
16123 if test yes = "$lt_cv_prog_gnu_ld"; then
16124 version_type=linux # correct to gnu/linux during the next big refactor
16131 soname_spec='$libname$release$shared_ext$major'
16132 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
16134 irix5* | nonstopux*)
16135 libsuff= shlibsuff=
16138 case $LD in # libtool.m4 will add one of these switches to LD
16139 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16140 libsuff= shlibsuff= libmagic=32-bit;;
16141 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16142 libsuff=32 shlibsuff=N32 libmagic=N32;;
16143 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16144 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16145 *) libsuff= shlibsuff= libmagic=never-match;;
16149 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16150 shlibpath_overrides_runpath=no
16151 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
16152 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
16153 hardcode_into_libs=yes
16156 # No shared lib support for Linux oldld, aout, or coff.
16157 linux*oldld* | linux*aout* | linux*coff*)
16162 version_type=none # Android doesn't support versioned libraries.
16165 library_names_spec='$libname$release$shared_ext'
16166 soname_spec='$libname$release$shared_ext'
16168 shlibpath_var=LD_LIBRARY_PATH
16169 shlibpath_overrides_runpath=yes
16171 # This implies no fast_install, which is unacceptable.
16172 # Some rework will be needed to allow for fast_install
16173 # before this can be enabled.
16174 hardcode_into_libs=yes
16176 dynamic_linker='Android linker'
16177 # Don't embed -rpath directories since the linker doesn't support them.
16178 hardcode_libdir_flag_spec_CXX='-L$libdir'
16181 # This must be glibc/ELF.
16182 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
16183 version_type=linux # correct to gnu/linux during the next big refactor
16186 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16187 soname_spec='$libname$release$shared_ext$major'
16188 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16189 shlibpath_var=LD_LIBRARY_PATH
16190 shlibpath_overrides_runpath=no
16192 # Some binutils ld are patched to set DT_RUNPATH
16193 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
16194 $as_echo_n "(cached) " >&6
16196 lt_cv_shlibpath_overrides_runpath=no
16197 save_LDFLAGS=$LDFLAGS
16198 save_libdir=$libdir
16199 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16200 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16202 /* end confdefs.h. */
16212 if ac_fn_cxx_try_link "$LINENO"; then :
16213 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
16214 lt_cv_shlibpath_overrides_runpath=yes
16217 rm -f core conftest.err conftest.$ac_objext \
16218 conftest$ac_exeext conftest.$ac_ext
16219 LDFLAGS=$save_LDFLAGS
16220 libdir=$save_libdir
16224 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
16226 # This implies no fast_install, which is unacceptable.
16227 # Some rework will be needed to allow for fast_install
16228 # before this can be enabled.
16229 hardcode_into_libs=yes
16231 # Ideally, we could use ldconfig to report *all* directores which are
16232 # searched for libraries, however this is still not possible. Aside from not
16233 # being certain /sbin/ldconfig is available, command
16234 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
16235 # even though it is searched at run-time. Try to do the best guess by
16236 # appending ld.so.conf contents (and includes) to the search path.
16237 if test -f /etc/ld.so.conf; then
16238 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' ' '`
16239 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16242 # We used to test for /lib/ld.so.1 and disable shared libraries on
16243 # powerpc, because MkLinux only supported shared libraries with the
16244 # GNU dynamic linker. Since this was broken with cross compilers,
16245 # most powerpc-linux boxes support dynamic linking these days and
16246 # people can always --disable-shared, the test was removed, and we
16247 # assume the GNU/Linux dynamic linker is in use.
16248 dynamic_linker='GNU/Linux ld.so'
16255 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16256 soname_spec='${libname}${release}${shared_ext}$major'
16257 shlibpath_var=LD_LIBRARY_PATH
16258 shlibpath_overrides_runpath=no
16259 hardcode_into_libs=yes
16260 dynamic_linker='NetBSD ld.elf_so'
16267 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16268 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16269 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16270 dynamic_linker='NetBSD (a.out) ld.so'
16272 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16273 soname_spec='$libname$release$shared_ext$major'
16274 dynamic_linker='NetBSD ld.elf_so'
16276 shlibpath_var=LD_LIBRARY_PATH
16277 shlibpath_overrides_runpath=yes
16278 hardcode_into_libs=yes
16282 version_type=linux # correct to gnu/linux during the next big refactor
16283 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16284 shlibpath_var=LD_LIBRARY_PATH
16285 shlibpath_overrides_runpath=yes
16292 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16293 soname_spec='$libname$release$shared_ext$major'
16294 shlibpath_var=LD_LIBRARY_PATH
16295 shlibpath_overrides_runpath=no
16296 hardcode_into_libs=yes
16297 dynamic_linker='ldqnx.so'
16300 openbsd* | bitrig*)
16302 sys_lib_dlsearch_path_spec=/usr/lib
16304 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
16309 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16310 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16311 shlibpath_var=LD_LIBRARY_PATH
16312 shlibpath_overrides_runpath=yes
16316 libname_spec='$name'
16317 version_type=windows
16321 # OS/2 can only load a DLL with a base name of 8 characters or less.
16322 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
16323 v=$($ECHO $release$versuffix | tr -d .-);
16324 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
16325 $ECHO $n$v`$shared_ext'
16326 library_names_spec='${libname}_dll.$libext'
16327 dynamic_linker='OS/2 ld.exe'
16328 shlibpath_var=BEGINLIBPATH
16329 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16330 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16331 postinstall_cmds='base_file=`basename \$file`~
16332 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
16333 dldir=$destdir/`dirname \$dlpath`~
16334 test -d \$dldir || mkdir -p \$dldir~
16335 $install_prog $dir/$dlname \$dldir/$dlname~
16336 chmod a+x \$dldir/$dlname~
16337 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16338 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16340 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
16341 dlpath=$dir/\$dldll~
16345 osf3* | osf4* | osf5*)
16349 soname_spec='$libname$release$shared_ext$major'
16350 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16351 shlibpath_var=LD_LIBRARY_PATH
16352 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16353 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16361 version_type=linux # correct to gnu/linux during the next big refactor
16364 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16365 soname_spec='$libname$release$shared_ext$major'
16366 shlibpath_var=LD_LIBRARY_PATH
16367 shlibpath_overrides_runpath=yes
16368 hardcode_into_libs=yes
16369 # ldd complains unless libraries are executable
16370 postinstall_cmds='chmod +x $lib'
16375 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16376 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16377 shlibpath_var=LD_LIBRARY_PATH
16378 shlibpath_overrides_runpath=yes
16379 if test yes = "$with_gnu_ld"; then
16386 version_type=linux # correct to gnu/linux during the next big refactor
16387 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16388 soname_spec='$libname$release$shared_ext$major'
16389 shlibpath_var=LD_LIBRARY_PATH
16390 case $host_vendor in
16392 shlibpath_overrides_runpath=no
16394 runpath_var=LD_RUN_PATH
16402 shlibpath_overrides_runpath=no
16403 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16409 if test -d /usr/nec; then
16410 version_type=linux # correct to gnu/linux during the next big refactor
16411 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
16412 soname_spec='$libname$shared_ext.$major'
16413 shlibpath_var=LD_LIBRARY_PATH
16417 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16421 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
16422 soname_spec='$libname$release$shared_ext$major'
16423 shlibpath_var=LD_LIBRARY_PATH
16424 shlibpath_overrides_runpath=yes
16425 hardcode_into_libs=yes
16426 if test yes = "$with_gnu_ld"; then
16427 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16429 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16432 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16436 sys_lib_dlsearch_path_spec='/usr/lib'
16440 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16441 version_type=linux # correct to gnu/linux during the next big refactor
16444 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16445 shlibpath_var=LD_LIBRARY_PATH
16446 shlibpath_overrides_runpath=no
16447 hardcode_into_libs=yes
16451 version_type=linux # correct to gnu/linux during the next big refactor
16452 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16453 soname_spec='$libname$release$shared_ext$major'
16454 shlibpath_var=LD_LIBRARY_PATH
16461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16462 $as_echo "$dynamic_linker" >&6; }
16463 test no = "$dynamic_linker" && can_build_shared=no
16465 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16466 if test yes = "$GCC"; then
16467 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16470 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
16471 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
16474 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
16475 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
16478 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
16479 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
16481 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
16482 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
16484 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
16485 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
16526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16527 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16528 hardcode_action_CXX=
16529 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16530 test -n "$runpath_var_CXX" ||
16531 test yes = "$hardcode_automatic_CXX"; then
16533 # We can hardcode non-existent directories.
16534 if test no != "$hardcode_direct_CXX" &&
16535 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16536 # have to relink, otherwise we might link with an installed library
16537 # when we should be linking with a yet-to-be-installed one
16538 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
16539 test no != "$hardcode_minus_L_CXX"; then
16540 # Linking always hardcodes the temporary library directory.
16541 hardcode_action_CXX=relink
16543 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16544 hardcode_action_CXX=immediate
16547 # We cannot hardcode anything, or else we can only hardcode existing
16549 hardcode_action_CXX=unsupported
16551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16552 $as_echo "$hardcode_action_CXX" >&6; }
16554 if test relink = "$hardcode_action_CXX" ||
16555 test yes = "$inherit_rpath_CXX"; then
16556 # Fast installation is not supported
16557 enable_fast_install=no
16558 elif test yes = "$shlibpath_overrides_runpath" ||
16559 test no = "$enable_shared"; then
16560 # Fast installation is not necessary
16561 enable_fast_install=needless
16570 fi # test -n "$compiler"
16573 CFLAGS=$lt_save_CFLAGS
16577 with_gnu_ld=$lt_save_with_gnu_ld
16578 lt_cv_path_LDCXX=$lt_cv_path_LD
16579 lt_cv_path_LD=$lt_save_path_LD
16580 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16581 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16582 fi # test yes != "$_lt_caught_CXX_error"
16585 ac_cpp='$CPP $CPPFLAGS'
16586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16593 # Checks for libraries.
16594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gf_init_easy in -lgf_complete" >&5
16595 $as_echo_n "checking for gf_init_easy in -lgf_complete... " >&6; }
16596 if ${ac_cv_lib_gf_complete_gf_init_easy+:} false; then :
16597 $as_echo_n "(cached) " >&6
16599 ac_check_lib_save_LIBS=$LIBS
16600 LIBS="-lgf_complete $LIBS"
16601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16602 /* end confdefs.h. */
16604 /* Override any GCC internal prototype to avoid an error.
16605 Use char because int might match the return type of a GCC
16606 builtin and then its argument prototype would still apply. */
16610 char gf_init_easy ();
16614 return gf_init_easy ();
16619 if ac_fn_c_try_link "$LINENO"; then :
16620 ac_cv_lib_gf_complete_gf_init_easy=yes
16622 ac_cv_lib_gf_complete_gf_init_easy=no
16624 rm -f core conftest.err conftest.$ac_objext \
16625 conftest$ac_exeext conftest.$ac_ext
16626 LIBS=$ac_check_lib_save_LIBS
16628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gf_complete_gf_init_easy" >&5
16629 $as_echo "$ac_cv_lib_gf_complete_gf_init_easy" >&6; }
16630 if test "x$ac_cv_lib_gf_complete_gf_init_easy" = xyes; then :
16631 cat >>confdefs.h <<_ACEOF
16632 @%:@define HAVE_LIBGF_COMPLETE 1
16635 LIBS="-lgf_complete $LIBS"
16638 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16639 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16640 as_fn_error $? "You need to have gf_complete installed.
16641 gf_complete is available from http://jerasure.org/jerasure/gf-complete
16642 See \`config.log' for more details" "$LINENO" 5; }
16647 # Checks for header files.
16648 for ac_header in stddef.h stdint.h stdlib.h string.h sys/time.h unistd.h
16650 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16651 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16652 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16653 cat >>confdefs.h <<_ACEOF
16654 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16661 for ac_header in gf_complete.h gf_general.h gf_method.h gf_rand.h
16663 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16664 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16665 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16666 cat >>confdefs.h <<_ACEOF
16667 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16675 # Checks for typedefs, structures, and compiler characteristics.
16676 ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
16677 case $ac_cv_c_uint32_t in #(
16681 $as_echo "@%:@define _UINT32_T 1" >>confdefs.h
16684 cat >>confdefs.h <<_ACEOF
16685 @%:@define uint32_t $ac_cv_c_uint32_t
16690 ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
16691 case $ac_cv_c_uint64_t in #(
16695 $as_echo "@%:@define _UINT64_T 1" >>confdefs.h
16698 cat >>confdefs.h <<_ACEOF
16699 @%:@define uint64_t $ac_cv_c_uint64_t
16706 @%:@ Check whether --enable-sse was given.
16707 if test "${enable_sse+set}" = set; then :
16708 enableval=$enable_sse; if test "x$enableval" = "xno" ; then
16710 echo "DISABLED SSE!!!"
16716 # Checks for library functions.
16717 for ac_header in stdlib.h
16719 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
16720 if test "x$ac_cv_header_stdlib_h" = xyes; then :
16721 cat >>confdefs.h <<_ACEOF
16722 @%:@define HAVE_STDLIB_H 1
16729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
16730 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
16731 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
16732 $as_echo_n "(cached) " >&6
16734 if test "$cross_compiling" = yes; then :
16735 ac_cv_func_malloc_0_nonnull=no
16737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16738 /* end confdefs.h. */
16739 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
16740 # include <stdlib.h>
16748 return ! malloc (0);
16753 if ac_fn_c_try_run "$LINENO"; then :
16754 ac_cv_func_malloc_0_nonnull=yes
16756 ac_cv_func_malloc_0_nonnull=no
16758 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16759 conftest.$ac_objext conftest.beam conftest.$ac_ext
16763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
16764 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
16765 if test $ac_cv_func_malloc_0_nonnull = yes; then :
16767 $as_echo "@%:@define HAVE_MALLOC 1" >>confdefs.h
16770 $as_echo "@%:@define HAVE_MALLOC 0" >>confdefs.h
16772 case " $LIB@&t@OBJS " in
16773 *" malloc.$ac_objext "* ) ;;
16774 *) LIB@&t@OBJS="$LIB@&t@OBJS malloc.$ac_objext"
16779 $as_echo "@%:@define malloc rpl_malloc" >>confdefs.h
16784 for ac_func in bzero getcwd gettimeofday mkdir strchr strdup strrchr
16786 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16787 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16788 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16789 cat >>confdefs.h <<_ACEOF
16790 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16797 ac_config_files="$ac_config_files Examples/Makefile Makefile src/Makefile"
16799 cat >confcache <<\_ACEOF
16800 # This file is a shell script that caches the results of configure
16801 # tests run on this system so they can be shared between configure
16802 # scripts and configure runs, see configure's option --config-cache.
16803 # It is not useful on other systems. If it contains results you don't
16804 # want to keep, you may remove or edit it.
16806 # config.status only pays attention to the cache file if you give it
16807 # the --recheck option to rerun configure.
16809 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16810 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16811 # following values.
16815 # The following way of writing the cache mishandles newlines in values,
16816 # but we know of no workaround that is simple, portable, and efficient.
16817 # So, we kill variables containing newlines.
16818 # Ultrix sh set writes to stderr and can't be redirected directly,
16819 # and sets the high bit in the cache file unless we assign to the vars.
16821 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16822 eval ac_val=\$$ac_var
16826 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16827 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16830 _ | IFS | as_nl) ;; #(
16831 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16832 *) { eval $ac_var=; unset $ac_var;} ;;
16838 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16839 *${as_nl}ac_space=\ *)
16840 # `set' does not quote correctly, so add quotes: double-quote
16841 # substitution turns \\\\ into \\, and sed turns \\ into \.
16844 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16847 # `set' quotes correctly as required by POSIX, so do not add quotes.
16848 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16857 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16859 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16861 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16862 if test -w "$cache_file"; then
16863 if test "x$cache_file" != "x/dev/null"; then
16864 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16865 $as_echo "$as_me: updating cache $cache_file" >&6;}
16866 if test ! -f "$cache_file" || test -h "$cache_file"; then
16867 cat confcache >"$cache_file"
16869 case $cache_file in #(
16871 mv -f confcache "$cache_file"$$ &&
16872 mv -f "$cache_file"$$ "$cache_file" ;; #(
16874 mv -f confcache "$cache_file" ;;
16879 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16880 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16885 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16886 # Let make expand exec_prefix.
16887 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16889 DEFS=-DHAVE_CONFIG_H
16894 for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
16895 # 1. Remove the extension, and $U if already installed.
16896 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16897 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16898 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16899 # will be set to the directory where LIBOBJS objects are built.
16900 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16901 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16903 LIB@&t@OBJS=$ac_libobjs
16905 LTLIBOBJS=$ac_ltlibobjs
16908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
16909 $as_echo_n "checking that generated files are newer than configure... " >&6; }
16910 if test -n "$am_sleep_pid"; then
16911 # Hide warnings about reused PIDs.
16912 wait $am_sleep_pid 2>/dev/null
16914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
16915 $as_echo "done" >&6; }
16916 if test -n "$EXEEXT"; then
16918 am__EXEEXT_FALSE='#'
16920 am__EXEEXT_TRUE='#'
16924 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16925 as_fn_error $? "conditional \"AMDEP\" was never defined.
16926 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16928 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16929 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16930 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16932 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16933 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16934 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16936 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16937 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
16938 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16941 : "${CONFIG_STATUS=./config.status}"
16943 ac_clean_files_save=$ac_clean_files
16944 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16945 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16946 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16948 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16950 # Generated by $as_me.
16951 # Run this file to recreate the current configuration.
16952 # Compiler output produced by configure, useful for debugging
16953 # configure, is in config.log if it exists.
16956 ac_cs_recheck=false
16959 SHELL=\${CONFIG_SHELL-$SHELL}
16962 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16963 ## -------------------- ##
16964 ## M4sh Initialization. ##
16965 ## -------------------- ##
16967 # Be more Bourne compatible
16968 DUALCASE=1; export DUALCASE # for MKS sh
16969 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16972 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16973 # is contrary to our usage. Disable this feature.
16974 alias -g '${1+"$@"}'='"$@"'
16975 setopt NO_GLOB_SUBST
16977 case `(set -o) 2>/dev/null` in @%:@(
16979 set -o posix ;; @%:@(
16989 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16990 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16991 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16992 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16993 # Prefer a ksh shell builtin over an external printf program on Solaris,
16994 # but without wasting forks for bash or zsh.
16995 if test -z "$BASH_VERSION$ZSH_VERSION" \
16996 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16997 as_echo='print -r --'
16998 as_echo_n='print -rn --'
16999 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17000 as_echo='printf %s\n'
17001 as_echo_n='printf %s'
17003 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17004 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17005 as_echo_n='/usr/ucb/echo -n'
17007 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17008 as_echo_n_body='eval
17012 expr "X$arg" : "X\\(.*\\)$as_nl";
17013 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17015 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17017 export as_echo_n_body
17018 as_echo_n='sh -c $as_echo_n_body as_echo'
17020 export as_echo_body
17021 as_echo='sh -c $as_echo_body as_echo'
17024 # The user is always right.
17025 if test "${PATH_SEPARATOR+set}" != set; then
17027 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17028 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17035 # We need space, tab and new line, in precisely that order. Quoting is
17036 # there to prevent editors from complaining about space-tab.
17037 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17038 # splitting by setting IFS to empty value.)
17041 # Find who we are. Look in the path if we contain no directory separator.
17044 *[\\/]* ) as_myself=$0 ;;
17045 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17046 for as_dir in $PATH
17049 test -z "$as_dir" && as_dir=.
17050 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17056 # We did not find ourselves, most probably we were run as `sh COMMAND'
17057 # in which case we are not to be found in the path.
17058 if test "x$as_myself" = x; then
17061 if test ! -f "$as_myself"; then
17062 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17066 # Unset variables that we do not need and which cause bugs (e.g. in
17067 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17068 # suppresses any "Segmentation fault" message there. '((' could
17069 # trigger a bug in pdksh 5.2.14.
17070 for as_var in BASH_ENV ENV MAIL MAILPATH
17071 do eval test x\${$as_var+set} = xset \
17072 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17085 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17088 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
17089 @%:@ ----------------------------------------
17090 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17091 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17092 @%:@ script with STATUS, using 1 if that was 0.
17095 as_status=$1; test $as_status -eq 0 && as_status=1
17097 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17098 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17100 $as_echo "$as_me: error: $2" >&2
17101 as_fn_exit $as_status
17105 @%:@ as_fn_set_status STATUS
17106 @%:@ -----------------------
17107 @%:@ Set @S|@? to STATUS, without forking.
17108 as_fn_set_status ()
17111 } @%:@ as_fn_set_status
17113 @%:@ as_fn_exit STATUS
17114 @%:@ -----------------
17115 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17119 as_fn_set_status $1
17123 @%:@ as_fn_unset VAR
17124 @%:@ ---------------
17125 @%:@ Portably unset VAR.
17128 { eval $1=; unset $1;}
17130 as_unset=as_fn_unset
17131 @%:@ as_fn_append VAR VALUE
17132 @%:@ ----------------------
17133 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
17134 @%:@ advantage of any shell optimizations that allow amortized linear growth over
17135 @%:@ repeated appends, instead of the typical quadratic growth present in naive
17136 @%:@ implementations.
17137 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17138 eval 'as_fn_append ()
17149 @%:@ as_fn_arith ARG...
17150 @%:@ ------------------
17151 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
17152 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
17153 @%:@ must be portable across @S|@(()) and expr.
17154 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17155 eval 'as_fn_arith ()
17162 as_val=`expr "$@" || test $? -eq 1`
17167 if expr a : '\(a\)' >/dev/null 2>&1 &&
17168 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17174 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17175 as_basename=basename
17180 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17186 as_me=`$as_basename -- "$0" ||
17187 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17188 X"$0" : 'X\(//\)$' \| \
17189 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17191 sed '/^.*\/\([^/][^/]*\)\/*$/{
17205 # Avoid depending upon Character Ranges.
17206 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17207 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17208 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17209 as_cr_digits='0123456789'
17210 as_cr_alnum=$as_cr_Letters$as_cr_digits
17212 ECHO_C= ECHO_N= ECHO_T=
17213 case `echo -n x` in @%:@(((((
17215 case `echo 'xy\c'` in
17216 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17218 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17225 rm -f conf$$ conf$$.exe conf$$.file
17226 if test -d conf$$.dir; then
17227 rm -f conf$$.dir/conf$$.file
17230 mkdir conf$$.dir 2>/dev/null
17232 if (echo >conf$$.file) 2>/dev/null; then
17233 if ln -s conf$$.file conf$$ 2>/dev/null; then
17235 # ... but there are two gotchas:
17236 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17237 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17238 # In both cases, we have to default to `cp -pR'.
17239 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17241 elif ln conf$$.file conf$$ 2>/dev/null; then
17249 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17250 rmdir conf$$.dir 2>/dev/null
17255 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
17260 -*) as_dir=./$as_dir;;
17262 test -d "$as_dir" || eval $as_mkdir_p || {
17266 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17267 *) as_qdir=$as_dir;;
17269 as_dirs="'$as_qdir' $as_dirs"
17270 as_dir=`$as_dirname -- "$as_dir" ||
17271 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17272 X"$as_dir" : 'X\(//\)[^/]' \| \
17273 X"$as_dir" : 'X\(//\)$' \| \
17274 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17275 $as_echo X"$as_dir" |
17276 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17280 /^X\(\/\/\)[^/].*/{
17293 test -d "$as_dir" && break
17295 test -z "$as_dirs" || eval "mkdir $as_dirs"
17296 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17299 } @%:@ as_fn_mkdir_p
17300 if mkdir -p . 2>/dev/null; then
17301 as_mkdir_p='mkdir -p "$as_dir"'
17303 test -d ./-p && rmdir ./-p
17308 @%:@ as_fn_executable_p FILE
17309 @%:@ -----------------------
17310 @%:@ Test if FILE is an executable regular file.
17311 as_fn_executable_p ()
17313 test -f "$1" && test -x "$1"
17314 } @%:@ as_fn_executable_p
17315 as_test_x='test -x'
17316 as_executable_p=as_fn_executable_p
17318 # Sed expression to map a string onto a valid CPP name.
17319 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17321 # Sed expression to map a string onto a valid variable name.
17322 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17326 ## ----------------------------------- ##
17327 ## Main body of $CONFIG_STATUS script. ##
17328 ## ----------------------------------- ##
17330 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17332 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17333 # Save the log message, to keep $0 and so on meaningful, and to
17334 # report actual input values of CONFIG_FILES etc. instead of their
17335 # values after options handling.
17337 This file was extended by Jerasure $as_me 2.0, which was
17338 generated by GNU Autoconf 2.69. Invocation command line was
17340 CONFIG_FILES = $CONFIG_FILES
17341 CONFIG_HEADERS = $CONFIG_HEADERS
17342 CONFIG_LINKS = $CONFIG_LINKS
17343 CONFIG_COMMANDS = $CONFIG_COMMANDS
17346 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17351 case $ac_config_files in *"
17352 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17355 case $ac_config_headers in *"
17356 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17360 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17361 # Files that config.status was made for.
17362 config_files="$ac_config_files"
17363 config_headers="$ac_config_headers"
17364 config_commands="$ac_config_commands"
17368 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17370 \`$as_me' instantiates files and other configuration actions
17371 from templates according to the current configuration. Unless the files
17372 and actions are specified as TAGs, all are instantiated by default.
17374 Usage: $0 [OPTION]... [TAG]...
17376 -h, --help print this help, then exit
17377 -V, --version print version number and configuration settings, then exit
17378 --config print configuration, then exit
17379 -q, --quiet, --silent
17380 do not print progress messages
17381 -d, --debug don't remove temporary files
17382 --recheck update $as_me by reconfiguring in the same conditions
17383 --file=FILE[:TEMPLATE]
17384 instantiate the configuration file FILE
17385 --header=FILE[:TEMPLATE]
17386 instantiate the configuration header FILE
17388 Configuration files:
17391 Configuration headers:
17394 Configuration commands:
17397 Report bugs to the package provider.
17398 Jerasure home page: <https://jerasure.org/jerasure/jerasure>."
17401 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17402 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17404 Jerasure config.status 2.0
17405 configured by $0, generated by GNU Autoconf 2.69,
17406 with options \\"\$ac_cs_config\\"
17408 Copyright (C) 2012 Free Software Foundation, Inc.
17409 This config.status script is free software; the Free Software Foundation
17410 gives unlimited permission to copy, distribute and modify it."
17417 test -n "\$AWK" || AWK=awk
17420 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17421 # The default lists apply if the user does not specify any file.
17427 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17428 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17432 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17444 # Handling of the options.
17445 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17447 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17448 $as_echo "$ac_cs_version"; exit ;;
17449 --config | --confi | --conf | --con | --co | --c )
17450 $as_echo "$ac_cs_config"; exit ;;
17451 --debug | --debu | --deb | --de | --d | -d )
17453 --file | --fil | --fi | --f )
17456 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17457 '') as_fn_error $? "missing file argument" ;;
17459 as_fn_append CONFIG_FILES " '$ac_optarg'"
17460 ac_need_defaults=false;;
17461 --header | --heade | --head | --hea )
17464 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17466 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17467 ac_need_defaults=false;;
17469 # Conflict between --help and --header
17470 as_fn_error $? "ambiguous option: \`$1'
17471 Try \`$0 --help' for more information.";;
17472 --help | --hel | -h )
17473 $as_echo "$ac_cs_usage"; exit ;;
17474 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17475 | -silent | --silent | --silen | --sile | --sil | --si | --s)
17478 # This is an error.
17479 -*) as_fn_error $? "unrecognized option: \`$1'
17480 Try \`$0 --help' for more information." ;;
17482 *) as_fn_append ac_config_targets " $1"
17483 ac_need_defaults=false ;;
17489 ac_configure_extra_args=
17491 if $ac_cs_silent; then
17493 ac_configure_extra_args="$ac_configure_extra_args --silent"
17497 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17498 if \$ac_cs_recheck; then
17499 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17501 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17502 CONFIG_SHELL='$SHELL'
17503 export CONFIG_SHELL
17508 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17512 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
17513 @%:@@%:@ Running $as_me. @%:@@%:@
17519 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17523 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
17526 # The HP-UX ksh and POSIX shell print the target directory to stdout
17527 # if CDPATH is set.
17528 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17530 sed_quote_subst='$sed_quote_subst'
17531 double_quote_subst='$double_quote_subst'
17532 delay_variable_subst='$delay_variable_subst'
17533 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17534 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17535 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17536 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17537 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17538 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17539 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
17540 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17541 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17542 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17543 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17544 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17545 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17546 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17547 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17548 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17549 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17550 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17551 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17552 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17553 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17554 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17555 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17556 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17557 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17558 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17559 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17560 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17561 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17562 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17563 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17564 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17565 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17566 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17567 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17568 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17569 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17570 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17571 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17572 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17573 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17574 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17575 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17576 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17577 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17578 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17579 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17580 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17581 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17582 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17583 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17584 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17585 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17586 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17587 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17588 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17589 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
17590 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17591 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"`'
17592 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
17593 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17594 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17595 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
17596 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17597 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17598 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17599 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17600 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17601 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17602 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17603 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17604 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17605 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17606 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17607 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17608 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17609 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17610 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17611 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17612 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17613 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17614 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17615 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17616 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17617 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17618 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17619 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17620 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17621 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17622 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17623 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17624 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17625 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17626 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17627 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17628 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17629 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17630 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17631 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17632 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17633 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17634 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17635 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17636 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17637 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17638 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17639 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17640 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17641 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17642 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17643 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17644 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17645 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17646 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17647 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17648 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17649 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17650 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17651 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17652 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17653 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17654 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17655 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17656 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17657 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17658 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17659 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17660 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
17661 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
17662 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17663 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17664 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17665 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17666 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17667 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17668 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
17669 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
17670 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
17671 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
17672 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
17673 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
17674 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
17675 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
17676 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17677 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17678 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
17679 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
17680 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
17681 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
17682 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
17683 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
17684 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
17685 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
17686 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
17687 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17688 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17689 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
17690 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17691 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17692 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17693 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17694 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17695 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17696 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
17697 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17698 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17699 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17700 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
17701 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
17702 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
17703 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
17704 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
17705 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
17706 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
17707 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
17708 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
17709 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17710 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17711 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17712 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17713 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17714 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
17715 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
17716 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
17717 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17718 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17719 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
17720 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
17721 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
17724 LTCFLAGS='$LTCFLAGS'
17725 compiler='$compiler_DEFAULT'
17727 # A function that is used when there is no print builtin or printf.
17728 func_fallback_echo ()
17730 eval 'cat <<_LTECHO_EOF
17735 # Quote evaled strings.
17750 deplibs_check_method \
17755 sharedlib_from_linklib_cmd \
17758 archiver_list_spec \
17764 lt_cv_sys_global_symbol_pipe \
17765 lt_cv_sys_global_symbol_to_cdecl \
17766 lt_cv_sys_global_symbol_to_import \
17767 lt_cv_sys_global_symbol_to_c_name_address \
17768 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17769 lt_cv_nm_interface \
17770 nm_file_list_spec \
17771 lt_cv_truncate_bin \
17772 lt_prog_compiler_no_builtin_flag \
17773 lt_prog_compiler_pic \
17774 lt_prog_compiler_wl \
17775 lt_prog_compiler_static \
17776 lt_cv_prog_compiler_c_o \
17785 export_dynamic_flag_spec \
17786 whole_archive_flag_spec \
17787 compiler_needs_object \
17789 allow_undefined_flag \
17790 no_undefined_flag \
17791 hardcode_libdir_flag_spec \
17792 hardcode_libdir_separator \
17796 variables_saved_for_relink \
17798 library_names_spec \
17800 install_override_mode \
17804 compiler_lib_search_dirs \
17809 compiler_lib_search_path \
17813 lt_prog_compiler_no_builtin_flag_CXX \
17814 lt_prog_compiler_pic_CXX \
17815 lt_prog_compiler_wl_CXX \
17816 lt_prog_compiler_static_CXX \
17817 lt_cv_prog_compiler_c_o_CXX \
17818 export_dynamic_flag_spec_CXX \
17819 whole_archive_flag_spec_CXX \
17820 compiler_needs_object_CXX \
17822 allow_undefined_flag_CXX \
17823 no_undefined_flag_CXX \
17824 hardcode_libdir_flag_spec_CXX \
17825 hardcode_libdir_separator_CXX \
17826 exclude_expsyms_CXX \
17827 include_expsyms_CXX \
17828 file_list_spec_CXX \
17829 compiler_lib_search_dirs_CXX \
17830 predep_objects_CXX \
17831 postdep_objects_CXX \
17834 compiler_lib_search_path_CXX; do
17835 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17836 *[\\\\\\\`\\"\\\$]*)
17837 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
17840 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17845 # Double-quote double-evaled strings.
17846 for var in reload_cmds \
17847 old_postinstall_cmds \
17848 old_postuninstall_cmds \
17850 extract_expsyms_cmds \
17851 old_archive_from_new_cmds \
17852 old_archive_from_expsyms_cmds \
17854 archive_expsym_cmds \
17856 module_expsym_cmds \
17857 export_symbols_cmds \
17861 postuninstall_cmds \
17863 sys_lib_search_path_spec \
17864 configure_time_dlsearch_path \
17865 configure_time_lt_sys_library_path \
17867 old_archive_cmds_CXX \
17868 old_archive_from_new_cmds_CXX \
17869 old_archive_from_expsyms_cmds_CXX \
17871 archive_expsym_cmds_CXX \
17873 module_expsym_cmds_CXX \
17874 export_symbols_cmds_CXX \
17876 postlink_cmds_CXX; do
17877 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17878 *[\\\\\\\`\\"\\\$]*)
17879 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
17882 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17887 ac_aux_dir='$ac_aux_dir'
17889 # See if we are running on zsh, and set the options that allow our
17890 # commands through without removal of \ escapes INIT.
17891 if test -n "\${ZSH_VERSION+set}"; then
17892 setopt NO_GLOB_SUBST
17908 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17910 # Handling of arguments.
17911 for ac_config_target in $ac_config_targets
17913 case $ac_config_target in
17914 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
17915 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17916 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17917 "Examples/Makefile") CONFIG_FILES="$CONFIG_FILES Examples/Makefile" ;;
17918 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17919 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
17921 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17926 # If the user did not use the arguments to specify the items to instantiate,
17927 # then the envvar interface is used. Set only those that are not.
17928 # We use the long form for the default assignment because of an extremely
17929 # bizarre bug on SunOS 4.1.3.
17930 if $ac_need_defaults; then
17931 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17932 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17933 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17936 # Have a temporary directory for convenience. Make it in the build tree
17937 # simply because there is no reason against having it here, and in addition,
17938 # creating and moving files from /tmp can sometimes cause problems.
17939 # Hook for its removal unless debugging.
17940 # Note that there is a small window in which the directory will not be cleaned:
17941 # after its creation but before its name has been assigned to `$tmp'.
17945 trap 'exit_status=$?
17946 : "${ac_tmp:=$tmp}"
17947 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17949 trap 'as_fn_exit 1' 1 2 13 15
17951 # Create a (secure) tmp directory for tmp files.
17954 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17958 tmp=./conf$$-$RANDOM
17959 (umask 077 && mkdir "$tmp")
17960 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17963 # Set up the scripts for CONFIG_FILES section.
17964 # No need to generate them if there are no CONFIG_FILES.
17965 # This happens for instance with `./config.status config.h'.
17966 if test -n "$CONFIG_FILES"; then
17969 ac_cr=`echo X | tr X '\015'`
17970 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17971 # But we know of no other shell where ac_cr would be empty at this
17972 # point, so we can use a bashism as a fallback.
17973 if test "x$ac_cr" = x; then
17974 eval ac_cr=\$\'\\r\'
17976 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17977 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17980 ac_cs_awk_cr=$ac_cr
17983 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17988 echo "cat >conf$$subs.awk <<_ACEOF" &&
17989 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17991 } >conf$$subs.sh ||
17992 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17993 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17995 for ac_last_try in false false false false false :; do
17996 . ./conf$$subs.sh ||
17997 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17999 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18000 if test $ac_delim_n = $ac_delim_num; then
18002 elif $ac_last_try; then
18003 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18005 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18008 rm -f conf$$subs.sh
18010 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18011 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18015 s/^/S["/; s/!.*/"]=/
18025 s/\(.\{148\}\)..*/\1/
18027 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18032 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18039 s/\(.\{148\}\)..*/\1/
18041 s/["\\]/\\&/g; s/^/"/; s/$/"/
18045 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18050 ' <conf$$subs.awk | sed '
18055 ' >>$CONFIG_STATUS || ac_write_fail=1
18056 rm -f conf$$subs.awk
18057 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18059 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18060 for (key in S) S_is_set[key] = 1
18066 nfields = split(line, field, "@")
18068 len = length(field[1])
18069 for (i = 2; i < nfields; i++) {
18071 keylen = length(key)
18072 if (S_is_set[key]) {
18074 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18075 len += length(value) + length(field[++i])
18086 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18087 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18088 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18091 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18092 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18095 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18096 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18097 # trailing colons and then remove the whole line if VPATH becomes empty
18098 # (actually we leave an empty line to preserve line numbers).
18099 if test "x$srcdir" = x.; then
18100 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18118 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18119 fi # test -n "$CONFIG_FILES"
18121 # Set up the scripts for CONFIG_HEADERS section.
18122 # No need to generate them if there are no CONFIG_HEADERS.
18123 # This happens for instance with `./config.status Makefile'.
18124 if test -n "$CONFIG_HEADERS"; then
18125 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18129 # Transform confdefs.h into an awk script `defines.awk', embedded as
18130 # here-document in config.status, that substitutes the proper values into
18131 # config.h.in to produce config.h.
18133 # Create a delimiter string that does not exist in confdefs.h, to ease
18134 # handling of long lines.
18136 for ac_last_try in false false :; do
18137 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18138 if test -z "$ac_tt"; then
18140 elif $ac_last_try; then
18141 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18143 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18147 # For the awk script, D is an array of macro values keyed by name,
18148 # likewise P contains macro parameters if any. Preserve backslash
18149 # newline sequences.
18151 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18153 s/.\{148\}/&'"$ac_delim"'/g
18156 s/^[ ]*#[ ]*define[ ][ ]*/ /
18163 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18165 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18169 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18170 D["\1"]=" \3\\\\\\n"\\/p
18172 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18177 s/.\{148\}/&'"$ac_delim"'/g
18182 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18185 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18187 ' <confdefs.h | sed '
18188 s/'"$ac_delim"'/"\\\
18189 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18191 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18192 for (key in D) D_is_set[key] = 1
18195 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18197 split(line, arg, " ")
18198 if (arg[1] == "#") {
18202 defundef = substr(arg[1], 2)
18205 split(mac1, mac2, "(") #)
18207 prefix = substr(line, 1, index(line, defundef) - 1)
18208 if (D_is_set[macro]) {
18209 # Preserve the white space surrounding the "#".
18210 print prefix "define", macro P[macro] D[macro]
18213 # Replace #undef with comments. This is necessary, for example,
18214 # in the case of _POSIX_SOURCE, which is predefined and required
18215 # on some systems where configure will not decide to define it.
18216 if (defundef == "undef") {
18217 print "/*", prefix defundef, macro, "*/"
18225 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18226 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18227 fi # test -n "$CONFIG_HEADERS"
18230 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
18235 :[FHLC]) ac_mode=$ac_tag; continue;;
18237 case $ac_mode$ac_tag in
18239 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18240 :[FH]-) ac_tag=-:-;;
18241 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18258 -) ac_f="$ac_tmp/stdin";;
18259 *) # Look for the file first in the build tree, then in the source tree
18260 # (if the path is not absolute). The absolute path cannot be DOS-style,
18261 # because $ac_f cannot contain `:'.
18265 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18267 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18269 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18270 as_fn_append ac_file_inputs " '$ac_f'"
18273 # Let's still pretend it is `configure' which instantiates (i.e., don't
18274 # use $as_me), people would be surprised to read:
18275 # /* config.h. Generated by config.status. */
18276 configure_input='Generated from '`
18277 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18279 if test x"$ac_file" != x-; then
18280 configure_input="$ac_file. $configure_input"
18281 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18282 $as_echo "$as_me: creating $ac_file" >&6;}
18284 # Neutralize special characters interpreted by sed in replacement strings.
18285 case $configure_input in #(
18286 *\&* | *\|* | *\\* )
18287 ac_sed_conf_input=`$as_echo "$configure_input" |
18288 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18289 *) ac_sed_conf_input=$configure_input;;
18293 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18294 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18299 ac_dir=`$as_dirname -- "$ac_file" ||
18300 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18301 X"$ac_file" : 'X\(//\)[^/]' \| \
18302 X"$ac_file" : 'X\(//\)$' \| \
18303 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18304 $as_echo X"$ac_file" |
18305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18309 /^X\(\/\/\)[^/].*/{
18322 as_dir="$ac_dir"; as_fn_mkdir_p
18326 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18328 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18329 # A ".." for each directory in $ac_dir_suffix.
18330 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18331 case $ac_top_builddir_sub in
18332 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18333 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18336 ac_abs_top_builddir=$ac_pwd
18337 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18338 # for backward compatibility:
18339 ac_top_builddir=$ac_top_build_prefix
18342 .) # We are building in place.
18344 ac_top_srcdir=$ac_top_builddir_sub
18345 ac_abs_top_srcdir=$ac_pwd ;;
18346 [\\/]* | ?:[\\/]* ) # Absolute name.
18347 ac_srcdir=$srcdir$ac_dir_suffix;
18348 ac_top_srcdir=$srcdir
18349 ac_abs_top_srcdir=$srcdir ;;
18350 *) # Relative name.
18351 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18352 ac_top_srcdir=$ac_top_build_prefix$srcdir
18353 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18355 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18365 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18366 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18368 ac_MKDIR_P=$MKDIR_P
18370 [\\/$]* | ?:[\\/]* ) ;;
18371 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18375 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18376 # If the template does not know about datarootdir, expand it.
18377 # FIXME: This hack should be removed a few years after 2.60.
18378 ac_datarootdir_hack=; ac_datarootdir_seen=
18389 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18390 *datarootdir*) ac_datarootdir_seen=yes;;
18391 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18392 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18393 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18395 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18396 ac_datarootdir_hack='
18397 s&@datadir@&$datadir&g
18398 s&@docdir@&$docdir&g
18399 s&@infodir@&$infodir&g
18400 s&@localedir@&$localedir&g
18401 s&@mandir@&$mandir&g
18402 s&\\\${datarootdir}&$datarootdir&g' ;;
18406 # Neutralize VPATH when `$srcdir' = `.'.
18407 # Shell code in configure.ac might set extrasub.
18408 # FIXME: do we really want to maintain this feature?
18409 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18410 ac_sed_extra="$ac_vpsub
18413 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18415 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18416 s|@configure_input@|$ac_sed_conf_input|;t t
18417 s&@top_builddir@&$ac_top_builddir_sub&;t t
18418 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18419 s&@srcdir@&$ac_srcdir&;t t
18420 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18421 s&@top_srcdir@&$ac_top_srcdir&;t t
18422 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18423 s&@builddir@&$ac_builddir&;t t
18424 s&@abs_builddir@&$ac_abs_builddir&;t t
18425 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18426 s&@INSTALL@&$ac_INSTALL&;t t
18427 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18428 $ac_datarootdir_hack
18430 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18431 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18433 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18434 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18435 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18436 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18437 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18438 which seems to be undefined. Please make sure it is defined" >&5
18439 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18440 which seems to be undefined. Please make sure it is defined" >&2;}
18442 rm -f "$ac_tmp/stdin"
18444 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18445 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18447 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18453 if test x"$ac_file" != x-; then
18455 $as_echo "/* $configure_input */" \
18456 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18457 } >"$ac_tmp/config.h" \
18458 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18459 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18460 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18461 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18464 mv "$ac_tmp/config.h" "$ac_file" \
18465 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18468 $as_echo "/* $configure_input */" \
18469 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18470 || as_fn_error $? "could not create -" "$LINENO" 5
18472 # Compute "$ac_file"'s index in $config_headers.
18475 for _am_header in $config_headers :; do
18476 case $_am_header in
18477 $_am_arg | $_am_arg:* )
18480 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18483 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18484 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18485 X"$_am_arg" : 'X\(//\)[^/]' \| \
18486 X"$_am_arg" : 'X\(//\)$' \| \
18487 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18488 $as_echo X"$_am_arg" |
18489 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18493 /^X\(\/\/\)[^/].*/{
18505 s/.*/./; q'`/stamp-h$_am_stamp_count
18508 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18509 $as_echo "$as_me: executing $ac_file commands" >&6;}
18514 case $ac_file$ac_mode in
18515 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18516 # Older Autoconf quotes --file arguments for eval, but not when files
18517 # are listed without --file. Let's play safe and only enable the eval
18518 # if we detect the quoting.
18519 # TODO: see whether this extra hack can be removed once we start
18520 # requiring Autoconf 2.70 or later.
18521 case $CONFIG_FILES in @%:@(
18523 eval set x "$CONFIG_FILES" ;; @%:@(
18525 set x $CONFIG_FILES ;; @%:@(
18530 # Used to flag and report bootstrapping failures.
18534 # Strip MF so we end up with the name of the file.
18535 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
18536 # Check whether this is an Automake generated Makefile which includes
18537 # dependency-tracking related rules and includes.
18538 # Grep'ing the whole file directly is not great: AIX grep has a line
18539 # limit of 2048, but all sed's we know have understand at least 4000.
18540 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
18542 am_dirpart=`$as_dirname -- "$am_mf" ||
18543 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18544 X"$am_mf" : 'X\(//\)[^/]' \| \
18545 X"$am_mf" : 'X\(//\)$' \| \
18546 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
18547 $as_echo X"$am_mf" |
18548 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18552 /^X\(\/\/\)[^/].*/{
18565 am_filepart=`$as_basename -- "$am_mf" ||
18566 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
18567 X"$am_mf" : 'X\(//\)$' \| \
18568 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
18569 $as_echo X/"$am_mf" |
18570 sed '/^.*\/\([^/][^/]*\)\/*$/{
18583 { echo "$as_me:$LINENO: cd "$am_dirpart" \
18584 && sed -e '/# am--include-marker/d' "$am_filepart" \
18585 | $MAKE -f - am--depfiles" >&5
18586 (cd "$am_dirpart" \
18587 && sed -e '/# am--include-marker/d' "$am_filepart" \
18588 | $MAKE -f - am--depfiles) >&5 2>&5
18590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18591 (exit $ac_status); } || am_rc=$?
18593 if test $am_rc -ne 0; then
18594 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18595 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18596 as_fn_error $? "Something went wrong bootstrapping makefile fragments
18597 for automatic dependency tracking. Try re-running configure with the
18598 '--disable-dependency-tracking' option to at least be able to build
18599 the package (albeit without support for automatic dependency tracking).
18600 See \`config.log' for more details" "$LINENO" 5; }
18602 { am_dirpart=; unset am_dirpart;}
18603 { am_filepart=; unset am_filepart;}
18604 { am_mf=; unset am_mf;}
18605 { am_rc=; unset am_rc;}
18606 rm -f conftest-deps.mk
18611 # See if we are running on zsh, and set the options that allow our
18612 # commands through without removal of \ escapes.
18613 if test -n "${ZSH_VERSION+set}"; then
18614 setopt NO_GLOB_SUBST
18618 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18621 cat <<_LT_EOF >> "$cfgfile"
18623 # Generated automatically by $as_me ($PACKAGE) $VERSION
18624 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18626 # Provide generalized library-building support services.
18627 # Written by Gordon Matzigkeit, 1996
18629 # Copyright (C) 2014 Free Software Foundation, Inc.
18630 # This is free software; see the source for copying conditions. There is NO
18631 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18633 # GNU Libtool is free software; you can redistribute it and/or modify
18634 # it under the terms of the GNU General Public License as published by
18635 # the Free Software Foundation; either version 2 of of the License, or
18636 # (at your option) any later version.
18638 # As a special exception to the GNU General Public License, if you
18639 # distribute this file as part of a program or library that is built
18640 # using GNU Libtool, you may include this file under the same
18641 # distribution terms that you use for the rest of that program.
18643 # GNU Libtool is distributed in the hope that it will be useful, but
18644 # WITHOUT ANY WARRANTY; without even the implied warranty of
18645 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18646 # GNU General Public License for more details.
18648 # You should have received a copy of the GNU General Public License
18649 # along with this program. If not, see <http://www.gnu.org/licenses/>.
18652 # The names of the tagged configurations supported by this script.
18653 available_tags='CXX '
18655 # Configured defaults for sys_lib_dlsearch_path munging.
18656 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
18658 # ### BEGIN LIBTOOL CONFIG
18660 # Which release of libtool.m4 was used?
18661 macro_version=$macro_version
18662 macro_revision=$macro_revision
18664 # Whether or not to build static libraries.
18665 build_old_libs=$enable_static
18667 # Whether or not to build shared libraries.
18668 build_libtool_libs=$enable_shared
18670 # What type of objects to build.
18673 # Whether or not to optimize for fast installation.
18674 fast_install=$enable_fast_install
18676 # Shared archive member basename,for filename based shared library versioning on AIX.
18677 shared_archive_member_spec=$shared_archive_member_spec
18679 # Shell to use when invoking shell scripts.
18682 # An echo program that protects backslashes.
18685 # The PATH separator for the build system.
18686 PATH_SEPARATOR=$lt_PATH_SEPARATOR
18689 host_alias=$host_alias
18693 # The build system.
18694 build_alias=$build_alias
18698 # A sed program that does not truncate output.
18701 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18702 Xsed="\$SED -e 1s/^X//"
18704 # A grep program that handles long lines.
18710 # A literal string matcher.
18713 # A BSD- or MS-compatible name lister.
18716 # Whether we need soft or hard links.
18719 # What is the maximum length of a command?
18720 max_cmd_len=$max_cmd_len
18722 # Object file suffix (normally "o").
18725 # Executable file suffix (normally "").
18728 # whether the shell understands "unset".
18731 # turn spaces into newlines.
18734 # turn newlines into spaces.
18737 # convert \$build file names to \$host format.
18738 to_host_file_cmd=$lt_cv_to_host_file_cmd
18740 # convert \$build files to toolchain format.
18741 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18743 # An object symbol dumper.
18744 OBJDUMP=$lt_OBJDUMP
18746 # Method to check whether dependent libraries are shared objects.
18747 deplibs_check_method=$lt_deplibs_check_method
18749 # Command to use when deplibs_check_method = "file_magic".
18750 file_magic_cmd=$lt_file_magic_cmd
18752 # How to find potential files when deplibs_check_method = "file_magic".
18753 file_magic_glob=$lt_file_magic_glob
18755 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18756 want_nocaseglob=$lt_want_nocaseglob
18758 # DLL creation program.
18759 DLLTOOL=$lt_DLLTOOL
18761 # Command to associate shared and link libraries.
18762 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18767 # Flags to create an archive.
18768 AR_FLAGS=$lt_AR_FLAGS
18770 # How to feed a file listing to the archiver.
18771 archiver_list_spec=$lt_archiver_list_spec
18773 # A symbol stripping program.
18776 # Commands used to install an old-style archive.
18778 old_postinstall_cmds=$lt_old_postinstall_cmds
18779 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18781 # Whether to use a lock for old archive extraction.
18782 lock_old_archive_extraction=$lock_old_archive_extraction
18787 # LTCC compiler flags.
18788 LTCFLAGS=$lt_CFLAGS
18790 # Take the output of nm and produce a listing of raw symbols and C names.
18791 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18793 # Transform the output of nm in a proper C declaration.
18794 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18796 # Transform the output of nm into a list of symbols to manually relocate.
18797 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
18799 # Transform the output of nm in a C name address pair.
18800 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18802 # Transform the output of nm in a C name address pair when lib prefix is needed.
18803 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18805 # The name lister interface.
18806 nm_interface=$lt_lt_cv_nm_interface
18808 # Specify filename containing input files for \$NM.
18809 nm_file_list_spec=$lt_nm_file_list_spec
18811 # The root where to search for dependent libraries,and where our libraries should be installed.
18812 lt_sysroot=$lt_sysroot
18814 # Command to truncate a binary pipe.
18815 lt_truncate_bin=$lt_lt_cv_truncate_bin
18817 # The name of the directory that contains temporary libtool files.
18820 # Used to examine libraries when file_magic_cmd begins with "file".
18821 MAGIC_CMD=$MAGIC_CMD
18823 # Must we lock files when doing compilation?
18824 need_locks=$lt_need_locks
18827 MANIFEST_TOOL=$lt_MANIFEST_TOOL
18829 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18830 DSYMUTIL=$lt_DSYMUTIL
18832 # Tool to change global to local symbols on Mac OS X.
18835 # Tool to manipulate fat objects and archives on Mac OS X.
18838 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18841 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18842 OTOOL64=$lt_OTOOL64
18844 # Old archive suffix (normally "a").
18847 # Shared library suffix (normally ".so").
18848 shrext_cmds=$lt_shrext_cmds
18850 # The commands to extract the exported symbol list from a shared archive.
18851 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18853 # Variables whose values should be saved in libtool wrapper scripts and
18854 # restored at link time.
18855 variables_saved_for_relink=$lt_variables_saved_for_relink
18857 # Do we need the "lib" prefix for modules?
18858 need_lib_prefix=$need_lib_prefix
18860 # Do we need a version for libraries?
18861 need_version=$need_version
18863 # Library versioning type.
18864 version_type=$version_type
18866 # Shared library runtime path variable.
18867 runpath_var=$runpath_var
18869 # Shared library path variable.
18870 shlibpath_var=$shlibpath_var
18872 # Is shlibpath searched before the hard-coded library search path?
18873 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18875 # Format of library name prefix.
18876 libname_spec=$lt_libname_spec
18878 # List of archive names. First name is the real one, the rest are links.
18879 # The last name is the one that the linker finds with -lNAME
18880 library_names_spec=$lt_library_names_spec
18882 # The coded name of the library, if different from the real name.
18883 soname_spec=$lt_soname_spec
18885 # Permission mode override for installation of shared libraries.
18886 install_override_mode=$lt_install_override_mode
18888 # Command to use after installation of a shared archive.
18889 postinstall_cmds=$lt_postinstall_cmds
18891 # Command to use after uninstallation of a shared archive.
18892 postuninstall_cmds=$lt_postuninstall_cmds
18894 # Commands used to finish a libtool library installation in a directory.
18895 finish_cmds=$lt_finish_cmds
18897 # As "finish_cmds", except a single script fragment to be evaled but
18899 finish_eval=$lt_finish_eval
18901 # Whether we should hardcode library paths into libraries.
18902 hardcode_into_libs=$hardcode_into_libs
18904 # Compile-time system search path for libraries.
18905 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18907 # Detected run-time system search path for libraries.
18908 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
18910 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
18911 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
18913 # Whether dlopen is supported.
18914 dlopen_support=$enable_dlopen
18916 # Whether dlopen of programs is supported.
18917 dlopen_self=$enable_dlopen_self
18919 # Whether dlopen of statically linked programs is supported.
18920 dlopen_self_static=$enable_dlopen_self_static
18922 # Commands to strip libraries.
18923 old_striplib=$lt_old_striplib
18924 striplib=$lt_striplib
18927 # The linker used to build libraries.
18930 # How to create reloadable object files.
18931 reload_flag=$lt_reload_flag
18932 reload_cmds=$lt_reload_cmds
18934 # Commands used to build an old-style archive.
18935 old_archive_cmds=$lt_old_archive_cmds
18937 # A language specific compiler.
18940 # Is the compiler the GNU compiler?
18943 # Compiler flag to turn off builtin functions.
18944 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18946 # Additional compiler flags for building library objects.
18947 pic_flag=$lt_lt_prog_compiler_pic
18949 # How to pass a linker flag through the compiler.
18950 wl=$lt_lt_prog_compiler_wl
18952 # Compiler flag to prevent dynamic linking.
18953 link_static_flag=$lt_lt_prog_compiler_static
18955 # Does compiler simultaneously support -c and -o options?
18956 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18958 # Whether or not to add -lc for building shared libraries.
18959 build_libtool_need_lc=$archive_cmds_need_lc
18961 # Whether or not to disallow shared libs when runtime libs are static.
18962 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18964 # Compiler flag to allow reflexive dlopens.
18965 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18967 # Compiler flag to generate shared objects directly from archives.
18968 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18970 # Whether the compiler copes with passing no objects directly.
18971 compiler_needs_object=$lt_compiler_needs_object
18973 # Create an old-style archive from a shared archive.
18974 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18976 # Create a temporary old-style archive to link instead of a shared archive.
18977 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18979 # Commands used to build a shared archive.
18980 archive_cmds=$lt_archive_cmds
18981 archive_expsym_cmds=$lt_archive_expsym_cmds
18983 # Commands used to build a loadable module if different from building
18984 # a shared archive.
18985 module_cmds=$lt_module_cmds
18986 module_expsym_cmds=$lt_module_expsym_cmds
18988 # Whether we are building with GNU ld or not.
18989 with_gnu_ld=$lt_with_gnu_ld
18991 # Flag that allows shared libraries with undefined symbols to be built.
18992 allow_undefined_flag=$lt_allow_undefined_flag
18994 # Flag that enforces no undefined symbols.
18995 no_undefined_flag=$lt_no_undefined_flag
18997 # Flag to hardcode \$libdir into a binary during linking.
18998 # This must work even if \$libdir does not exist
18999 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19001 # Whether we need a single "-rpath" flag with a separated argument.
19002 hardcode_libdir_separator=$lt_hardcode_libdir_separator
19004 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19005 # DIR into the resulting binary.
19006 hardcode_direct=$hardcode_direct
19008 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19009 # DIR into the resulting binary and the resulting library dependency is
19010 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
19011 # library is relocated.
19012 hardcode_direct_absolute=$hardcode_direct_absolute
19014 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19015 # into the resulting binary.
19016 hardcode_minus_L=$hardcode_minus_L
19018 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19019 # into the resulting binary.
19020 hardcode_shlibpath_var=$hardcode_shlibpath_var
19022 # Set to "yes" if building a shared library automatically hardcodes DIR
19023 # into the library and all subsequent libraries and executables linked
19025 hardcode_automatic=$hardcode_automatic
19027 # Set to yes if linker adds runtime paths of dependent libraries
19028 # to runtime path list.
19029 inherit_rpath=$inherit_rpath
19031 # Whether libtool must link a program against all its dependency libraries.
19032 link_all_deplibs=$link_all_deplibs
19034 # Set to "yes" if exported symbols are required.
19035 always_export_symbols=$always_export_symbols
19037 # The commands to list exported symbols.
19038 export_symbols_cmds=$lt_export_symbols_cmds
19040 # Symbols that should not be listed in the preloaded symbols.
19041 exclude_expsyms=$lt_exclude_expsyms
19043 # Symbols that must always be exported.
19044 include_expsyms=$lt_include_expsyms
19046 # Commands necessary for linking programs (against libraries) with templates.
19047 prelink_cmds=$lt_prelink_cmds
19049 # Commands necessary for finishing linking programs.
19050 postlink_cmds=$lt_postlink_cmds
19052 # Specify filename containing input files.
19053 file_list_spec=$lt_file_list_spec
19055 # How to hardcode a shared library path into an executable.
19056 hardcode_action=$hardcode_action
19058 # The directories searched by this compiler when creating a shared library.
19059 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
19061 # Dependencies to place before and after the objects being linked to
19062 # create a shared library.
19063 predep_objects=$lt_predep_objects
19064 postdep_objects=$lt_postdep_objects
19065 predeps=$lt_predeps
19066 postdeps=$lt_postdeps
19068 # The library search path used internally by the compiler when linking
19069 # a shared library.
19070 compiler_lib_search_path=$lt_compiler_lib_search_path
19072 # ### END LIBTOOL CONFIG
19076 cat <<'_LT_EOF' >> "$cfgfile"
19078 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
19080 # func_munge_path_list VARIABLE PATH
19081 # -----------------------------------
19082 # VARIABLE is name of variable containing _space_ separated list of
19083 # directories to be munged by the contents of PATH, which is string
19086 # string "DIR[ DIR]" will be prepended to VARIABLE
19088 # string "DIR[ DIR]" will be appended to VARIABLE
19089 # "DIRP[:DIRP]::[DIRA:]DIRA"
19090 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
19091 # "DIRA[ DIRA]" will be appended to VARIABLE
19093 # VARIABLE will be replaced by "DIR[ DIR]"
19094 func_munge_path_list ()
19100 eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'` \@S|@@S|@1\"
19103 eval @S|@1=\"\@S|@@S|@1 `$ECHO @S|@2 | $SED 's/:/ /g'`\"
19106 eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
19107 eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\"
19110 eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'`\"
19116 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
19117 func_cc_basename ()
19119 for cc_temp in @S|@*""; do
19121 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19122 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19127 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
19131 # ### END FUNCTIONS SHARED WITH CONFIGURE
19137 cat <<\_LT_EOF >> "$cfgfile"
19138 # AIX sometimes has problems with the GCC collect2 program. For some
19139 # reason, if we set the COLLECT_NAMES environment variable, the problems
19140 # vanish in a puff of smoke.
19141 if test set != "${COLLECT_NAMES+set}"; then
19143 export COLLECT_NAMES
19150 ltmain=$ac_aux_dir/ltmain.sh
19153 # We use sed instead of cat because bash on DJGPP gets confused if
19154 # if finds mixed CR/LF and LF-only lines. Since sed operates in
19155 # text mode, it properly converts lines to CR/LF. This bash problem
19156 # is reportedly fixed, but why not run on old versions too?
19157 sed '$q' "$ltmain" >> "$cfgfile" \
19158 || (rm -f "$cfgfile"; exit 1)
19160 mv -f "$cfgfile" "$ofile" ||
19161 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19165 cat <<_LT_EOF >> "$ofile"
19167 # ### BEGIN LIBTOOL TAG CONFIG: CXX
19169 # The linker used to build libraries.
19172 # How to create reloadable object files.
19173 reload_flag=$lt_reload_flag_CXX
19174 reload_cmds=$lt_reload_cmds_CXX
19176 # Commands used to build an old-style archive.
19177 old_archive_cmds=$lt_old_archive_cmds_CXX
19179 # A language specific compiler.
19180 CC=$lt_compiler_CXX
19182 # Is the compiler the GNU compiler?
19185 # Compiler flag to turn off builtin functions.
19186 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
19188 # Additional compiler flags for building library objects.
19189 pic_flag=$lt_lt_prog_compiler_pic_CXX
19191 # How to pass a linker flag through the compiler.
19192 wl=$lt_lt_prog_compiler_wl_CXX
19194 # Compiler flag to prevent dynamic linking.
19195 link_static_flag=$lt_lt_prog_compiler_static_CXX
19197 # Does compiler simultaneously support -c and -o options?
19198 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
19200 # Whether or not to add -lc for building shared libraries.
19201 build_libtool_need_lc=$archive_cmds_need_lc_CXX
19203 # Whether or not to disallow shared libs when runtime libs are static.
19204 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
19206 # Compiler flag to allow reflexive dlopens.
19207 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
19209 # Compiler flag to generate shared objects directly from archives.
19210 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
19212 # Whether the compiler copes with passing no objects directly.
19213 compiler_needs_object=$lt_compiler_needs_object_CXX
19215 # Create an old-style archive from a shared archive.
19216 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
19218 # Create a temporary old-style archive to link instead of a shared archive.
19219 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
19221 # Commands used to build a shared archive.
19222 archive_cmds=$lt_archive_cmds_CXX
19223 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
19225 # Commands used to build a loadable module if different from building
19226 # a shared archive.
19227 module_cmds=$lt_module_cmds_CXX
19228 module_expsym_cmds=$lt_module_expsym_cmds_CXX
19230 # Whether we are building with GNU ld or not.
19231 with_gnu_ld=$lt_with_gnu_ld_CXX
19233 # Flag that allows shared libraries with undefined symbols to be built.
19234 allow_undefined_flag=$lt_allow_undefined_flag_CXX
19236 # Flag that enforces no undefined symbols.
19237 no_undefined_flag=$lt_no_undefined_flag_CXX
19239 # Flag to hardcode \$libdir into a binary during linking.
19240 # This must work even if \$libdir does not exist
19241 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
19243 # Whether we need a single "-rpath" flag with a separated argument.
19244 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
19246 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19247 # DIR into the resulting binary.
19248 hardcode_direct=$hardcode_direct_CXX
19250 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
19251 # DIR into the resulting binary and the resulting library dependency is
19252 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
19253 # library is relocated.
19254 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
19256 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19257 # into the resulting binary.
19258 hardcode_minus_L=$hardcode_minus_L_CXX
19260 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19261 # into the resulting binary.
19262 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
19264 # Set to "yes" if building a shared library automatically hardcodes DIR
19265 # into the library and all subsequent libraries and executables linked
19267 hardcode_automatic=$hardcode_automatic_CXX
19269 # Set to yes if linker adds runtime paths of dependent libraries
19270 # to runtime path list.
19271 inherit_rpath=$inherit_rpath_CXX
19273 # Whether libtool must link a program against all its dependency libraries.
19274 link_all_deplibs=$link_all_deplibs_CXX
19276 # Set to "yes" if exported symbols are required.
19277 always_export_symbols=$always_export_symbols_CXX
19279 # The commands to list exported symbols.
19280 export_symbols_cmds=$lt_export_symbols_cmds_CXX
19282 # Symbols that should not be listed in the preloaded symbols.
19283 exclude_expsyms=$lt_exclude_expsyms_CXX
19285 # Symbols that must always be exported.
19286 include_expsyms=$lt_include_expsyms_CXX
19288 # Commands necessary for linking programs (against libraries) with templates.
19289 prelink_cmds=$lt_prelink_cmds_CXX
19291 # Commands necessary for finishing linking programs.
19292 postlink_cmds=$lt_postlink_cmds_CXX
19294 # Specify filename containing input files.
19295 file_list_spec=$lt_file_list_spec_CXX
19297 # How to hardcode a shared library path into an executable.
19298 hardcode_action=$hardcode_action_CXX
19300 # The directories searched by this compiler when creating a shared library.
19301 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
19303 # Dependencies to place before and after the objects being linked to
19304 # create a shared library.
19305 predep_objects=$lt_predep_objects_CXX
19306 postdep_objects=$lt_postdep_objects_CXX
19307 predeps=$lt_predeps_CXX
19308 postdeps=$lt_postdeps_CXX
19310 # The library search path used internally by the compiler when linking
19311 # a shared library.
19312 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19314 # ### END LIBTOOL TAG CONFIG: CXX
19325 ac_clean_files=$ac_clean_files_save
19327 test $ac_write_fail = 0 ||
19328 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19331 # configure is writing to config.log, and then calls config.status.
19332 # config.status does its own redirection, appending to config.log.
19333 # Unfortunately, on DOS this fails, as config.log is still kept open
19334 # by configure, so config.status won't be able to write to it; its
19335 # output is simply discarded. So we exec the FD to /dev/null,
19336 # effectively closing config.log, so it can be properly (re)opened and
19337 # appended to by config.status. When coming back to configure, we
19338 # need to make the FD available again.
19339 if test "$no_create" != yes; then
19341 ac_config_status_args=
19342 test "$silent" = yes &&
19343 ac_config_status_args="$ac_config_status_args --quiet"
19345 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19347 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19348 # would make configure fail if this is the last instruction.
19349 $ac_cs_success || as_fn_exit 1
19351 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19352 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19353 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}