2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for Jerasure 2.0.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 if test "x$CONFIG_SHELL" = x
; then
138 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142 # is contrary to our usage. Disable this feature.
143 alias -g '\${1+\"\$@\"}'='\"\$@\"'
146 case \`(set -o) 2>/dev/null\` in #(
154 as_required
="as_fn_return () { (exit \$1); }
155 as_fn_success () { as_fn_return 0; }
156 as_fn_failure () { as_fn_return 1; }
157 as_fn_ret_success () { return 0; }
158 as_fn_ret_failure () { return 1; }
161 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168 exitcode=1; echo positional parameters were not saved.
170 test x\$exitcode = x0 || exit 1"
171 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
172 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
177 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
178 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
179 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
180 PATH=/empty FPATH=/empty; export PATH FPATH
181 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
182 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
183 test \$(( 1 + 1 )) = 2 || exit 1"
184 if (eval "$as_required") 2>/dev
/null
; then :
189 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
192 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
194 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
197 test -z "$as_dir" && as_dir
=.
201 for as_base
in sh bash ksh sh5
; do
202 # Try only shells that exist, to save several forks.
203 as_shell
=$as_dir/$as_base
204 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
206 CONFIG_SHELL
=$as_shell as_have_required
=yes
207 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
215 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
216 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
217 CONFIG_SHELL
=$SHELL as_have_required
=yes
222 if test "x$CONFIG_SHELL" != x
; then :
223 # We cannot yet assume a decent shell, so we have to provide a
224 # neutralization value for shells without unset; and this also
225 # works around shells that cannot unset nonexistent variables.
226 # Preserve -v and -x to the replacement shell.
229 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
232 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
237 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
240 if test x
$as_have_required = xno
; then :
241 $as_echo "$0: This script requires a shell more modern than all"
242 $as_echo "$0: the shells that I found on your system."
243 if test x
${ZSH_VERSION+set} = xset
; then
244 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
245 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
247 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
248 $0: including any error possibly output before this
249 $0: message. Then install a modern shell, or manually run
250 $0: the script under such a shell if you do have one."
256 SHELL
=${CONFIG_SHELL-/bin/sh}
258 # Unset more variables known to interfere with behavior of common tools.
259 CLICOLOR_FORCE
= GREP_OPTIONS
=
260 unset CLICOLOR_FORCE GREP_OPTIONS
262 ## --------------------- ##
263 ## M4sh Shell Functions. ##
264 ## --------------------- ##
267 # Portably unset VAR.
270 { eval $1=; unset $1;}
274 # as_fn_set_status STATUS
275 # -----------------------
276 # Set $? to STATUS, without forking.
284 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
294 # Create "$as_dir" as a directory, including parents if necessary.
299 -*) as_dir
=.
/$as_dir;;
301 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
305 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
308 as_dirs
="'$as_qdir' $as_dirs"
309 as_dir
=`$as_dirname -- "$as_dir" ||
310 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
311 X"$as_dir" : 'X\(//\)[^/]' \| \
312 X"$as_dir" : 'X\(//\)$' \| \
313 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
314 $as_echo X"$as_dir" |
315 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
332 test -d "$as_dir" && break
334 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
335 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
339 # as_fn_append VAR VALUE
340 # ----------------------
341 # Append the text in VALUE to the end of the definition contained in VAR. Take
342 # advantage of any shell optimizations that allow amortized linear growth over
343 # repeated appends, instead of the typical quadratic growth present in naive
345 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
346 eval 'as_fn_append ()
359 # Perform arithmetic evaluation on the ARGs, and store the result in the
360 # global $as_val. Take advantage of shells that can avoid forks. The arguments
361 # must be portable across $(()) and expr.
362 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
370 as_val
=`expr "$@" || test $? -eq 1`
375 # as_fn_error STATUS ERROR [LINENO LOG_FD]
376 # ----------------------------------------
377 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
378 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
379 # script with STATUS, using 1 if that was 0.
382 as_status
=$1; test $as_status -eq 0 && as_status
=1
384 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
385 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
387 $as_echo "$as_me: error: $2" >&2
388 as_fn_exit
$as_status
391 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
392 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
398 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
404 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
410 as_me
=`$as_basename -- "$0" ||
411 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
412 X"$0" : 'X\(//\)$' \| \
413 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
415 sed '/^.*\/\([^/][^/]*\)\/*$/{
429 # Avoid depending upon Character Ranges.
430 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
431 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
432 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
433 as_cr_digits
='0123456789'
434 as_cr_alnum
=$as_cr_Letters$as_cr_digits
437 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
438 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
439 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
440 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
441 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
453 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
457 chmod +x
"$as_me.lineno" ||
458 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
468 ECHO_C
= ECHO_N
= ECHO_T
=
469 case `echo -n x` in #(((((
471 case `echo 'xy\c'` in
472 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
474 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
481 rm -f conf$$ conf$$.exe conf$$.
file
482 if test -d conf$$.dir
; then
483 rm -f conf$$.dir
/conf$$.
file
486 mkdir conf$$.dir
2>/dev
/null
488 if (echo >conf$$.
file) 2>/dev
/null
; then
489 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
491 # ... but there are two gotchas:
492 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
493 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
494 # In both cases, we have to default to `cp -p'.
495 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
497 elif ln conf$$.
file conf$$
2>/dev
/null
; then
505 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
506 rmdir conf$$.dir
2>/dev
/null
508 if mkdir
-p .
2>/dev
/null
; then
509 as_mkdir_p
='mkdir -p "$as_dir"'
511 test -d .
/-p && rmdir .
/-p
515 if test -x / >/dev
/null
2>&1; then
518 if ls -dL / >/dev
/null
2>&1; then
525 if test -d "$1"; then
531 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
532 ???[sx]*):;;*)false;;esac;fi
536 as_executable_p
=$as_test_x
538 # Sed expression to map a string onto a valid CPP name.
539 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
541 # Sed expression to map a string onto a valid variable name.
542 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
544 SHELL
=${CONFIG_SHELL-/bin/sh}
547 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
551 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
552 # so uname gets run too.
553 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
558 ac_default_prefix
=/usr
/local
560 ac_config_libobj_dir
=.
567 # Identity of this package.
568 PACKAGE_NAME
='Jerasure'
569 PACKAGE_TARNAME
='jerasure'
570 PACKAGE_VERSION
='2.0'
571 PACKAGE_STRING
='Jerasure 2.0'
575 # Factoring default headers for most tests.
576 ac_includes_default
="\
578 #ifdef HAVE_SYS_TYPES_H
579 # include <sys/types.h>
581 #ifdef HAVE_SYS_STAT_H
582 # include <sys/stat.h>
588 # ifdef HAVE_STDLIB_H
593 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
598 #ifdef HAVE_STRINGS_H
599 # include <strings.h>
601 #ifdef HAVE_INTTYPES_H
602 # include <inttypes.h>
611 ac_subst_vars
='am__EXEEXT_FALSE
661 INSTALL_STRIP_PROGRAM
703 program_transform_name
716 enable_option_checking
725 ac_precious_vars
='build_alias
736 # Initialize some variables set by options.
738 ac_init_version
=false
739 ac_unrecognized_opts
=
741 # The variables have the same names as the options, with
742 # dashes changed to underlines.
750 program_transform_name
=s
,x
,x
,
758 # Installation directory options.
759 # These are left unexpanded so users can "make install exec_prefix=/foo"
760 # and all the variables that are supposed to be based on exec_prefix
761 # by default will actually change.
762 # Use braces instead of parens because sh, perl, etc. also accept them.
763 # (The list follows the same order as the GNU Coding Standards.)
764 bindir
='${exec_prefix}/bin'
765 sbindir
='${exec_prefix}/sbin'
766 libexecdir
='${exec_prefix}/libexec'
767 datarootdir
='${prefix}/share'
768 datadir
='${datarootdir}'
769 sysconfdir
='${prefix}/etc'
770 sharedstatedir
='${prefix}/com'
771 localstatedir
='${prefix}/var'
772 includedir
='${prefix}/include'
773 oldincludedir
='/usr/include'
774 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
775 infodir
='${datarootdir}/info'
780 libdir
='${exec_prefix}/lib'
781 localedir
='${datarootdir}/locale'
782 mandir
='${datarootdir}/man'
788 # If the previous option needs an argument, assign it.
789 if test -n "$ac_prev"; then
790 eval $ac_prev=\
$ac_option
796 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
801 # Accept the important Cygnus configure options, so we can diagnose typos.
803 case $ac_dashdash$ac_option in
807 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
809 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
812 -build |
--build |
--buil |
--bui |
--bu)
813 ac_prev
=build_alias
;;
814 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
815 build_alias
=$ac_optarg ;;
817 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
818 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
819 ac_prev
=cache_file
;;
820 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
821 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
822 cache_file
=$ac_optarg ;;
825 cache_file
=config.cache
;;
827 -datadir |
--datadir |
--datadi |
--datad)
829 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
830 datadir
=$ac_optarg ;;
832 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
833 |
--dataroo |
--dataro |
--datar)
834 ac_prev
=datarootdir
;;
835 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
836 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
837 datarootdir
=$ac_optarg ;;
839 -disable-* |
--disable-*)
840 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
841 # Reject names that are not valid shell variable names.
842 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
843 as_fn_error $?
"invalid feature name: $ac_useropt"
844 ac_useropt_orig
=$ac_useropt
845 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
846 case $ac_user_opts in
850 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
851 ac_unrecognized_sep
=', ';;
853 eval enable_
$ac_useropt=no
;;
855 -docdir |
--docdir |
--docdi |
--doc |
--do)
857 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
860 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
862 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
865 -enable-* |
--enable-*)
866 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
867 # Reject names that are not valid shell variable names.
868 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
869 as_fn_error $?
"invalid feature name: $ac_useropt"
870 ac_useropt_orig
=$ac_useropt
871 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
872 case $ac_user_opts in
876 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
877 ac_unrecognized_sep
=', ';;
879 eval enable_
$ac_useropt=\
$ac_optarg ;;
881 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
882 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
883 |
--exec |
--exe |
--ex)
884 ac_prev
=exec_prefix
;;
885 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
886 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
887 |
--exec=* |
--exe=* |
--ex=*)
888 exec_prefix
=$ac_optarg ;;
890 -gas |
--gas |
--ga |
--g)
891 # Obsolete; use --with-gas.
894 -help |
--help |
--hel |
--he |
-h)
896 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
897 ac_init_help
=recursive
;;
898 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
899 ac_init_help
=short
;;
901 -host |
--host |
--hos |
--ho)
902 ac_prev
=host_alias
;;
903 -host=* |
--host=* |
--hos=* |
--ho=*)
904 host_alias
=$ac_optarg ;;
906 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
908 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
910 htmldir
=$ac_optarg ;;
912 -includedir |
--includedir |
--includedi |
--included |
--include \
913 |
--includ |
--inclu |
--incl |
--inc)
914 ac_prev
=includedir
;;
915 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
916 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
917 includedir
=$ac_optarg ;;
919 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
921 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
922 infodir
=$ac_optarg ;;
924 -libdir |
--libdir |
--libdi |
--libd)
926 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
929 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
930 |
--libexe |
--libex |
--libe)
931 ac_prev
=libexecdir
;;
932 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
933 |
--libexe=* |
--libex=* |
--libe=*)
934 libexecdir
=$ac_optarg ;;
936 -localedir |
--localedir |
--localedi |
--localed |
--locale)
938 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
939 localedir
=$ac_optarg ;;
941 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
942 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
943 ac_prev
=localstatedir
;;
944 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
945 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
946 localstatedir
=$ac_optarg ;;
948 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
950 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
954 # Obsolete; use --without-fp.
957 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
958 |
--no-cr |
--no-c |
-n)
961 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
962 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
965 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
966 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
967 |
--oldin |
--oldi |
--old |
--ol |
--o)
968 ac_prev
=oldincludedir
;;
969 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
970 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
971 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
972 oldincludedir
=$ac_optarg ;;
974 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
976 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
979 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
980 |
--program-pre |
--program-pr |
--program-p)
981 ac_prev
=program_prefix
;;
982 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
983 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
984 program_prefix
=$ac_optarg ;;
986 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
987 |
--program-suf |
--program-su |
--program-s)
988 ac_prev
=program_suffix
;;
989 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
990 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
991 program_suffix
=$ac_optarg ;;
993 -program-transform-name |
--program-transform-name \
994 |
--program-transform-nam |
--program-transform-na \
995 |
--program-transform-n |
--program-transform- \
996 |
--program-transform |
--program-transfor \
997 |
--program-transfo |
--program-transf \
998 |
--program-trans |
--program-tran \
999 |
--progr-tra |
--program-tr |
--program-t)
1000 ac_prev
=program_transform_name
;;
1001 -program-transform-name=* |
--program-transform-name=* \
1002 |
--program-transform-nam=* |
--program-transform-na=* \
1003 |
--program-transform-n=* |
--program-transform-=* \
1004 |
--program-transform=* |
--program-transfor=* \
1005 |
--program-transfo=* |
--program-transf=* \
1006 |
--program-trans=* |
--program-tran=* \
1007 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1008 program_transform_name
=$ac_optarg ;;
1010 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1012 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1013 pdfdir
=$ac_optarg ;;
1015 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1017 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1020 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1021 |
-silent |
--silent |
--silen |
--sile |
--sil)
1024 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1026 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1028 sbindir
=$ac_optarg ;;
1030 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1031 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1032 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1034 ac_prev
=sharedstatedir
;;
1035 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1036 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1037 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1039 sharedstatedir
=$ac_optarg ;;
1041 -site |
--site |
--sit)
1043 -site=* |
--site=* |
--sit=*)
1046 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1048 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1049 srcdir
=$ac_optarg ;;
1051 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1052 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1053 ac_prev
=sysconfdir
;;
1054 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1055 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1056 sysconfdir
=$ac_optarg ;;
1058 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1059 ac_prev
=target_alias
;;
1060 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1061 target_alias
=$ac_optarg ;;
1063 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1066 -version |
--version |
--versio |
--versi |
--vers |
-V)
1067 ac_init_version
=: ;;
1070 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1071 # Reject names that are not valid shell variable names.
1072 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1073 as_fn_error $?
"invalid package name: $ac_useropt"
1074 ac_useropt_orig
=$ac_useropt
1075 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1076 case $ac_user_opts in
1080 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1081 ac_unrecognized_sep
=', ';;
1083 eval with_
$ac_useropt=\
$ac_optarg ;;
1085 -without-* |
--without-*)
1086 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1087 # Reject names that are not valid shell variable names.
1088 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1089 as_fn_error $?
"invalid package name: $ac_useropt"
1090 ac_useropt_orig
=$ac_useropt
1091 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1092 case $ac_user_opts in
1096 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1097 ac_unrecognized_sep
=', ';;
1099 eval with_
$ac_useropt=no
;;
1102 # Obsolete; use --with-x.
1105 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1106 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1107 ac_prev
=x_includes
;;
1108 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1109 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1110 x_includes
=$ac_optarg ;;
1112 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1113 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1114 ac_prev
=x_libraries
;;
1115 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1116 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1117 x_libraries
=$ac_optarg ;;
1119 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1120 Try \`$0 --help' for more information"
1124 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1125 # Reject names that are not valid shell variable names.
1126 case $ac_envvar in #(
1127 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1128 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1130 eval $ac_envvar=\
$ac_optarg
1131 export $ac_envvar ;;
1134 # FIXME: should be removed in autoconf 3.0.
1135 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1136 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1137 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1138 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1144 if test -n "$ac_prev"; then
1145 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1146 as_fn_error $?
"missing argument to $ac_option"
1149 if test -n "$ac_unrecognized_opts"; then
1150 case $enable_option_checking in
1152 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1153 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1157 # Check all directory arguments for consistency.
1158 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1159 datadir sysconfdir sharedstatedir localstatedir includedir \
1160 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1161 libdir localedir mandir
1163 eval ac_val
=\$
$ac_var
1164 # Remove trailing slashes.
1167 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1168 eval $ac_var=\
$ac_val;;
1170 # Be sure to have absolute directory names.
1172 [\\/$
]* | ?
:[\\/]* ) continue;;
1173 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1175 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1178 # There might be people who depend on the old broken behavior: `$host'
1179 # used to hold the argument of --host etc.
1180 # FIXME: To remove some day.
1183 target
=$target_alias
1185 # FIXME: To remove some day.
1186 if test "x$host_alias" != x
; then
1187 if test "x$build_alias" = x
; then
1188 cross_compiling
=maybe
1189 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1190 If a cross compiler is detected then cross compile mode will be used" >&2
1191 elif test "x$build_alias" != "x$host_alias"; then
1197 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1199 test "$silent" = yes && exec 6>/dev
/null
1202 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1203 ac_ls_di
=`ls -di .` &&
1204 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1205 as_fn_error $?
"working directory cannot be determined"
1206 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1207 as_fn_error $?
"pwd does not report name of working directory"
1210 # Find the source files, if location was not specified.
1211 if test -z "$srcdir"; then
1212 ac_srcdir_defaulted
=yes
1213 # Try the directory containing this script, then the parent directory.
1214 ac_confdir
=`$as_dirname -- "$as_myself" ||
1215 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1216 X"$as_myself" : 'X\(//\)[^/]' \| \
1217 X"$as_myself" : 'X\(//\)$' \| \
1218 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1219 $as_echo X"$as_myself" |
1220 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1238 if test ! -r "$srcdir/$ac_unique_file"; then
1242 ac_srcdir_defaulted
=no
1244 if test ! -r "$srcdir/$ac_unique_file"; then
1245 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1246 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1248 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1250 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1252 # When building in place, set srcdir=.
1253 if test "$ac_abs_confdir" = "$ac_pwd"; then
1256 # Remove unnecessary trailing slashes from srcdir.
1257 # Double slashes in file names in object file debugging info
1258 # mess up M-x gdb in Emacs.
1260 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1262 for ac_var
in $ac_precious_vars; do
1263 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1264 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1265 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1266 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1270 # Report the --help message.
1272 if test "$ac_init_help" = "long"; then
1273 # Omit some internal or obsolete options to make the list less imposing.
1274 # This message is too long to be a string in the A/UX 3.1 sh.
1276 \`configure' configures Jerasure 2.0 to adapt to many kinds of systems.
1278 Usage: $0 [OPTION]... [VAR=VALUE]...
1280 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1281 VAR=VALUE. See below for descriptions of some of the useful variables.
1283 Defaults for the options are specified in brackets.
1286 -h, --help display this help and exit
1287 --help=short display options specific to this package
1288 --help=recursive display the short help of all the included packages
1289 -V, --version display version information and exit
1290 -q, --quiet, --silent do not print \`checking ...' messages
1291 --cache-file=FILE cache test results in FILE [disabled]
1292 -C, --config-cache alias for \`--cache-file=config.cache'
1293 -n, --no-create do not create output files
1294 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1296 Installation directories:
1297 --prefix=PREFIX install architecture-independent files in PREFIX
1298 [$ac_default_prefix]
1299 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1302 By default, \`make install' will install all the files in
1303 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1304 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1305 for instance \`--prefix=\$HOME'.
1307 For better control, use the options below.
1309 Fine tuning of the installation directories:
1310 --bindir=DIR user executables [EPREFIX/bin]
1311 --sbindir=DIR system admin executables [EPREFIX/sbin]
1312 --libexecdir=DIR program executables [EPREFIX/libexec]
1313 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1314 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1315 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1316 --libdir=DIR object code libraries [EPREFIX/lib]
1317 --includedir=DIR C header files [PREFIX/include]
1318 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1319 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1320 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1321 --infodir=DIR info documentation [DATAROOTDIR/info]
1322 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1323 --mandir=DIR man documentation [DATAROOTDIR/man]
1324 --docdir=DIR documentation root [DATAROOTDIR/doc/jerasure]
1325 --htmldir=DIR html documentation [DOCDIR]
1326 --dvidir=DIR dvi documentation [DOCDIR]
1327 --pdfdir=DIR pdf documentation [DOCDIR]
1328 --psdir=DIR ps documentation [DOCDIR]
1334 --program-prefix=PREFIX prepend PREFIX to installed program names
1335 --program-suffix=SUFFIX append SUFFIX to installed program names
1336 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1339 --build=BUILD configure
for building on BUILD
[guessed
]
1340 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1344 if test -n "$ac_init_help"; then
1345 case $ac_init_help in
1346 short | recursive
) echo "Configuration of Jerasure 2.0:";;
1351 --disable-option-checking ignore unrecognized
--enable/--with options
1352 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1353 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1354 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1355 --enable-static[=PKGS
] build static libraries
[default
=yes]
1356 --enable-fast-install[=PKGS
]
1357 optimize
for fast installation
[default
=yes]
1358 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1361 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1362 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1363 --with-pic[=PKGS
] try to use only PIC
/non-PIC objects
[default
=use
1365 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1366 --with-sysroot=DIR Search
for dependent libraries within DIR
1367 (or the compiler
's sysroot if not specified).
1369 Some influential environment variables:
1370 CC C compiler command
1371 CFLAGS C compiler flags
1372 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1373 nonstandard directory <lib dir>
1374 LIBS libraries to pass to the linker, e.g. -l<library>
1375 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1376 you have headers in a nonstandard directory <include dir>
1379 Use these variables to override the choices made by `configure' or to
help
1380 it to
find libraries and programs with nonstandard names
/locations.
1382 Report bugs to the package provider.
1387 if test "$ac_init_help" = "recursive"; then
1388 # If there are subdirs, report their specific --help.
1389 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1390 test -d "$ac_dir" ||
1391 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1396 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1398 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1399 # A ".." for each directory in $ac_dir_suffix.
1400 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1401 case $ac_top_builddir_sub in
1402 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1403 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1406 ac_abs_top_builddir
=$ac_pwd
1407 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1408 # for backward compatibility:
1409 ac_top_builddir
=$ac_top_build_prefix
1412 .
) # We are building in place.
1414 ac_top_srcdir
=$ac_top_builddir_sub
1415 ac_abs_top_srcdir
=$ac_pwd ;;
1416 [\\/]* | ?
:[\\/]* ) # Absolute name.
1417 ac_srcdir
=$srcdir$ac_dir_suffix;
1418 ac_top_srcdir
=$srcdir
1419 ac_abs_top_srcdir
=$srcdir ;;
1421 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1422 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1423 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1425 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1427 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1428 # Check for guested configure.
1429 if test -f "$ac_srcdir/configure.gnu"; then
1431 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1432 elif test -f "$ac_srcdir/configure"; then
1434 $SHELL "$ac_srcdir/configure" --help=recursive
1436 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1438 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1442 test -n "$ac_init_help" && exit $ac_status
1443 if $ac_init_version; then
1445 Jerasure configure
2.0
1446 generated by GNU Autoconf
2.68
1448 Copyright
(C
) 2010 Free Software Foundation
, Inc.
1449 This configure
script is free software
; the Free Software Foundation
1450 gives unlimited permission to copy
, distribute and modify it.
1455 ## ------------------------ ##
1456 ## Autoconf initialization. ##
1457 ## ------------------------ ##
1459 # ac_fn_c_try_compile LINENO
1460 # --------------------------
1461 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1462 ac_fn_c_try_compile
()
1464 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1465 rm -f conftest.
$ac_objext
1466 if { { ac_try
="$ac_compile"
1468 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1469 *) ac_try_echo=$ac_try;;
1471 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1472 $as_echo "$ac_try_echo"; } >&5
1473 (eval "$ac_compile") 2>conftest.err
1475 if test -s conftest.err; then
1476 grep -v '^ *+' conftest.err >conftest.er1
1477 cat conftest.er1 >&5
1478 mv -f conftest.er1 conftest.err
1480 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1481 test $ac_status = 0; } && {
1482 test -z "$ac_c_werror_flag" ||
1483 test ! -s conftest.err
1484 } && test -s conftest.$ac_objext; then :
1487 $as_echo "$as_me: failed program was:" >&5
1488 sed 's/^/| /' conftest.$ac_ext >&5
1492 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1493 as_fn_set_status $ac_retval
1495 } # ac_fn_c_try_compile
1497 # ac_fn_c_try_link LINENO
1498 # -----------------------
1499 # Try to link conftest.$ac_ext, and return whether this succeeded.
1502 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1503 rm -f conftest.$ac_objext conftest$ac_exeext
1504 if { { ac_try="$ac_link"
1506 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1507 *) ac_try_echo
=$ac_try;;
1509 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1510 $as_echo "$ac_try_echo"; } >&5
1511 (eval "$ac_link") 2>conftest.err
1513 if test -s conftest.err
; then
1514 grep -v '^ *+' conftest.err
>conftest.er1
1515 cat conftest.er1
>&5
1516 mv -f conftest.er1 conftest.err
1518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1519 test $ac_status = 0; } && {
1520 test -z "$ac_c_werror_flag" ||
1521 test ! -s conftest.err
1522 } && test -s conftest
$ac_exeext && {
1523 test "$cross_compiling" = yes ||
1524 $as_test_x conftest
$ac_exeext
1528 $as_echo "$as_me: failed program was:" >&5
1529 sed 's/^/| /' conftest.
$ac_ext >&5
1533 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1534 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1535 # interfere with the next link command; also delete a directory that is
1536 # left behind by Apple's compiler. We do this before executing the actions.
1537 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1538 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1539 as_fn_set_status
$ac_retval
1541 } # ac_fn_c_try_link
1543 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1544 # -------------------------------------------------------
1545 # Tests whether HEADER exists and can be compiled using the include files in
1546 # INCLUDES, setting the cache variable VAR accordingly.
1547 ac_fn_c_check_header_compile
()
1549 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1551 $as_echo_n "checking for $2... " >&6; }
1552 if eval \
${$3+:} false
; then :
1553 $as_echo_n "(cached) " >&6
1555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1556 /* end confdefs.h. */
1560 if ac_fn_c_try_compile
"$LINENO"; then :
1565 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1569 $as_echo "$ac_res" >&6; }
1570 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1572 } # ac_fn_c_check_header_compile
1574 # ac_fn_c_try_cpp LINENO
1575 # ----------------------
1576 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1579 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1580 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1582 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1583 *) ac_try_echo=$ac_try;;
1585 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1586 $as_echo "$ac_try_echo"; } >&5
1587 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1589 if test -s conftest.err; then
1590 grep -v '^ *+' conftest.err >conftest.er1
1591 cat conftest.er1 >&5
1592 mv -f conftest.er1 conftest.err
1594 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1595 test $ac_status = 0; } > conftest.i && {
1596 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1597 test ! -s conftest.err
1601 $as_echo "$as_me: failed program was:" >&5
1602 sed 's/^/| /' conftest.$ac_ext >&5
1606 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1607 as_fn_set_status $ac_retval
1611 # ac_fn_c_try_run LINENO
1612 # ----------------------
1613 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1614 # that executables *can* be run.
1617 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1618 if { { ac_try="$ac_link"
1620 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1621 *) ac_try_echo
=$ac_try;;
1623 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1624 $as_echo "$ac_try_echo"; } >&5
1625 (eval "$ac_link") 2>&5
1627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1628 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1629 { { case "(($ac_try" in
1630 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1631 *) ac_try_echo=$ac_try;;
1633 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1634 $as_echo "$ac_try_echo"; } >&5
1635 (eval "$ac_try") 2>&5
1637 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1638 test $ac_status = 0; }; }; then :
1641 $as_echo "$as_me: program exited with status $ac_status" >&5
1642 $as_echo "$as_me: failed program was:" >&5
1643 sed 's/^/| /' conftest.$ac_ext >&5
1645 ac_retval=$ac_status
1647 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1648 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1649 as_fn_set_status $ac_retval
1653 # ac_fn_c_check_func LINENO FUNC VAR
1654 # ----------------------------------
1655 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1656 ac_fn_c_check_func ()
1658 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1660 $as_echo_n "checking for $2... " >&6; }
1661 if eval \${$3+:} false; then :
1662 $as_echo_n "(cached) " >&6
1664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1665 /* end confdefs.h. */
1666 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1667 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1668 #define $2 innocuous_$2
1670 /* System header to define __stub macros and hopefully few prototypes,
1671 which can conflict with char $2 (); below.
1672 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1673 <limits.h> exists even on freestanding compilers. */
1676 # include <limits.h>
1678 # include <assert.h>
1683 /* Override any GCC internal prototype to avoid an error.
1684 Use char because int might match the return type of a GCC
1685 builtin and then its argument prototype would still apply. */
1690 /* The GNU C library defines this for functions which it implements
1691 to always fail with ENOSYS. Some functions are actually named
1692 something starting with __ and the normal name is an alias. */
1693 #if defined __stub_$2 || defined __stub___$2
1705 if ac_fn_c_try_link "$LINENO"; then :
1710 rm -f core conftest.err conftest.$ac_objext \
1711 conftest$ac_exeext conftest.$ac_ext
1714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1715 $as_echo "$ac_res" >&6; }
1716 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1718 } # ac_fn_c_check_func
1720 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1721 # -------------------------------------------------------
1722 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1723 # the include files in INCLUDES and setting the cache variable VAR
1725 ac_fn_c_check_header_mongrel ()
1727 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1728 if eval \${$3+:} false; then :
1729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1730 $as_echo_n "checking for $2... " >&6; }
1731 if eval \${$3+:} false; then :
1732 $as_echo_n "(cached) " >&6
1735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1736 $as_echo "$ac_res" >&6; }
1738 # Is the header compilable?
1739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1740 $as_echo_n "checking $2 usability... " >&6; }
1741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1742 /* end confdefs.h. */
1746 if ac_fn_c_try_compile "$LINENO"; then :
1747 ac_header_compiler=yes
1749 ac_header_compiler=no
1751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1753 $as_echo "$ac_header_compiler" >&6; }
1755 # Is the header present?
1756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1757 $as_echo_n "checking $2 presence... " >&6; }
1758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1759 /* end confdefs.h. */
1762 if ac_fn_c_try_cpp "$LINENO"; then :
1763 ac_header_preproc=yes
1765 ac_header_preproc=no
1767 rm -f conftest.err conftest.i conftest.$ac_ext
1768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1769 $as_echo "$ac_header_preproc" >&6; }
1771 # So? What about this header?
1772 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1774 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1775 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1777 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1781 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1782 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1783 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1784 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1785 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1786 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1787 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1789 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1793 $as_echo_n "checking for $2... " >&6; }
1794 if eval \${$3+:} false; then :
1795 $as_echo_n "(cached) " >&6
1797 eval "$3=\$ac_header_compiler"
1800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1801 $as_echo "$ac_res" >&6; }
1803 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1805 } # ac_fn_c_check_header_mongrel
1806 cat >config.log <<_ACEOF
1807 This file contains any messages produced by compilers while
1808 running configure, to aid debugging if configure makes a mistake.
1810 It was created by Jerasure $as_me 2.0, which was
1811 generated by GNU Autoconf 2.68. Invocation command line was
1823 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1824 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1825 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1826 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1827 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1829 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1830 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1832 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1833 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1834 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1835 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1836 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1837 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1838 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1846 test -z "$as_dir" && as_dir=.
1847 $as_echo "PATH: $as_dir"
1863 # Keep a trace of the command line.
1864 # Strip out --no-create and --no-recursion so they do not pile up.
1865 # Strip out --silent because we don't want to record it for future runs.
1866 # Also quote any args containing shell meta-characters.
1867 # Make two passes to allow for proper duplicate-argument suppression.
1871 ac_must_keep_next=false
1877 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1878 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1879 | -silent | --silent | --silen | --sile | --sil)
1882 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1885 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1887 as_fn_append ac_configure_args1 " '$ac_arg'"
1888 if test $ac_must_keep_next = true; then
1889 ac_must_keep_next=false # Got value, back to normal.
1892 *=* | --config-cache | -C | -disable-* | --disable-* \
1893 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1894 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1895 | -with-* | --with-* | -without-* | --without-* | --x)
1896 case "$ac_configure_args0 " in
1897 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1900 -* ) ac_must_keep_next=true ;;
1903 as_fn_append ac_configure_args " '$ac_arg'"
1908 { ac_configure_args0=; unset ac_configure_args0;}
1909 { ac_configure_args1=; unset ac_configure_args1;}
1911 # When interrupted or exit'd, cleanup temporary files, and complete
1912 # config.log. We remove comments because anyway the quotes in there
1913 # would cause problems or look ugly.
1914 # WARNING: Use '\'' to represent an apostrophe within the trap.
1915 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1916 trap 'exit_status=$?
1917 # Save into config.log some information that might help in debugging.
1921 $as_echo "## ---------------- ##
1922 ## Cache variables. ##
1923 ## ---------------- ##"
1925 # The following way of writing the cache mishandles newlines in values,
1927 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1928 eval ac_val=\$$ac_var
1932 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1933 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1936 _ | IFS | as_nl) ;; #(
1937 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1938 *) { eval $ac_var=; unset $ac_var;} ;;
1943 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1944 *${as_nl}ac_space=\ *)
1946 "s/'\''/'\''\\\\'\'''\''/g;
1947 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1950 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1957 $as_echo "## ----------------- ##
1958 ## Output variables. ##
1959 ## ----------------- ##"
1961 for ac_var in $ac_subst_vars
1963 eval ac_val=\$$ac_var
1965 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1967 $as_echo "$ac_var='\''$ac_val'\''"
1971 if test -n "$ac_subst_files"; then
1972 $as_echo "## ------------------- ##
1973 ## File substitutions. ##
1974 ## ------------------- ##"
1976 for ac_var in $ac_subst_files
1978 eval ac_val=\$$ac_var
1980 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1982 $as_echo "$ac_var='\''$ac_val'\''"
1987 if test -s confdefs.h; then
1988 $as_echo "## ----------- ##
1995 test "$ac_signal" != 0 &&
1996 $as_echo "$as_me: caught signal $ac_signal"
1997 $as_echo "$as_me: exit $exit_status"
1999 rm -f core *.core core.conftest.* &&
2000 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2003 for ac_signal in 1 2 13 15; do
2004 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2008 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2009 rm -f -r conftest* confdefs.h
2011 $as_echo "/* confdefs.h */" > confdefs.h
2013 # Predefined preprocessor variables.
2015 cat >>confdefs.h <<_ACEOF
2016 #define PACKAGE_NAME "$PACKAGE_NAME"
2019 cat >>confdefs.h <<_ACEOF
2020 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2023 cat >>confdefs.h <<_ACEOF
2024 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2027 cat >>confdefs.h <<_ACEOF
2028 #define PACKAGE_STRING "$PACKAGE_STRING"
2031 cat >>confdefs.h <<_ACEOF
2032 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2035 cat >>confdefs.h <<_ACEOF
2036 #define PACKAGE_URL "$PACKAGE_URL"
2040 # Let the site file select an alternate cache file if it wants to.
2041 # Prefer an explicitly selected file to automatically selected ones.
2044 if test -n "$CONFIG_SITE"; then
2045 # We do not want a PATH search for config.site.
2046 case $CONFIG_SITE in #((
2047 -*) ac_site_file1=./$CONFIG_SITE;;
2048 */*) ac_site_file1=$CONFIG_SITE;;
2049 *) ac_site_file1=./$CONFIG_SITE;;
2051 elif test "x$prefix" != xNONE; then
2052 ac_site_file1=$prefix/share/config.site
2053 ac_site_file2=$prefix/etc/config.site
2055 ac_site_file1=$ac_default_prefix/share/config.site
2056 ac_site_file2=$ac_default_prefix/etc/config.site
2058 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2060 test "x$ac_site_file" = xNONE && continue
2061 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2062 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2063 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2064 sed 's/^/| /' "$ac_site_file" >&5
2066 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2067 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2068 as_fn_error $? "failed to load site
script $ac_site_file
2069 See \
`config.log' for more details" "$LINENO" 5; }
2073 if test -r "$cache_file"; then
2074 # Some versions of bash will fail to source /dev/null (special files
2075 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2076 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2077 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2078 $as_echo "$as_me: loading cache $cache_file" >&6;}
2080 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2081 *) . "./$cache_file";;
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2086 $as_echo "$as_me: creating cache $cache_file" >&6;}
2090 # Check that the precious variables saved in the cache have kept the same
2092 ac_cache_corrupted=false
2093 for ac_var in $ac_precious_vars; do
2094 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2095 eval ac_new_set=\$ac_env_${ac_var}_set
2096 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2097 eval ac_new_val=\$ac_env_${ac_var}_value
2098 case $ac_old_set,$ac_new_set in
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2101 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2102 ac_cache_corrupted=: ;;
2104 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2105 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2106 ac_cache_corrupted=: ;;
2109 if test "x$ac_old_val" != "x$ac_new_val"; then
2110 # differences in whitespace do not lead to failure.
2111 ac_old_val_w=`echo x
$ac_old_val`
2112 ac_new_val_w=`echo x
$ac_new_val`
2113 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2114 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2115 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2116 ac_cache_corrupted=:
2118 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2119 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2120 eval $ac_var=\$ac_old_val
2122 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2123 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2125 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2128 # Pass precious variables to config.status.
2129 if test "$ac_new_set" = set; then
2131 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2132 *) ac_arg=$ac_var=$ac_new_val ;;
2134 case " $ac_configure_args " in
2135 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2136 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2140 if $ac_cache_corrupted; then
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2142 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2144 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2145 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2147 ## -------------------- ##
2148 ## Main body of script. ##
2149 ## -------------------- ##
2152 ac_cpp='$CPP $CPPFLAGS'
2153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2161 am__api_version='1.11'
2164 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2165 if test -f "$ac_dir/install-sh"; then
2167 ac_install_sh="$ac_aux_dir/install-sh -c"
2169 elif test -f "$ac_dir/install.sh"; then
2171 ac_install_sh="$ac_aux_dir/install.sh -c"
2173 elif test -f "$ac_dir/shtool"; then
2175 ac_install_sh="$ac_aux_dir/shtool install -c"
2179 if test -z "$ac_aux_dir"; then
2180 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2183 # These three variables are undocumented and unsupported,
2184 # and are intended to be withdrawn in a future Autoconf release.
2185 # They can cause serious problems if a builder's source tree is in a directory
2186 # whose full name contains unusual characters.
2187 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2188 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2189 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2192 # Find a good install program. We prefer a C program (faster),
2193 # so one script is as good as another. But avoid the broken or
2194 # incompatible versions:
2195 # SysV /etc/install, /usr/sbin/install
2196 # SunOS /usr/etc/install
2197 # IRIX /sbin/install
2199 # AmigaOS /C/install, which installs bootblocks on floppy discs
2200 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2201 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2202 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2203 # OS/2's system install, which has a completely different semantic
2204 # ./install, which can be erroneously created by make from ./install.sh.
2205 # Reject install programs that cannot install multiple files.
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2207 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2208 if test -z "$INSTALL"; then
2209 if ${ac_cv_path_install+:} false; then :
2210 $as_echo_n "(cached) " >&6
2212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2216 test -z "$as_dir" && as_dir=.
2217 # Account for people who put trailing slashes in PATH elements.
2218 case $as_dir/ in #((
2219 ./ | .// | /[cC]/* | \
2220 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2221 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2224 # OSF1 and SCO ODT 3.0 have their own names for install.
2225 # Don't use installbsd from OSF since it installs stuff as root
2227 for ac_prog in ginstall scoinst install; do
2228 for ac_exec_ext in '' $ac_executable_extensions; do
2229 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2230 if test $ac_prog = install &&
2231 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2232 # AIX install. It has an incompatible calling convention.
2234 elif test $ac_prog = install &&
2235 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2236 # program-specific install script used by HP pwplus--don't use.
2239 rm -rf conftest.one conftest.two conftest.dir
2240 echo one > conftest.one
2241 echo two > conftest.two
2243 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2244 test -s conftest.one && test -s conftest.two &&
2245 test -s conftest.dir/conftest.one &&
2246 test -s conftest.dir/conftest.two
2248 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2261 rm -rf conftest.one conftest.two conftest.dir
2264 if test "${ac_cv_path_install+set}" = set; then
2265 INSTALL=$ac_cv_path_install
2267 # As a last resort, use the slow shell script. Don't cache a
2268 # value for INSTALL within a source directory, because that will
2269 # break other packages using the cache if that directory is
2270 # removed, or if the value is a relative name.
2271 INSTALL=$ac_install_sh
2274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2275 $as_echo "$INSTALL" >&6; }
2277 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2278 # It thinks the first close brace ends the variable substitution.
2279 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2281 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2283 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2286 $as_echo_n "checking whether build environment is sane... " >&6; }
2289 echo timestamp > conftest.file
2290 # Reject unsafe characters in $srcdir or the absolute working directory
2291 # name. Accept space and tab only in the latter.
2295 *[\\\"\#\$\&\'\`$am_lf]*)
2296 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2299 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2300 as_fn_error $?
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2303 # Do `set' in a subshell so we don't clobber the current shell's
2304 # arguments. Must try -L first in case configure is actually a
2305 # symlink; some systems play weird games with the mod time of symlinks
2306 # (eg FreeBSD returns the mod time of the symlink's containing
2309 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2310 if test "$*" = "X"; then
2312 set X
`ls -t "$srcdir/configure" conftest.file`
2315 if test "$*" != "X $srcdir/configure conftest.file" \
2316 && test "$*" != "X conftest.file $srcdir/configure"; then
2318 # If neither matched, then we have a broken ls. This can happen
2319 # if, for instance, CONFIG_SHELL is bash and it inherits a
2320 # broken ls alias from the environment. This has actually
2321 # happened. Such a system could not be considered "sane".
2322 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2323 alias in your environment" "$LINENO" 5
2326 test "$2" = conftest.
file
2332 as_fn_error $?
"newly created file is older than distributed files!
2333 Check your system clock" "$LINENO" 5
2335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2336 $as_echo "yes" >&6; }
2337 test "$program_prefix" != NONE
&&
2338 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2339 # Use a double $ so make ignores it.
2340 test "$program_suffix" != NONE
&&
2341 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2342 # Double any \ or $.
2343 # By default was `s,x,x', remove it if useless.
2344 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2345 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2347 # expand $ac_aux_dir to an absolute path
2348 am_aux_dir
=`cd $ac_aux_dir && pwd`
2350 if test x
"${MISSING+set}" != xset
; then
2353 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2355 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2358 # Use eval to expand $SHELL
2359 if eval "$MISSING --run true"; then
2360 am_missing_run
="$MISSING --run "
2363 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2364 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2367 if test x
"${install_sh}" != xset
; then
2370 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2372 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2376 # Installed binaries are usually stripped using `strip' when the user
2377 # run `make install-strip'. However `strip' might not be the right
2378 # tool to use in cross-compilation environments, therefore Automake
2379 # will honor the `STRIP' environment variable to overrule this program.
2380 if test "$cross_compiling" != no
; then
2381 if test -n "$ac_tool_prefix"; then
2382 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2383 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2385 $as_echo_n "checking for $ac_word... " >&6; }
2386 if ${ac_cv_prog_STRIP+:} false
; then :
2387 $as_echo_n "(cached) " >&6
2389 if test -n "$STRIP"; then
2390 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2392 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2396 test -z "$as_dir" && as_dir
=.
2397 for ac_exec_ext
in '' $ac_executable_extensions; do
2398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2399 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2409 STRIP
=$ac_cv_prog_STRIP
2410 if test -n "$STRIP"; then
2411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2412 $as_echo "$STRIP" >&6; }
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2415 $as_echo "no" >&6; }
2420 if test -z "$ac_cv_prog_STRIP"; then
2422 # Extract the first word of "strip", so it can be a program name with args.
2423 set dummy strip
; ac_word
=$2
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2425 $as_echo_n "checking for $ac_word... " >&6; }
2426 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2427 $as_echo_n "(cached) " >&6
2429 if test -n "$ac_ct_STRIP"; then
2430 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2432 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2436 test -z "$as_dir" && as_dir
=.
2437 for ac_exec_ext
in '' $ac_executable_extensions; do
2438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2439 ac_cv_prog_ac_ct_STRIP
="strip"
2440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2449 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2450 if test -n "$ac_ct_STRIP"; then
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2452 $as_echo "$ac_ct_STRIP" >&6; }
2454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2455 $as_echo "no" >&6; }
2458 if test "x$ac_ct_STRIP" = x
; then
2461 case $cross_compiling:$ac_tool_warned in
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2464 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2465 ac_tool_warned
=yes ;;
2470 STRIP
="$ac_cv_prog_STRIP"
2474 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2477 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2478 if test -z "$MKDIR_P"; then
2479 if ${ac_cv_path_mkdir+:} false
; then :
2480 $as_echo_n "(cached) " >&6
2482 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2483 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2486 test -z "$as_dir" && as_dir
=.
2487 for ac_prog
in mkdir gmkdir
; do
2488 for ac_exec_ext
in '' $ac_executable_extensions; do
2489 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2490 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2491 'mkdir (GNU coreutils) '* | \
2492 'mkdir (coreutils) '* | \
2493 'mkdir (fileutils) '4.1*)
2494 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2504 test -d .
/--version && rmdir .
/--version
2505 if test "${ac_cv_path_mkdir+set}" = set; then
2506 MKDIR_P
="$ac_cv_path_mkdir -p"
2508 # As a last resort, use the slow shell script. Don't cache a
2509 # value for MKDIR_P within a source directory, because that will
2510 # break other packages using the cache if that directory is
2511 # removed, or if the value is a relative name.
2512 MKDIR_P
="$ac_install_sh -d"
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2516 $as_echo "$MKDIR_P" >&6; }
2520 [\\/$
]* | ?
:[\\/]*) ;;
2521 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2524 for ac_prog
in gawk mawk nawk
awk
2526 # Extract the first word of "$ac_prog", so it can be a program name with args.
2527 set dummy
$ac_prog; ac_word
=$2
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2529 $as_echo_n "checking for $ac_word... " >&6; }
2530 if ${ac_cv_prog_AWK+:} false
; then :
2531 $as_echo_n "(cached) " >&6
2533 if test -n "$AWK"; then
2534 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2536 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2540 test -z "$as_dir" && as_dir
=.
2541 for ac_exec_ext
in '' $ac_executable_extensions; do
2542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2543 ac_cv_prog_AWK
="$ac_prog"
2544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2554 if test -n "$AWK"; then
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2556 $as_echo "$AWK" >&6; }
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2559 $as_echo "no" >&6; }
2563 test -n "$AWK" && break
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2567 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2569 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2570 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2571 $as_echo_n "(cached) " >&6
2573 cat >conftest.
make <<\_ACEOF
2576 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2578 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2579 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2581 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2583 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2587 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2589 $as_echo "yes" >&6; }
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2593 $as_echo "no" >&6; }
2594 SET_MAKE
="MAKE=${MAKE-make}"
2597 rm -rf .tst
2>/dev
/null
2598 mkdir .tst
2>/dev
/null
2599 if test -d .tst
; then
2604 rmdir .tst
2>/dev
/null
2606 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2607 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2608 # is not polluted with repeated "-I."
2609 am__isrc
=' -I$(srcdir)'
2610 # test to see if srcdir already configured
2611 if test -f $srcdir/config.status
; then
2612 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2616 # test whether we have cygpath
2617 if test -z "$CYGPATH_W"; then
2618 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2619 CYGPATH_W
='cygpath -w'
2626 # Define the identity of the package.
2631 cat >>confdefs.h
<<_ACEOF
2632 #define PACKAGE "$PACKAGE"
2636 cat >>confdefs.h
<<_ACEOF
2637 #define VERSION "$VERSION"
2640 # Some tools Automake needs.
2642 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2645 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2648 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2651 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2654 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2656 # We need awk for the "check" target. The system "awk" is bad on
2658 # Always define AMTAR for backward compatibility. Yes, it's still used
2659 # in the wild :-( We should find a proper way to deprecate it ...
2662 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2671 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2676 macro_version
='2.4.2'
2677 macro_revision
='1.3337'
2691 ltmain
="$ac_aux_dir/ltmain.sh"
2693 # Make sure we can run config.sub.
2694 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2695 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2698 $as_echo_n "checking build system type... " >&6; }
2699 if ${ac_cv_build+:} false
; then :
2700 $as_echo_n "(cached) " >&6
2702 ac_build_alias
=$build_alias
2703 test "x$ac_build_alias" = x
&&
2704 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2705 test "x$ac_build_alias" = x
&&
2706 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2707 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2708 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2712 $as_echo "$ac_cv_build" >&6; }
2713 case $ac_cv_build in
2715 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2718 ac_save_IFS
=$IFS; IFS
='-'
2724 # Remember, the first character of IFS is used to create $*,
2725 # except with old shells:
2728 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2732 $as_echo_n "checking host system type... " >&6; }
2733 if ${ac_cv_host+:} false
; then :
2734 $as_echo_n "(cached) " >&6
2736 if test "x$host_alias" = x
; then
2737 ac_cv_host
=$ac_cv_build
2739 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2740 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2745 $as_echo "$ac_cv_host" >&6; }
2748 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2751 ac_save_IFS
=$IFS; IFS
='-'
2757 # Remember, the first character of IFS is used to create $*,
2758 # except with old shells:
2761 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2764 # Backslashify metacharacters that are still active within
2765 # double-quoted strings.
2766 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
2768 # Same as above, but do not quote variable references.
2769 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
2771 # Sed substitution to delay expansion of an escaped shell variable in a
2772 # double_quote_subst'ed string.
2773 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
2775 # Sed substitution to delay expansion of an escaped single quote.
2776 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
2778 # Sed substitution to avoid accidental globbing in evaled expressions
2779 no_glob_subst
='s/\*/\\\*/g'
2781 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2782 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
2783 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
2786 $as_echo_n "checking how to print strings... " >&6; }
2787 # Test print first, because it will be a builtin if present.
2788 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
2789 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
2791 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
2794 # Use this function as a fallback that always works.
2795 func_fallback_echo ()
2797 eval 'cat <<_LTECHO_EOF
2801 ECHO='func_fallback_echo
'
2804 # func_echo_all arg...
2805 # Invoke $ECHO with all args, space-separated.
2812 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
2813 $as_echo "printf" >&6; } ;;
2814 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
2815 $as_echo "print -r" >&6; } ;;
2816 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
2817 $as_echo "cat" >&6; } ;;
2834 ac_cpp='$CPP $CPPFLAGS'
2835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
2836 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
2837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2838 if test -n "$ac_tool_prefix"; then
2839 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2840 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2842 $as_echo_n "checking for $ac_word... " >&6; }
2843 if ${ac_cv_prog_CC+:} false; then :
2844 $as_echo_n "(cached) " >&6
2846 if test -n "$CC"; then
2847 ac_cv_prog_CC="$CC" # Let the user override the test.
2849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2853 test -z "$as_dir" && as_dir=.
2854 for ac_exec_ext in '' $ac_executable_extensions; do
2855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2856 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2867 if test -n "$CC"; then
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2869 $as_echo "$CC" >&6; }
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2872 $as_echo "no" >&6; }
2877 if test -z "$ac_cv_prog_CC"; then
2879 # Extract the first word of "gcc", so it can be a program name with args.
2880 set dummy gcc; ac_word=$2
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2882 $as_echo_n "checking for $ac_word... " >&6; }
2883 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2884 $as_echo_n "(cached) " >&6
2886 if test -n "$ac_ct_CC"; then
2887 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2893 test -z "$as_dir" && as_dir=.
2894 for ac_exec_ext in '' $ac_executable_extensions; do
2895 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2896 ac_cv_prog_ac_ct_CC="gcc"
2897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2906 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2907 if test -n "$ac_ct_CC"; then
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2909 $as_echo "$ac_ct_CC" >&6; }
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2912 $as_echo "no" >&6; }
2915 if test "x$ac_ct_CC" = x; then
2918 case $cross_compiling:$ac_tool_warned in
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2921 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2922 ac_tool_warned=yes ;;
2930 if test -z "$CC"; then
2931 if test -n "$ac_tool_prefix"; then
2932 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2933 set dummy ${ac_tool_prefix}cc; ac_word=$2
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2935 $as_echo_n "checking for $ac_word... " >&6; }
2936 if ${ac_cv_prog_CC+:} false; then :
2937 $as_echo_n "(cached) " >&6
2939 if test -n "$CC"; then
2940 ac_cv_prog_CC="$CC" # Let the user override the test.
2942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2946 test -z "$as_dir" && as_dir=.
2947 for ac_exec_ext in '' $ac_executable_extensions; do
2948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2949 ac_cv_prog_CC="${ac_tool_prefix}cc"
2950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2960 if test -n "$CC"; then
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2962 $as_echo "$CC" >&6; }
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2965 $as_echo "no" >&6; }
2971 if test -z "$CC"; then
2972 # Extract the first word of "cc", so it can be a program name with args.
2973 set dummy cc; ac_word=$2
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2975 $as_echo_n "checking for $ac_word... " >&6; }
2976 if ${ac_cv_prog_CC+:} false; then :
2977 $as_echo_n "(cached) " >&6
2979 if test -n "$CC"; then
2980 ac_cv_prog_CC="$CC" # Let the user override the test.
2983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2987 test -z "$as_dir" && as_dir=.
2988 for ac_exec_ext in '' $ac_executable_extensions; do
2989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2990 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2991 ac_prog_rejected=yes
2995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3002 if test $ac_prog_rejected = yes; then
3003 # We found a bogon in the path, so make sure we never use it.
3004 set dummy $ac_cv_prog_CC
3006 if test $# != 0; then
3007 # We chose a different compiler from the bogus one.
3008 # However, it has the same basename, so the bogon will be chosen
3009 # first if we set CC to just the basename; use the full file name.
3011 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3017 if test -n "$CC"; then
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3019 $as_echo "$CC" >&6; }
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3022 $as_echo "no" >&6; }
3027 if test -z "$CC"; then
3028 if test -n "$ac_tool_prefix"; then
3029 for ac_prog in cl.exe
3031 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3032 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3034 $as_echo_n "checking for $ac_word... " >&6; }
3035 if ${ac_cv_prog_CC+:} false; then :
3036 $as_echo_n "(cached) " >&6
3038 if test -n "$CC"; then
3039 ac_cv_prog_CC="$CC" # Let the user override the test.
3041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3045 test -z "$as_dir" && as_dir=.
3046 for ac_exec_ext in '' $ac_executable_extensions; do
3047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3048 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3059 if test -n "$CC"; then
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3061 $as_echo "$CC" >&6; }
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3064 $as_echo "no" >&6; }
3068 test -n "$CC" && break
3071 if test -z "$CC"; then
3073 for ac_prog in cl.exe
3075 # Extract the first word of "$ac_prog", so it can be a program name with args.
3076 set dummy $ac_prog; ac_word=$2
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3078 $as_echo_n "checking for $ac_word... " >&6; }
3079 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3080 $as_echo_n "(cached) " >&6
3082 if test -n "$ac_ct_CC"; then
3083 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3089 test -z "$as_dir" && as_dir=.
3090 for ac_exec_ext in '' $ac_executable_extensions; do
3091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3092 ac_cv_prog_ac_ct_CC="$ac_prog"
3093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3102 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3103 if test -n "$ac_ct_CC"; then
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3105 $as_echo "$ac_ct_CC" >&6; }
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3108 $as_echo "no" >&6; }
3112 test -n "$ac_ct_CC" && break
3115 if test "x$ac_ct_CC" = x; then
3118 case $cross_compiling:$ac_tool_warned in
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3121 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3122 ac_tool_warned=yes ;;
3131 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3132 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3133 as_fn_error $? "no acceptable C compiler found in \$PATH
3134 See \`config.log
' for more details" "$LINENO" 5; }
3136 # Provide some information about the compiler.
3137 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3140 for ac_option in --version -v -V -qversion; do
3141 { { ac_try="$ac_compiler $ac_option >&5"
3143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3144 *) ac_try_echo=$ac_try;;
3146 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3147 $as_echo "$ac_try_echo"; } >&5
3148 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3150 if test -s conftest.err; then
3152 ... rest of stderr output deleted ...
3153 10q
' conftest.err >conftest.er1
3154 cat conftest.er1 >&5
3156 rm -f conftest.er1 conftest.err
3157 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3158 test $ac_status = 0; }
3161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3162 /* end confdefs.h. */
3172 ac_clean_files_save=$ac_clean_files
3173 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3174 # Try to create an executable without -o first, disregard a.out.
3175 # It will help us diagnose broken compilers, and finding out an intuition
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3178 $as_echo_n "checking whether the C compiler works... " >&6; }
3179 ac_link_default=`$as_echo "$ac_link" | sed 's
/ -o *conftest
[^
]*//'`
3181 # The possible output files:
3182 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3185 for ac_file in $ac_files
3188 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3189 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3194 if { { ac_try="$ac_link_default"
3196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3197 *) ac_try_echo=$ac_try;;
3199 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3200 $as_echo "$ac_try_echo"; } >&5
3201 (eval "$ac_link_default") 2>&5
3203 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3204 test $ac_status = 0; }; then :
3205 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3206 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3207 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3208 # so that the user can short-circuit this test for compilers unknown to
3210 for ac_file
in $ac_files ''
3212 test -f "$ac_file" ||
continue
3214 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3217 # We found the default executable, but exeext='' is most
3221 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3223 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3225 # We set ac_cv_exeext here because the later test for it is not
3226 # safe: cross compilers may not add the suffix if given an `-o'
3227 # argument, so we may need to know it at that point already.
3228 # Even if this section looks crufty: it has the advantage of
3235 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3240 if test -z "$ac_file"; then :
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3242 $as_echo "no" >&6; }
3243 $as_echo "$as_me: failed program was:" >&5
3244 sed 's/^/| /' conftest.
$ac_ext >&5
3246 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3247 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3248 as_fn_error
77 "C compiler cannot create executables
3249 See \`config.log' for more details" "$LINENO" 5; }
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3252 $as_echo "yes" >&6; }
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3255 $as_echo_n "checking for C compiler default output file name... " >&6; }
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3257 $as_echo "$ac_file" >&6; }
3258 ac_exeext
=$ac_cv_exeext
3260 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3261 ac_clean_files
=$ac_clean_files_save
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3263 $as_echo_n "checking for suffix of executables... " >&6; }
3264 if { { ac_try
="$ac_link"
3266 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3267 *) ac_try_echo=$ac_try;;
3269 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3270 $as_echo "$ac_try_echo"; } >&5
3271 (eval "$ac_link") 2>&5
3273 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3274 test $ac_status = 0; }; then :
3275 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3276 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3277 # work properly (i.e., refer to `conftest.exe'), while it won't with
3279 for ac_file
in conftest.exe conftest conftest.
*; do
3280 test -f "$ac_file" ||
continue
3282 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3283 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3289 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3290 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3291 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3292 See \`config.log' for more details" "$LINENO" 5; }
3294 rm -f conftest conftest
$ac_cv_exeext
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3296 $as_echo "$ac_cv_exeext" >&6; }
3298 rm -f conftest.
$ac_ext
3299 EXEEXT
=$ac_cv_exeext
3301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3302 /* end confdefs.h. */
3307 FILE *f = fopen ("conftest.out", "w");
3308 return ferror (f) || fclose (f) != 0;
3314 ac_clean_files
="$ac_clean_files conftest.out"
3315 # Check that the compiler produces executables we can run. If not, either
3316 # the compiler is broken, or we cross compile.
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3318 $as_echo_n "checking whether we are cross compiling... " >&6; }
3319 if test "$cross_compiling" != yes; then
3320 { { ac_try
="$ac_link"
3322 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3323 *) ac_try_echo=$ac_try;;
3325 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3326 $as_echo "$ac_try_echo"; } >&5
3327 (eval "$ac_link") 2>&5
3329 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3330 test $ac_status = 0; }
3331 if { ac_try='./conftest$ac_cv_exeext'
3332 { { case "(($ac_try" in
3333 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3334 *) ac_try_echo
=$ac_try;;
3336 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3337 $as_echo "$ac_try_echo"; } >&5
3338 (eval "$ac_try") 2>&5
3340 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3341 test $ac_status = 0; }; }; then
3344 if test "$cross_compiling" = maybe
; then
3347 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3348 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3349 as_fn_error $?
"cannot run C compiled programs.
3350 If you meant to cross compile, use \`--host'.
3351 See \`config.log' for more details" "$LINENO" 5; }
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3356 $as_echo "$cross_compiling" >&6; }
3358 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3359 ac_clean_files
=$ac_clean_files_save
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3361 $as_echo_n "checking for suffix of object files... " >&6; }
3362 if ${ac_cv_objext+:} false
; then :
3363 $as_echo_n "(cached) " >&6
3365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3366 /* end confdefs.h. */
3376 rm -f conftest.o conftest.obj
3377 if { { ac_try
="$ac_compile"
3379 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3380 *) ac_try_echo=$ac_try;;
3382 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3383 $as_echo "$ac_try_echo"; } >&5
3384 (eval "$ac_compile") 2>&5
3386 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3387 test $ac_status = 0; }; then :
3388 for ac_file in conftest.o conftest.obj conftest.*; do
3389 test -f "$ac_file" || continue;
3391 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3392 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3397 $as_echo "$as_me: failed program was:" >&5
3398 sed 's/^/| /' conftest.$ac_ext >&5
3400 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3401 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3402 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3403 See \
`config.log' for more details" "$LINENO" 5; }
3405 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3408 $as_echo "$ac_cv_objext" >&6; }
3409 OBJEXT=$ac_cv_objext
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3412 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3413 if ${ac_cv_c_compiler_gnu+:} false; then :
3414 $as_echo_n "(cached) " >&6
3416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3417 /* end confdefs.h. */
3430 if ac_fn_c_try_compile "$LINENO"; then :
3435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3436 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3440 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3441 if test $ac_compiler_gnu = yes; then
3446 ac_test_CFLAGS=${CFLAGS+set}
3447 ac_save_CFLAGS=$CFLAGS
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3449 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3450 if ${ac_cv_prog_cc_g+:} false; then :
3451 $as_echo_n "(cached) " >&6
3453 ac_save_c_werror_flag=$ac_c_werror_flag
3454 ac_c_werror_flag=yes
3457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3458 /* end confdefs.h. */
3468 if ac_fn_c_try_compile "$LINENO"; then :
3472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3473 /* end confdefs.h. */
3483 if ac_fn_c_try_compile "$LINENO"; then :
3486 ac_c_werror_flag=$ac_save_c_werror_flag
3488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3489 /* end confdefs.h. */
3499 if ac_fn_c_try_compile "$LINENO"; then :
3502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3507 ac_c_werror_flag=$ac_save_c_werror_flag
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3510 $as_echo "$ac_cv_prog_cc_g" >&6; }
3511 if test "$ac_test_CFLAGS" = set; then
3512 CFLAGS=$ac_save_CFLAGS
3513 elif test $ac_cv_prog_cc_g = yes; then
3514 if test "$GCC" = yes; then
3520 if test "$GCC" = yes; then
3526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3527 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3528 if ${ac_cv_prog_cc_c89+:} false; then :
3529 $as_echo_n "(cached) " >&6
3531 ac_cv_prog_cc_c89=no
3533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3534 /* end confdefs.h. */
3537 #include <sys/types.h>
3538 #include <sys/stat.h>
3539 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3540 struct buf { int x; };
3541 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3542 static char *e (p, i)
3548 static char *f (char * (*g) (char **, int), char **p, ...)
3553 s = g (p, va_arg (v,int));
3558 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3559 function prototypes and stuff, but not '\xHH' hex character constants.
3560 These don't provoke an error unfortunately, instead are silently treated
3561 as 'x'. The following induces an error, until -std is added to get
3562 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3563 array size at least. It's necessary to write '\x00'==0 to get something
3564 that's true only with -std. */
3565 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3567 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3568 inside strings and character constants. */
3570 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3572 int test (int i, double x);
3573 struct s1 {int (*f) (int a);};
3574 struct s2 {int (*f) (double a);};
3575 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3581 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3586 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3587 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3589 CC="$ac_save_CC $ac_arg"
3590 if ac_fn_c_try_compile "$LINENO"; then :
3591 ac_cv_prog_cc_c89=$ac_arg
3593 rm -f core conftest.err conftest.$ac_objext
3594 test "x$ac_cv_prog_cc_c89" != "xno" && break
3596 rm -f conftest.$ac_ext
3601 case "x$ac_cv_prog_cc_c89" in
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3604 $as_echo "none needed" >&6; } ;;
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3607 $as_echo "unsupported" >&6; } ;;
3609 CC="$CC $ac_cv_prog_cc_c89"
3610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3611 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3613 if test "x$ac_cv_prog_cc_c89" != xno; then :
3618 ac_cpp='$CPP $CPPFLAGS'
3619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3624 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3625 if ${ac_cv_path_SED+:} false; then :
3626 $as_echo_n "(cached) " >&6
3628 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3629 for ac_i in 1 2 3 4 5 6 7; do
3630 ac_script="$ac_script$as_nl$ac_script"
3632 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3633 { ac_script=; unset ac_script;}
3634 if test -z "$SED"; then
3635 ac_path_SED_found=false
3636 # Loop through the user's path and test for each of PROGNAME-LIST
3637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3641 test -z "$as_dir" && as_dir=.
3642 for ac_prog in sed gsed; do
3643 for ac_exec_ext in '' $ac_executable_extensions; do
3644 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3645 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3646 # Check for GNU ac_path_SED and select it if it is found.
3647 # Check for GNU $ac_path_SED
3648 case `"$ac_path_SED" --version 2>&1` in
3650 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3653 $as_echo_n 0123456789 >"conftest.in"
3656 cat "conftest.in" "conftest.in" >"conftest.tmp"
3657 mv "conftest.tmp" "conftest.in"
3658 cp "conftest.in" "conftest.nl"
3659 $as_echo '' >> "conftest.nl"
3660 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3661 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3662 as_fn_arith $ac_count + 1 && ac_count=$as_val
3663 if test $ac_count -gt ${ac_path_SED_max-0}; then
3664 # Best one so far, save it but keep looking for a better one
3665 ac_cv_path_SED="$ac_path_SED"
3666 ac_path_SED_max=$ac_count
3668 # 10*(2^10) chars as input seems more than enough
3669 test $ac_count -gt 10 && break
3671 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3674 $ac_path_SED_found && break 3
3679 if test -z "$ac_cv_path_SED"; then
3680 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3688 $as_echo "$ac_cv_path_SED" >&6; }
3689 SED="$ac_cv_path_SED"
3692 test -z "$SED" && SED=sed
3693 Xsed="$SED -e 1s/^X//"
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3706 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3707 if ${ac_cv_path_GREP+:} false; then :
3708 $as_echo_n "(cached) " >&6
3710 if test -z "$GREP"; then
3711 ac_path_GREP_found=false
3712 # Loop through the user's path and test for each of PROGNAME-LIST
3713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3714 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3717 test -z "$as_dir" && as_dir=.
3718 for ac_prog in grep ggrep; do
3719 for ac_exec_ext in '' $ac_executable_extensions; do
3720 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3721 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3722 # Check for GNU ac_path_GREP and select it if it is found.
3723 # Check for GNU $ac_path_GREP
3724 case `"$ac_path_GREP" --version 2>&1` in
3726 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3729 $as_echo_n 0123456789 >"conftest.in"
3732 cat "conftest.in" "conftest.in" >"conftest.tmp"
3733 mv "conftest.tmp" "conftest.in"
3734 cp "conftest.in" "conftest.nl"
3735 $as_echo 'GREP' >> "conftest.nl"
3736 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3737 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3738 as_fn_arith $ac_count + 1 && ac_count=$as_val
3739 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3740 # Best one so far, save it but keep looking for a better one
3741 ac_cv_path_GREP="$ac_path_GREP"
3742 ac_path_GREP_max=$ac_count
3744 # 10*(2^10) chars as input seems more than enough
3745 test $ac_count -gt 10 && break
3747 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3750 $ac_path_GREP_found && break 3
3755 if test -z "$ac_cv_path_GREP"; then
3756 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3759 ac_cv_path_GREP=$GREP
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3764 $as_echo "$ac_cv_path_GREP" >&6; }
3765 GREP="$ac_cv_path_GREP"
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3769 $as_echo_n "checking for egrep... " >&6; }
3770 if ${ac_cv_path_EGREP+:} false; then :
3771 $as_echo_n "(cached) " >&6
3773 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3774 then ac_cv_path_EGREP="$GREP -E"
3776 if test -z "$EGREP"; then
3777 ac_path_EGREP_found=false
3778 # Loop through the user's path and test for each of PROGNAME-LIST
3779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3780 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3783 test -z "$as_dir" && as_dir=.
3784 for ac_prog in egrep; do
3785 for ac_exec_ext in '' $ac_executable_extensions; do
3786 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3787 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3788 # Check for GNU ac_path_EGREP and select it if it is found.
3789 # Check for GNU $ac_path_EGREP
3790 case `"$ac_path_EGREP" --version 2>&1` in
3792 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3795 $as_echo_n 0123456789 >"conftest.in"
3798 cat "conftest.in" "conftest.in" >"conftest.tmp"
3799 mv "conftest.tmp" "conftest.in"
3800 cp "conftest.in" "conftest.nl"
3801 $as_echo 'EGREP' >> "conftest.nl"
3802 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3803 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3804 as_fn_arith $ac_count + 1 && ac_count=$as_val
3805 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3806 # Best one so far, save it but keep looking for a better one
3807 ac_cv_path_EGREP="$ac_path_EGREP"
3808 ac_path_EGREP_max=$ac_count
3810 # 10*(2^10) chars as input seems more than enough
3811 test $ac_count -gt 10 && break
3813 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3816 $ac_path_EGREP_found && break 3
3821 if test -z "$ac_cv_path_EGREP"; then
3822 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3825 ac_cv_path_EGREP=$EGREP
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3831 $as_echo "$ac_cv_path_EGREP" >&6; }
3832 EGREP="$ac_cv_path_EGREP"
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
3836 $as_echo_n "checking for fgrep... " >&6; }
3837 if ${ac_cv_path_FGREP+:} false; then :
3838 $as_echo_n "(cached) " >&6
3840 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
3841 then ac_cv_path_FGREP="$GREP -F"
3843 if test -z "$FGREP"; then
3844 ac_path_FGREP_found=false
3845 # Loop through the user's path and test for each of PROGNAME-LIST
3846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3847 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3850 test -z "$as_dir" && as_dir=.
3851 for ac_prog in fgrep; do
3852 for ac_exec_ext in '' $ac_executable_extensions; do
3853 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
3854 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
3855 # Check for GNU ac_path_FGREP and select it if it is found.
3856 # Check for GNU $ac_path_FGREP
3857 case `"$ac_path_FGREP" --version 2>&1` in
3859 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
3862 $as_echo_n 0123456789 >"conftest.in"
3865 cat "conftest.in" "conftest.in" >"conftest.tmp"
3866 mv "conftest.tmp" "conftest.in"
3867 cp "conftest.in" "conftest.nl"
3868 $as_echo 'FGREP' >> "conftest.nl"
3869 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
3870 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3871 as_fn_arith $ac_count + 1 && ac_count=$as_val
3872 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
3873 # Best one so far, save it but keep looking for a better one
3874 ac_cv_path_FGREP="$ac_path_FGREP"
3875 ac_path_FGREP_max=$ac_count
3877 # 10*(2^10) chars as input seems more than enough
3878 test $ac_count -gt 10 && break
3880 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3883 $ac_path_FGREP_found && break 3
3888 if test -z "$ac_cv_path_FGREP"; then
3889 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3892 ac_cv_path_FGREP=$FGREP
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
3898 $as_echo "$ac_cv_path_FGREP" >&6; }
3899 FGREP="$ac_cv_path_FGREP"
3902 test -z "$GREP" && GREP=grep
3922 # Check whether --with-gnu-ld was given.
3923 if test "${with_gnu_ld+set}" = set; then :
3924 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3930 if test "$GCC" = yes; then
3931 # Check if gcc -print-prog-name=ld gives a path.
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
3933 $as_echo_n "checking for ld used by $CC... " >&6; }
3936 # gcc leaves a trailing carriage return which upsets mingw
3937 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
3939 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
3942 # Accept absolute paths.
3944 re_direlt='/[^/][^/]*/\.\./'
3945 # Canonicalize the pathname of ld
3946 ac_prog=`$ECHO "$ac_prog"|
$SED 's%\\\\%/%g'`
3947 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
3948 ac_prog=`$ECHO $ac_prog|
$SED "s%$re_direlt%/%"`
3950 test -z "$LD" && LD="$ac_prog"
3953 # If it fails, then pretend we aren't using GCC.
3957 # If it is relative, then search for the first ld in PATH.
3961 elif test "$with_gnu_ld" = yes; then
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
3963 $as_echo_n "checking for GNU ld... " >&6; }
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
3966 $as_echo_n "checking for non-GNU ld... " >&6; }
3968 if ${lt_cv_path_LD+:} false; then :
3969 $as_echo_n "(cached) " >&6
3971 if test -z "$LD"; then
3972 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3973 for ac_dir in $PATH; do
3975 test -z "$ac_dir" && ac_dir=.
3976 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3977 lt_cv_path_LD="$ac_dir/$ac_prog"
3978 # Check to see if the program is GNU ld. I'd rather use --version,
3979 # but apparently some variants of GNU ld only accept -v.
3980 # Break only if it was the GNU/non-GNU ld that we prefer.
3981 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
3982 *GNU* | *'with BFD'*)
3983 test "$with_gnu_ld" != no && break
3986 test "$with_gnu_ld" != yes && break
3993 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3998 if test -n "$LD"; then
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4000 $as_echo "$LD" >&6; }
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4003 $as_echo "no" >&6; }
4005 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4007 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4008 if ${lt_cv_prog_gnu_ld+:} false; then :
4009 $as_echo_n "(cached) " >&6
4011 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4012 case `$LD -v 2>&1 </dev
/null
` in
4013 *GNU* | *'with BFD'*)
4014 lt_cv_prog_gnu_ld=yes
4017 lt_cv_prog_gnu_ld=no
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4022 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4023 with_gnu_ld=$lt_cv_prog_gnu_ld
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4034 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4035 if ${lt_cv_path_NM+:} false; then :
4036 $as_echo_n "(cached) " >&6
4038 if test -n "$NM"; then
4039 # Let the user override the test.
4042 lt_nm_to_check="${ac_tool_prefix}nm"
4043 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4044 lt_nm_to_check="$lt_nm_to_check nm"
4046 for lt_tmp_nm in $lt_nm_to_check; do
4047 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4048 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4050 test -z "$ac_dir" && ac_dir=.
4051 tmp_nm="$ac_dir/$lt_tmp_nm"
4052 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4053 # Check to see if the nm accepts a BSD-compat flag.
4054 # Adding the `sed 1q
' prevents false positives on HP-UX, which says:
4055 # nm: unknown option "B" ignored
4056 # Tru64's nm complains that
/dev
/null is an invalid object
file
4057 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4058 */dev
/null
* |
*'Invalid file or object type'*)
4059 lt_cv_path_NM
="$tmp_nm -B"
4063 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4065 lt_cv_path_NM
="$tmp_nm -p"
4069 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4070 continue # so that we can try to find one that supports BSD flags
4079 : ${lt_cv_path_NM=no}
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4083 $as_echo "$lt_cv_path_NM" >&6; }
4084 if test "$lt_cv_path_NM" != "no"; then
4087 # Didn't find any BSD compatible name lister, look for dumpbin.
4088 if test -n "$DUMPBIN"; then :
4089 # Let the user override the test.
4091 if test -n "$ac_tool_prefix"; then
4092 for ac_prog
in dumpbin
"link -dump"
4094 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4095 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4097 $as_echo_n "checking for $ac_word... " >&6; }
4098 if ${ac_cv_prog_DUMPBIN+:} false
; then :
4099 $as_echo_n "(cached) " >&6
4101 if test -n "$DUMPBIN"; then
4102 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4104 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4108 test -z "$as_dir" && as_dir
=.
4109 for ac_exec_ext
in '' $ac_executable_extensions; do
4110 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4111 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4112 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4121 DUMPBIN
=$ac_cv_prog_DUMPBIN
4122 if test -n "$DUMPBIN"; then
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4124 $as_echo "$DUMPBIN" >&6; }
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4127 $as_echo "no" >&6; }
4131 test -n "$DUMPBIN" && break
4134 if test -z "$DUMPBIN"; then
4135 ac_ct_DUMPBIN
=$DUMPBIN
4136 for ac_prog
in dumpbin
"link -dump"
4138 # Extract the first word of "$ac_prog", so it can be a program name with args.
4139 set dummy
$ac_prog; ac_word
=$2
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4141 $as_echo_n "checking for $ac_word... " >&6; }
4142 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
4143 $as_echo_n "(cached) " >&6
4145 if test -n "$ac_ct_DUMPBIN"; then
4146 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4148 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4152 test -z "$as_dir" && as_dir
=.
4153 for ac_exec_ext
in '' $ac_executable_extensions; do
4154 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4155 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4156 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4165 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4166 if test -n "$ac_ct_DUMPBIN"; then
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4168 $as_echo "$ac_ct_DUMPBIN" >&6; }
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4171 $as_echo "no" >&6; }
4175 test -n "$ac_ct_DUMPBIN" && break
4178 if test "x$ac_ct_DUMPBIN" = x
; then
4181 case $cross_compiling:$ac_tool_warned in
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4184 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4185 ac_tool_warned
=yes ;;
4187 DUMPBIN
=$ac_ct_DUMPBIN
4191 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4193 DUMPBIN
="$DUMPBIN -symbols"
4201 if test "$DUMPBIN" != ":"; then
4205 test -z "$NM" && NM
=nm
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4213 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4214 if ${lt_cv_nm_interface+:} false
; then :
4215 $as_echo_n "(cached) " >&6
4217 lt_cv_nm_interface
="BSD nm"
4218 echo "int some_variable = 0;" > conftest.
$ac_ext
4219 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4220 (eval "$ac_compile" 2>conftest.err
)
4221 cat conftest.err
>&5
4222 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4223 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4224 cat conftest.err
>&5
4225 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4226 cat conftest.out
>&5
4227 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4228 lt_cv_nm_interface
="MS dumpbin"
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4233 $as_echo "$lt_cv_nm_interface" >&6; }
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4236 $as_echo_n "checking whether ln -s works... " >&6; }
4238 if test "$LN_S" = "ln -s"; then
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4240 $as_echo "yes" >&6; }
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4243 $as_echo "no, using $LN_S" >&6; }
4246 # find the maximum length of command line arguments
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4248 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4249 if ${lt_cv_sys_max_cmd_len+:} false
; then :
4250 $as_echo_n "(cached) " >&6
4257 # On DJGPP, this test can blow up pretty badly due to problems in libc
4258 # (any single argument exceeding 2000 bytes causes a buffer overrun
4259 # during glob expansion). Even if it were fixed, the result of this
4260 # check would be larger than it should be.
4261 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4265 # Under GNU Hurd, this test is not required because there is
4266 # no limit to the length of command line arguments.
4267 # Libtool will interpret -1 as no limit whatsoever
4268 lt_cv_sys_max_cmd_len
=-1;
4271 cygwin
* | mingw
* | cegcc
*)
4272 # On Win9x/ME, this test blows up -- it succeeds, but takes
4273 # about 5 minutes as the teststring grows exponentially.
4274 # Worse, since 9x/ME are not pre-emptively multitasking,
4275 # you end up with a "frozen" computer, even though with patience
4276 # the test eventually succeeds (with a max line length of 256k).
4277 # Instead, let's just punt: use the minimum linelength reported by
4278 # all of the supported platforms: 8192 (on NT/2K/XP).
4279 lt_cv_sys_max_cmd_len
=8192;
4283 # On MiNT this can take a long time and run out of memory.
4284 lt_cv_sys_max_cmd_len
=8192;
4288 # On AmigaOS with pdksh, this test takes hours, literally.
4289 # So we just punt and use a minimum line length of 8192.
4290 lt_cv_sys_max_cmd_len
=8192;
4293 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4294 # This has been around since 386BSD, at least. Likely further.
4295 if test -x /sbin
/sysctl
; then
4296 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4297 elif test -x /usr
/sbin
/sysctl
; then
4298 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4300 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4302 # And add a safety zone
4303 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4304 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4308 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4309 lt_cv_sys_max_cmd_len
=196608
4313 # The test takes a long time on OS/2.
4314 lt_cv_sys_max_cmd_len
=8192
4318 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4319 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4320 # nice to cause kernel panics so lets avoid the loop below.
4321 # First set a reasonable default.
4322 lt_cv_sys_max_cmd_len
=16384
4324 if test -x /sbin
/sysconfig
; then
4325 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4326 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4331 lt_cv_sys_max_cmd_len
=102400
4333 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4334 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4335 if test -n "$kargmax"; then
4336 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4338 lt_cv_sys_max_cmd_len
=32768
4342 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4343 if test -n "$lt_cv_sys_max_cmd_len"; then
4344 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4345 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4347 # Make teststring a little bigger before we do anything with it.
4348 # a 1K string should be a reasonable start.
4349 for i
in 1 2 3 4 5 6 7 8 ; do
4350 teststring
=$teststring$teststring
4352 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4353 # If test is not a shell built-in, we'll probably end up computing a
4354 # maximum length that is only half of the actual maximum length, but
4356 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4357 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
4358 test $i != 17 # 1/2 MB should be enough
4361 teststring
=$teststring$teststring
4363 # Only check the string length outside the loop.
4364 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4366 # Add a significant safety factor because C++ compilers can tack on
4367 # massive amounts of additional arguments before passing them to the
4368 # linker. It appears as though 1/2 is a usable value.
4369 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4376 if test -n $lt_cv_sys_max_cmd_len ; then
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4378 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4381 $as_echo "none" >&6; }
4383 max_cmd_len
=$lt_cv_sys_max_cmd_len
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4395 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4396 # Try some XSI features
4399 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4401 && eval 'test $(( 1 + 1 )) -eq 2 \
4402 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
4405 $as_echo "$xsi_shell" >&6; }
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
4409 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
4411 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
4413 && lt_shell_append=yes
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
4415 $as_echo "$lt_shell_append" >&6; }
4418 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4428 # test EBCDIC or ASCII
4429 case `echo X|tr X '\101'` in
4430 A) # ASCII based system
4431 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4432 lt_SP2NL='tr \040 \012'
4433 lt_NL2SP='tr \015\012 \040\040'
4435 *) # EBCDIC based system
4436 lt_SP2NL='tr \100 \n'
4437 lt_NL2SP='tr \r\n \100\100'
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
4450 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
4451 if ${lt_cv_to_host_file_cmd+:} false; then :
4452 $as_echo_n "(cached
) " >&6
4457 *-*-mingw* ) # actually msys
4458 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4461 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4463 * ) # otherwise, assume *nix
4464 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4470 *-*-mingw* ) # actually msys
4471 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4474 lt_cv_to_host_file_cmd=func_convert_file_noop
4476 * ) # otherwise, assume *nix
4477 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4481 * ) # unhandled hosts (and "normal
" native builds)
4482 lt_cv_to_host_file_cmd=func_convert_file_noop
4488 to_host_file_cmd=$lt_cv_to_host_file_cmd
4489 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
4490 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
4497 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
4498 if ${lt_cv_to_tool_file_cmd+:} false; then :
4499 $as_echo_n "(cached
) " >&6
4501 #assume ordinary cross tools, or native build.
4502 lt_cv_to_tool_file_cmd=func_convert_file_noop
4506 *-*-mingw* ) # actually msys
4507 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4515 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
4517 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
4524 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
4525 if ${lt_cv_ld_reload_flag+:} false; then :
4526 $as_echo_n "(cached
) " >&6
4528 lt_cv_ld_reload_flag='-r'
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
4531 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4532 reload_flag=$lt_cv_ld_reload_flag
4533 case $reload_flag in
4535 *) reload_flag=" $reload_flag" ;;
4537 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4539 cygwin* | mingw* | pw32* | cegcc*)
4540 if test "$GCC" != yes; then
4545 if test "$GCC" = yes; then
4546 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4548 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4561 if test -n "$ac_tool_prefix"; then
4562 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
4563 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4565 $as_echo_n "checking
for $ac_word...
" >&6; }
4566 if ${ac_cv_prog_OBJDUMP+:} false; then :
4567 $as_echo_n "(cached
) " >&6
4569 if test -n "$OBJDUMP"; then
4570 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4576 test -z "$as_dir" && as_dir=.
4577 for ac_exec_ext in '' $ac_executable_extensions; do
4578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4579 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
4580 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4589 OBJDUMP=$ac_cv_prog_OBJDUMP
4590 if test -n "$OBJDUMP"; then
4591 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
4592 $as_echo "$OBJDUMP" >&6; }
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4595 $as_echo "no
" >&6; }
4600 if test -z "$ac_cv_prog_OBJDUMP"; then
4601 ac_ct_OBJDUMP=$OBJDUMP
4602 # Extract the first word of "objdump
", so it can be a program name with args.
4603 set dummy objdump; ac_word=$2
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4605 $as_echo_n "checking
for $ac_word...
" >&6; }
4606 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4607 $as_echo_n "(cached
) " >&6
4609 if test -n "$ac_ct_OBJDUMP"; then
4610 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4616 test -z "$as_dir" && as_dir=.
4617 for ac_exec_ext in '' $ac_executable_extensions; do
4618 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4619 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
4620 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4629 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4630 if test -n "$ac_ct_OBJDUMP"; then
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
4632 $as_echo "$ac_ct_OBJDUMP" >&6; }
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4635 $as_echo "no
" >&6; }
4638 if test "x
$ac_ct_OBJDUMP" = x; then
4641 case $cross_compiling:$ac_tool_warned in
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
4644 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
4645 ac_tool_warned=yes ;;
4647 OBJDUMP=$ac_ct_OBJDUMP
4650 OBJDUMP="$ac_cv_prog_OBJDUMP"
4653 test -z "$OBJDUMP" && OBJDUMP=objdump
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
4664 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
4665 if ${lt_cv_deplibs_check_method+:} false; then :
4666 $as_echo_n "(cached
) " >&6
4668 lt_cv_file_magic_cmd='$MAGIC_CMD'
4669 lt_cv_file_magic_test_file=
4670 lt_cv_deplibs_check_method='unknown'
4671 # Need to set the preceding variable on all platforms that support
4672 # interlibrary dependencies.
4673 # 'none' -- dependencies not supported.
4674 # `unknown' -- same as none, but documents that we really don't know.
4675 # 'pass_all' -- all dependencies passed with no checks.
4676 # 'test_compile' -- check by making test program.
4677 # 'file_magic [[regex]]' -- check by looking for files in library path
4678 # which responds to the $file_magic_cmd with a given extended regex.
4679 # If you have `file' or equivalent on your system and you're not sure
4680 # whether `pass_all' will *always* work, you probably want this one.
4684 lt_cv_deplibs_check_method=pass_all
4688 lt_cv_deplibs_check_method=pass_all
4692 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4693 lt_cv_file_magic_cmd='/usr/bin/file -L'
4694 lt_cv_file_magic_test_file=/shlib/libc.so
4698 # func_win32_libid is a shell function defined in ltmain.sh
4699 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4700 lt_cv_file_magic_cmd='func_win32_libid'
4704 # Base MSYS/MinGW do not provide the 'file' command needed by
4705 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4706 # unless we find 'file', for example because we are cross-compiling.
4707 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
4708 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
4709 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4710 lt_cv_file_magic_cmd='func_win32_libid'
4712 # Keep this pattern in sync with the one in func_win32_libid.
4713 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
4714 lt_cv_file_magic_cmd='$OBJDUMP -f'
4719 # use the weaker test based on 'objdump'. See mingw*.
4720 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4721 lt_cv_file_magic_cmd='$OBJDUMP -f'
4724 darwin* | rhapsody*)
4725 lt_cv_deplibs_check_method=pass_all
4728 freebsd* | dragonfly*)
4729 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4732 # Not sure whether the presence of OpenBSD here was a mistake.
4733 # Let's accept both of them until this is cleared up.
4734 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4735 lt_cv_file_magic_cmd=/usr/bin/file
4736 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4740 lt_cv_deplibs_check_method=pass_all
4745 lt_cv_deplibs_check_method=pass_all
4749 lt_cv_deplibs_check_method=pass_all
4752 hpux10.20* | hpux11*)
4753 lt_cv_file_magic_cmd=/usr/bin/file
4756 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4757 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4760 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]'
4761 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4764 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
4765 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4771 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4772 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4775 irix5* | irix6* | nonstopux*)
4777 *-32|*"-32 ") libmagic=32-bit;;
4778 *-n32|*"-n32 ") libmagic=N32;;
4779 *-64|*"-64 ") libmagic=64-bit;;
4780 *) libmagic=never-match;;
4782 lt_cv_deplibs_check_method=pass_all
4785 # This must be glibc/ELF.
4786 linux* | k*bsd*-gnu | kopensolaris*-gnu)
4787 lt_cv_deplibs_check_method=pass_all
4790 netbsd* | netbsdelf*-gnu)
4791 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4792 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4794 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4799 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4800 lt_cv_file_magic_cmd=/usr/bin/file
4801 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4805 lt_cv_deplibs_check_method=pass_all
4809 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
4810 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4812 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4816 osf3* | osf4* | osf5*)
4817 lt_cv_deplibs_check_method=pass_all
4821 lt_cv_deplibs_check_method=pass_all
4825 lt_cv_deplibs_check_method=pass_all
4828 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4829 lt_cv_deplibs_check_method=pass_all
4833 case $host_vendor in
4835 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]'
4836 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4839 lt_cv_deplibs_check_method=pass_all
4842 lt_cv_file_magic_cmd='/bin/file'
4843 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4846 lt_cv_file_magic_cmd='/bin/file'
4847 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
4848 lt_cv_file_magic_test_file=/lib/libc.so
4851 lt_cv_deplibs_check_method=pass_all
4854 lt_cv_deplibs_check_method=pass_all
4860 lt_cv_deplibs_check_method=pass_all
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
4866 $as_echo "$lt_cv_deplibs_check_method" >&6; }
4870 if test "$build" = "$host"; then
4873 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
4876 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
4882 file_magic_cmd=$lt_cv_file_magic_cmd
4883 deplibs_check_method=$lt_cv_deplibs_check_method
4884 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4907 if test -n "$ac_tool_prefix"; then
4908 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
4909 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4911 $as_echo_n "checking
for $ac_word...
" >&6; }
4912 if ${ac_cv_prog_DLLTOOL+:} false; then :
4913 $as_echo_n "(cached
) " >&6
4915 if test -n "$DLLTOOL"; then
4916 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4922 test -z "$as_dir" && as_dir=.
4923 for ac_exec_ext in '' $ac_executable_extensions; do
4924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4925 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
4926 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4935 DLLTOOL=$ac_cv_prog_DLLTOOL
4936 if test -n "$DLLTOOL"; then
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
4938 $as_echo "$DLLTOOL" >&6; }
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4941 $as_echo "no
" >&6; }
4946 if test -z "$ac_cv_prog_DLLTOOL"; then
4947 ac_ct_DLLTOOL=$DLLTOOL
4948 # Extract the first word of "dlltool
", so it can be a program name with args.
4949 set dummy dlltool; ac_word=$2
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4951 $as_echo_n "checking
for $ac_word...
" >&6; }
4952 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
4953 $as_echo_n "(cached
) " >&6
4955 if test -n "$ac_ct_DLLTOOL"; then
4956 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4962 test -z "$as_dir" && as_dir=.
4963 for ac_exec_ext in '' $ac_executable_extensions; do
4964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4965 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
4966 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4975 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4976 if test -n "$ac_ct_DLLTOOL"; then
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
4978 $as_echo "$ac_ct_DLLTOOL" >&6; }
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4981 $as_echo "no
" >&6; }
4984 if test "x
$ac_ct_DLLTOOL" = x; then
4987 case $cross_compiling:$ac_tool_warned in
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
4990 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
4991 ac_tool_warned=yes ;;
4993 DLLTOOL=$ac_ct_DLLTOOL
4996 DLLTOOL="$ac_cv_prog_DLLTOOL"
4999 test -z "$DLLTOOL" && DLLTOOL=dlltool
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
5011 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
5012 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5013 $as_echo_n "(cached
) " >&6
5015 lt_cv_sharedlib_from_linklib_cmd='unknown'
5018 cygwin* | mingw* | pw32* | cegcc*)
5019 # two different shell functions defined in ltmain.sh
5020 # decide which to use based on capabilities of $DLLTOOL
5021 case `$DLLTOOL --help 2>&1` in
5022 *--identify-strict*)
5023 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5026 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5031 # fallback: assume linklib IS sharedlib
5032 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
5038 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5039 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5040 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5049 if test -n "$ac_tool_prefix"; then
5052 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5053 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5055 $as_echo_n "checking
for $ac_word...
" >&6; }
5056 if ${ac_cv_prog_AR+:} false; then :
5057 $as_echo_n "(cached
) " >&6
5059 if test -n "$AR"; then
5060 ac_cv_prog_AR="$AR" # Let the user override the test.
5062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5066 test -z "$as_dir" && as_dir=.
5067 for ac_exec_ext in '' $ac_executable_extensions; do
5068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5069 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5070 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5080 if test -n "$AR"; then
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5082 $as_echo "$AR" >&6; }
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5085 $as_echo "no
" >&6; }
5089 test -n "$AR" && break
5092 if test -z "$AR"; then
5096 # Extract the first word of "$ac_prog", so it can be a program name with args.
5097 set dummy $ac_prog; ac_word=$2
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5099 $as_echo_n "checking
for $ac_word...
" >&6; }
5100 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5101 $as_echo_n "(cached
) " >&6
5103 if test -n "$ac_ct_AR"; then
5104 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5110 test -z "$as_dir" && as_dir=.
5111 for ac_exec_ext in '' $ac_executable_extensions; do
5112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5113 ac_cv_prog_ac_ct_AR="$ac_prog"
5114 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5123 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5124 if test -n "$ac_ct_AR"; then
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
5126 $as_echo "$ac_ct_AR" >&6; }
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5129 $as_echo "no
" >&6; }
5133 test -n "$ac_ct_AR" && break
5136 if test "x
$ac_ct_AR" = x; then
5139 case $cross_compiling:$ac_tool_warned in
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5142 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5143 ac_tool_warned=yes ;;
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
5163 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
5164 if ${lt_cv_ar_at_file+:} false; then :
5165 $as_echo_n "(cached
) " >&6
5168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5169 /* end confdefs.h. */
5179 if ac_fn_c_try_compile "$LINENO"; then :
5180 echo conftest.$ac_objext > conftest.lst
5181 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5182 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5183 (eval $lt_ar_try) 2>&5
5185 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5186 test $ac_status = 0; }
5187 if test "$ac_status" -eq 0; then
5188 # Ensure the archiver fails upon bogus file names.
5189 rm -f conftest.$ac_objext libconftest.a
5190 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5191 (eval $lt_ar_try) 2>&5
5193 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5194 test $ac_status = 0; }
5195 if test "$ac_status" -ne 0; then
5199 rm -f conftest.* libconftest.a
5202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
5206 $as_echo "$lt_cv_ar_at_file" >&6; }
5208 if test "x
$lt_cv_ar_at_file" = xno; then
5211 archiver_list_spec=$lt_cv_ar_at_file
5220 if test -n "$ac_tool_prefix"; then
5221 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5222 set dummy ${ac_tool_prefix}strip; ac_word=$2
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5224 $as_echo_n "checking
for $ac_word...
" >&6; }
5225 if ${ac_cv_prog_STRIP+:} false; then :
5226 $as_echo_n "(cached
) " >&6
5228 if test -n "$STRIP"; then
5229 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5235 test -z "$as_dir" && as_dir=.
5236 for ac_exec_ext in '' $ac_executable_extensions; do
5237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5238 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5239 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5248 STRIP=$ac_cv_prog_STRIP
5249 if test -n "$STRIP"; then
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
5251 $as_echo "$STRIP" >&6; }
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5254 $as_echo "no
" >&6; }
5259 if test -z "$ac_cv_prog_STRIP"; then
5261 # Extract the first word of "strip
", so it can be a program name with args.
5262 set dummy strip; ac_word=$2
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5264 $as_echo_n "checking
for $ac_word...
" >&6; }
5265 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5266 $as_echo_n "(cached
) " >&6
5268 if test -n "$ac_ct_STRIP"; then
5269 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5275 test -z "$as_dir" && as_dir=.
5276 for ac_exec_ext in '' $ac_executable_extensions; do
5277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5278 ac_cv_prog_ac_ct_STRIP="strip
"
5279 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5288 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5289 if test -n "$ac_ct_STRIP"; then
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
5291 $as_echo "$ac_ct_STRIP" >&6; }
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5294 $as_echo "no
" >&6; }
5297 if test "x
$ac_ct_STRIP" = x; then
5300 case $cross_compiling:$ac_tool_warned in
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5303 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5304 ac_tool_warned=yes ;;
5309 STRIP="$ac_cv_prog_STRIP"
5312 test -z "$STRIP" && STRIP=:
5319 if test -n "$ac_tool_prefix"; then
5320 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5321 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5323 $as_echo_n "checking
for $ac_word...
" >&6; }
5324 if ${ac_cv_prog_RANLIB+:} false; then :
5325 $as_echo_n "(cached
) " >&6
5327 if test -n "$RANLIB"; then
5328 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5334 test -z "$as_dir" && as_dir=.
5335 for ac_exec_ext in '' $ac_executable_extensions; do
5336 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5337 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5338 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5347 RANLIB=$ac_cv_prog_RANLIB
5348 if test -n "$RANLIB"; then
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
5350 $as_echo "$RANLIB" >&6; }
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5353 $as_echo "no
" >&6; }
5358 if test -z "$ac_cv_prog_RANLIB"; then
5359 ac_ct_RANLIB=$RANLIB
5360 # Extract the first word of "ranlib
", so it can be a program name with args.
5361 set dummy ranlib; ac_word=$2
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5363 $as_echo_n "checking
for $ac_word...
" >&6; }
5364 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5365 $as_echo_n "(cached
) " >&6
5367 if test -n "$ac_ct_RANLIB"; then
5368 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5374 test -z "$as_dir" && as_dir=.
5375 for ac_exec_ext in '' $ac_executable_extensions; do
5376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5377 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5378 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5387 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5388 if test -n "$ac_ct_RANLIB"; then
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
5390 $as_echo "$ac_ct_RANLIB" >&6; }
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5393 $as_echo "no
" >&6; }
5396 if test "x
$ac_ct_RANLIB" = x; then
5399 case $cross_compiling:$ac_tool_warned in
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5402 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5403 ac_tool_warned=yes ;;
5405 RANLIB=$ac_ct_RANLIB
5408 RANLIB="$ac_cv_prog_RANLIB"
5411 test -z "$RANLIB" && RANLIB=:
5418 # Determine commands to create old-style static archives.
5419 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5420 old_postinstall_cmds='chmod 644 $oldlib'
5421 old_postuninstall_cmds=
5423 if test -n "$RANLIB"; then
5426 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
5429 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
5432 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
5437 lock_old_archive_extraction=yes ;;
5439 lock_old_archive_extraction=no ;;
5480 # If no C compiler was specified, use CC.
5483 # If no C compiler flags were specified, use CFLAGS.
5484 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5486 # Allow CC to be a program name with arguments.
5490 # Check for command to grab the raw symbol name followed by C symbol from nm.
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
5492 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
5493 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5494 $as_echo_n "(cached
) " >&6
5497 # These are sane defaults that work on at least a few old systems.
5498 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5500 # Character class describing NM global symbol codes.
5501 symcode='[BCDEGRST]'
5503 # Regexp to match symbols that can be accessed directly from C.
5504 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5506 # Define system-specific variables.
5511 cygwin* | mingw* | pw32* | cegcc*)
5512 symcode='[ABCDGISTW]'
5515 if test "$host_cpu" = ia64; then
5516 symcode='[ABCDEGRST]'
5520 symcode='[BCDEGRST]'
5523 symcode='[BCDEGQRST]'
5534 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5542 # If we're using GNU nm, then use its standard symbol codes.
5543 case `$NM -V 2>&1` in
5544 *GNU* | *'with BFD'*)
5545 symcode='[ABCDGIRSTW]' ;;
5548 # Transform an extracted symbol line into a proper C declaration.
5549 # Some systems (esp. on ia64) link data and code symbols differently,
5550 # so use this general approach.
5551 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5553 # Transform an extracted symbol line into symbol name and symbol address
5554 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5555 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
5557 # Handle CRLF in mingw tool chain
5561 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5565 # Try without a prefix underscore, then with it.
5566 for ac_symprfx in "" "_
"; do
5568 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5569 symxfrm="\\1 $ac_symprfx\\2 \\2"
5571 # Write the raw and C identifiers.
5572 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
5573 # Fake it for dumpbin and say T for any non-static function
5574 # and D for any global variable.
5575 # Also find C++ and __fastcall symbols from MSVC++,
5576 # which start with @ or ?.
5577 lt_cv_sys_global_symbol_pipe="$AWK '"\
5578 " {last_section=section; section=\$ 3};"\
5579 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
5580 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5581 " \$ 0!~/External *\|/{next};"\
5582 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5583 " {if(hide[section]) next};"\
5584 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5585 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5586 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5587 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5588 " ' prfx
=^
$ac_symprfx"
5590 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5592 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe |
sed '/ __gnu_lto/d'"
5594 # Check to see that the pipe works correctly.
5598 cat > conftest.$ac_ext <<_LT_EOF
5603 void nm_test_func(void);
5604 void nm_test_func(void){}
5608 int main(){nm_test_var='a';nm_test_func();return(0);}
5611 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5612 (eval $ac_compile) 2>&5
5614 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5615 test $ac_status = 0; }; then
5616 # Now try to grab the symbols.
5618 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
5619 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5621 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5622 test $ac_status = 0; } && test -s "$nlist"; then
5623 # Try sorting and uniquifying the output.
5624 if sort "$nlist" | uniq > "$nlist"T; then
5625 mv -f "$nlist"T "$nlist"
5630 # Make sure that we snagged all the symbols we need.
5631 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5632 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5633 cat <<_LT_EOF > conftest.$ac_ext
5634 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
5635 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
5636 /* DATA imports from DLLs on WIN32 con't be const, because runtime
5637 relocations are performed -- see ld's documentation on pseudo-relocs. */
5638 # define LT_DLSYM_CONST
5639 #elif defined(__osf__)
5640 /* This system does not cope well with relocations in const data. */
5641 # define LT_DLSYM_CONST
5643 # define LT_DLSYM_CONST const
5651 # Now generate the symbol file.
5652 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5654 cat <<_LT_EOF >> conftest.$ac_ext
5656 /* The mapping between symbol names and symbols. */
5657 LT_DLSYM_CONST struct {
5661 lt__PROGRAM__LTX_preloaded_symbols[] =
5663 { "@PROGRAM@
", (void *) 0 },
5665 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5666 cat <<\_LT_EOF >> conftest.$ac_ext
5670 /* This works around a problem in FreeBSD linker */
5671 #ifdef FREEBSD_WORKAROUND
5672 static const void *lt_preloaded_setup() {
5673 return lt__PROGRAM__LTX_preloaded_symbols;
5681 # Now try linking the two files.
5682 mv conftest.$ac_objext conftstm.$ac_objext
5683 lt_globsym_save_LIBS=$LIBS
5684 lt_globsym_save_CFLAGS=$CFLAGS
5685 LIBS="conftstm.
$ac_objext"
5686 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5687 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5688 (eval $ac_link) 2>&5
5690 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5691 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5694 LIBS=$lt_globsym_save_LIBS
5695 CFLAGS=$lt_globsym_save_CFLAGS
5697 echo "cannot
find nm_test_func
in $nlist" >&5
5700 echo "cannot
find nm_test_var
in $nlist" >&5
5703 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
5706 echo "$progname: failed program was
:" >&5
5707 cat conftest.$ac_ext >&5
5709 rm -rf conftest* conftst*
5711 # Do not use the global_symbol_pipe unless it works.
5712 if test "$pipe_works" = yes; then
5715 lt_cv_sys_global_symbol_pipe=
5721 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5722 lt_cv_sys_global_symbol_to_cdecl=
5724 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
5726 $as_echo "failed
" >&6; }
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
5729 $as_echo "ok
" >&6; }
5732 # Response file support.
5733 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
5734 nm_file_list_spec='@'
5735 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
5736 nm_file_list_spec='@'
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
5766 $as_echo_n "checking
for sysroot...
" >&6; }
5768 # Check whether --with-sysroot was given.
5769 if test "${with_sysroot+set}" = set; then :
5770 withval=$with_sysroot;
5777 case ${with_sysroot} in #(
5779 if test "$GCC" = yes; then
5780 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
5784 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${with_sysroot}" >&5
5790 $as_echo "${with_sysroot}" >&6; }
5791 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
5796 $as_echo "${lt_sysroot:-no}" >&6; }
5802 # Check whether --enable-libtool-lock was given.
5803 if test "${enable_libtool_lock+set}" = set; then :
5804 enableval=$enable_libtool_lock;
5807 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
5809 # Some flags need to be propagated to the compiler or linker for good
5813 # Find out which ABI we are using.
5814 echo 'int i;' > conftest.$ac_ext
5815 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5816 (eval $ac_compile) 2>&5
5818 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5819 test $ac_status = 0; }; then
5820 case `/usr/bin/file conftest.$ac_objext` in
5832 # Find out which ABI we are using.
5833 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
5834 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5835 (eval $ac_compile) 2>&5
5837 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5838 test $ac_status = 0; }; then
5839 if test "$lt_cv_prog_gnu_ld" = yes; then
5840 case `/usr/bin/file conftest.$ac_objext` in
5842 LD="${LD-ld} -melf32bsmip"
5845 LD="${LD-ld} -melf32bmipn32"
5848 LD="${LD-ld} -melf64bmip"
5852 case `/usr/bin/file conftest.$ac_objext` in
5868 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5869 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5870 # Find out which ABI we are using.
5871 echo 'int i;' > conftest.$ac_ext
5872 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5873 (eval $ac_compile) 2>&5
5875 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5876 test $ac_status = 0; }; then
5877 case `/usr/bin/file conftest.o` in
5880 x86_64-*kfreebsd*-gnu)
5881 LD="${LD-ld} -m elf_i386_fbsd
"
5884 LD="${LD-ld} -m elf_i386
"
5886 ppc64-*linux*|powerpc64-*linux*)
5887 LD="${LD-ld} -m elf32ppclinux
"
5890 LD="${LD-ld} -m elf_s390
"
5893 LD="${LD-ld} -m elf32_sparc
"
5899 x86_64-*kfreebsd*-gnu)
5900 LD="${LD-ld} -m elf_x86_64_fbsd
"
5903 LD="${LD-ld} -m elf_x86_64
"
5905 ppc*-*linux*|powerpc*-*linux*)
5906 LD="${LD-ld} -m elf64ppc
"
5908 s390*-*linux*|s390*-*tpf*)
5909 LD="${LD-ld} -m elf64_s390
"
5912 LD="${LD-ld} -m elf64_sparc
"
5922 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5923 SAVE_CFLAGS="$CFLAGS"
5924 CFLAGS="$CFLAGS -belf"
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
5926 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
5927 if ${lt_cv_cc_needs_belf+:} false; then :
5928 $as_echo_n "(cached
) " >&6
5931 ac_cpp='$CPP $CPPFLAGS'
5932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5937 /* end confdefs.h. */
5947 if ac_fn_c_try_link "$LINENO"; then :
5948 lt_cv_cc_needs_belf=yes
5950 lt_cv_cc_needs_belf=no
5952 rm -f core conftest.err conftest.$ac_objext \
5953 conftest$ac_exeext conftest.$ac_ext
5955 ac_cpp='$CPP $CPPFLAGS'
5956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
5962 $as_echo "$lt_cv_cc_needs_belf" >&6; }
5963 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5964 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5965 CFLAGS="$SAVE_CFLAGS"
5969 # Find out which ABI we are using.
5970 echo 'int i;' > conftest.$ac_ext
5971 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5972 (eval $ac_compile) 2>&5
5974 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5975 test $ac_status = 0; }; then
5976 case `/usr/bin/file conftest.o` in
5978 case $lt_cv_prog_gnu_ld in
5982 LD="${LD-ld} -m elf_x86_64
"
5985 LD="${LD-ld} -m elf64_sparc
"
5988 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
5989 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
5994 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6006 need_locks="$enable_libtool_lock"
6008 if test -n "$ac_tool_prefix"; then
6009 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
6010 set dummy ${ac_tool_prefix}mt; ac_word=$2
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6012 $as_echo_n "checking
for $ac_word...
" >&6; }
6013 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6014 $as_echo_n "(cached
) " >&6
6016 if test -n "$MANIFEST_TOOL"; then
6017 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6023 test -z "$as_dir" && as_dir=.
6024 for ac_exec_ext in '' $ac_executable_extensions; do
6025 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6026 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
6027 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6036 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6037 if test -n "$MANIFEST_TOOL"; then
6038 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
6039 $as_echo "$MANIFEST_TOOL" >&6; }
6041 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6042 $as_echo "no
" >&6; }
6047 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6048 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6049 # Extract the first word of "mt
", so it can be a program name with args.
6050 set dummy mt; ac_word=$2
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6052 $as_echo_n "checking
for $ac_word...
" >&6; }
6053 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6054 $as_echo_n "(cached
) " >&6
6056 if test -n "$ac_ct_MANIFEST_TOOL"; then
6057 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6063 test -z "$as_dir" && as_dir=.
6064 for ac_exec_ext in '' $ac_executable_extensions; do
6065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6066 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
6067 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6076 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6077 if test -n "$ac_ct_MANIFEST_TOOL"; then
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
6079 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6082 $as_echo "no
" >&6; }
6085 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
6088 case $cross_compiling:$ac_tool_warned in
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6091 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6092 ac_tool_warned=yes ;;
6094 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6097 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6100 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
6102 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
6103 if ${lt_cv_path_mainfest_tool+:} false; then :
6104 $as_echo_n "(cached
) " >&6
6106 lt_cv_path_mainfest_tool=no
6107 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6108 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6109 cat conftest.err >&5
6110 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6111 lt_cv_path_mainfest_tool=yes
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
6116 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6117 if test "x
$lt_cv_path_mainfest_tool" != xyes; then
6127 rhapsody* | darwin*)
6128 if test -n "$ac_tool_prefix"; then
6129 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6130 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6132 $as_echo_n "checking
for $ac_word...
" >&6; }
6133 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6134 $as_echo_n "(cached
) " >&6
6136 if test -n "$DSYMUTIL"; then
6137 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6143 test -z "$as_dir" && as_dir=.
6144 for ac_exec_ext in '' $ac_executable_extensions; do
6145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6146 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6147 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6156 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6157 if test -n "$DSYMUTIL"; then
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6159 $as_echo "$DSYMUTIL" >&6; }
6161 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6162 $as_echo "no
" >&6; }
6167 if test -z "$ac_cv_prog_DSYMUTIL"; then
6168 ac_ct_DSYMUTIL=$DSYMUTIL
6169 # Extract the first word of "dsymutil
", so it can be a program name with args.
6170 set dummy dsymutil; ac_word=$2
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6172 $as_echo_n "checking
for $ac_word...
" >&6; }
6173 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6174 $as_echo_n "(cached
) " >&6
6176 if test -n "$ac_ct_DSYMUTIL"; then
6177 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6183 test -z "$as_dir" && as_dir=.
6184 for ac_exec_ext in '' $ac_executable_extensions; do
6185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6186 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6187 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6196 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6197 if test -n "$ac_ct_DSYMUTIL"; then
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6199 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6202 $as_echo "no
" >&6; }
6205 if test "x
$ac_ct_DSYMUTIL" = x; then
6208 case $cross_compiling:$ac_tool_warned in
6210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6211 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6212 ac_tool_warned=yes ;;
6214 DSYMUTIL=$ac_ct_DSYMUTIL
6217 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6220 if test -n "$ac_tool_prefix"; then
6221 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6222 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6224 $as_echo_n "checking
for $ac_word...
" >&6; }
6225 if ${ac_cv_prog_NMEDIT+:} false; then :
6226 $as_echo_n "(cached
) " >&6
6228 if test -n "$NMEDIT"; then
6229 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6235 test -z "$as_dir" && as_dir=.
6236 for ac_exec_ext in '' $ac_executable_extensions; do
6237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6238 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6239 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6248 NMEDIT=$ac_cv_prog_NMEDIT
6249 if test -n "$NMEDIT"; then
6250 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
6251 $as_echo "$NMEDIT" >&6; }
6253 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6254 $as_echo "no
" >&6; }
6259 if test -z "$ac_cv_prog_NMEDIT"; then
6260 ac_ct_NMEDIT=$NMEDIT
6261 # Extract the first word of "nmedit
", so it can be a program name with args.
6262 set dummy nmedit; ac_word=$2
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6264 $as_echo_n "checking
for $ac_word...
" >&6; }
6265 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6266 $as_echo_n "(cached
) " >&6
6268 if test -n "$ac_ct_NMEDIT"; then
6269 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6275 test -z "$as_dir" && as_dir=.
6276 for ac_exec_ext in '' $ac_executable_extensions; do
6277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6278 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6279 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6288 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6289 if test -n "$ac_ct_NMEDIT"; then
6290 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
6291 $as_echo "$ac_ct_NMEDIT" >&6; }
6293 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6294 $as_echo "no
" >&6; }
6297 if test "x
$ac_ct_NMEDIT" = x; then
6300 case $cross_compiling:$ac_tool_warned in
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6303 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6304 ac_tool_warned=yes ;;
6306 NMEDIT=$ac_ct_NMEDIT
6309 NMEDIT="$ac_cv_prog_NMEDIT"
6312 if test -n "$ac_tool_prefix"; then
6313 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6314 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6316 $as_echo_n "checking
for $ac_word...
" >&6; }
6317 if ${ac_cv_prog_LIPO+:} false; then :
6318 $as_echo_n "(cached
) " >&6
6320 if test -n "$LIPO"; then
6321 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6327 test -z "$as_dir" && as_dir=.
6328 for ac_exec_ext in '' $ac_executable_extensions; do
6329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6330 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6331 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6340 LIPO=$ac_cv_prog_LIPO
6341 if test -n "$LIPO"; then
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
6343 $as_echo "$LIPO" >&6; }
6345 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6346 $as_echo "no
" >&6; }
6351 if test -z "$ac_cv_prog_LIPO"; then
6353 # Extract the first word of "lipo
", so it can be a program name with args.
6354 set dummy lipo; ac_word=$2
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6356 $as_echo_n "checking
for $ac_word...
" >&6; }
6357 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6358 $as_echo_n "(cached
) " >&6
6360 if test -n "$ac_ct_LIPO"; then
6361 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6367 test -z "$as_dir" && as_dir=.
6368 for ac_exec_ext in '' $ac_executable_extensions; do
6369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6370 ac_cv_prog_ac_ct_LIPO="lipo
"
6371 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6380 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6381 if test -n "$ac_ct_LIPO"; then
6382 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
6383 $as_echo "$ac_ct_LIPO" >&6; }
6385 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6386 $as_echo "no
" >&6; }
6389 if test "x
$ac_ct_LIPO" = x; then
6392 case $cross_compiling:$ac_tool_warned in
6394 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6395 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6396 ac_tool_warned=yes ;;
6401 LIPO="$ac_cv_prog_LIPO"
6404 if test -n "$ac_tool_prefix"; then
6405 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
6406 set dummy ${ac_tool_prefix}otool; ac_word=$2
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6408 $as_echo_n "checking
for $ac_word...
" >&6; }
6409 if ${ac_cv_prog_OTOOL+:} false; then :
6410 $as_echo_n "(cached
) " >&6
6412 if test -n "$OTOOL"; then
6413 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6419 test -z "$as_dir" && as_dir=.
6420 for ac_exec_ext in '' $ac_executable_extensions; do
6421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6422 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
6423 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6432 OTOOL=$ac_cv_prog_OTOOL
6433 if test -n "$OTOOL"; then
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
6435 $as_echo "$OTOOL" >&6; }
6437 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6438 $as_echo "no
" >&6; }
6443 if test -z "$ac_cv_prog_OTOOL"; then
6445 # Extract the first word of "otool
", so it can be a program name with args.
6446 set dummy otool; ac_word=$2
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6448 $as_echo_n "checking
for $ac_word...
" >&6; }
6449 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6450 $as_echo_n "(cached
) " >&6
6452 if test -n "$ac_ct_OTOOL"; then
6453 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6459 test -z "$as_dir" && as_dir=.
6460 for ac_exec_ext in '' $ac_executable_extensions; do
6461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6462 ac_cv_prog_ac_ct_OTOOL="otool
"
6463 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6472 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6473 if test -n "$ac_ct_OTOOL"; then
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
6475 $as_echo "$ac_ct_OTOOL" >&6; }
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6478 $as_echo "no
" >&6; }
6481 if test "x
$ac_ct_OTOOL" = x; then
6484 case $cross_compiling:$ac_tool_warned in
6486 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6487 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6488 ac_tool_warned=yes ;;
6493 OTOOL="$ac_cv_prog_OTOOL"
6496 if test -n "$ac_tool_prefix"; then
6497 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
6498 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6500 $as_echo_n "checking
for $ac_word...
" >&6; }
6501 if ${ac_cv_prog_OTOOL64+:} false; then :
6502 $as_echo_n "(cached
) " >&6
6504 if test -n "$OTOOL64"; then
6505 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6511 test -z "$as_dir" && as_dir=.
6512 for ac_exec_ext in '' $ac_executable_extensions; do
6513 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6514 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
6515 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6524 OTOOL64=$ac_cv_prog_OTOOL64
6525 if test -n "$OTOOL64"; then
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
6527 $as_echo "$OTOOL64" >&6; }
6529 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6530 $as_echo "no
" >&6; }
6535 if test -z "$ac_cv_prog_OTOOL64"; then
6536 ac_ct_OTOOL64=$OTOOL64
6537 # Extract the first word of "otool64
", so it can be a program name with args.
6538 set dummy otool64; ac_word=$2
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6540 $as_echo_n "checking
for $ac_word...
" >&6; }
6541 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6542 $as_echo_n "(cached
) " >&6
6544 if test -n "$ac_ct_OTOOL64"; then
6545 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6551 test -z "$as_dir" && as_dir=.
6552 for ac_exec_ext in '' $ac_executable_extensions; do
6553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6554 ac_cv_prog_ac_ct_OTOOL64="otool64
"
6555 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6564 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6565 if test -n "$ac_ct_OTOOL64"; then
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
6567 $as_echo "$ac_ct_OTOOL64" >&6; }
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6570 $as_echo "no
" >&6; }
6573 if test "x
$ac_ct_OTOOL64" = x; then
6576 case $cross_compiling:$ac_tool_warned in
6578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6579 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6580 ac_tool_warned=yes ;;
6582 OTOOL64=$ac_ct_OTOOL64
6585 OTOOL64="$ac_cv_prog_OTOOL64"
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
6615 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
6616 if ${lt_cv_apple_cc_single_mod+:} false; then :
6617 $as_echo_n "(cached
) " >&6
6619 lt_cv_apple_cc_single_mod=no
6620 if test -z "${LT_MULTI_MODULE}"; then
6621 # By default we will add the -single_module flag. You can override
6622 # by either setting the environment variable LT_MULTI_MODULE
6623 # non-empty at configure time, or by adding -multi_module to the
6625 rm -rf libconftest.dylib*
6626 echo "int foo
(void
){return 1;}" > conftest.c
6627 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6628 -dynamiclib -Wl,-single_module conftest.c
" >&5
6629 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6630 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6632 # If there is a non-empty error log, and "single_module
"
6633 # appears in it, assume the flag caused a linker warning
6634 if test -s conftest.err && $GREP single_module conftest.err; then
6635 cat conftest.err >&5
6636 # Otherwise, if the output was created with a 0 exit code from
6637 # the compiler, it worked.
6638 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
6639 lt_cv_apple_cc_single_mod=yes
6641 cat conftest.err >&5
6643 rm -rf libconftest.dylib*
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
6648 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
6651 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
6652 if ${lt_cv_ld_exported_symbols_list+:} false; then :
6653 $as_echo_n "(cached
) " >&6
6655 lt_cv_ld_exported_symbols_list=no
6656 save_LDFLAGS=$LDFLAGS
6657 echo "_main
" > conftest.sym
6658 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
6659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6660 /* end confdefs.h. */
6670 if ac_fn_c_try_link "$LINENO"; then :
6671 lt_cv_ld_exported_symbols_list=yes
6673 lt_cv_ld_exported_symbols_list=no
6675 rm -f core conftest.err conftest.$ac_objext \
6676 conftest$ac_exeext conftest.$ac_ext
6677 LDFLAGS="$save_LDFLAGS"
6680 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
6681 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
6684 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
6685 if ${lt_cv_ld_force_load+:} false; then :
6686 $as_echo_n "(cached
) " >&6
6688 lt_cv_ld_force_load=no
6689 cat > conftest.c << _LT_EOF
6690 int forced_loaded() { return 2;}
6692 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
6693 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
6694 echo "$AR cru libconftest.a conftest.o
" >&5
6695 $AR cru libconftest.a conftest.o 2>&5
6696 echo "$RANLIB libconftest.a
" >&5
6697 $RANLIB libconftest.a 2>&5
6698 cat > conftest.c << _LT_EOF
6699 int main() { return 0;}
6701 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
6702 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
6704 if test -s conftest.err && $GREP force_load conftest.err; then
6705 cat conftest.err >&5
6706 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
6707 lt_cv_ld_force_load=yes
6709 cat conftest.err >&5
6711 rm -f conftest.err libconftest.a conftest conftest.c
6712 rm -rf conftest.dSYM
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
6716 $as_echo "$lt_cv_ld_force_load" >&6; }
6718 rhapsody* | darwin1.[012])
6719 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6721 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6722 darwin*) # darwin 5.x on
6723 # if running on 10.5 or later, the deployment target defaults
6724 # to the OS version, if on x86, and 10.4, the deployment
6725 # target defaults to 10.4. Don't you love it?
6726 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6727 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6728 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6730 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6732 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6736 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6737 _lt_dar_single_mod='$single_module'
6739 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6740 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6742 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6744 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
6745 _lt_dsymutil='~$DSYMUTIL $lib || :'
6753 ac_cpp='$CPP $CPPFLAGS'
6754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
6758 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
6759 # On Suns, sometimes $CPP names a directory.
6760 if test -n "$CPP" && test -d "$CPP"; then
6763 if test -z "$CPP"; then
6764 if ${ac_cv_prog_CPP+:} false; then :
6765 $as_echo_n "(cached
) " >&6
6767 # Double quotes because CPP needs to be expanded
6768 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
6771 for ac_c_preproc_warn_flag in '' yes
6773 # Use a header file that comes with gcc, so configuring glibc
6774 # with a fresh cross-compiler works.
6775 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6776 # <limits.h> exists even on freestanding compilers.
6777 # On the NeXT, cc -E runs the code through the compiler's parser,
6778 # not just through cpp. "Syntax error
" is here to catch this case.
6779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6780 /* end confdefs.h. */
6782 # include <limits.h>
6784 # include <assert.h>
6788 if ac_fn_c_try_cpp "$LINENO"; then :
6791 # Broken: fails on valid input.
6794 rm -f conftest.err conftest.i conftest.$ac_ext
6796 # OK, works on sane cases. Now check whether nonexistent headers
6797 # can be detected and how.
6798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6799 /* end confdefs.h. */
6800 #include <ac_nonexistent.h>
6802 if ac_fn_c_try_cpp "$LINENO"; then :
6803 # Broken: success on invalid input.
6806 # Passes both tests.
6810 rm -f conftest.err conftest.i conftest.$ac_ext
6813 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6814 rm -f conftest.i conftest.err conftest.$ac_ext
6815 if $ac_preproc_ok; then :
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
6828 $as_echo "$CPP" >&6; }
6830 for ac_c_preproc_warn_flag in '' yes
6832 # Use a header file that comes with gcc, so configuring glibc
6833 # with a fresh cross-compiler works.
6834 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6835 # <limits.h> exists even on freestanding compilers.
6836 # On the NeXT, cc -E runs the code through the compiler's parser,
6837 # not just through cpp. "Syntax error
" is here to catch this case.
6838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6839 /* end confdefs.h. */
6841 # include <limits.h>
6843 # include <assert.h>
6847 if ac_fn_c_try_cpp "$LINENO"; then :
6850 # Broken: fails on valid input.
6853 rm -f conftest.err conftest.i conftest.$ac_ext
6855 # OK, works on sane cases. Now check whether nonexistent headers
6856 # can be detected and how.
6857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6858 /* end confdefs.h. */
6859 #include <ac_nonexistent.h>
6861 if ac_fn_c_try_cpp "$LINENO"; then :
6862 # Broken: success on invalid input.
6865 # Passes both tests.
6869 rm -f conftest.err conftest.i conftest.$ac_ext
6872 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6873 rm -f conftest.i conftest.err conftest.$ac_ext
6874 if $ac_preproc_ok; then :
6877 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
6878 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6879 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6880 See \`config.log' for more details
" "$LINENO" 5; }
6884 ac_cpp='$CPP $CPPFLAGS'
6885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
6891 $as_echo_n "checking
for ANSI C header files...
" >&6; }
6892 if ${ac_cv_header_stdc+:} false; then :
6893 $as_echo_n "(cached
) " >&6
6895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6896 /* end confdefs.h. */
6910 if ac_fn_c_try_compile "$LINENO"; then :
6911 ac_cv_header_stdc=yes
6913 ac_cv_header_stdc=no
6915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6917 if test $ac_cv_header_stdc = yes; then
6918 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6920 /* end confdefs.h. */
6924 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
6925 $EGREP "memchr
" >/dev/null 2>&1; then :
6928 ac_cv_header_stdc=no
6934 if test $ac_cv_header_stdc = yes; then
6935 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6937 /* end confdefs.h. */
6941 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
6942 $EGREP "free
" >/dev/null 2>&1; then :
6945 ac_cv_header_stdc=no
6951 if test $ac_cv_header_stdc = yes; then
6952 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6953 if test "$cross_compiling" = yes; then :
6956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6957 /* end confdefs.h. */
6960 #if ((' ' & 0x0FF) == 0x020)
6961 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6962 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6964 # define ISLOWER(c) \
6965 (('a' <= (c) && (c) <= 'i') \
6966 || ('j' <= (c) && (c) <= 'r') \
6967 || ('s' <= (c) && (c) <= 'z'))
6968 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6971 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6976 for (i = 0; i < 256; i++)
6977 if (XOR (islower (i), ISLOWER (i))
6978 || toupper (i) != TOUPPER (i))
6983 if ac_fn_c_try_run "$LINENO"; then :
6986 ac_cv_header_stdc=no
6988 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6989 conftest.$ac_objext conftest.beam conftest.$ac_ext
6994 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
6995 $as_echo "$ac_cv_header_stdc" >&6; }
6996 if test $ac_cv_header_stdc = yes; then
6998 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7002 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7003 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7004 inttypes.h stdint.h unistd.h
7006 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7007 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7009 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7010 cat >>confdefs.h
<<_ACEOF
7011 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7019 for ac_header
in dlfcn.h
7021 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7023 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
7024 cat >>confdefs.h
<<_ACEOF
7025 #define HAVE_DLFCN_H 1
7046 # Check whether --enable-shared was given.
7047 if test "${enable_shared+set}" = set; then :
7048 enableval
=$enable_shared; p
=${PACKAGE-default}
7050 yes) enable_shared
=yes ;;
7051 no
) enable_shared
=no
;;
7054 # Look at the argument we got. We use all the common list separators.
7055 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7056 for pkg
in $enableval; do
7058 if test "X$pkg" = "X$p"; then
7077 # Check whether --enable-static was given.
7078 if test "${enable_static+set}" = set; then :
7079 enableval
=$enable_static; p
=${PACKAGE-default}
7081 yes) enable_static
=yes ;;
7082 no
) enable_static
=no
;;
7085 # Look at the argument we got. We use all the common list separators.
7086 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7087 for pkg
in $enableval; do
7089 if test "X$pkg" = "X$p"; then
7109 # Check whether --with-pic was given.
7110 if test "${with_pic+set}" = set; then :
7111 withval
=$with_pic; lt_p
=${PACKAGE-default}
7113 yes|no
) pic_mode
=$withval ;;
7116 # Look at the argument we got. We use all the common list separators.
7117 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7118 for lt_pkg
in $withval; do
7120 if test "X$lt_pkg" = "X$lt_p"; then
7132 test -z "$pic_mode" && pic_mode
=default
7140 # Check whether --enable-fast-install was given.
7141 if test "${enable_fast_install+set}" = set; then :
7142 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7144 yes) enable_fast_install
=yes ;;
7145 no
) enable_fast_install
=no
;;
7147 enable_fast_install
=no
7148 # Look at the argument we got. We use all the common list separators.
7149 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7150 for pkg
in $enableval; do
7152 if test "X$pkg" = "X$p"; then
7153 enable_fast_install
=yes
7160 enable_fast_install
=yes
7173 # This can be used to rebuild libtool when needed
7174 LIBTOOL_DEPS
="$ltmain"
7176 # Always use our own libtool.
7177 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7208 test -z "$LN_S" && LN_S
="ln -s"
7223 if test -n "${ZSH_VERSION+set}" ; then
7224 setopt NO_GLOB_SUBST
7227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7228 $as_echo_n "checking for objdir... " >&6; }
7229 if ${lt_cv_objdir+:} false
; then :
7230 $as_echo_n "(cached) " >&6
7232 rm -f .libs
2>/dev
/null
7233 mkdir .libs
2>/dev
/null
7234 if test -d .libs
; then
7237 # MS-DOS does not allow filenames that begin with a dot.
7240 rmdir .libs
2>/dev
/null
7242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7243 $as_echo "$lt_cv_objdir" >&6; }
7244 objdir
=$lt_cv_objdir
7250 cat >>confdefs.h
<<_ACEOF
7251 #define LT_OBJDIR "$lt_cv_objdir/"
7259 # AIX sometimes has problems with the GCC collect2 program. For some
7260 # reason, if we set the COLLECT_NAMES environment variable, the problems
7261 # vanish in a puff of smoke.
7262 if test "X${COLLECT_NAMES+set}" != Xset
; then
7264 export COLLECT_NAMES
7271 can_build_shared
=yes
7273 # All known linkers require a `.a' archive for static linking (except MSVC,
7274 # which needs '.lib').
7277 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7280 old_CFLAGS
="$CFLAGS"
7282 # Set sane defaults for various variables
7283 test -z "$CC" && CC
=cc
7284 test -z "$LTCC" && LTCC
=$CC
7285 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7286 test -z "$LD" && LD
=ld
7287 test -z "$ac_objext" && ac_objext
=o
7289 for cc_temp
in $compiler""; do
7291 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7292 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7297 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7300 # Only perform the check for file, if the check method requires it
7301 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7302 case $deplibs_check_method in
7304 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7306 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7307 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
7308 $as_echo_n "(cached) " >&6
7312 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7315 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7316 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7317 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7318 for ac_dir
in $ac_dummy; do
7320 test -z "$ac_dir" && ac_dir
=.
7321 if test -f $ac_dir/${ac_tool_prefix}file; then
7322 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7323 if test -n "$file_magic_test_file"; then
7324 case $deplibs_check_method in
7326 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7327 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7328 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7329 $EGREP "$file_magic_regex" > /dev
/null
; then
7334 *** Warning: the command libtool uses to detect shared libraries,
7335 *** $file_magic_cmd, produces output that libtool cannot recognize.
7336 *** The result is that libtool may fail to recognize shared libraries
7337 *** as such. This will affect the creation of libtool libraries that
7338 *** depend on shared libraries, but programs linked with such libtool
7339 *** libraries will work regardless of this problem. Nevertheless, you
7340 *** may want to report the problem to your system manager and/or to
7341 *** bug-libtool@gnu.org
7351 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7356 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7357 if test -n "$MAGIC_CMD"; then
7358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7359 $as_echo "$MAGIC_CMD" >&6; }
7361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7362 $as_echo "no" >&6; }
7369 if test -z "$lt_cv_path_MAGIC_CMD"; then
7370 if test -n "$ac_tool_prefix"; then
7371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7372 $as_echo_n "checking for file... " >&6; }
7373 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
7374 $as_echo_n "(cached) " >&6
7378 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7381 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7382 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7383 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7384 for ac_dir
in $ac_dummy; do
7386 test -z "$ac_dir" && ac_dir
=.
7387 if test -f $ac_dir/file; then
7388 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7389 if test -n "$file_magic_test_file"; then
7390 case $deplibs_check_method in
7392 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7393 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7394 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7395 $EGREP "$file_magic_regex" > /dev
/null
; then
7400 *** Warning: the command libtool uses to detect shared libraries,
7401 *** $file_magic_cmd, produces output that libtool cannot recognize.
7402 *** The result is that libtool may fail to recognize shared libraries
7403 *** as such. This will affect the creation of libtool libraries that
7404 *** depend on shared libraries, but programs linked with such libtool
7405 *** libraries will work regardless of this problem. Nevertheless, you
7406 *** may want to report the problem to your system manager and/or to
7407 *** bug-libtool@gnu.org
7417 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7422 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7423 if test -n "$MAGIC_CMD"; then
7424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7425 $as_echo "$MAGIC_CMD" >&6; }
7427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7428 $as_echo "no" >&6; }
7441 # Use C for the default configuration in the libtool script
7445 ac_cpp
='$CPP $CPPFLAGS'
7446 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7447 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7448 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7451 # Source file extension for C test sources.
7454 # Object file extension for compiled C test sources.
7458 # Code to be used in simple compile tests
7459 lt_simple_compile_test_code
="int some_variable = 0;"
7461 # Code to be used in simple link tests
7462 lt_simple_link_test_code
='int main(){return(0);}'
7470 # If no C compiler was specified, use CC.
7473 # If no C compiler flags were specified, use CFLAGS.
7474 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7476 # Allow CC to be a program name with arguments.
7479 # Save the default compiler, since it gets overwritten when the other
7480 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7481 compiler_DEFAULT
=$CC
7483 # save warnings/boilerplate of simple test code
7484 ac_outfile
=conftest.
$ac_objext
7485 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7486 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7487 _lt_compiler_boilerplate
=`cat conftest.err`
7490 ac_outfile
=conftest.
$ac_objext
7491 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7492 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7493 _lt_linker_boilerplate
=`cat conftest.err`
7498 ## There is no encapsulation within the following macros, do not change
7499 ## the running order or otherwise move them around unless you know exactly
7500 ## what you are doing...
7501 if test -n "$compiler"; then
7503 lt_prog_compiler_no_builtin_flag
=
7505 if test "$GCC" = yes; then
7506 case $cc_basename in
7508 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
7510 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7514 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7515 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
7516 $as_echo_n "(cached) " >&6
7518 lt_cv_prog_compiler_rtti_exceptions
=no
7519 ac_outfile
=conftest.
$ac_objext
7520 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7521 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7522 # Insert the option either (1) after the last *FLAGS variable, or
7523 # (2) before a word containing "conftest.", or (3) at the end.
7524 # Note that $ac_compile itself does not contain backslashes and begins
7525 # with a dollar sign (not a hyphen), so the echo should work correctly.
7526 # The option is referenced via a variable to avoid confusing sed.
7527 lt_compile
=`echo "$ac_compile" | $SED \
7528 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7529 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7530 -e 's:$: $lt_compiler_flag:'`
7531 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7532 (eval "$lt_compile" 2>conftest.err
)
7534 cat conftest.err
>&5
7535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7536 if (exit $ac_status) && test -s "$ac_outfile"; then
7537 # The compiler can only warn and ignore the option if not recognized
7538 # So say no if there are warnings other than the usual output.
7539 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
7540 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7541 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7542 lt_cv_prog_compiler_rtti_exceptions
=yes
7548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7549 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7551 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7552 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7564 lt_prog_compiler_wl
=
7565 lt_prog_compiler_pic
=
7566 lt_prog_compiler_static
=
7569 if test "$GCC" = yes; then
7570 lt_prog_compiler_wl
='-Wl,'
7571 lt_prog_compiler_static
='-static'
7575 # All AIX code is PIC.
7576 if test "$host_cpu" = ia64
; then
7577 # AIX 5 now supports IA64 processor
7578 lt_prog_compiler_static
='-Bstatic'
7585 # see comment about AmigaOS4 .so support
7586 lt_prog_compiler_pic
='-fPIC'
7589 # FIXME: we need at least 68020 code to build shared libraries, but
7590 # adding the `-m68020' flag to GCC prevents building anything better,
7592 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7597 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7598 # PIC is the default for these OSes.
7601 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7602 # This hack is so that the source file can tell whether it is being
7603 # built for inclusion in a dll (and should export symbols for example).
7604 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7605 # (--disable-auto-import) libraries
7606 lt_prog_compiler_pic
='-DDLL_EXPORT'
7609 darwin
* | rhapsody
*)
7610 # PIC is the default on this platform
7611 # Common symbols not allowed in MH_DYLIB files
7612 lt_prog_compiler_pic
='-fno-common'
7616 # PIC is the default for Haiku.
7617 # The "-static" flag exists, but is broken.
7618 lt_prog_compiler_static
=
7622 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7623 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7624 # sets the default TLS model and affects inlining.
7630 lt_prog_compiler_pic
='-fPIC'
7636 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7637 # Instead, we relocate shared libraries at runtime.
7641 # Just because we use GCC doesn't mean we suddenly get shared libraries
7642 # on systems that don't support them.
7643 lt_prog_compiler_can_build_shared
=no
7648 # QNX uses GNU C++, but need to define -shared option too, otherwise
7650 lt_prog_compiler_pic
='-fPIC -shared'
7654 if test -d /usr
/nec
; then
7655 lt_prog_compiler_pic
=-Kconform_pic
7660 lt_prog_compiler_pic
='-fPIC'
7664 case $cc_basename in
7665 nvcc
*) # Cuda Compiler Driver 2.2
7666 lt_prog_compiler_wl
='-Xlinker '
7667 if test -n "$lt_prog_compiler_pic"; then
7668 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
7673 # PORTME Check for flag to pass linker flags through the system compiler.
7676 lt_prog_compiler_wl
='-Wl,'
7677 if test "$host_cpu" = ia64
; then
7678 # AIX 5 now supports IA64 processor
7679 lt_prog_compiler_static
='-Bstatic'
7681 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7685 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7686 # This hack is so that the source file can tell whether it is being
7687 # built for inclusion in a dll (and should export symbols for example).
7688 lt_prog_compiler_pic
='-DDLL_EXPORT'
7691 hpux9
* | hpux10
* | hpux11
*)
7692 lt_prog_compiler_wl
='-Wl,'
7693 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7700 lt_prog_compiler_pic
='+Z'
7703 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7704 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7707 irix5
* | irix6
* | nonstopux
*)
7708 lt_prog_compiler_wl
='-Wl,'
7709 # PIC (with -KPIC) is the default.
7710 lt_prog_compiler_static
='-non_shared'
7713 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7714 case $cc_basename in
7715 # old Intel for x86_64 which still supported -KPIC.
7717 lt_prog_compiler_wl
='-Wl,'
7718 lt_prog_compiler_pic
='-KPIC'
7719 lt_prog_compiler_static
='-static'
7721 # icc used to be incompatible with GCC.
7722 # ICC 10 doesn't accept -KPIC any more.
7724 lt_prog_compiler_wl
='-Wl,'
7725 lt_prog_compiler_pic
='-fPIC'
7726 lt_prog_compiler_static
='-static'
7728 # Lahey Fortran 8.1.
7730 lt_prog_compiler_wl
='-Wl,'
7731 lt_prog_compiler_pic
='--shared'
7732 lt_prog_compiler_static
='--static'
7735 # NAG Fortran compiler
7736 lt_prog_compiler_wl
='-Wl,-Wl,,'
7737 lt_prog_compiler_pic
='-PIC'
7738 lt_prog_compiler_static
='-Bstatic'
7740 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
7741 # Portland Group compilers (*not* the Pentium gcc compiler,
7742 # which looks to be a dead project)
7743 lt_prog_compiler_wl
='-Wl,'
7744 lt_prog_compiler_pic
='-fpic'
7745 lt_prog_compiler_static
='-Bstatic'
7748 lt_prog_compiler_wl
='-Wl,'
7749 # All Alpha code is PIC.
7750 lt_prog_compiler_static
='-non_shared'
7752 xl
* | bgxl
* | bgf
* | mpixl
*)
7753 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
7754 lt_prog_compiler_wl
='-Wl,'
7755 lt_prog_compiler_pic
='-qpic'
7756 lt_prog_compiler_static
='-qstaticlink'
7759 case `$CC -V 2>&1 | sed 5q` in
7760 *Sun\ Ceres\ Fortran
* |
*Sun
*Fortran
*\
[1-7].
* |
*Sun
*Fortran
*\
8.
[0-3]*)
7761 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7762 lt_prog_compiler_pic
='-KPIC'
7763 lt_prog_compiler_static
='-Bstatic'
7764 lt_prog_compiler_wl
=''
7766 *Sun\ F
* |
*Sun
*Fortran
*)
7767 lt_prog_compiler_pic
='-KPIC'
7768 lt_prog_compiler_static
='-Bstatic'
7769 lt_prog_compiler_wl
='-Qoption ld '
7773 lt_prog_compiler_pic
='-KPIC'
7774 lt_prog_compiler_static
='-Bstatic'
7775 lt_prog_compiler_wl
='-Wl,'
7777 *Intel
*\
[CF
]*Compiler
*)
7778 lt_prog_compiler_wl
='-Wl,'
7779 lt_prog_compiler_pic
='-fPIC'
7780 lt_prog_compiler_static
='-static'
7783 lt_prog_compiler_wl
='-Wl,'
7784 lt_prog_compiler_pic
='-fpic'
7785 lt_prog_compiler_static
='-Bstatic'
7793 lt_prog_compiler_pic
='-KPIC'
7794 lt_prog_compiler_static
='-Bstatic'
7798 # QNX uses GNU C++, but need to define -shared option too, otherwise
7800 lt_prog_compiler_pic
='-fPIC -shared'
7803 osf3
* | osf4
* | osf5
*)
7804 lt_prog_compiler_wl
='-Wl,'
7805 # All OSF/1 code is PIC.
7806 lt_prog_compiler_static
='-non_shared'
7810 lt_prog_compiler_static
='-non_shared'
7814 lt_prog_compiler_pic
='-KPIC'
7815 lt_prog_compiler_static
='-Bstatic'
7816 case $cc_basename in
7817 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
7818 lt_prog_compiler_wl
='-Qoption ld ';;
7820 lt_prog_compiler_wl
='-Wl,';;
7825 lt_prog_compiler_wl
='-Qoption ld '
7826 lt_prog_compiler_pic
='-PIC'
7827 lt_prog_compiler_static
='-Bstatic'
7830 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7831 lt_prog_compiler_wl
='-Wl,'
7832 lt_prog_compiler_pic
='-KPIC'
7833 lt_prog_compiler_static
='-Bstatic'
7837 if test -d /usr
/nec
;then
7838 lt_prog_compiler_pic
='-Kconform_pic'
7839 lt_prog_compiler_static
='-Bstatic'
7843 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7844 lt_prog_compiler_wl
='-Wl,'
7845 lt_prog_compiler_pic
='-KPIC'
7846 lt_prog_compiler_static
='-Bstatic'
7850 lt_prog_compiler_wl
='-Wl,'
7851 lt_prog_compiler_can_build_shared
=no
7855 lt_prog_compiler_pic
='-pic'
7856 lt_prog_compiler_static
='-Bstatic'
7860 lt_prog_compiler_can_build_shared
=no
7866 # For platforms which do not support PIC, -DPIC is meaningless:
7868 lt_prog_compiler_pic
=
7871 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7876 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7877 if ${lt_cv_prog_compiler_pic+:} false
; then :
7878 $as_echo_n "(cached) " >&6
7880 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
7883 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
7884 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
7887 # Check to make sure the PIC flag actually works.
7889 if test -n "$lt_prog_compiler_pic"; then
7890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7891 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7892 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
7893 $as_echo_n "(cached) " >&6
7895 lt_cv_prog_compiler_pic_works
=no
7896 ac_outfile
=conftest.
$ac_objext
7897 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7898 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7899 # Insert the option either (1) after the last *FLAGS variable, or
7900 # (2) before a word containing "conftest.", or (3) at the end.
7901 # Note that $ac_compile itself does not contain backslashes and begins
7902 # with a dollar sign (not a hyphen), so the echo should work correctly.
7903 # The option is referenced via a variable to avoid confusing sed.
7904 lt_compile
=`echo "$ac_compile" | $SED \
7905 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7906 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7907 -e 's:$: $lt_compiler_flag:'`
7908 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7909 (eval "$lt_compile" 2>conftest.err
)
7911 cat conftest.err
>&5
7912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7913 if (exit $ac_status) && test -s "$ac_outfile"; then
7914 # The compiler can only warn and ignore the option if not recognized
7915 # So say no if there are warnings other than the usual output.
7916 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
7917 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7918 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7919 lt_cv_prog_compiler_pic_works
=yes
7925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7926 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7928 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
7929 case $lt_prog_compiler_pic in
7931 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7934 lt_prog_compiler_pic
=
7935 lt_prog_compiler_can_build_shared
=no
7951 # Check to make sure the static flag actually works.
7953 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7955 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7956 if ${lt_cv_prog_compiler_static_works+:} false
; then :
7957 $as_echo_n "(cached) " >&6
7959 lt_cv_prog_compiler_static_works
=no
7960 save_LDFLAGS
="$LDFLAGS"
7961 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7962 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7963 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7964 # The linker can only warn and ignore the option if not recognized
7965 # So say no if there are warnings
7966 if test -s conftest.err
; then
7967 # Append any errors to the config.log.
7968 cat conftest.err
1>&5
7969 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
7970 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7971 if diff conftest.exp conftest.er2
>/dev
/null
; then
7972 lt_cv_prog_compiler_static_works
=yes
7975 lt_cv_prog_compiler_static_works
=yes
7979 LDFLAGS
="$save_LDFLAGS"
7982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7983 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7985 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
7988 lt_prog_compiler_static
=
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7998 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7999 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8000 $as_echo_n "(cached) " >&6
8002 lt_cv_prog_compiler_c_o
=no
8003 $RM -r conftest
2>/dev
/null
8007 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8009 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8010 # Insert the option either (1) after the last *FLAGS variable, or
8011 # (2) before a word containing "conftest.", or (3) at the end.
8012 # Note that $ac_compile itself does not contain backslashes and begins
8013 # with a dollar sign (not a hyphen), so the echo should work correctly.
8014 lt_compile
=`echo "$ac_compile" | $SED \
8015 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8016 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8017 -e 's:$: $lt_compiler_flag:'`
8018 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8019 (eval "$lt_compile" 2>out
/conftest.err
)
8021 cat out
/conftest.err
>&5
8022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8023 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8025 # The compiler can only warn and ignore the option if not recognized
8026 # So say no if there are warnings
8027 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8028 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8029 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8030 lt_cv_prog_compiler_c_o
=yes
8035 # SGI C++ compiler will create directory out/ii_files/ for
8036 # template instantiation
8037 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8038 $RM out
/* && rmdir out
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8045 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8053 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8054 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8055 $as_echo_n "(cached) " >&6
8057 lt_cv_prog_compiler_c_o
=no
8058 $RM -r conftest
2>/dev
/null
8062 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8064 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8065 # Insert the option either (1) after the last *FLAGS variable, or
8066 # (2) before a word containing "conftest.", or (3) at the end.
8067 # Note that $ac_compile itself does not contain backslashes and begins
8068 # with a dollar sign (not a hyphen), so the echo should work correctly.
8069 lt_compile
=`echo "$ac_compile" | $SED \
8070 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8071 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8072 -e 's:$: $lt_compiler_flag:'`
8073 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8074 (eval "$lt_compile" 2>out
/conftest.err
)
8076 cat out
/conftest.err
>&5
8077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8078 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8080 # The compiler can only warn and ignore the option if not recognized
8081 # So say no if there are warnings
8082 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8083 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8084 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8085 lt_cv_prog_compiler_c_o
=yes
8090 # SGI C++ compiler will create directory out/ii_files/ for
8091 # template instantiation
8092 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8093 $RM out
/* && rmdir out
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8100 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8105 hard_links
="nottested"
8106 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8107 # do not overwrite the value of need_locks provided by the user
8108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8109 $as_echo_n "checking if we can lock with hard links... " >&6; }
8112 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8114 ln conftest.a conftest.b
2>&5 || hard_links
=no
8115 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8117 $as_echo "$hard_links" >&6; }
8118 if test "$hard_links" = no
; then
8119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8120 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8133 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8136 allow_undefined_flag
=
8137 always_export_symbols
=no
8139 archive_expsym_cmds
=
8140 compiler_needs_object
=no
8141 enable_shared_with_static_runtimes
=no
8142 export_dynamic_flag_spec
=
8143 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8144 hardcode_automatic
=no
8146 hardcode_direct_absolute
=no
8147 hardcode_libdir_flag_spec
=
8148 hardcode_libdir_separator
=
8150 hardcode_shlibpath_var
=unsupported
8152 link_all_deplibs
=unknown
8155 old_archive_from_new_cmds
=
8156 old_archive_from_expsyms_cmds
=
8157 thread_safe_flag_spec
=
8158 whole_archive_flag_spec
=
8159 # include_expsyms should be a list of space-separated symbols to be *always*
8160 # included in the symbol list
8162 # exclude_expsyms can be an extended regexp of symbols to exclude
8163 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8164 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8165 # as well as any symbol that contains `d'.
8166 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8167 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8168 # platforms (ab)use it in PIC code, but their linkers get confused if
8169 # the symbol is explicitly referenced. Since portable code cannot
8170 # rely on this symbol name, it's probably fine to never include it in
8171 # preloaded symbol tables.
8172 # Exclude shared library initialization/finalization symbols.
8173 extract_expsyms_cmds
=
8176 cygwin
* | mingw
* | pw32
* | cegcc
*)
8177 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8178 # When not using gcc, we currently assume that we are using
8179 # Microsoft Visual C++.
8180 if test "$GCC" != yes; then
8185 # we just hope/assume this is gcc and not c89 (= MSVC++)
8191 linux
* | k
*bsd
*-gnu | gnu
*)
8198 # On some targets, GNU ld is compatible enough with the native linker
8199 # that we're better off using the native interface for both.
8200 lt_use_gnu_ld_interface
=no
8201 if test "$with_gnu_ld" = yes; then
8204 # The AIX port of GNU ld has always aspired to compatibility
8205 # with the native linker. However, as the warning in the GNU ld
8206 # block says, versions before 2.19.5* couldn't really create working
8207 # shared libraries, regardless of the interface used.
8208 case `$LD -v 2>&1` in
8209 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8210 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8211 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8213 lt_use_gnu_ld_interface
=yes
8218 lt_use_gnu_ld_interface
=yes
8223 if test "$lt_use_gnu_ld_interface" = yes; then
8224 # If archive_cmds runs LD, not CC, wlarc should be empty
8227 # Set some defaults for GNU ld with shared library support. These
8228 # are reset later if shared libraries are not supported. Putting them
8229 # here allows them to be overridden if necessary.
8230 runpath_var
=LD_RUN_PATH
8231 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8232 export_dynamic_flag_spec
='${wl}--export-dynamic'
8233 # ancient GNU ld didn't support --whole-archive et. al.
8234 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8235 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8237 whole_archive_flag_spec
=
8239 supports_anon_versioning
=no
8240 case `$LD -v 2>&1` in
8241 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8242 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8243 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8244 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8245 *\
2.11.
*) ;; # other 2.11 versions
8246 *) supports_anon_versioning
=yes ;;
8249 # See if GNU ld supports shared libraries.
8252 # On AIX/PPC, the GNU linker is very broken
8253 if test "$host_cpu" != ia64
; then
8257 *** Warning: the GNU linker, at least up to release 2.19, is reported
8258 *** to be unable to reliably create shared libraries on AIX.
8259 *** Therefore, libtool is disabling shared libraries support. If you
8260 *** really care for shared libraries, you may want to install binutils
8261 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8262 *** You will then need to restart the configuration process.
8271 # see comment about AmigaOS4 .so support
8272 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8273 archive_expsym_cmds
=''
8276 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)'
8277 hardcode_libdir_flag_spec
='-L$libdir'
8278 hardcode_minus_L
=yes
8284 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8285 allow_undefined_flag
=unsupported
8286 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8287 # support --undefined. This deserves some investigation. FIXME
8288 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8294 cygwin
* | mingw
* | pw32
* | cegcc
*)
8295 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8296 # as there is no search path for DLLs.
8297 hardcode_libdir_flag_spec
='-L$libdir'
8298 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8299 allow_undefined_flag
=unsupported
8300 always_export_symbols
=no
8301 enable_shared_with_static_runtimes
=yes
8302 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'
8303 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8305 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8306 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8307 # If the export-symbols file already is a .def file (1st line
8308 # is EXPORTS), use it as is; otherwise, prepend...
8309 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8310 cp $export_symbols $output_objdir/$soname.def;
8312 echo EXPORTS > $output_objdir/$soname.def;
8313 cat $export_symbols >> $output_objdir/$soname.def;
8315 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8322 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8323 link_all_deplibs
=yes
8328 hardcode_shlibpath_var
=no
8329 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8330 export_dynamic_flag_spec
='${wl}-E'
8331 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8332 # Instead, shared libraries are loaded at an image base (0x10000000 by
8333 # default) and relocated if they conflict, which is a slow very memory
8334 # consuming and fragmenting process. To avoid this, we pick a random,
8335 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8336 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8337 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8338 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'
8341 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8343 if test "$host_os" = linux-dietlibc
; then
8344 case $cc_basename in
8345 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8348 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8349 && test "$tmp_diet" = no
8351 tmp_addflag
=' $pic_flag'
8352 tmp_sharedflag
='-shared'
8353 case $cc_basename,$host_cpu in
8354 pgcc
*) # Portland Group C compiler
8355 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'
8356 tmp_addflag
=' $pic_flag'
8358 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8359 # Portland Group f77 and f90 compilers
8360 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'
8361 tmp_addflag
=' $pic_flag -Mnomain' ;;
8362 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8363 tmp_addflag
=' -i_dynamic' ;;
8364 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8365 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8366 ifc
* | ifort
*) # Intel Fortran compiler
8367 tmp_addflag
=' -nofor_main' ;;
8368 lf95
*) # Lahey Fortran 8.1
8369 whole_archive_flag_spec
=
8370 tmp_sharedflag
='--shared' ;;
8371 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8372 tmp_sharedflag
='-qmkshrobj'
8374 nvcc
*) # Cuda Compiler Driver 2.2
8375 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'
8376 compiler_needs_object
=yes
8379 case `$CC -V 2>&1 | sed 5q` in
8380 *Sun\ C
*) # Sun C 5.9
8381 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'
8382 compiler_needs_object
=yes
8383 tmp_sharedflag
='-G' ;;
8384 *Sun\ F
*) # Sun Fortran 8.3
8385 tmp_sharedflag
='-G' ;;
8387 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8389 if test "x$supports_anon_versioning" = xyes
; then
8390 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8391 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8392 echo "local: *; };" >> $output_objdir/$libname.ver~
8393 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8396 case $cc_basename in
8397 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8398 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8399 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8400 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8401 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8402 if test "x$supports_anon_versioning" = xyes
; then
8403 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8404 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8405 echo "local: *; };" >> $output_objdir/$libname.ver~
8406 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8415 netbsd
* | netbsdelf
*-gnu)
8416 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8417 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8420 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8421 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8426 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8430 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8431 *** create shared libraries on Solaris systems. Therefore, libtool
8432 *** is disabling shared libraries support. We urge you to upgrade GNU
8433 *** binutils to release 2.9.1 or newer. Another option is to modify
8434 *** your PATH or compiler configuration so that the native linker is
8435 *** used, and then restart.
8438 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8439 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8440 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8446 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8447 case `$LD -v 2>&1` in
8448 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8452 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8453 *** reliably create shared libraries on SCO systems. Therefore, libtool
8454 *** is disabling shared libraries support. We urge you to upgrade GNU
8455 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8456 *** your PATH or compiler configuration so that the native linker is
8457 *** used, and then restart.
8462 # For security reasons, it is highly recommended that you always
8463 # use absolute paths for naming shared libraries, and exclude the
8464 # DT_RUNPATH tag from executables and libraries. But doing so
8465 # requires that you compile everything twice, which is a pain.
8466 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8467 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8468 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8469 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8478 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8481 hardcode_shlibpath_var
=no
8485 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8486 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8487 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8494 if test "$ld_shlibs" = no
; then
8496 hardcode_libdir_flag_spec
=
8497 export_dynamic_flag_spec
=
8498 whole_archive_flag_spec
=
8501 # PORTME fill in a description of your system's linker (not GNU ld)
8504 allow_undefined_flag
=unsupported
8505 always_export_symbols
=yes
8506 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'
8507 # Note: this linker hardcodes the directories in LIBPATH if there
8508 # are no directories specified by -L.
8509 hardcode_minus_L
=yes
8510 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8511 # Neither direct hardcoding nor static linking is supported with a
8513 hardcode_direct
=unsupported
8518 if test "$host_cpu" = ia64
; then
8519 # On IA64, the linker does run time linking by default, so we don't
8520 # have to do anything special.
8521 aix_use_runtimelinking
=no
8522 exp_sym_flag
='-Bexport'
8525 # If we're using GNU nm, then we don't want the "-C" option.
8526 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8527 # Also, AIX nm treats weak defined symbols like other global
8528 # defined symbols, whereas GNU nm marks them as "W".
8529 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8530 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8532 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8534 aix_use_runtimelinking
=no
8536 # Test if we are trying to use run time linking or normal
8537 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8538 # need to do runtime linking.
8539 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8540 for ld_flag
in $LDFLAGS; do
8541 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8542 aix_use_runtimelinking
=yes
8549 exp_sym_flag
='-bexport'
8550 no_entry_flag
='-bnoentry'
8553 # When large executables or shared objects are built, AIX ld can
8554 # have problems creating the table of contents. If linking a library
8555 # or program results in "error TOC overflow" add -mminimal-toc to
8556 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8557 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8561 hardcode_direct_absolute
=yes
8562 hardcode_libdir_separator
=':'
8563 link_all_deplibs
=yes
8564 file_list_spec
='${wl}-f,'
8566 if test "$GCC" = yes; then
8567 case $host_os in aix4.
[012]|aix4.
[012].
*)
8568 # We only want to do this on AIX 4.2 and lower, the check
8569 # below for broken collect2 doesn't work under 4.3+
8570 collect2name
=`${CC} -print-prog-name=collect2`
8571 if test -f "$collect2name" &&
8572 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8574 # We have reworked collect2
8577 # We have old collect2
8578 hardcode_direct
=unsupported
8579 # It fails to find uninstalled libraries when the uninstalled
8580 # path is not listed in the libpath. Setting hardcode_minus_L
8581 # to unsupported forces relinking
8582 hardcode_minus_L
=yes
8583 hardcode_libdir_flag_spec
='-L$libdir'
8584 hardcode_libdir_separator
=
8588 shared_flag
='-shared'
8589 if test "$aix_use_runtimelinking" = yes; then
8590 shared_flag
="$shared_flag "'${wl}-G'
8595 if test "$host_cpu" = ia64
; then
8596 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8597 # chokes on -Wl,-G. The following line is correct:
8600 if test "$aix_use_runtimelinking" = yes; then
8601 shared_flag
='${wl}-G'
8603 shared_flag
='${wl}-bM:SRE'
8608 export_dynamic_flag_spec
='${wl}-bexpall'
8609 # It seems that -bexpall does not export symbols beginning with
8610 # underscore (_), so it is better to generate a list of symbols to export.
8611 always_export_symbols
=yes
8612 if test "$aix_use_runtimelinking" = yes; then
8613 # Warning - without using the other runtime loading flags (-brtl),
8614 # -berok will link without error, but may produce a broken library.
8615 allow_undefined_flag
='-berok'
8616 # Determine the default libpath from the value encoded in an
8618 if test "${lt_cv_aix_libpath+set}" = set; then
8619 aix_libpath
=$lt_cv_aix_libpath
8621 if ${lt_cv_aix_libpath_+:} false
; then :
8622 $as_echo_n "(cached) " >&6
8624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8625 /* end confdefs.h. */
8635 if ac_fn_c_try_link
"$LINENO"; then :
8637 lt_aix_libpath_sed
='
8638 /Import File Strings/,/^$/ {
8640 s/^0 *\([^ ]*\) *$/\1/
8644 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8645 # Check for a 64-bit object if we didn't find anything.
8646 if test -z "$lt_cv_aix_libpath_"; then
8647 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8650 rm -f core conftest.err conftest.
$ac_objext \
8651 conftest
$ac_exeext conftest.
$ac_ext
8652 if test -z "$lt_cv_aix_libpath_"; then
8653 lt_cv_aix_libpath_
="/usr/lib:/lib"
8658 aix_libpath
=$lt_cv_aix_libpath_
8661 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8662 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8664 if test "$host_cpu" = ia64
; then
8665 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
8666 allow_undefined_flag
="-z nodefs"
8667 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"
8669 # Determine the default libpath from the value encoded in an
8671 if test "${lt_cv_aix_libpath+set}" = set; then
8672 aix_libpath
=$lt_cv_aix_libpath
8674 if ${lt_cv_aix_libpath_+:} false
; then :
8675 $as_echo_n "(cached) " >&6
8677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8678 /* end confdefs.h. */
8688 if ac_fn_c_try_link
"$LINENO"; then :
8690 lt_aix_libpath_sed
='
8691 /Import File Strings/,/^$/ {
8693 s/^0 *\([^ ]*\) *$/\1/
8697 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8698 # Check for a 64-bit object if we didn't find anything.
8699 if test -z "$lt_cv_aix_libpath_"; then
8700 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8703 rm -f core conftest.err conftest.
$ac_objext \
8704 conftest
$ac_exeext conftest.
$ac_ext
8705 if test -z "$lt_cv_aix_libpath_"; then
8706 lt_cv_aix_libpath_
="/usr/lib:/lib"
8711 aix_libpath
=$lt_cv_aix_libpath_
8714 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8715 # Warning - without using the other run time loading flags,
8716 # -berok will link without error, but may produce a broken library.
8717 no_undefined_flag
=' ${wl}-bernotok'
8718 allow_undefined_flag
=' ${wl}-berok'
8719 if test "$with_gnu_ld" = yes; then
8720 # We only use this code for GNU lds that support --whole-archive.
8721 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
8723 # Exported symbols can be pulled into shared objects from archives
8724 whole_archive_flag_spec
='$convenience'
8726 archive_cmds_need_lc
=yes
8727 # This is similar to how AIX traditionally builds its shared libraries.
8728 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
8736 # see comment about AmigaOS4 .so support
8737 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8738 archive_expsym_cmds
=''
8741 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)'
8742 hardcode_libdir_flag_spec
='-L$libdir'
8743 hardcode_minus_L
=yes
8749 export_dynamic_flag_spec
=-rdynamic
8752 cygwin
* | mingw
* | pw32
* | cegcc
*)
8753 # When not using gcc, we currently assume that we are using
8754 # Microsoft Visual C++.
8755 # hardcode_libdir_flag_spec is actually meaningless, as there is
8756 # no search path for DLLs.
8757 case $cc_basename in
8760 hardcode_libdir_flag_spec
=' '
8761 allow_undefined_flag
=unsupported
8762 always_export_symbols
=yes
8764 # Tell ltmain to make .lib files, not .a files.
8766 # Tell ltmain to make .dll files, not .so files.
8768 # FIXME: Setting linknames here is a bad hack.
8769 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
8770 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8771 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
8773 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
8775 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
8777 # The linker will not automatically build a static lib if we build a DLL.
8778 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
8779 enable_shared_with_static_runtimes
=yes
8780 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
8781 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8783 old_postinstall_cmds
='chmod 644 $oldlib'
8784 postlink_cmds
='lt_outputfile="@OUTPUT@"~
8785 lt_tool_outputfile="@TOOL_OUTPUT@"~
8786 case $lt_outputfile in
8789 lt_outputfile="$lt_outputfile.exe"
8790 lt_tool_outputfile="$lt_tool_outputfile.exe"
8793 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
8794 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
8795 $RM "$lt_outputfile.manifest";
8799 # Assume MSVC wrapper
8800 hardcode_libdir_flag_spec
=' '
8801 allow_undefined_flag
=unsupported
8802 # Tell ltmain to make .lib files, not .a files.
8804 # Tell ltmain to make .dll files, not .so files.
8806 # FIXME: Setting linknames here is a bad hack.
8807 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
8808 # The linker will automatically build a .lib file if we build a DLL.
8809 old_archive_from_new_cmds
='true'
8810 # FIXME: Should let the user specify the lib program.
8811 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8812 enable_shared_with_static_runtimes
=yes
8817 darwin
* | rhapsody
*)
8820 archive_cmds_need_lc
=no
8822 hardcode_automatic
=yes
8823 hardcode_shlibpath_var
=unsupported
8824 if test "$lt_cv_ld_force_load" = "yes"; then
8825 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\"`'
8828 whole_archive_flag_spec
=''
8830 link_all_deplibs
=yes
8831 allow_undefined_flag
="$_lt_dar_allow_undefined"
8832 case $cc_basename in
8833 ifort
*) _lt_dar_can_shared
=yes ;;
8834 *) _lt_dar_can_shared
=$GCC ;;
8836 if test "$_lt_dar_can_shared" = "yes"; then
8837 output_verbose_link_cmd
=func_echo_all
8838 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8839 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8840 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}"
8841 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}"
8850 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8851 hardcode_libdir_flag_spec
='-L$libdir'
8852 hardcode_shlibpath_var
=no
8855 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8856 # support. Future versions do this automatically, but an explicit c++rt0.o
8857 # does not break anything, and helps significantly (at the cost of a little
8860 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8861 hardcode_libdir_flag_spec
='-R$libdir'
8863 hardcode_shlibpath_var
=no
8866 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8868 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8870 hardcode_minus_L
=yes
8871 hardcode_shlibpath_var
=no
8874 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8875 freebsd
* | dragonfly
*)
8876 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8877 hardcode_libdir_flag_spec
='-R$libdir'
8879 hardcode_shlibpath_var
=no
8883 if test "$GCC" = yes; then
8884 archive_cmds
='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8886 archive_cmds
='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8888 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8889 hardcode_libdir_separator
=:
8892 # hardcode_minus_L: Not really in the search PATH,
8893 # but as the default location of the library.
8894 hardcode_minus_L
=yes
8895 export_dynamic_flag_spec
='${wl}-E'
8899 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
8900 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8902 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8904 if test "$with_gnu_ld" = no
; then
8905 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8906 hardcode_libdir_separator
=:
8908 hardcode_direct_absolute
=yes
8909 export_dynamic_flag_spec
='${wl}-E'
8910 # hardcode_minus_L: Not really in the search PATH,
8911 # but as the default location of the library.
8912 hardcode_minus_L
=yes
8917 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
8920 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8923 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8926 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8932 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8935 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8939 # Older versions of the 11.00 compiler do not understand -b yet
8940 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
8941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
8942 $as_echo_n "checking if $CC understands -b... " >&6; }
8943 if ${lt_cv_prog_compiler__b+:} false
; then :
8944 $as_echo_n "(cached) " >&6
8946 lt_cv_prog_compiler__b
=no
8947 save_LDFLAGS
="$LDFLAGS"
8948 LDFLAGS
="$LDFLAGS -b"
8949 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8950 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8951 # The linker can only warn and ignore the option if not recognized
8952 # So say no if there are warnings
8953 if test -s conftest.err
; then
8954 # Append any errors to the config.log.
8955 cat conftest.err
1>&5
8956 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8957 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8958 if diff conftest.exp conftest.er2
>/dev
/null
; then
8959 lt_cv_prog_compiler__b
=yes
8962 lt_cv_prog_compiler__b
=yes
8966 LDFLAGS
="$save_LDFLAGS"
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
8970 $as_echo "$lt_cv_prog_compiler__b" >&6; }
8972 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
8973 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8975 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8981 if test "$with_gnu_ld" = no
; then
8982 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8983 hardcode_libdir_separator
=:
8988 hardcode_shlibpath_var
=no
8992 hardcode_direct_absolute
=yes
8993 export_dynamic_flag_spec
='${wl}-E'
8995 # hardcode_minus_L: Not really in the search PATH,
8996 # but as the default location of the library.
8997 hardcode_minus_L
=yes
9003 irix5
* | irix6
* | nonstopux
*)
9004 if test "$GCC" = yes; then
9005 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'
9006 # Try to use the -exported_symbol ld option, if it does not
9007 # work, assume that -exports_file does not work either and
9008 # implicitly export all symbols.
9009 # This should be the same for all languages, so no per-tag cache variable.
9010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9011 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9012 if ${lt_cv_irix_exported_symbol+:} false
; then :
9013 $as_echo_n "(cached) " >&6
9015 save_LDFLAGS
="$LDFLAGS"
9016 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9018 /* end confdefs.h. */
9019 int foo (void) { return 0; }
9021 if ac_fn_c_try_link
"$LINENO"; then :
9022 lt_cv_irix_exported_symbol
=yes
9024 lt_cv_irix_exported_symbol
=no
9026 rm -f core conftest.err conftest.
$ac_objext \
9027 conftest
$ac_exeext conftest.
$ac_ext
9028 LDFLAGS
="$save_LDFLAGS"
9030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9031 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9032 if test "$lt_cv_irix_exported_symbol" = yes; then
9033 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'
9036 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'
9037 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'
9039 archive_cmds_need_lc
='no'
9040 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9041 hardcode_libdir_separator
=:
9043 link_all_deplibs
=yes
9046 netbsd
* | netbsdelf
*-gnu)
9047 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9048 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9050 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9052 hardcode_libdir_flag_spec
='-R$libdir'
9054 hardcode_shlibpath_var
=no
9058 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9060 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9061 hardcode_libdir_separator
=:
9062 hardcode_shlibpath_var
=no
9069 if test -f /usr
/libexec
/ld.so
; then
9071 hardcode_shlibpath_var
=no
9072 hardcode_direct_absolute
=yes
9073 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9074 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9075 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9076 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9077 export_dynamic_flag_spec
='${wl}-E'
9080 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9081 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9082 hardcode_libdir_flag_spec
='-R$libdir'
9085 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9086 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9096 hardcode_libdir_flag_spec
='-L$libdir'
9097 hardcode_minus_L
=yes
9098 allow_undefined_flag
=unsupported
9099 archive_cmds
='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9100 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9104 if test "$GCC" = yes; then
9105 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9106 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'
9108 allow_undefined_flag
=' -expect_unresolved \*'
9109 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'
9111 archive_cmds_need_lc
='no'
9112 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9113 hardcode_libdir_separator
=:
9116 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9117 if test "$GCC" = yes; then
9118 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9119 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'
9120 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9122 allow_undefined_flag
=' -expect_unresolved \*'
9123 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'
9124 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~
9125 $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'
9127 # Both c and cxx compiler support -rpath directly
9128 hardcode_libdir_flag_spec
='-rpath $libdir'
9130 archive_cmds_need_lc
='no'
9131 hardcode_libdir_separator
=:
9135 no_undefined_flag
=' -z defs'
9136 if test "$GCC" = yes; then
9138 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9139 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9140 $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'
9142 case `$CC -V 2>&1` in
9145 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9146 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9147 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9151 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9152 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9153 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9157 hardcode_libdir_flag_spec
='-R$libdir'
9158 hardcode_shlibpath_var
=no
9160 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9162 # The compiler driver will combine and reorder linker options,
9163 # but understands `-z linker_flag'. GCC discards it without `$wl',
9164 # but is careful enough not to reorder.
9165 # Supported since Solaris 2.6 (maybe 2.5.1?)
9166 if test "$GCC" = yes; then
9167 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9169 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9173 link_all_deplibs
=yes
9177 if test "x$host_vendor" = xsequent
; then
9178 # Use $CC to link under sequent, because it throws in some extra .o
9179 # files that make .init and .fini sections work.
9180 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9182 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9184 hardcode_libdir_flag_spec
='-L$libdir'
9186 hardcode_minus_L
=yes
9187 hardcode_shlibpath_var
=no
9191 case $host_vendor in
9193 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9194 hardcode_direct
=yes # is this really true???
9197 ## LD is ld it makes a PLAMLIB
9198 ## CC just makes a GrossModule.
9199 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9200 reload_cmds
='$CC -r -o $output$reload_objs'
9204 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9205 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9208 runpath_var
='LD_RUN_PATH'
9209 hardcode_shlibpath_var
=no
9213 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9214 hardcode_shlibpath_var
=no
9215 export_dynamic_flag_spec
='-Bexport'
9219 if test -d /usr
/nec
; then
9220 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9221 hardcode_shlibpath_var
=no
9222 runpath_var
=LD_RUN_PATH
9223 hardcode_runpath_var
=yes
9228 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9229 no_undefined_flag
='${wl}-z,text'
9230 archive_cmds_need_lc
=no
9231 hardcode_shlibpath_var
=no
9232 runpath_var
='LD_RUN_PATH'
9234 if test "$GCC" = yes; then
9235 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9236 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9238 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9239 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9243 sysv5
* | sco3.2v5
* | sco5v6
*)
9244 # Note: We can NOT use -z defs as we might desire, because we do not
9245 # link with -lc, and that would cause any symbols used from libc to
9246 # always be unresolved, which means just about no library would
9247 # ever link correctly. If we're not using GNU ld we use -z text
9248 # though, which does catch some bad symbols but isn't as heavy-handed
9250 no_undefined_flag
='${wl}-z,text'
9251 allow_undefined_flag
='${wl}-z,nodefs'
9252 archive_cmds_need_lc
=no
9253 hardcode_shlibpath_var
=no
9254 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9255 hardcode_libdir_separator
=':'
9256 link_all_deplibs
=yes
9257 export_dynamic_flag_spec
='${wl}-Bexport'
9258 runpath_var
='LD_RUN_PATH'
9260 if test "$GCC" = yes; then
9261 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9262 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9264 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9265 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9270 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9271 hardcode_libdir_flag_spec
='-L$libdir'
9272 hardcode_shlibpath_var
=no
9280 if test x
$host_vendor = xsni
; then
9282 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9283 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9290 $as_echo "$ld_shlibs" >&6; }
9291 test "$ld_shlibs" = no
&& can_build_shared
=no
9293 with_gnu_ld
=$with_gnu_ld
9310 # Do we need to explicitly link libc?
9312 case "x$archive_cmds_need_lc" in
9314 # Assume -lc should be added
9315 archive_cmds_need_lc
=yes
9317 if test "$enable_shared" = yes && test "$GCC" = yes; then
9318 case $archive_cmds in
9320 # FIXME: we may have to deal with multi-command sequences.
9323 # Test whether the compiler implicitly links with -lc since on some
9324 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9325 # to ld, don't add -lc before -lgcc.
9326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9327 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9328 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
9329 $as_echo_n "(cached) " >&6
9332 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9334 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9335 (eval $ac_compile) 2>&5
9337 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9338 test $ac_status = 0; } 2>conftest.err
; then
9341 libobjs
=conftest.
$ac_objext
9343 wl
=$lt_prog_compiler_wl
9344 pic_flag
=$lt_prog_compiler_pic
9350 lt_save_allow_undefined_flag
=$allow_undefined_flag
9351 allow_undefined_flag
=
9352 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9353 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9355 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9356 test $ac_status = 0; }
9358 lt_cv_archive_cmds_need_lc
=no
9360 lt_cv_archive_cmds_need_lc
=yes
9362 allow_undefined_flag
=$lt_save_allow_undefined_flag
9364 cat conftest.err
1>&5
9369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9370 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9371 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9530 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9532 if test "$GCC" = yes; then
9534 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9535 *) lt_awk_arg
="/^libraries:/" ;;
9538 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
9539 *) lt_sed_strip_eq
="s,=/,/,g" ;;
9541 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9542 case $lt_search_path_spec in
9544 # if the path contains ";" then we assume it to be the separator
9545 # otherwise default to the standard path separator (i.e. ":") - it is
9546 # assumed that no part of a normal pathname contains ";" but that should
9547 # okay in the real world where ";" in dirpaths is itself problematic.
9548 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9551 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9554 # Ok, now we have the path, separated by spaces, we can step through it
9555 # and add multilib dir if necessary.
9556 lt_tmp_lt_search_path_spec
=
9557 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9558 for lt_sys_path
in $lt_search_path_spec; do
9559 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9560 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9562 test -d "$lt_sys_path" && \
9563 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9566 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9567 BEGIN {RS=" "; FS="/|\n";} {
9570 for (lt_i = NF; lt_i > 0; lt_i--) {
9571 if ($lt_i != "" && $lt_i != ".") {
9572 if ($lt_i == "..") {
9575 if (lt_count == 0) {
9576 lt_foo="/" $lt_i lt_foo;
9583 if (lt_foo != "") { lt_freq[lt_foo]++; }
9584 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9586 # AWK program above erroneously prepends '/' to C:/dos/paths
9589 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
9590 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9592 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9594 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9597 libname_spec
='lib$name'
9605 shlibpath_overrides_runpath
=unknown
9607 dynamic_linker
="$host_os ld.so"
9608 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9609 need_lib_prefix
=unknown
9610 hardcode_into_libs
=no
9612 # when you set need_version to no, make sure it does not cause -set_version
9613 # flags to be left without arguments
9614 need_version
=unknown
9618 version_type
=linux
# correct to gnu/linux during the next big refactor
9619 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9620 shlibpath_var
=LIBPATH
9622 # AIX 3 has no versioning support, so we append a major version to the name.
9623 soname_spec
='${libname}${release}${shared_ext}$major'
9627 version_type
=linux
# correct to gnu/linux during the next big refactor
9630 hardcode_into_libs
=yes
9631 if test "$host_cpu" = ia64
; then
9632 # AIX 5 supports IA64
9633 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9634 shlibpath_var
=LD_LIBRARY_PATH
9636 # With GCC up to 2.95.x, collect2 would create an import file
9637 # for dependence libraries. The import file would start with
9638 # the line `#! .'. This would cause the generated library to
9639 # depend on `.', always an invalid library. This was fixed in
9640 # development snapshots of GCC prior to 3.0.
9642 aix4 | aix4.
[01] | aix4.
[01].
*)
9643 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9645 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9652 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9653 # soname into executable. Probably we can add versioning support to
9654 # collect2, so additional links can be useful in future.
9655 if test "$aix_use_runtimelinking" = yes; then
9656 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9657 # instead of lib<name>.a to let people know that these are not
9658 # typical AIX shared libraries.
9659 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9661 # We preserve .a as extension for shared libraries through AIX4.2
9662 # and later when we are not doing run time linking.
9663 library_names_spec
='${libname}${release}.a $libname.a'
9664 soname_spec
='${libname}${release}${shared_ext}$major'
9666 shlibpath_var
=LIBPATH
9673 # Since July 2007 AmigaOS4 officially supports .so libraries.
9674 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9675 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9678 library_names_spec
='$libname.ixlibrary $libname.a'
9679 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9680 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
9686 library_names_spec
='${libname}${shared_ext}'
9687 dynamic_linker
="$host_os ld.so"
9688 shlibpath_var
=LIBRARY_PATH
9692 version_type
=linux
# correct to gnu/linux during the next big refactor
9694 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9695 soname_spec
='${libname}${release}${shared_ext}$major'
9696 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9697 shlibpath_var
=LD_LIBRARY_PATH
9698 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9699 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9700 # the default ld.so.conf also contains /usr/contrib/lib and
9701 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9702 # libtool to hard-code these into programs
9705 cygwin
* | mingw
* | pw32
* | cegcc
*)
9706 version_type
=windows
9711 case $GCC,$cc_basename in
9714 library_names_spec
='$libname.dll.a'
9715 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9716 postinstall_cmds
='base_file=`basename \${file}`~
9717 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9718 dldir=$destdir/`dirname \$dlpath`~
9719 test -d \$dldir || mkdir -p \$dldir~
9720 $install_prog $dir/$dlname \$dldir/$dlname~
9721 chmod a+x \$dldir/$dlname~
9722 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9723 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9725 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9726 dlpath=$dir/\$dldll~
9728 shlibpath_overrides_runpath
=yes
9732 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9733 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9735 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
9738 # MinGW DLLs use traditional 'lib' prefix
9739 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9742 # pw32 DLLs use 'pw' prefix rather than 'lib'
9743 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9746 dynamic_linker
='Win32 ld.exe'
9751 libname_spec
='$name'
9752 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9753 library_names_spec
='${libname}.dll.lib'
9757 sys_lib_search_path_spec
=
9763 # Let DOS variable expansion print the short 8.3 style file name.
9764 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
9765 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
9768 # Convert to MSYS style.
9769 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
9772 # Convert to unix form, then to dos form, then back to unix form
9773 # but this time dos style (no spaces!) so that the unix form looks
9774 # like /cygdrive/c/PROGRA~1:/cygdr...
9775 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
9776 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
9777 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9780 sys_lib_search_path_spec
="$LIB"
9781 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
9782 # It is most probably a Windows format PATH.
9783 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9785 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9787 # FIXME: find the short name or the path components, as spaces are
9788 # common. (e.g. "Program Files" -> "PROGRA~1")
9792 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9793 postinstall_cmds
='base_file=`basename \${file}`~
9794 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9795 dldir=$destdir/`dirname \$dlpath`~
9796 test -d \$dldir || mkdir -p \$dldir~
9797 $install_prog $dir/$dlname \$dldir/$dlname'
9798 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9799 dlpath=$dir/\$dldll~
9801 shlibpath_overrides_runpath
=yes
9802 dynamic_linker
='Win32 link.exe'
9806 # Assume MSVC wrapper
9807 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9808 dynamic_linker
='Win32 ld.exe'
9811 # FIXME: first we should search . and the directory the executable is in
9815 darwin
* | rhapsody
*)
9816 dynamic_linker
="$host_os dyld"
9820 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9821 soname_spec
='${libname}${release}${major}$shared_ext'
9822 shlibpath_overrides_runpath
=yes
9823 shlibpath_var
=DYLD_LIBRARY_PATH
9824 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9826 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9827 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9831 version_type
=linux
# correct to gnu/linux during the next big refactor
9834 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9835 soname_spec
='${libname}${release}${shared_ext}$major'
9836 shlibpath_var
=LD_LIBRARY_PATH
9839 freebsd
* | dragonfly
*)
9840 # DragonFly does not have aout. When/if they implement a new
9841 # versioning mechanism, adjust this.
9842 if test -x /usr
/bin
/objformat
; then
9843 objformat
=`/usr/bin/objformat`
9846 freebsd
[23].
*) objformat
=aout
;;
9850 version_type
=freebsd-
$objformat
9851 case $version_type in
9853 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9858 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9862 shlibpath_var
=LD_LIBRARY_PATH
9865 shlibpath_overrides_runpath
=yes
9867 freebsd3.
[01]* | freebsdelf3.
[01]*)
9868 shlibpath_overrides_runpath
=yes
9869 hardcode_into_libs
=yes
9871 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9872 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9873 shlibpath_overrides_runpath
=no
9874 hardcode_into_libs
=yes
9876 *) # from 4.6 on, and DragonFly
9877 shlibpath_overrides_runpath
=yes
9878 hardcode_into_libs
=yes
9884 version_type
=linux
# correct to gnu/linux during the next big refactor
9887 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9888 soname_spec
='${libname}${release}${shared_ext}$major'
9889 shlibpath_var
=LD_LIBRARY_PATH
9890 shlibpath_overrides_runpath
=no
9891 hardcode_into_libs
=yes
9895 version_type
=linux
# correct to gnu/linux during the next big refactor
9898 dynamic_linker
="$host_os runtime_loader"
9899 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9900 soname_spec
='${libname}${release}${shared_ext}$major'
9901 shlibpath_var
=LIBRARY_PATH
9902 shlibpath_overrides_runpath
=yes
9903 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
9904 hardcode_into_libs
=yes
9907 hpux9
* | hpux10
* | hpux11
*)
9908 # Give a soname corresponding to the major version so that dld.sl refuses to
9909 # link against other versions.
9916 hardcode_into_libs
=yes
9917 dynamic_linker
="$host_os dld.so"
9918 shlibpath_var
=LD_LIBRARY_PATH
9919 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9920 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9921 soname_spec
='${libname}${release}${shared_ext}$major'
9922 if test "X$HPUX_IA64_MODE" = X32
; then
9923 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9925 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9927 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9931 hardcode_into_libs
=yes
9932 dynamic_linker
="$host_os dld.sl"
9933 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9934 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9935 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9936 soname_spec
='${libname}${release}${shared_ext}$major'
9937 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9938 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9942 dynamic_linker
="$host_os dld.sl"
9943 shlibpath_var
=SHLIB_PATH
9944 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9945 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9946 soname_spec
='${libname}${release}${shared_ext}$major'
9949 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
9950 postinstall_cmds
='chmod 555 $lib'
9951 # or fails outright, so override atomically:
9952 install_override_mode
=555
9956 version_type
=linux
# correct to gnu/linux during the next big refactor
9959 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9960 soname_spec
='${libname}${release}${shared_ext}$major'
9961 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9962 shlibpath_var
=LD_LIBRARY_PATH
9963 shlibpath_overrides_runpath
=no
9964 hardcode_into_libs
=yes
9967 irix5
* | irix6
* | nonstopux
*)
9969 nonstopux
*) version_type
=nonstopux
;;
9971 if test "$lt_cv_prog_gnu_ld" = yes; then
9972 version_type
=linux
# correct to gnu/linux during the next big refactor
9979 soname_spec
='${libname}${release}${shared_ext}$major'
9980 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9982 irix5
* | nonstopux
*)
9986 case $LD in # libtool.m4 will add one of these switches to LD
9987 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9988 libsuff
= shlibsuff
= libmagic
=32-bit;;
9989 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9990 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9991 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9992 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9993 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9997 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9998 shlibpath_overrides_runpath
=no
9999 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10000 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10001 hardcode_into_libs
=yes
10004 # No shared lib support for Linux oldld, aout, or coff.
10005 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10009 # This must be glibc/ELF.
10010 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10011 version_type
=linux
# correct to gnu/linux during the next big refactor
10014 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10015 soname_spec
='${libname}${release}${shared_ext}$major'
10016 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10017 shlibpath_var
=LD_LIBRARY_PATH
10018 shlibpath_overrides_runpath
=no
10020 # Some binutils ld are patched to set DT_RUNPATH
10021 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10022 $as_echo_n "(cached) " >&6
10024 lt_cv_shlibpath_overrides_runpath
=no
10025 save_LDFLAGS
=$LDFLAGS
10026 save_libdir
=$libdir
10027 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10028 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10030 /* end confdefs.h. */
10040 if ac_fn_c_try_link
"$LINENO"; then :
10041 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10042 lt_cv_shlibpath_overrides_runpath
=yes
10045 rm -f core conftest.err conftest.
$ac_objext \
10046 conftest
$ac_exeext conftest.
$ac_ext
10047 LDFLAGS
=$save_LDFLAGS
10048 libdir
=$save_libdir
10052 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10054 # This implies no fast_install, which is unacceptable.
10055 # Some rework will be needed to allow for fast_install
10056 # before this can be enabled.
10057 hardcode_into_libs
=yes
10059 # Append ld.so.conf contents to the search path
10060 if test -f /etc
/ld.so.conf
; then
10061 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' ' '`
10062 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10065 # We used to test for /lib/ld.so.1 and disable shared libraries on
10066 # powerpc, because MkLinux only supported shared libraries with the
10067 # GNU dynamic linker. Since this was broken with cross compilers,
10068 # most powerpc-linux boxes support dynamic linking these days and
10069 # people can always --disable-shared, the test was removed, and we
10070 # assume the GNU/Linux dynamic linker is in use.
10071 dynamic_linker
='GNU/Linux ld.so'
10078 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10079 soname_spec
='${libname}${release}${shared_ext}$major'
10080 shlibpath_var
=LD_LIBRARY_PATH
10081 shlibpath_overrides_runpath
=no
10082 hardcode_into_libs
=yes
10083 dynamic_linker
='NetBSD ld.elf_so'
10090 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10091 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10092 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10093 dynamic_linker
='NetBSD (a.out) ld.so'
10095 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10096 soname_spec
='${libname}${release}${shared_ext}$major'
10097 dynamic_linker
='NetBSD ld.elf_so'
10099 shlibpath_var
=LD_LIBRARY_PATH
10100 shlibpath_overrides_runpath
=yes
10101 hardcode_into_libs
=yes
10105 version_type
=linux
# correct to gnu/linux during the next big refactor
10106 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10107 shlibpath_var
=LD_LIBRARY_PATH
10108 shlibpath_overrides_runpath
=yes
10115 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10116 soname_spec
='${libname}${release}${shared_ext}$major'
10117 shlibpath_var
=LD_LIBRARY_PATH
10118 shlibpath_overrides_runpath
=no
10119 hardcode_into_libs
=yes
10120 dynamic_linker
='ldqnx.so'
10125 sys_lib_dlsearch_path_spec
="/usr/lib"
10127 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10129 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10130 *) need_version
=no
;;
10132 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10133 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10134 shlibpath_var
=LD_LIBRARY_PATH
10135 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10137 openbsd2.
[89] | openbsd2.
[89].
*)
10138 shlibpath_overrides_runpath
=no
10141 shlibpath_overrides_runpath
=yes
10145 shlibpath_overrides_runpath
=yes
10150 libname_spec
='$name'
10153 library_names_spec
='$libname${shared_ext} $libname.a'
10154 dynamic_linker
='OS/2 ld.exe'
10155 shlibpath_var
=LIBPATH
10158 osf3
* | osf4
* | osf5
*)
10162 soname_spec
='${libname}${release}${shared_ext}$major'
10163 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10164 shlibpath_var
=LD_LIBRARY_PATH
10165 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10166 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10174 version_type
=linux
# correct to gnu/linux during the next big refactor
10177 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10178 soname_spec
='${libname}${release}${shared_ext}$major'
10179 shlibpath_var
=LD_LIBRARY_PATH
10180 shlibpath_overrides_runpath
=yes
10181 hardcode_into_libs
=yes
10182 # ldd complains unless libraries are executable
10183 postinstall_cmds
='chmod +x $lib'
10188 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10189 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10190 shlibpath_var
=LD_LIBRARY_PATH
10191 shlibpath_overrides_runpath
=yes
10192 if test "$with_gnu_ld" = yes; then
10199 version_type
=linux
# correct to gnu/linux during the next big refactor
10200 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10201 soname_spec
='${libname}${release}${shared_ext}$major'
10202 shlibpath_var
=LD_LIBRARY_PATH
10203 case $host_vendor in
10205 shlibpath_overrides_runpath
=no
10207 runpath_var
=LD_RUN_PATH
10215 shlibpath_overrides_runpath
=no
10216 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10222 if test -d /usr
/nec
;then
10223 version_type
=linux
# correct to gnu/linux during the next big refactor
10224 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10225 soname_spec
='$libname${shared_ext}.$major'
10226 shlibpath_var
=LD_LIBRARY_PATH
10230 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10231 version_type
=freebsd-elf
10234 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10235 soname_spec
='${libname}${release}${shared_ext}$major'
10236 shlibpath_var
=LD_LIBRARY_PATH
10237 shlibpath_overrides_runpath
=yes
10238 hardcode_into_libs
=yes
10239 if test "$with_gnu_ld" = yes; then
10240 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10242 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10245 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10249 sys_lib_dlsearch_path_spec
='/usr/lib'
10253 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10254 version_type
=linux
# correct to gnu/linux during the next big refactor
10257 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10258 shlibpath_var
=LD_LIBRARY_PATH
10259 shlibpath_overrides_runpath
=no
10260 hardcode_into_libs
=yes
10264 version_type
=linux
# correct to gnu/linux during the next big refactor
10265 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10266 soname_spec
='${libname}${release}${shared_ext}$major'
10267 shlibpath_var
=LD_LIBRARY_PATH
10274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10275 $as_echo "$dynamic_linker" >&6; }
10276 test "$dynamic_linker" = no
&& can_build_shared
=no
10278 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10279 if test "$GCC" = yes; then
10280 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10283 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10284 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10286 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10287 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10382 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10384 if test -n "$hardcode_libdir_flag_spec" ||
10385 test -n "$runpath_var" ||
10386 test "X$hardcode_automatic" = "Xyes" ; then
10388 # We can hardcode non-existent directories.
10389 if test "$hardcode_direct" != no
&&
10390 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10391 # have to relink, otherwise we might link with an installed library
10392 # when we should be linking with a yet-to-be-installed one
10393 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10394 test "$hardcode_minus_L" != no
; then
10395 # Linking always hardcodes the temporary library directory.
10396 hardcode_action
=relink
10398 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10399 hardcode_action
=immediate
10402 # We cannot hardcode anything, or else we can only hardcode existing
10404 hardcode_action
=unsupported
10406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10407 $as_echo "$hardcode_action" >&6; }
10409 if test "$hardcode_action" = relink ||
10410 test "$inherit_rpath" = yes; then
10411 # Fast installation is not supported
10412 enable_fast_install
=no
10413 elif test "$shlibpath_overrides_runpath" = yes ||
10414 test "$enable_shared" = no
; then
10415 # Fast installation is not necessary
10416 enable_fast_install
=needless
10424 if test "x$enable_dlopen" != xyes
; then
10425 enable_dlopen
=unknown
10426 enable_dlopen_self
=unknown
10427 enable_dlopen_self_static
=unknown
10434 lt_cv_dlopen
="load_add_on"
10436 lt_cv_dlopen_self
=yes
10439 mingw
* | pw32
* | cegcc
*)
10440 lt_cv_dlopen
="LoadLibrary"
10445 lt_cv_dlopen
="dlopen"
10450 # if libdl is installed we need to link against it
10451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10452 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10453 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10454 $as_echo_n "(cached) " >&6
10456 ac_check_lib_save_LIBS
=$LIBS
10458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10459 /* end confdefs.h. */
10461 /* Override any GCC internal prototype to avoid an error.
10462 Use char because int might match the return type of a GCC
10463 builtin and then its argument prototype would still apply. */
10476 if ac_fn_c_try_link
"$LINENO"; then :
10477 ac_cv_lib_dl_dlopen
=yes
10479 ac_cv_lib_dl_dlopen
=no
10481 rm -f core conftest.err conftest.
$ac_objext \
10482 conftest
$ac_exeext conftest.
$ac_ext
10483 LIBS
=$ac_check_lib_save_LIBS
10485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10486 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10487 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10488 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10491 lt_cv_dlopen
="dyld"
10493 lt_cv_dlopen_self
=yes
10500 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10501 if test "x$ac_cv_func_shl_load" = xyes
; then :
10502 lt_cv_dlopen
="shl_load"
10504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10505 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10506 if ${ac_cv_lib_dld_shl_load+:} false
; then :
10507 $as_echo_n "(cached) " >&6
10509 ac_check_lib_save_LIBS
=$LIBS
10511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10512 /* end confdefs.h. */
10514 /* Override any GCC internal prototype to avoid an error.
10515 Use char because int might match the return type of a GCC
10516 builtin and then its argument prototype would still apply. */
10524 return shl_load ();
10529 if ac_fn_c_try_link
"$LINENO"; then :
10530 ac_cv_lib_dld_shl_load
=yes
10532 ac_cv_lib_dld_shl_load
=no
10534 rm -f core conftest.err conftest.
$ac_objext \
10535 conftest
$ac_exeext conftest.
$ac_ext
10536 LIBS
=$ac_check_lib_save_LIBS
10538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10539 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10540 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
10541 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10543 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10544 if test "x$ac_cv_func_dlopen" = xyes
; then :
10545 lt_cv_dlopen
="dlopen"
10547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10548 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10549 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10550 $as_echo_n "(cached) " >&6
10552 ac_check_lib_save_LIBS
=$LIBS
10554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10555 /* end confdefs.h. */
10557 /* Override any GCC internal prototype to avoid an error.
10558 Use char because int might match the return type of a GCC
10559 builtin and then its argument prototype would still apply. */
10572 if ac_fn_c_try_link
"$LINENO"; then :
10573 ac_cv_lib_dl_dlopen
=yes
10575 ac_cv_lib_dl_dlopen
=no
10577 rm -f core conftest.err conftest.
$ac_objext \
10578 conftest
$ac_exeext conftest.
$ac_ext
10579 LIBS
=$ac_check_lib_save_LIBS
10581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10582 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10583 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10584 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10587 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10588 if ${ac_cv_lib_svld_dlopen+:} false
; then :
10589 $as_echo_n "(cached) " >&6
10591 ac_check_lib_save_LIBS
=$LIBS
10592 LIBS
="-lsvld $LIBS"
10593 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10594 /* end confdefs.h. */
10596 /* Override any GCC internal prototype to avoid an error.
10597 Use char because int might match the return type of a GCC
10598 builtin and then its argument prototype would still apply. */
10611 if ac_fn_c_try_link
"$LINENO"; then :
10612 ac_cv_lib_svld_dlopen
=yes
10614 ac_cv_lib_svld_dlopen
=no
10616 rm -f core conftest.err conftest.
$ac_objext \
10617 conftest
$ac_exeext conftest.
$ac_ext
10618 LIBS
=$ac_check_lib_save_LIBS
10620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10621 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10622 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
10623 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10626 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10627 if ${ac_cv_lib_dld_dld_link+:} false
; then :
10628 $as_echo_n "(cached) " >&6
10630 ac_check_lib_save_LIBS
=$LIBS
10632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10633 /* end confdefs.h. */
10635 /* Override any GCC internal prototype to avoid an error.
10636 Use char because int might match the return type of a GCC
10637 builtin and then its argument prototype would still apply. */
10645 return dld_link ();
10650 if ac_fn_c_try_link
"$LINENO"; then :
10651 ac_cv_lib_dld_dld_link
=yes
10653 ac_cv_lib_dld_dld_link
=no
10655 rm -f core conftest.err conftest.
$ac_objext \
10656 conftest
$ac_exeext conftest.
$ac_ext
10657 LIBS
=$ac_check_lib_save_LIBS
10659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10660 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10661 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
10662 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10683 if test "x$lt_cv_dlopen" != xno
; then
10689 case $lt_cv_dlopen in
10691 save_CPPFLAGS
="$CPPFLAGS"
10692 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10694 save_LDFLAGS
="$LDFLAGS"
10695 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10698 LIBS
="$lt_cv_dlopen_libs $LIBS"
10700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10701 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10702 if ${lt_cv_dlopen_self+:} false
; then :
10703 $as_echo_n "(cached) " >&6
10705 if test "$cross_compiling" = yes; then :
10706 lt_cv_dlopen_self
=cross
10708 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10709 lt_status
=$lt_dlunknown
10710 cat > conftest.
$ac_ext <<_LT_EOF
10711 #line $LINENO "configure"
10712 #include "confdefs.h"
10721 # define LT_DLGLOBAL RTLD_GLOBAL
10724 # define LT_DLGLOBAL DL_GLOBAL
10726 # define LT_DLGLOBAL 0
10730 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10731 find out it does not work in some platform. */
10732 #ifndef LT_DLLAZY_OR_NOW
10734 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10737 # define LT_DLLAZY_OR_NOW DL_LAZY
10740 # define LT_DLLAZY_OR_NOW RTLD_NOW
10743 # define LT_DLLAZY_OR_NOW DL_NOW
10745 # define LT_DLLAZY_OR_NOW 0
10752 /* When -fvisbility=hidden is used, assume the code has been annotated
10753 correspondingly for the symbols needed. */
10754 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10755 int fnord () __attribute__((visibility("default")));
10758 int fnord () { return 42; }
10761 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10762 int status = $lt_dlunknown;
10766 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10769 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10770 else puts (dlerror ());
10772 /* dlclose (self); */
10780 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10781 (eval $ac_link) 2>&5
10783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10784 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10785 (.
/conftest
; exit; ) >&5 2>/dev
/null
10787 case x
$lt_status in
10788 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10789 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10790 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10793 # compilation failed
10794 lt_cv_dlopen_self
=no
10801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10802 $as_echo "$lt_cv_dlopen_self" >&6; }
10804 if test "x$lt_cv_dlopen_self" = xyes
; then
10805 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10807 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10808 if ${lt_cv_dlopen_self_static+:} false
; then :
10809 $as_echo_n "(cached) " >&6
10811 if test "$cross_compiling" = yes; then :
10812 lt_cv_dlopen_self_static
=cross
10814 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10815 lt_status
=$lt_dlunknown
10816 cat > conftest.
$ac_ext <<_LT_EOF
10817 #line $LINENO "configure"
10818 #include "confdefs.h"
10827 # define LT_DLGLOBAL RTLD_GLOBAL
10830 # define LT_DLGLOBAL DL_GLOBAL
10832 # define LT_DLGLOBAL 0
10836 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10837 find out it does not work in some platform. */
10838 #ifndef LT_DLLAZY_OR_NOW
10840 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10843 # define LT_DLLAZY_OR_NOW DL_LAZY
10846 # define LT_DLLAZY_OR_NOW RTLD_NOW
10849 # define LT_DLLAZY_OR_NOW DL_NOW
10851 # define LT_DLLAZY_OR_NOW 0
10858 /* When -fvisbility=hidden is used, assume the code has been annotated
10859 correspondingly for the symbols needed. */
10860 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10861 int fnord () __attribute__((visibility("default")));
10864 int fnord () { return 42; }
10867 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10868 int status = $lt_dlunknown;
10872 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10875 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10876 else puts (dlerror ());
10878 /* dlclose (self); */
10886 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10887 (eval $ac_link) 2>&5
10889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10890 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10891 (.
/conftest
; exit; ) >&5 2>/dev
/null
10893 case x
$lt_status in
10894 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10895 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10896 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
10899 # compilation failed
10900 lt_cv_dlopen_self_static
=no
10907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10908 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10911 CPPFLAGS
="$save_CPPFLAGS"
10912 LDFLAGS
="$save_LDFLAGS"
10917 case $lt_cv_dlopen_self in
10918 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
10919 *) enable_dlopen_self
=unknown
;;
10922 case $lt_cv_dlopen_self_static in
10923 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
10924 *) enable_dlopen_self_static
=unknown
;;
10946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10947 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10948 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
10949 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
10950 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
10951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10952 $as_echo "yes" >&6; }
10954 # FIXME - insert some real tests, host_os isn't really good enough
10957 if test -n "$STRIP" ; then
10958 striplib
="$STRIP -x"
10959 old_striplib
="$STRIP -S"
10960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10961 $as_echo "yes" >&6; }
10963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10964 $as_echo "no" >&6; }
10968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10969 $as_echo "no" >&6; }
10985 # Report which library types will actually be built
10986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10987 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10989 $as_echo "$can_build_shared" >&6; }
10991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10992 $as_echo_n "checking whether to build shared libraries... " >&6; }
10993 test "$can_build_shared" = "no" && enable_shared
=no
10995 # On AIX, shared libraries and static libraries use the same namespace, and
10996 # are all built from PIC.
10999 test "$enable_shared" = yes && enable_static
=no
11000 if test -n "$RANLIB"; then
11001 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11002 postinstall_cmds
='$RANLIB $lib'
11007 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11008 test "$enable_shared" = yes && enable_static
=no
11012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11013 $as_echo "$enable_shared" >&6; }
11015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11016 $as_echo_n "checking whether to build static libraries... " >&6; }
11017 # Make sure either enable_shared or enable_static is yes.
11018 test "$enable_shared" = yes || enable_static
=yes
11019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11020 $as_echo "$enable_static" >&6; }
11027 ac_cpp
='$CPP $CPPFLAGS'
11028 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11029 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11030 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11048 ac_config_commands
="$ac_config_commands libtool"
11053 # Only expand once:
11057 ac_config_headers
="$ac_config_headers include/config.h"
11063 ac_cpp
='$CPP $CPPFLAGS'
11064 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11065 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11066 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11067 if test -n "$ac_tool_prefix"; then
11068 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11069 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
11070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11071 $as_echo_n "checking for $ac_word... " >&6; }
11072 if ${ac_cv_prog_CC+:} false
; then :
11073 $as_echo_n "(cached) " >&6
11075 if test -n "$CC"; then
11076 ac_cv_prog_CC
="$CC" # Let the user override the test.
11078 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11079 for as_dir
in $PATH
11082 test -z "$as_dir" && as_dir
=.
11083 for ac_exec_ext
in '' $ac_executable_extensions; do
11084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11085 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
11086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11096 if test -n "$CC"; then
11097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11098 $as_echo "$CC" >&6; }
11100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11101 $as_echo "no" >&6; }
11106 if test -z "$ac_cv_prog_CC"; then
11108 # Extract the first word of "gcc", so it can be a program name with args.
11109 set dummy gcc
; ac_word
=$2
11110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11111 $as_echo_n "checking for $ac_word... " >&6; }
11112 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
11113 $as_echo_n "(cached) " >&6
11115 if test -n "$ac_ct_CC"; then
11116 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11118 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11119 for as_dir
in $PATH
11122 test -z "$as_dir" && as_dir
=.
11123 for ac_exec_ext
in '' $ac_executable_extensions; do
11124 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11125 ac_cv_prog_ac_ct_CC
="gcc"
11126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11135 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11136 if test -n "$ac_ct_CC"; then
11137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11138 $as_echo "$ac_ct_CC" >&6; }
11140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11141 $as_echo "no" >&6; }
11144 if test "x$ac_ct_CC" = x
; then
11147 case $cross_compiling:$ac_tool_warned in
11149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11150 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11151 ac_tool_warned
=yes ;;
11156 CC
="$ac_cv_prog_CC"
11159 if test -z "$CC"; then
11160 if test -n "$ac_tool_prefix"; then
11161 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11162 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
11163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11164 $as_echo_n "checking for $ac_word... " >&6; }
11165 if ${ac_cv_prog_CC+:} false
; then :
11166 $as_echo_n "(cached) " >&6
11168 if test -n "$CC"; then
11169 ac_cv_prog_CC
="$CC" # Let the user override the test.
11171 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11172 for as_dir
in $PATH
11175 test -z "$as_dir" && as_dir
=.
11176 for ac_exec_ext
in '' $ac_executable_extensions; do
11177 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11178 ac_cv_prog_CC
="${ac_tool_prefix}cc"
11179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11189 if test -n "$CC"; then
11190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11191 $as_echo "$CC" >&6; }
11193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11194 $as_echo "no" >&6; }
11200 if test -z "$CC"; then
11201 # Extract the first word of "cc", so it can be a program name with args.
11202 set dummy cc
; ac_word
=$2
11203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11204 $as_echo_n "checking for $ac_word... " >&6; }
11205 if ${ac_cv_prog_CC+:} false
; then :
11206 $as_echo_n "(cached) " >&6
11208 if test -n "$CC"; then
11209 ac_cv_prog_CC
="$CC" # Let the user override the test.
11211 ac_prog_rejected
=no
11212 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11213 for as_dir
in $PATH
11216 test -z "$as_dir" && as_dir
=.
11217 for ac_exec_ext
in '' $ac_executable_extensions; do
11218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11219 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11220 ac_prog_rejected
=yes
11224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11231 if test $ac_prog_rejected = yes; then
11232 # We found a bogon in the path, so make sure we never use it.
11233 set dummy
$ac_cv_prog_CC
11235 if test $# != 0; then
11236 # We chose a different compiler from the bogus one.
11237 # However, it has the same basename, so the bogon will be chosen
11238 # first if we set CC to just the basename; use the full file name.
11240 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
11246 if test -n "$CC"; then
11247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11248 $as_echo "$CC" >&6; }
11250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11251 $as_echo "no" >&6; }
11256 if test -z "$CC"; then
11257 if test -n "$ac_tool_prefix"; then
11258 for ac_prog
in cl.exe
11260 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11261 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11263 $as_echo_n "checking for $ac_word... " >&6; }
11264 if ${ac_cv_prog_CC+:} false
; then :
11265 $as_echo_n "(cached) " >&6
11267 if test -n "$CC"; then
11268 ac_cv_prog_CC
="$CC" # Let the user override the test.
11270 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11271 for as_dir
in $PATH
11274 test -z "$as_dir" && as_dir
=.
11275 for ac_exec_ext
in '' $ac_executable_extensions; do
11276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11277 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
11278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11288 if test -n "$CC"; then
11289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11290 $as_echo "$CC" >&6; }
11292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11293 $as_echo "no" >&6; }
11297 test -n "$CC" && break
11300 if test -z "$CC"; then
11302 for ac_prog
in cl.exe
11304 # Extract the first word of "$ac_prog", so it can be a program name with args.
11305 set dummy
$ac_prog; ac_word
=$2
11306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11307 $as_echo_n "checking for $ac_word... " >&6; }
11308 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
11309 $as_echo_n "(cached) " >&6
11311 if test -n "$ac_ct_CC"; then
11312 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11314 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11315 for as_dir
in $PATH
11318 test -z "$as_dir" && as_dir
=.
11319 for ac_exec_ext
in '' $ac_executable_extensions; do
11320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11321 ac_cv_prog_ac_ct_CC
="$ac_prog"
11322 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11331 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11332 if test -n "$ac_ct_CC"; then
11333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11334 $as_echo "$ac_ct_CC" >&6; }
11336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11337 $as_echo "no" >&6; }
11341 test -n "$ac_ct_CC" && break
11344 if test "x$ac_ct_CC" = x
; then
11347 case $cross_compiling:$ac_tool_warned in
11349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11350 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11351 ac_tool_warned
=yes ;;
11360 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11361 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11362 as_fn_error $?
"no acceptable C compiler found in \$PATH
11363 See \`config.log' for more details" "$LINENO" 5; }
11365 # Provide some information about the compiler.
11366 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
11369 for ac_option
in --version -v -V -qversion; do
11370 { { ac_try
="$ac_compiler $ac_option >&5"
11371 case "(($ac_try" in
11372 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11373 *) ac_try_echo=$ac_try;;
11375 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11376 $as_echo "$ac_try_echo"; } >&5
11377 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11379 if test -s conftest.err; then
11381 ... rest of stderr output deleted ...
11382 10q' conftest.err >conftest.er1
11383 cat conftest.er1 >&5
11385 rm -f conftest.er1 conftest.err
11386 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11387 test $ac_status = 0; }
11390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
11391 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11392 if ${ac_cv_c_compiler_gnu+:} false; then :
11393 $as_echo_n "(cached) " >&6
11395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11396 /* end confdefs.h. */
11409 if ac_fn_c_try_compile "$LINENO"; then :
11410 ac_compiler_gnu=yes
11414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11415 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
11419 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
11420 if test $ac_compiler_gnu = yes; then
11425 ac_test_CFLAGS=${CFLAGS+set}
11426 ac_save_CFLAGS=$CFLAGS
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
11428 $as_echo_n "checking whether $CC accepts -g... " >&6; }
11429 if ${ac_cv_prog_cc_g+:} false; then :
11430 $as_echo_n "(cached) " >&6
11432 ac_save_c_werror_flag=$ac_c_werror_flag
11433 ac_c_werror_flag=yes
11436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11437 /* end confdefs.h. */
11447 if ac_fn_c_try_compile "$LINENO"; then :
11448 ac_cv_prog_cc_g=yes
11451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11452 /* end confdefs.h. */
11462 if ac_fn_c_try_compile "$LINENO"; then :
11465 ac_c_werror_flag=$ac_save_c_werror_flag
11467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11468 /* end confdefs.h. */
11478 if ac_fn_c_try_compile "$LINENO"; then :
11479 ac_cv_prog_cc_g=yes
11481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11486 ac_c_werror_flag=$ac_save_c_werror_flag
11488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
11489 $as_echo "$ac_cv_prog_cc_g" >&6; }
11490 if test "$ac_test_CFLAGS" = set; then
11491 CFLAGS=$ac_save_CFLAGS
11492 elif test $ac_cv_prog_cc_g = yes; then
11493 if test "$GCC" = yes; then
11499 if test "$GCC" = yes; then
11505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
11506 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11507 if ${ac_cv_prog_cc_c89+:} false; then :
11508 $as_echo_n "(cached) " >&6
11510 ac_cv_prog_cc_c89=no
11512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11513 /* end confdefs.h. */
11514 #include <stdarg.h>
11516 #include <sys/types.h>
11517 #include <sys/stat.h>
11518 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11519 struct buf { int x; };
11520 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11521 static char *e (p, i)
11527 static char *f (char * (*g) (char **, int), char **p, ...)
11532 s = g (p, va_arg (v,int));
11537 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11538 function prototypes and stuff, but not '\xHH' hex character constants.
11539 These don't provoke an error unfortunately, instead are silently treated
11540 as 'x'. The following induces an error, until -std is added to get
11541 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11542 array size at least. It's necessary to write '\x00'==0 to get something
11543 that's true only with -std. */
11544 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11546 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
11547 inside strings and character constants. */
11549 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
11551 int test (int i, double x);
11552 struct s1 {int (*f) (int a);};
11553 struct s2 {int (*f) (double a);};
11554 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11560 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11565 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
11566 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11568 CC="$ac_save_CC $ac_arg"
11569 if ac_fn_c_try_compile "$LINENO"; then :
11570 ac_cv_prog_cc_c89=$ac_arg
11572 rm -f core conftest.err conftest.$ac_objext
11573 test "x$ac_cv_prog_cc_c89" != "xno" && break
11575 rm -f conftest.$ac_ext
11580 case "x$ac_cv_prog_cc_c89" in
11582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
11583 $as_echo "none needed" >&6; } ;;
11585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
11586 $as_echo "unsupported" >&6; } ;;
11588 CC="$CC $ac_cv_prog_cc_c89"
11589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
11590 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
11592 if test "x$ac_cv_prog_cc_c89" != xno; then :
11597 ac_cpp='$CPP $CPPFLAGS'
11598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11603 # Check for gf_complete headers
11604 for ac_header in gf_complete.h gf_general.h gf_int.h gf_method.h gf_rand.h
11606 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11607 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11608 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11609 cat >>confdefs.h <<_ACEOF
11610 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gf_init_easy in -lgf_complete" >&5
11619 $as_echo_n "checking for gf_init_easy in -lgf_complete... " >&6; }
11620 if ${ac_cv_lib_gf_complete_gf_init_easy+:} false; then :
11621 $as_echo_n "(cached) " >&6
11623 ac_check_lib_save_LIBS=$LIBS
11624 LIBS="-lgf_complete $LIBS"
11625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11626 /* end confdefs.h. */
11628 /* Override any GCC internal prototype to avoid an error.
11629 Use char because int might match the return type of a GCC
11630 builtin and then its argument prototype would still apply. */
11634 char gf_init_easy ();
11638 return gf_init_easy ();
11643 if ac_fn_c_try_link "$LINENO"; then :
11644 ac_cv_lib_gf_complete_gf_init_easy=yes
11646 ac_cv_lib_gf_complete_gf_init_easy=no
11648 rm -f core conftest.err conftest.$ac_objext \
11649 conftest$ac_exeext conftest.$ac_ext
11650 LIBS=$ac_check_lib_save_LIBS
11652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gf_complete_gf_init_easy" >&5
11653 $as_echo "$ac_cv_lib_gf_complete_gf_init_easy" >&6; }
11654 if test "x$ac_cv_lib_gf_complete_gf_init_easy" = xyes; then :
11655 cat >>confdefs.h <<_ACEOF
11656 #define HAVE_LIBGF_COMPLETE 1
11659 LIBS="-lgf_complete $LIBS"
11663 echo "Error! You need to have gf_complete installed."
11664 echo "gf_complete is available from http://web.eecs.utk.edu/~plank/plank/papers/CS-13-703.html"
11672 ac_cpp='$CPP $CPPFLAGS'
11673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86 cpuid output" >&5
11678 $as_echo_n "checking for x86 cpuid output... " >&6; }
11679 if ${ax_cv_gcc_x86_cpuid_+:} false; then :
11680 $as_echo_n "(cached) " >&6
11682 if test "$cross_compiling" = yes; then :
11683 ax_cv_gcc_x86_cpuid_=unknown
11685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11686 /* end confdefs.h. */
11692 int op = , eax, ebx, ecx, edx;
11695 : "=a" (eax), "=b" (ebx), "=c" (ecx), "=d" (edx)
11697 f = fopen("conftest_cpuid", "w"); if (!f) return 1;
11698 fprintf(f, "%x:%x:%x:%x\n", eax, ebx, ecx, edx);
11706 if ac_fn_c_try_run "$LINENO"; then :
11707 ax_cv_gcc_x86_cpuid_=`cat conftest_cpuid
`; rm -f conftest_cpuid
11709 ax_cv_gcc_x86_cpuid_=unknown; rm -f conftest_cpuid
11711 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
11712 conftest.$ac_objext conftest.beam conftest.$ac_ext
11716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpuid_" >&5
11717 $as_echo "$ax_cv_gcc_x86_cpuid_" >&6; }
11719 ac_cpp='$CPP $CPPFLAGS'
11720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11727 ac_cpp='$CPP $CPPFLAGS'
11728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86-AVX xgetbv output" >&5
11733 $as_echo_n "checking for x86-AVX xgetbv output... " >&6; }
11734 if ${ax_cv_gcc_x86_avx_xgetbv_+:} false; then :
11735 $as_echo_n "(cached) " >&6
11737 if test "$cross_compiling" = yes; then :
11738 ax_cv_gcc_x86_avx_xgetbv_=unknown
11740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11741 /* end confdefs.h. */
11747 int op = , eax, edx;
11749 /* Opcodes for xgetbv */
11750 __asm__(".byte 0x0f, 0x01, 0xd0"
11751 : "=a" (eax), "=d" (edx)
11753 f = fopen("conftest_xgetbv", "w"); if (!f) return 1;
11754 fprintf(f, "%x:%x\n", eax, edx);
11762 if ac_fn_c_try_run "$LINENO"; then :
11763 ax_cv_gcc_x86_avx_xgetbv_=`cat conftest_xgetbv
`; rm -f conftest_xgetbv
11765 ax_cv_gcc_x86_avx_xgetbv_=unknown; rm -f conftest_xgetbv
11767 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
11768 conftest.$ac_objext conftest.beam conftest.$ac_ext
11772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_avx_xgetbv_" >&5
11773 $as_echo "$ax_cv_gcc_x86_avx_xgetbv_" >&6; }
11775 ac_cpp='$CPP $CPPFLAGS'
11776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether altivec is supported" >&5
11787 $as_echo_n "checking whether altivec is supported... " >&6; }
11788 if ${ax_cv_have_altivec_ext+:} false; then :
11789 $as_echo_n "(cached) " >&6
11792 if test `/usr
/sbin
/sysctl
-a 2>/dev
/null|
grep -c hw.optional.altivec
` != 0; then
11793 if test `/usr
/sbin
/sysctl
-n hw.optional.altivec
` = 1; then
11794 ax_cv_have_altivec_ext=yes
11799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_have_altivec_ext" >&5
11800 $as_echo "$ax_cv_have_altivec_ext" >&6; }
11802 if test "$ax_cv_have_altivec_ext" = yes; then
11804 $as_echo "#define HAVE_ALTIVEC /**/" >>confdefs.h
11806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -faltivec" >&5
11807 $as_echo_n "checking whether C compiler accepts -faltivec... " >&6; }
11808 if ${ax_cv_check_cflags___faltivec+:} false; then :
11809 $as_echo_n "(cached) " >&6
11812 ax_check_save_flags=$CFLAGS
11813 CFLAGS="$CFLAGS -faltivec"
11814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11815 /* end confdefs.h. */
11825 if ac_fn_c_try_compile "$LINENO"; then :
11826 ax_cv_check_cflags___faltivec=yes
11828 ax_cv_check_cflags___faltivec=no
11830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11831 CFLAGS=$ax_check_save_flags
11833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___faltivec" >&5
11834 $as_echo "$ax_cv_check_cflags___faltivec" >&6; }
11835 if test x"$ax_cv_check_cflags___faltivec" = xyes; then :
11836 SIMD_FLAGS="$SIMD_FLAGS -faltivec"
11845 i[3456]86*|x86_64*|amd64*)
11852 ac_cpp='$CPP $CPPFLAGS'
11853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86 cpuid 0x00000001 output" >&5
11858 $as_echo_n "checking for x86 cpuid 0x00000001 output... " >&6; }
11859 if ${ax_cv_gcc_x86_cpuid_0x00000001+:} false; then :
11860 $as_echo_n "(cached) " >&6
11862 if test "$cross_compiling" = yes; then :
11863 ax_cv_gcc_x86_cpuid_0x00000001=unknown
11865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11866 /* end confdefs.h. */
11872 int op = 0x00000001, eax, ebx, ecx, edx;
11875 : "=a" (eax), "=b" (ebx), "=c" (ecx), "=d" (edx)
11877 f = fopen("conftest_cpuid", "w"); if (!f) return 1;
11878 fprintf(f, "%x:%x:%x:%x\n", eax, ebx, ecx, edx);
11886 if ac_fn_c_try_run "$LINENO"; then :
11887 ax_cv_gcc_x86_cpuid_0x00000001=`cat conftest_cpuid
`; rm -f conftest_cpuid
11889 ax_cv_gcc_x86_cpuid_0x00000001=unknown; rm -f conftest_cpuid
11891 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
11892 conftest.$ac_objext conftest.beam conftest.$ac_ext
11896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_cpuid_0x00000001" >&5
11897 $as_echo "$ax_cv_gcc_x86_cpuid_0x00000001" >&6; }
11899 ac_cpp='$CPP $CPPFLAGS'
11900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11905 ecx=`echo $ax_cv_gcc_x86_cpuid_0x00000001 | cut
-d ":" -f 3`
11906 edx=`echo $ax_cv_gcc_x86_cpuid_0x00000001 | cut
-d ":" -f 4`
11908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mmx is supported" >&5
11909 $as_echo_n "checking whether mmx is supported... " >&6; }
11910 if ${ax_cv_have_mmx_ext+:} false; then :
11911 $as_echo_n "(cached) " >&6
11914 ax_cv_have_mmx_ext=no
11915 if test "$((0x$edx>>23&0x01))" = 1; then
11916 ax_cv_have_mmx_ext=yes
11920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_have_mmx_ext" >&5
11921 $as_echo "$ax_cv_have_mmx_ext" >&6; }
11923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sse is supported" >&5
11924 $as_echo_n "checking whether sse is supported... " >&6; }
11925 if ${ax_cv_have_sse_ext+:} false; then :
11926 $as_echo_n "(cached) " >&6
11929 ax_cv_have_sse_ext=no
11930 if test "$((0x$edx>>25&0x01))" = 1; then
11931 ax_cv_have_sse_ext=yes
11935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_have_sse_ext" >&5
11936 $as_echo "$ax_cv_have_sse_ext" >&6; }
11938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sse2 is supported" >&5
11939 $as_echo_n "checking whether sse2 is supported... " >&6; }
11940 if ${ax_cv_have_sse2_ext+:} false; then :
11941 $as_echo_n "(cached) " >&6
11944 ax_cv_have_sse2_ext=no
11945 if test "$((0x$edx>>26&0x01))" = 1; then
11946 ax_cv_have_sse2_ext=yes
11950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_have_sse2_ext" >&5
11951 $as_echo "$ax_cv_have_sse2_ext" >&6; }
11953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sse3 is supported" >&5
11954 $as_echo_n "checking whether sse3 is supported... " >&6; }
11955 if ${ax_cv_have_sse3_ext+:} false; then :
11956 $as_echo_n "(cached) " >&6
11959 ax_cv_have_sse3_ext=no
11960 if test "$((0x$ecx&0x01))" = 1; then
11961 ax_cv_have_sse3_ext=yes
11965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_have_sse3_ext" >&5
11966 $as_echo "$ax_cv_have_sse3_ext" >&6; }
11968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ssse3 is supported" >&5
11969 $as_echo_n "checking whether ssse3 is supported... " >&6; }
11970 if ${ax_cv_have_ssse3_ext+:} false; then :
11971 $as_echo_n "(cached) " >&6
11974 ax_cv_have_ssse3_ext=no
11975 if test "$((0x$ecx>>9&0x01))" = 1; then
11976 ax_cv_have_ssse3_ext=yes
11980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_have_ssse3_ext" >&5
11981 $as_echo "$ax_cv_have_ssse3_ext" >&6; }
11983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sse4.1 is supported" >&5
11984 $as_echo_n "checking whether sse4.1 is supported... " >&6; }
11985 if ${ax_cv_have_sse41_ext+:} false; then :
11986 $as_echo_n "(cached) " >&6
11989 ax_cv_have_sse41_ext=no
11990 if test "$((0x$ecx>>19&0x01))" = 1; then
11991 ax_cv_have_sse41_ext=yes
11995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_have_sse41_ext" >&5
11996 $as_echo "$ax_cv_have_sse41_ext" >&6; }
11998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sse4.2 is supported" >&5
11999 $as_echo_n "checking whether sse4.2 is supported... " >&6; }
12000 if ${ax_cv_have_sse42_ext+:} false; then :
12001 $as_echo_n "(cached) " >&6
12004 ax_cv_have_sse42_ext=no
12005 if test "$((0x$ecx>>20&0x01))" = 1; then
12006 ax_cv_have_sse42_ext=yes
12010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_have_sse42_ext" >&5
12011 $as_echo "$ax_cv_have_sse42_ext" >&6; }
12013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether avx is supported by processor" >&5
12014 $as_echo_n "checking whether avx is supported by processor... " >&6; }
12015 if ${ax_cv_have_avx_cpu_ext+:} false; then :
12016 $as_echo_n "(cached) " >&6
12019 ax_cv_have_avx_cpu_ext=no
12020 if test "$((0x$ecx>>28&0x01))" = 1; then
12021 ax_cv_have_avx_cpu_ext=yes
12025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_have_avx_cpu_ext" >&5
12026 $as_echo "$ax_cv_have_avx_cpu_ext" >&6; }
12028 if test x"$ax_cv_have_avx_cpu_ext" = x"yes"; then
12031 ac_cpp='$CPP $CPPFLAGS'
12032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86-AVX xgetbv 0x00000000 output" >&5
12037 $as_echo_n "checking for x86-AVX xgetbv 0x00000000 output... " >&6; }
12038 if ${ax_cv_gcc_x86_avx_xgetbv_0x00000000+:} false; then :
12039 $as_echo_n "(cached) " >&6
12041 if test "$cross_compiling" = yes; then :
12042 ax_cv_gcc_x86_avx_xgetbv_0x00000000=unknown
12044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12045 /* end confdefs.h. */
12051 int op = 0x00000000, eax, edx;
12053 /* Opcodes for xgetbv */
12054 __asm__(".byte 0x0f, 0x01, 0xd0"
12055 : "=a" (eax), "=d" (edx)
12057 f = fopen("conftest_xgetbv", "w"); if (!f) return 1;
12058 fprintf(f, "%x:%x\n", eax, edx);
12066 if ac_fn_c_try_run "$LINENO"; then :
12067 ax_cv_gcc_x86_avx_xgetbv_0x00000000=`cat conftest_xgetbv
`; rm -f conftest_xgetbv
12069 ax_cv_gcc_x86_avx_xgetbv_0x00000000=unknown; rm -f conftest_xgetbv
12071 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12072 conftest.$ac_objext conftest.beam conftest.$ac_ext
12076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_x86_avx_xgetbv_0x00000000" >&5
12077 $as_echo "$ax_cv_gcc_x86_avx_xgetbv_0x00000000" >&6; }
12079 ac_cpp='$CPP $CPPFLAGS'
12080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12087 if test x"$ax_cv_gcc_x86_avx_xgetbv_0x00000000" != x"unknown"; then
12088 xgetbv_eax=`echo $ax_cv_gcc_x86_avx_xgetbv_0x00000000 | cut
-d ":" -f 1`
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether avx is supported by operating system" >&5
12092 $as_echo_n "checking whether avx is supported by operating system... " >&6; }
12093 if ${ax_cv_have_avx_ext+:} false; then :
12094 $as_echo_n "(cached) " >&6
12097 ax_cv_have_avx_ext=no
12099 if test "$((0x$ecx>>27&0x01))" = 1; then
12100 if test "$((0x$xgetbv_eax&0x6))" = 6; then
12101 ax_cv_have_avx_ext=yes
12106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_have_avx_ext" >&5
12107 $as_echo "$ax_cv_have_avx_ext" >&6; }
12108 if test x"$ax_cv_have_avx_ext" = x"no"; then
12109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Your processor supports AVX, but your operating system doesn't" >&5
12110 $as_echo "$as_me: WARNING: Your processor supports AVX, but your operating system doesn't" >&2;}
12114 if test "$ax_cv_have_mmx_ext" = yes; then
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -mmmx" >&5
12116 $as_echo_n "checking whether C compiler accepts -mmmx... " >&6; }
12117 if ${ax_cv_check_cflags___mmmx+:} false; then :
12118 $as_echo_n "(cached) " >&6
12121 ax_check_save_flags=$CFLAGS
12122 CFLAGS="$CFLAGS -mmmx"
12123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12124 /* end confdefs.h. */
12134 if ac_fn_c_try_compile "$LINENO"; then :
12135 ax_cv_check_cflags___mmmx=yes
12137 ax_cv_check_cflags___mmmx=no
12139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12140 CFLAGS=$ax_check_save_flags
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___mmmx" >&5
12143 $as_echo "$ax_cv_check_cflags___mmmx" >&6; }
12144 if test x"$ax_cv_check_cflags___mmmx" = xyes; then :
12145 ax_cv_support_mmx_ext=yes
12150 if test x"$ax_cv_support_mmx_ext" = x"yes"; then
12151 SIMD_FLAGS="$SIMD_FLAGS -mmmx"
12153 $as_echo "#define HAVE_MMX /**/" >>confdefs.h
12156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Your processor supports mmx instructions but not your compiler, can you try another compiler?" >&5
12157 $as_echo "$as_me: WARNING: Your processor supports mmx instructions but not your compiler, can you try another compiler?" >&2;}
12161 if test "$ac_cv_sizeof_long" -eq 8; then
12162 SIMD_FLAGS="$SIMD_FLAGS -DARCH_64"
12165 if test "$ax_cv_have_sse_ext" = yes; then
12166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -msse" >&5
12167 $as_echo_n "checking whether C compiler accepts -msse... " >&6; }
12168 if ${ax_cv_check_cflags___msse+:} false; then :
12169 $as_echo_n "(cached) " >&6
12172 ax_check_save_flags=$CFLAGS
12173 CFLAGS="$CFLAGS -msse"
12174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12175 /* end confdefs.h. */
12185 if ac_fn_c_try_compile "$LINENO"; then :
12186 ax_cv_check_cflags___msse=yes
12188 ax_cv_check_cflags___msse=no
12190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12191 CFLAGS=$ax_check_save_flags
12193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___msse" >&5
12194 $as_echo "$ax_cv_check_cflags___msse" >&6; }
12195 if test x"$ax_cv_check_cflags___msse" = xyes; then :
12196 ax_cv_support_sse_ext=yes
12201 if test x"$ax_cv_support_sse_ext" = x"yes"; then
12202 SIMD_FLAGS="$SIMD_FLAGS -msse -DINTEL_SSE"
12204 $as_echo "#define HAVE_SSE /**/" >>confdefs.h
12207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Your processor supports sse instructions but not your compiler, can you try another compiler?" >&5
12208 $as_echo "$as_me: WARNING: Your processor supports sse instructions but not your compiler, can you try another compiler?" >&2;}
12212 if test "$ax_cv_have_sse2_ext" = yes; then
12213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -msse2" >&5
12214 $as_echo_n "checking whether C compiler accepts -msse2... " >&6; }
12215 if ${ax_cv_check_cflags___msse2+:} false; then :
12216 $as_echo_n "(cached) " >&6
12219 ax_check_save_flags=$CFLAGS
12220 CFLAGS="$CFLAGS -msse2"
12221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12222 /* end confdefs.h. */
12232 if ac_fn_c_try_compile "$LINENO"; then :
12233 ax_cv_check_cflags___msse2=yes
12235 ax_cv_check_cflags___msse2=no
12237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12238 CFLAGS=$ax_check_save_flags
12240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___msse2" >&5
12241 $as_echo "$ax_cv_check_cflags___msse2" >&6; }
12242 if test x"$ax_cv_check_cflags___msse2" = xyes; then :
12243 ax_cv_support_sse2_ext=yes
12248 if test x"$ax_cv_support_sse2_ext" = x"yes"; then
12249 SIMD_FLAGS="$SIMD_FLAGS -msse2 -DINTEL_SSE2"
12251 $as_echo "#define HAVE_SSE2 /**/" >>confdefs.h
12254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Your processor supports sse2 instructions but not your compiler, can you try another compiler?" >&5
12255 $as_echo "$as_me: WARNING: Your processor supports sse2 instructions but not your compiler, can you try another compiler?" >&2;}
12259 if test "$ax_cv_have_sse3_ext" = yes; then
12260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -msse3" >&5
12261 $as_echo_n "checking whether C compiler accepts -msse3... " >&6; }
12262 if ${ax_cv_check_cflags___msse3+:} false; then :
12263 $as_echo_n "(cached) " >&6
12266 ax_check_save_flags=$CFLAGS
12267 CFLAGS="$CFLAGS -msse3"
12268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12269 /* end confdefs.h. */
12279 if ac_fn_c_try_compile "$LINENO"; then :
12280 ax_cv_check_cflags___msse3=yes
12282 ax_cv_check_cflags___msse3=no
12284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12285 CFLAGS=$ax_check_save_flags
12287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___msse3" >&5
12288 $as_echo "$ax_cv_check_cflags___msse3" >&6; }
12289 if test x"$ax_cv_check_cflags___msse3" = xyes; then :
12290 ax_cv_support_sse3_ext=yes
12295 if test x"$ax_cv_support_sse3_ext" = x"yes"; then
12296 SIMD_FLAGS="$SIMD_FLAGS -msse3 -DINTEL_SSE3"
12298 $as_echo "#define HAVE_SSE3 /**/" >>confdefs.h
12301 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Your processor supports sse3 instructions but not your compiler, can you try another compiler?" >&5
12302 $as_echo "$as_me: WARNING: Your processor supports sse3 instructions but not your compiler, can you try another compiler?" >&2;}
12306 if test "$ax_cv_have_ssse3_ext" = yes; then
12307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -mssse3" >&5
12308 $as_echo_n "checking whether C compiler accepts -mssse3... " >&6; }
12309 if ${ax_cv_check_cflags___mssse3+:} false; then :
12310 $as_echo_n "(cached) " >&6
12313 ax_check_save_flags=$CFLAGS
12314 CFLAGS="$CFLAGS -mssse3"
12315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12316 /* end confdefs.h. */
12326 if ac_fn_c_try_compile "$LINENO"; then :
12327 ax_cv_check_cflags___mssse3=yes
12329 ax_cv_check_cflags___mssse3=no
12331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12332 CFLAGS=$ax_check_save_flags
12334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___mssse3" >&5
12335 $as_echo "$ax_cv_check_cflags___mssse3" >&6; }
12336 if test x"$ax_cv_check_cflags___mssse3" = xyes; then :
12337 ax_cv_support_ssse3_ext=yes
12342 if test x"$ax_cv_support_ssse3_ext" = x"yes"; then
12343 SIMD_FLAGS="$SIMD_FLAGS -mssse3"
12345 $as_echo "#define HAVE_SSSE3 /**/" >>confdefs.h
12348 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Your processor supports ssse3 instructions but not your compiler, can you try another compiler?" >&5
12349 $as_echo "$as_me: WARNING: Your processor supports ssse3 instructions but not your compiler, can you try another compiler?" >&2;}
12353 if test "$ax_cv_have_sse41_ext" = yes; then
12354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -msse4.1" >&5
12355 $as_echo_n "checking whether C compiler accepts -msse4.1... " >&6; }
12356 if ${ax_cv_check_cflags___msse4_1+:} false; then :
12357 $as_echo_n "(cached) " >&6
12360 ax_check_save_flags=$CFLAGS
12361 CFLAGS="$CFLAGS -msse4.1"
12362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12363 /* end confdefs.h. */
12373 if ac_fn_c_try_compile "$LINENO"; then :
12374 ax_cv_check_cflags___msse4_1=yes
12376 ax_cv_check_cflags___msse4_1=no
12378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12379 CFLAGS=$ax_check_save_flags
12381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___msse4_1" >&5
12382 $as_echo "$ax_cv_check_cflags___msse4_1" >&6; }
12383 if test x"$ax_cv_check_cflags___msse4_1" = xyes; then :
12384 ax_cv_support_sse41_ext=yes
12389 if test x"$ax_cv_support_sse41_ext" = x"yes"; then
12390 SIMD_FLAGS="$SIMD_FLAGS -msse4.1 -DINTEL_SSE4"
12392 $as_echo "#define HAVE_SSE4_1 /**/" >>confdefs.h
12395 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Your processor supports sse4.1 instructions but not your compiler, can you try another compiler?" >&5
12396 $as_echo "$as_me: WARNING: Your processor supports sse4.1 instructions but not your compiler, can you try another compiler?" >&2;}
12400 if test "$ax_cv_have_sse42_ext" = yes; then
12401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -msse4.2" >&5
12402 $as_echo_n "checking whether C compiler accepts -msse4.2... " >&6; }
12403 if ${ax_cv_check_cflags___msse4_2+:} false; then :
12404 $as_echo_n "(cached) " >&6
12407 ax_check_save_flags=$CFLAGS
12408 CFLAGS="$CFLAGS -msse4.2"
12409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12410 /* end confdefs.h. */
12420 if ac_fn_c_try_compile "$LINENO"; then :
12421 ax_cv_check_cflags___msse4_2=yes
12423 ax_cv_check_cflags___msse4_2=no
12425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12426 CFLAGS=$ax_check_save_flags
12428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___msse4_2" >&5
12429 $as_echo "$ax_cv_check_cflags___msse4_2" >&6; }
12430 if test x"$ax_cv_check_cflags___msse4_2" = xyes; then :
12431 ax_cv_support_sse42_ext=yes
12436 if test x"$ax_cv_support_sse42_ext" = x"yes"; then
12437 SIMD_FLAGS="$SIMD_FLAGS -msse4.2 -DINTEL_SSE4"
12439 $as_echo "#define HAVE_SSE4_2 /**/" >>confdefs.h
12442 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Your processor supports sse4.2 instructions but not your compiler, can you try another compiler?" >&5
12443 $as_echo "$as_me: WARNING: Your processor supports sse4.2 instructions but not your compiler, can you try another compiler?" >&2;}
12447 if test "$ax_cv_have_avx_ext" = yes; then
12448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -mavx" >&5
12449 $as_echo_n "checking whether C compiler accepts -mavx... " >&6; }
12450 if ${ax_cv_check_cflags___mavx+:} false; then :
12451 $as_echo_n "(cached) " >&6
12454 ax_check_save_flags=$CFLAGS
12455 CFLAGS="$CFLAGS -mavx"
12456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12457 /* end confdefs.h. */
12467 if ac_fn_c_try_compile "$LINENO"; then :
12468 ax_cv_check_cflags___mavx=yes
12470 ax_cv_check_cflags___mavx=no
12472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12473 CFLAGS=$ax_check_save_flags
12475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___mavx" >&5
12476 $as_echo "$ax_cv_check_cflags___mavx" >&6; }
12477 if test x"$ax_cv_check_cflags___mavx" = xyes; then :
12478 ax_cv_support_avx_ext=yes
12483 if test x"$ax_cv_support_avx_ext" = x"yes"; then
12484 SIMD_FLAGS="$SIMD_FLAGS -mavx"
12486 $as_echo "#define HAVE_AVX /**/" >>confdefs.h
12489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Your processor supports avx instructions but not your compiler, can you try another compiler?" >&5
12490 $as_echo "$as_me: WARNING: Your processor supports avx instructions but not your compiler, can you try another compiler?" >&2;}
12500 ac_config_files="$ac_config_files Makefile Examples/Makefile src/Makefile"
12502 cat >confcache <<\_ACEOF
12503 # This file is a shell script that caches the results of configure
12504 # tests run on this system so they can be shared between configure
12505 # scripts and configure runs, see configure's option --config-cache.
12506 # It is not useful on other systems. If it contains results you don't
12507 # want to keep, you may remove or edit it.
12509 # config.status only pays attention to the cache file if you give it
12510 # the --recheck option to rerun configure.
12512 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
12513 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12514 # following values.
12518 # The following way of writing the cache mishandles newlines in values,
12519 # but we know of no workaround that is simple, portable, and efficient.
12520 # So, we kill variables containing newlines.
12521 # Ultrix sh set writes to stderr and can't be redirected directly,
12522 # and sets the high bit in the cache file unless we assign to the vars.
12524 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12525 eval ac_val
=\$
$ac_var
12529 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12530 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12533 _ | IFS | as_nl
) ;; #(
12534 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
12535 *) { eval $ac_var=; unset $ac_var;} ;;
12541 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12542 *${as_nl}ac_space
=\
*)
12543 # `set' does not quote correctly, so add quotes: double-quote
12544 # substitution turns \\\\ into \\, and sed turns \\ into \.
12547 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12550 # `set' quotes correctly as required by POSIX, so do not add quotes.
12551 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12560 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12562 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12564 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12565 if test -w "$cache_file"; then
12566 if test "x$cache_file" != "x/dev/null"; then
12567 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12568 $as_echo "$as_me: updating cache $cache_file" >&6;}
12569 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
12570 cat confcache
>"$cache_file"
12572 case $cache_file in #(
12574 mv -f confcache
"$cache_file"$$
&&
12575 mv -f "$cache_file"$$
"$cache_file" ;; #(
12577 mv -f confcache
"$cache_file" ;;
12582 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12583 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12588 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12589 # Let make expand exec_prefix.
12590 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12592 DEFS
=-DHAVE_CONFIG_H
12597 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12598 # 1. Remove the extension, and $U if already installed.
12599 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
12600 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
12601 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12602 # will be set to the directory where LIBOBJS objects are built.
12603 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12604 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
12606 LIBOBJS
=$ac_libobjs
12608 LTLIBOBJS
=$ac_ltlibobjs
12611 if test -n "$EXEEXT"; then
12613 am__EXEEXT_FALSE
='#'
12615 am__EXEEXT_TRUE
='#'
12620 : "${CONFIG_STATUS=./config.status}"
12622 ac_clean_files_save
=$ac_clean_files
12623 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12624 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12625 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12627 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12629 # Generated by $as_me.
12630 # Run this file to recreate the current configuration.
12631 # Compiler output produced by configure, useful for debugging
12632 # configure, is in config.log if it exists.
12635 ac_cs_recheck=false
12638 SHELL=\${CONFIG_SHELL-$SHELL}
12641 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
12642 ## -------------------- ##
12643 ## M4sh Initialization. ##
12644 ## -------------------- ##
12646 # Be more Bourne compatible
12647 DUALCASE
=1; export DUALCASE
# for MKS sh
12648 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
12651 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12652 # is contrary to our usage. Disable this feature.
12653 alias -g '${1+"$@"}'='"$@"'
12654 setopt NO_GLOB_SUBST
12656 case `(set -o) 2>/dev/null` in #(
12668 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12669 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12670 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12671 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12672 # Prefer a ksh shell builtin over an external printf program on Solaris,
12673 # but without wasting forks for bash or zsh.
12674 if test -z "$BASH_VERSION$ZSH_VERSION" \
12675 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12676 as_echo='print
-r --'
12677 as_echo_n='print
-rn --'
12678 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12679 as_echo='printf %s
\n'
12680 as_echo_n='printf %s
'
12682 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12683 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
12684 as_echo_n='/usr
/ucb
/echo -n'
12686 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12687 as_echo_n_body='eval
12691 expr "X$arg" : "X\\(.*\\)$as_nl";
12692 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12694 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
12696 export as_echo_n_body
12697 as_echo_n='sh
-c $as_echo_n_body as_echo
'
12699 export as_echo_body
12700 as_echo='sh
-c $as_echo_body as_echo
'
12703 # The user is always right.
12704 if test "${PATH_SEPARATOR+set}" != set; then
12706 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12707 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12714 # We need space, tab and new line, in precisely that order. Quoting is
12715 # there to prevent editors from complaining about space-tab.
12716 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12717 # splitting by setting IFS to empty value.)
12720 # Find who we are. Look in the path if we contain no directory separator.
12723 *[\\/]* ) as_myself=$0 ;;
12724 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12725 for as_dir in $PATH
12728 test -z "$as_dir" && as_dir=.
12729 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12735 # We did not find ourselves, most probably we were run as `sh COMMAND'
12736 # in which case we are not to be found in the path.
12737 if test "x$as_myself" = x
; then
12740 if test ! -f "$as_myself"; then
12741 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12745 # Unset variables that we do not need and which cause bugs (e.g. in
12746 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12747 # suppresses any "Segmentation fault" message there. '((' could
12748 # trigger a bug in pdksh 5.2.14.
12749 for as_var
in BASH_ENV ENV MAIL MAILPATH
12750 do eval test x\
${$as_var+set} = xset \
12751 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
12764 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
12767 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12768 # ----------------------------------------
12769 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12770 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12771 # script with STATUS, using 1 if that was 0.
12774 as_status
=$1; test $as_status -eq 0 && as_status
=1
12776 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
12777 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12779 $as_echo "$as_me: error: $2" >&2
12780 as_fn_exit
$as_status
12784 # as_fn_set_status STATUS
12785 # -----------------------
12786 # Set $? to STATUS, without forking.
12787 as_fn_set_status
()
12790 } # as_fn_set_status
12792 # as_fn_exit STATUS
12793 # -----------------
12794 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12798 as_fn_set_status
$1
12804 # Portably unset VAR.
12807 { eval $1=; unset $1;}
12809 as_unset
=as_fn_unset
12810 # as_fn_append VAR VALUE
12811 # ----------------------
12812 # Append the text in VALUE to the end of the definition contained in VAR. Take
12813 # advantage of any shell optimizations that allow amortized linear growth over
12814 # repeated appends, instead of the typical quadratic growth present in naive
12816 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
12817 eval 'as_fn_append ()
12828 # as_fn_arith ARG...
12829 # ------------------
12830 # Perform arithmetic evaluation on the ARGs, and store the result in the
12831 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12832 # must be portable across $(()) and expr.
12833 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
12834 eval 'as_fn_arith ()
12841 as_val
=`expr "$@" || test $? -eq 1`
12846 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12847 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12853 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12854 as_basename
=basename
12859 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
12865 as_me
=`$as_basename -- "$0" ||
12866 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12867 X"$0" : 'X\(//\)$' \| \
12868 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12870 sed '/^.*\/\([^/][^/]*\)\/*$/{
12884 # Avoid depending upon Character Ranges.
12885 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12886 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12887 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12888 as_cr_digits
='0123456789'
12889 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12891 ECHO_C
= ECHO_N
= ECHO_T
=
12892 case `echo -n x` in #(((((
12894 case `echo 'xy\c'` in
12895 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
12897 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
12904 rm -f conf$$ conf$$.exe conf$$.
file
12905 if test -d conf$$.dir
; then
12906 rm -f conf$$.dir
/conf$$.
file
12909 mkdir conf$$.dir
2>/dev
/null
12911 if (echo >conf$$.
file) 2>/dev
/null
; then
12912 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12914 # ... but there are two gotchas:
12915 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12916 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12917 # In both cases, we have to default to `cp -p'.
12918 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
12920 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12928 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
12929 rmdir conf$$.dir
2>/dev
/null
12934 # Create "$as_dir" as a directory, including parents if necessary.
12939 -*) as_dir
=.
/$as_dir;;
12941 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
12945 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12946 *) as_qdir
=$as_dir;;
12948 as_dirs
="'$as_qdir' $as_dirs"
12949 as_dir
=`$as_dirname -- "$as_dir" ||
12950 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12951 X"$as_dir" : 'X\(//\)[^/]' \| \
12952 X"$as_dir" : 'X\(//\)$' \| \
12953 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12954 $as_echo X"$as_dir" |
12955 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12959 /^X\(\/\/\)[^/].*/{
12972 test -d "$as_dir" && break
12974 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12975 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
12979 if mkdir
-p .
2>/dev
/null
; then
12980 as_mkdir_p
='mkdir -p "$as_dir"'
12982 test -d .
/-p && rmdir .
/-p
12986 if test -x / >/dev
/null
2>&1; then
12987 as_test_x
='test -x'
12989 if ls -dL / >/dev
/null
2>&1; then
12996 if test -d "$1"; then
13002 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13003 ???[sx]*):;;*)false;;esac;fi
13007 as_executable_p
=$as_test_x
13009 # Sed expression to map a string onto a valid CPP name.
13010 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13012 # Sed expression to map a string onto a valid variable name.
13013 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13017 ## ----------------------------------- ##
13018 ## Main body of $CONFIG_STATUS script. ##
13019 ## ----------------------------------- ##
13021 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
13023 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13024 # Save the log message, to keep $0 and so on meaningful, and to
13025 # report actual input values of CONFIG_FILES etc. instead of their
13026 # values after options handling.
13028 This file was extended by Jerasure $as_me 2.0, which was
13029 generated by GNU Autoconf 2.68. Invocation command line was
13031 CONFIG_FILES = $CONFIG_FILES
13032 CONFIG_HEADERS = $CONFIG_HEADERS
13033 CONFIG_LINKS = $CONFIG_LINKS
13034 CONFIG_COMMANDS = $CONFIG_COMMANDS
13037 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13042 case $ac_config_files in *"
13043 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
13046 case $ac_config_headers in *"
13047 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
13051 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13052 # Files that config.status was made for.
13053 config_files="$ac_config_files"
13054 config_headers="$ac_config_headers"
13055 config_commands="$ac_config_commands"
13059 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13061 \`$as_me' instantiates files and other configuration actions
13062 from templates according to the current configuration. Unless the files
13063 and actions are specified as TAGs, all are instantiated by default.
13065 Usage: $0 [OPTION]... [TAG]...
13067 -h, --help print this help, then exit
13068 -V, --version print version number and configuration settings, then exit
13069 --config print configuration, then exit
13070 -q, --quiet, --silent
13071 do not print progress messages
13072 -d, --debug don't remove temporary files
13073 --recheck update $as_me by reconfiguring in the same conditions
13074 --file=FILE[:TEMPLATE]
13075 instantiate the configuration file FILE
13076 --header=FILE[:TEMPLATE]
13077 instantiate the configuration header FILE
13079 Configuration files:
13082 Configuration headers:
13085 Configuration commands:
13088 Report bugs to the package provider."
13091 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13092 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13094 Jerasure config.status 2.0
13095 configured by $0, generated by GNU Autoconf 2.68,
13096 with options \\"\$ac_cs_config\\"
13098 Copyright (C) 2010 Free Software Foundation, Inc.
13099 This config.status script is free software; the Free Software Foundation
13100 gives unlimited permission to copy, distribute and modify it."
13107 test -n "\$AWK" || AWK=awk
13110 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13111 # The default lists apply if the user does not specify any file.
13117 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13118 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13122 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13134 # Handling of the options.
13135 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13137 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13138 $as_echo "$ac_cs_version"; exit ;;
13139 --config |
--confi |
--conf |
--con |
--co |
--c )
13140 $as_echo "$ac_cs_config"; exit ;;
13141 --debug |
--debu |
--deb |
--de |
--d |
-d )
13143 --file |
--fil |
--fi |
--f )
13146 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13147 '') as_fn_error $?
"missing file argument" ;;
13149 as_fn_append CONFIG_FILES
" '$ac_optarg'"
13150 ac_need_defaults
=false
;;
13151 --header |
--heade |
--head |
--hea )
13154 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13156 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
13157 ac_need_defaults
=false
;;
13159 # Conflict between --help and --header
13160 as_fn_error $?
"ambiguous option: \`$1'
13161 Try \`$0 --help' for more information.";;
13162 --help |
--hel |
-h )
13163 $as_echo "$ac_cs_usage"; exit ;;
13164 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13165 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13168 # This is an error.
13169 -*) as_fn_error $?
"unrecognized option: \`$1'
13170 Try \`$0 --help' for more information." ;;
13172 *) as_fn_append ac_config_targets
" $1"
13173 ac_need_defaults
=false
;;
13179 ac_configure_extra_args
=
13181 if $ac_cs_silent; then
13183 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13187 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13188 if \$ac_cs_recheck; then
13189 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13191 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13192 CONFIG_SHELL='$SHELL'
13193 export CONFIG_SHELL
13198 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13202 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13203 ## Running $as_me. ##
13209 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13215 # The HP-UX ksh and POSIX shell print the target directory to stdout
13216 # if CDPATH is set.
13217 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13219 sed_quote_subst='$sed_quote_subst'
13220 double_quote_subst='$double_quote_subst'
13221 delay_variable_subst='$delay_variable_subst'
13222 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13223 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13224 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13225 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13226 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13227 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13228 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13229 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13230 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13231 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13232 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13233 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13234 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13235 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13236 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13237 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13238 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13239 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13240 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13241 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13242 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13243 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13244 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13245 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13246 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13247 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13248 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13249 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13250 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13251 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13252 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13253 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13254 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13255 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13256 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13257 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13258 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13259 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13260 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13261 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13262 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13263 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13264 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13265 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13266 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13267 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13268 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13269 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13270 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13271 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13272 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13273 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13274 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13275 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13276 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13277 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13278 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"`'
13279 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13280 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13281 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13282 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13283 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13284 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13285 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13286 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13287 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13288 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13289 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13290 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13291 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13292 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13293 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13294 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13295 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13296 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13297 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13298 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13299 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13300 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13301 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13302 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13303 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13304 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13305 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13306 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13307 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13308 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13309 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13310 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13311 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13312 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13313 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13314 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13315 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13316 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13317 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13318 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13319 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13320 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13321 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13322 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13323 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13324 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13325 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13326 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13327 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13328 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13329 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13330 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13331 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13332 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13333 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13334 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13335 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13336 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13337 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13338 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13339 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13340 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13341 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13342 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13343 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13344 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13345 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13346 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13347 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13348 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13349 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13350 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13351 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13354 LTCFLAGS='$LTCFLAGS'
13355 compiler='$compiler_DEFAULT'
13357 # A function that is used when there is no print builtin or printf.
13358 func_fallback_echo ()
13360 eval 'cat <<_LTECHO_EOF
13365 # Quote evaled strings.
13380 deplibs_check_method \
13385 sharedlib_from_linklib_cmd \
13388 archiver_list_spec \
13394 lt_cv_sys_global_symbol_pipe \
13395 lt_cv_sys_global_symbol_to_cdecl \
13396 lt_cv_sys_global_symbol_to_c_name_address \
13397 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13398 nm_file_list_spec \
13399 lt_prog_compiler_no_builtin_flag \
13400 lt_prog_compiler_pic \
13401 lt_prog_compiler_wl \
13402 lt_prog_compiler_static \
13403 lt_cv_prog_compiler_c_o \
13412 export_dynamic_flag_spec \
13413 whole_archive_flag_spec \
13414 compiler_needs_object \
13416 allow_undefined_flag \
13417 no_undefined_flag \
13418 hardcode_libdir_flag_spec \
13419 hardcode_libdir_separator \
13423 variables_saved_for_relink \
13425 library_names_spec \
13427 install_override_mode \
13431 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13432 *[\\\\\\\`\\"\\\$]*)
13433 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13436 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13441 # Double-quote double-evaled strings.
13442 for var in reload_cmds \
13443 old_postinstall_cmds \
13444 old_postuninstall_cmds \
13446 extract_expsyms_cmds \
13447 old_archive_from_new_cmds \
13448 old_archive_from_expsyms_cmds \
13450 archive_expsym_cmds \
13452 module_expsym_cmds \
13453 export_symbols_cmds \
13457 postuninstall_cmds \
13459 sys_lib_search_path_spec \
13460 sys_lib_dlsearch_path_spec; do
13461 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13462 *[\\\\\\\`\\"\\\$]*)
13463 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13466 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13471 ac_aux_dir='$ac_aux_dir'
13472 xsi_shell='$xsi_shell'
13473 lt_shell_append='$lt_shell_append'
13475 # See if we are running on zsh, and set the options which allow our
13476 # commands through without removal of \ escapes INIT.
13477 if test -n "\${ZSH_VERSION+set}" ; then
13478 setopt NO_GLOB_SUBST
13484 TIMESTAMP='$TIMESTAMP'
13493 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13495 # Handling of arguments.
13496 for ac_config_target
in $ac_config_targets
13498 case $ac_config_target in
13499 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
13500 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
13501 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13502 "Examples/Makefile") CONFIG_FILES
="$CONFIG_FILES Examples/Makefile" ;;
13503 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
13505 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13510 # If the user did not use the arguments to specify the items to instantiate,
13511 # then the envvar interface is used. Set only those that are not.
13512 # We use the long form for the default assignment because of an extremely
13513 # bizarre bug on SunOS 4.1.3.
13514 if $ac_need_defaults; then
13515 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13516 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13517 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13520 # Have a temporary directory for convenience. Make it in the build tree
13521 # simply because there is no reason against having it here, and in addition,
13522 # creating and moving files from /tmp can sometimes cause problems.
13523 # Hook for its removal unless debugging.
13524 # Note that there is a small window in which the directory will not be cleaned:
13525 # after its creation but before its name has been assigned to `$tmp'.
13529 trap 'exit_status=$?
13530 : "${ac_tmp:=$tmp}"
13531 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13533 trap 'as_fn_exit 1' 1 2 13 15
13535 # Create a (secure) tmp directory for tmp files.
13538 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13542 tmp
=.
/conf$$
-$RANDOM
13543 (umask 077 && mkdir
"$tmp")
13544 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
13547 # Set up the scripts for CONFIG_FILES section.
13548 # No need to generate them if there are no CONFIG_FILES.
13549 # This happens for instance with `./config.status config.h'.
13550 if test -n "$CONFIG_FILES"; then
13553 ac_cr
=`echo X | tr X '\015'`
13554 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13555 # But we know of no other shell where ac_cr would be empty at this
13556 # point, so we can use a bashism as a fallback.
13557 if test "x$ac_cr" = x
; then
13558 eval ac_cr
=\$
\'\\r
\'
13560 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13561 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13564 ac_cs_awk_cr
=$ac_cr
13567 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13572 echo "cat >conf$$subs.awk <<_ACEOF" &&
13573 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13575 } >conf$$subs.sh ||
13576 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13577 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13579 for ac_last_try in false false false false false :; do
13580 . ./conf$$subs.sh ||
13581 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13583 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
13584 if test $ac_delim_n = $ac_delim_num; then
13586 elif $ac_last_try; then
13587 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13589 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13592 rm -f conf$$subs.sh
13594 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13595 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
13599 s/^/S["/; s
/!.
*/"]=/
13609 s/\(.\{148\}\)..*/\1/
13611 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
13616 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13623 s/\(.\{148\}\)..*/\1/
13625 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
13629 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13634 ' <conf$$subs.awk | sed '
13639 ' >>$CONFIG_STATUS || ac_write_fail=1
13640 rm -f conf$$subs.awk
13641 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13643 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
13644 for (key in S) S_is_set[key] = 1
13650 nfields = split(line, field, "@
")
13652 len = length(field[1])
13653 for (i = 2; i < nfields; i++) {
13655 keylen = length(key)
13656 if (S_is_set[key]) {
13658 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13659 len += length(value) + length(field[++i])
13670 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13671 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13672 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
13675 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
13676 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
13679 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13680 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
13681 # trailing colons and then remove the whole line if VPATH becomes empty
13682 # (actually we leave an empty line to preserve line numbers).
13683 if test "x
$srcdir" = x.; then
13684 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
13702 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13703 fi # test -n "$CONFIG_FILES"
13705 # Set up the scripts for CONFIG_HEADERS section.
13706 # No need to generate them if there are no CONFIG_HEADERS.
13707 # This happens for instance with `./config.status Makefile'.
13708 if test -n "$CONFIG_HEADERS"; then
13709 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
13713 # Transform confdefs.h into an awk script `defines.awk', embedded as
13714 # here-document in config.status, that substitutes the proper values into
13715 # config.h.in to produce config.h.
13717 # Create a delimiter string that does not exist in confdefs.h, to ease
13718 # handling of long lines.
13720 for ac_last_try in false false :; do
13721 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
13722 if test -z "$ac_tt"; then
13724 elif $ac_last_try; then
13725 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
13727 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13731 # For the awk script, D is an array of macro values keyed by name,
13732 # likewise P contains macro parameters if any. Preserve backslash
13733 # newline sequences.
13735 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13737 s/.\{148\}/&'"$ac_delim"'/g
13740 s/^[ ]*#[ ]*define[ ][ ]*/ /
13747 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
13749 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
13753 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
13754 D["\
1"]=" \
3\\\\\\n
"\\/p
13756 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
13761 s/.\{148\}/&'"$ac_delim"'/g
13766 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
13769 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
13771 ' <confdefs.h | sed '
13772 s/'"$ac_delim"'/"\\\
13773 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13775 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13776 for (key in D) D_is_set[key] = 1
13779 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13781 split(line, arg, " ")
13782 if (arg[1] == "#") {
13786 defundef
= substr
(arg
[1], 2)
13789 split(mac1
, mac2
, "(") #)
13791 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
13792 if (D_is_set
[macro
]) {
13793 # Preserve the white space surrounding the "#".
13794 print prefix
"define", macro P
[macro
] D
[macro
]
13797 # Replace #undef with comments. This is necessary, for example,
13798 # in the case of _POSIX_SOURCE, which is predefined and required
13799 # on some systems where configure will not decide to define it.
13800 if (defundef
== "undef") {
13801 print
"/*", prefix defundef
, macro
, "*/"
13809 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13810 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
13811 fi # test -n "$CONFIG_HEADERS"
13814 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13819 :[FHLC
]) ac_mode
=$ac_tag; continue;;
13821 case $ac_mode$ac_tag in
13823 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
13824 :[FH
]-) ac_tag
=-:-;;
13825 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
13842 -) ac_f
="$ac_tmp/stdin";;
13843 *) # Look for the file first in the build tree, then in the source tree
13844 # (if the path is not absolute). The absolute path cannot be DOS-style,
13845 # because $ac_f cannot contain `:'.
13849 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
13851 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13853 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13854 as_fn_append ac_file_inputs
" '$ac_f'"
13857 # Let's still pretend it is `configure' which instantiates (i.e., don't
13858 # use $as_me), people would be surprised to read:
13859 # /* config.h. Generated by config.status. */
13860 configure_input
='Generated from '`
13861 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13863 if test x
"$ac_file" != x-
; then
13864 configure_input
="$ac_file. $configure_input"
13865 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13866 $as_echo "$as_me: creating $ac_file" >&6;}
13868 # Neutralize special characters interpreted by sed in replacement strings.
13869 case $configure_input in #(
13870 *\
&* |
*\|
* |
*\\* )
13871 ac_sed_conf_input
=`$as_echo "$configure_input" |
13872 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13873 *) ac_sed_conf_input
=$configure_input;;
13877 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
13878 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
13883 ac_dir
=`$as_dirname -- "$ac_file" ||
13884 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13885 X"$ac_file" : 'X\(//\)[^/]' \| \
13886 X"$ac_file" : 'X\(//\)$' \| \
13887 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13888 $as_echo X"$ac_file" |
13889 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13893 /^X\(\/\/\)[^/].*/{
13906 as_dir
="$ac_dir"; as_fn_mkdir_p
13910 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13912 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13913 # A ".." for each directory in $ac_dir_suffix.
13914 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13915 case $ac_top_builddir_sub in
13916 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13917 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
13920 ac_abs_top_builddir
=$ac_pwd
13921 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
13922 # for backward compatibility:
13923 ac_top_builddir
=$ac_top_build_prefix
13926 .
) # We are building in place.
13928 ac_top_srcdir
=$ac_top_builddir_sub
13929 ac_abs_top_srcdir
=$ac_pwd ;;
13930 [\\/]* | ?
:[\\/]* ) # Absolute name.
13931 ac_srcdir
=$srcdir$ac_dir_suffix;
13932 ac_top_srcdir
=$srcdir
13933 ac_abs_top_srcdir
=$srcdir ;;
13934 *) # Relative name.
13935 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
13936 ac_top_srcdir
=$ac_top_build_prefix$srcdir
13937 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
13939 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
13949 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13950 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
13952 ac_MKDIR_P
=$MKDIR_P
13954 [\\/$
]* | ?
:[\\/]* ) ;;
13955 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
13959 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13960 # If the template does not know about datarootdir, expand it.
13961 # FIXME: This hack should be removed a few years after 2.60.
13962 ac_datarootdir_hack
=; ac_datarootdir_seen
=
13973 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13974 *datarootdir
*) ac_datarootdir_seen
=yes;;
13975 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
13976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13977 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13979 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13980 ac_datarootdir_hack='
13981 s&@datadir@&$datadir&g
13982 s&@docdir@&$docdir&g
13983 s&@infodir@&$infodir&g
13984 s&@localedir@&$localedir&g
13985 s&@mandir@&$mandir&g
13986 s&\\\${datarootdir}&$datarootdir&g' ;;
13990 # Neutralize VPATH when `$srcdir' = `.'.
13991 # Shell code in configure.ac might set extrasub.
13992 # FIXME: do we really want to maintain this feature?
13993 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13994 ac_sed_extra="$ac_vpsub
13997 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13999 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14000 s|@configure_input@|
$ac_sed_conf_input|
;t t
14001 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14002 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
14003 s
&@srcdir@
&$ac_srcdir&;t t
14004 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
14005 s
&@top_srcdir@
&$ac_top_srcdir&;t t
14006 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
14007 s
&@builddir@
&$ac_builddir&;t t
14008 s
&@abs_builddir@
&$ac_abs_builddir&;t t
14009 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
14010 s
&@INSTALL@
&$ac_INSTALL&;t t
14011 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
14012 $ac_datarootdir_hack
14014 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
14015 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
14017 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14018 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
14019 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
14020 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
14021 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
14022 which seems to be undefined. Please make sure it is defined" >&5
14023 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
14024 which seems to be undefined. Please make sure it is defined" >&2;}
14026 rm -f "$ac_tmp/stdin"
14028 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14029 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14031 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14037 if test x"$ac_file" != x-; then
14039 $as_echo "/* $configure_input */" \
14040 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14041 } >"$ac_tmp/config.h" \
14042 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14043 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14044 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14045 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14048 mv "$ac_tmp/config.h" "$ac_file" \
14049 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14052 $as_echo "/* $configure_input */" \
14053 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14054 || as_fn_error $? "could not create -" "$LINENO" 5
14056 # Compute "$ac_file"'s index
in $config_headers.
14059 for _am_header
in $config_headers :; do
14060 case $_am_header in
14061 $_am_arg |
$_am_arg:* )
14064 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
14067 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14068 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14069 X"$_am_arg" : 'X\(//\)[^/]' \| \
14070 X"$_am_arg" : 'X\(//\)$' \| \
14071 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14072 $as_echo X"$_am_arg" |
14073 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14077 /^X\(\/\/\)[^/].*/{
14089 s/.*/./; q'`/stamp-h
$_am_stamp_count
14092 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14093 $as_echo "$as_me: executing $ac_file commands" >&6;}
14098 case $ac_file$ac_mode in
14101 # See if we are running on zsh, and set the options which allow our
14102 # commands through without removal of \ escapes.
14103 if test -n "${ZSH_VERSION+set}" ; then
14104 setopt NO_GLOB_SUBST
14107 cfgfile
="${ofile}T"
14108 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14111 cat <<_LT_EOF >> "$cfgfile"
14114 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14115 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14116 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14117 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14119 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14120 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
14122 # Written by Gordon Matzigkeit, 1996
14124 # This file is part of GNU Libtool.
14126 # GNU Libtool is free software; you can redistribute it and/or
14127 # modify it under the terms of the GNU General Public License as
14128 # published by the Free Software Foundation; either version 2 of
14129 # the License, or (at your option) any later version.
14131 # As a special exception to the GNU General Public License,
14132 # if you distribute this file as part of a program or library that
14133 # is built using GNU Libtool, you may include this file under the
14134 # same distribution terms that you use for the rest of that program.
14136 # GNU Libtool is distributed in the hope that it will be useful,
14137 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14138 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14139 # GNU General Public License for more details.
14141 # You should have received a copy of the GNU General Public License
14142 # along with GNU Libtool; see the file COPYING. If not, a copy
14143 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14144 # obtained by writing to the Free Software Foundation, Inc.,
14145 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14148 # The names of the tagged configurations supported by this script.
14151 # ### BEGIN LIBTOOL CONFIG
14153 # Which release of libtool.m4 was used?
14154 macro_version=$macro_version
14155 macro_revision=$macro_revision
14157 # Whether or not to build shared libraries.
14158 build_libtool_libs=$enable_shared
14160 # Whether or not to build static libraries.
14161 build_old_libs=$enable_static
14163 # What type of objects to build.
14166 # Whether or not to optimize for fast installation.
14167 fast_install=$enable_fast_install
14169 # Shell to use when invoking shell scripts.
14172 # An echo program that protects backslashes.
14175 # The PATH separator for the build system.
14176 PATH_SEPARATOR=$lt_PATH_SEPARATOR
14179 host_alias=$host_alias
14183 # The build system.
14184 build_alias=$build_alias
14188 # A sed program that does not truncate output.
14191 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14192 Xsed="\$SED -e 1s/^X//"
14194 # A grep program that handles long lines.
14200 # A literal string matcher.
14203 # A BSD- or MS-compatible name lister.
14206 # Whether we need soft or hard links.
14209 # What is the maximum length of a command?
14210 max_cmd_len=$max_cmd_len
14212 # Object file suffix (normally "o").
14215 # Executable file suffix (normally "").
14218 # whether the shell understands "unset".
14221 # turn spaces into newlines.
14224 # turn newlines into spaces.
14227 # convert \$build file names to \$host format.
14228 to_host_file_cmd=$lt_cv_to_host_file_cmd
14230 # convert \$build files to toolchain format.
14231 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14233 # An object symbol dumper.
14234 OBJDUMP=$lt_OBJDUMP
14236 # Method to check whether dependent libraries are shared objects.
14237 deplibs_check_method=$lt_deplibs_check_method
14239 # Command to use when deplibs_check_method = "file_magic".
14240 file_magic_cmd=$lt_file_magic_cmd
14242 # How to find potential files when deplibs_check_method = "file_magic".
14243 file_magic_glob=$lt_file_magic_glob
14245 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14246 want_nocaseglob=$lt_want_nocaseglob
14248 # DLL creation program.
14249 DLLTOOL=$lt_DLLTOOL
14251 # Command to associate shared and link libraries.
14252 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14257 # Flags to create an archive.
14258 AR_FLAGS=$lt_AR_FLAGS
14260 # How to feed a file listing to the archiver.
14261 archiver_list_spec=$lt_archiver_list_spec
14263 # A symbol stripping program.
14266 # Commands used to install an old-style archive.
14268 old_postinstall_cmds=$lt_old_postinstall_cmds
14269 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14271 # Whether to use a lock for old archive extraction.
14272 lock_old_archive_extraction=$lock_old_archive_extraction
14277 # LTCC compiler flags.
14278 LTCFLAGS=$lt_CFLAGS
14280 # Take the output of nm and produce a listing of raw symbols and C names.
14281 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14283 # Transform the output of nm in a proper C declaration.
14284 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14286 # Transform the output of nm in a C name address pair.
14287 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14289 # Transform the output of nm in a C name address pair when lib prefix is needed.
14290 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14292 # Specify filename containing input files for \$NM.
14293 nm_file_list_spec=$lt_nm_file_list_spec
14295 # The root where to search for dependent libraries,and in which our libraries should be installed.
14296 lt_sysroot=$lt_sysroot
14298 # The name of the directory that contains temporary libtool files.
14301 # Used to examine libraries when file_magic_cmd begins with "file".
14302 MAGIC_CMD=$MAGIC_CMD
14304 # Must we lock files when doing compilation?
14305 need_locks=$lt_need_locks
14308 MANIFEST_TOOL=$lt_MANIFEST_TOOL
14310 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14311 DSYMUTIL=$lt_DSYMUTIL
14313 # Tool to change global to local symbols on Mac OS X.
14316 # Tool to manipulate fat objects and archives on Mac OS X.
14319 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14322 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14323 OTOOL64=$lt_OTOOL64
14325 # Old archive suffix (normally "a").
14328 # Shared library suffix (normally ".so").
14329 shrext_cmds=$lt_shrext_cmds
14331 # The commands to extract the exported symbol list from a shared archive.
14332 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14334 # Variables whose values should be saved in libtool wrapper scripts and
14335 # restored at link time.
14336 variables_saved_for_relink=$lt_variables_saved_for_relink
14338 # Do we need the "lib" prefix for modules?
14339 need_lib_prefix=$need_lib_prefix
14341 # Do we need a version for libraries?
14342 need_version=$need_version
14344 # Library versioning type.
14345 version_type=$version_type
14347 # Shared library runtime path variable.
14348 runpath_var=$runpath_var
14350 # Shared library path variable.
14351 shlibpath_var=$shlibpath_var
14353 # Is shlibpath searched before the hard-coded library search path?
14354 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14356 # Format of library name prefix.
14357 libname_spec=$lt_libname_spec
14359 # List of archive names. First name is the real one, the rest are links.
14360 # The last name is the one that the linker finds with -lNAME
14361 library_names_spec=$lt_library_names_spec
14363 # The coded name of the library, if different from the real name.
14364 soname_spec=$lt_soname_spec
14366 # Permission mode override for installation of shared libraries.
14367 install_override_mode=$lt_install_override_mode
14369 # Command to use after installation of a shared archive.
14370 postinstall_cmds=$lt_postinstall_cmds
14372 # Command to use after uninstallation of a shared archive.
14373 postuninstall_cmds=$lt_postuninstall_cmds
14375 # Commands used to finish a libtool library installation in a directory.
14376 finish_cmds=$lt_finish_cmds
14378 # As "finish_cmds", except a single script fragment to be evaled but
14380 finish_eval=$lt_finish_eval
14382 # Whether we should hardcode library paths into libraries.
14383 hardcode_into_libs=$hardcode_into_libs
14385 # Compile-time system search path for libraries.
14386 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14388 # Run-time system search path for libraries.
14389 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14391 # Whether dlopen is supported.
14392 dlopen_support=$enable_dlopen
14394 # Whether dlopen of programs is supported.
14395 dlopen_self=$enable_dlopen_self
14397 # Whether dlopen of statically linked programs is supported.
14398 dlopen_self_static=$enable_dlopen_self_static
14400 # Commands to strip libraries.
14401 old_striplib=$lt_old_striplib
14402 striplib=$lt_striplib
14405 # The linker used to build libraries.
14408 # How to create reloadable object files.
14409 reload_flag=$lt_reload_flag
14410 reload_cmds=$lt_reload_cmds
14412 # Commands used to build an old-style archive.
14413 old_archive_cmds=$lt_old_archive_cmds
14415 # A language specific compiler.
14418 # Is the compiler the GNU compiler?
14421 # Compiler flag to turn off builtin functions.
14422 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14424 # Additional compiler flags for building library objects.
14425 pic_flag=$lt_lt_prog_compiler_pic
14427 # How to pass a linker flag through the compiler.
14428 wl=$lt_lt_prog_compiler_wl
14430 # Compiler flag to prevent dynamic linking.
14431 link_static_flag=$lt_lt_prog_compiler_static
14433 # Does compiler simultaneously support -c and -o options?
14434 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14436 # Whether or not to add -lc for building shared libraries.
14437 build_libtool_need_lc=$archive_cmds_need_lc
14439 # Whether or not to disallow shared libs when runtime libs are static.
14440 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14442 # Compiler flag to allow reflexive dlopens.
14443 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14445 # Compiler flag to generate shared objects directly from archives.
14446 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14448 # Whether the compiler copes with passing no objects directly.
14449 compiler_needs_object=$lt_compiler_needs_object
14451 # Create an old-style archive from a shared archive.
14452 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14454 # Create a temporary old-style archive to link instead of a shared archive.
14455 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14457 # Commands used to build a shared archive.
14458 archive_cmds=$lt_archive_cmds
14459 archive_expsym_cmds=$lt_archive_expsym_cmds
14461 # Commands used to build a loadable module if different from building
14462 # a shared archive.
14463 module_cmds=$lt_module_cmds
14464 module_expsym_cmds=$lt_module_expsym_cmds
14466 # Whether we are building with GNU ld or not.
14467 with_gnu_ld=$lt_with_gnu_ld
14469 # Flag that allows shared libraries with undefined symbols to be built.
14470 allow_undefined_flag=$lt_allow_undefined_flag
14472 # Flag that enforces no undefined symbols.
14473 no_undefined_flag=$lt_no_undefined_flag
14475 # Flag to hardcode \$libdir into a binary during linking.
14476 # This must work even if \$libdir does not exist
14477 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14479 # Whether we need a single "-rpath" flag with a separated argument.
14480 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14482 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14483 # DIR into the resulting binary.
14484 hardcode_direct=$hardcode_direct
14486 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14487 # DIR into the resulting binary and the resulting library dependency is
14488 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14489 # library is relocated.
14490 hardcode_direct_absolute=$hardcode_direct_absolute
14492 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14493 # into the resulting binary.
14494 hardcode_minus_L=$hardcode_minus_L
14496 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14497 # into the resulting binary.
14498 hardcode_shlibpath_var=$hardcode_shlibpath_var
14500 # Set to "yes" if building a shared library automatically hardcodes DIR
14501 # into the library and all subsequent libraries and executables linked
14503 hardcode_automatic=$hardcode_automatic
14505 # Set to yes if linker adds runtime paths of dependent libraries
14506 # to runtime path list.
14507 inherit_rpath=$inherit_rpath
14509 # Whether libtool must link a program against all its dependency libraries.
14510 link_all_deplibs=$link_all_deplibs
14512 # Set to "yes" if exported symbols are required.
14513 always_export_symbols=$always_export_symbols
14515 # The commands to list exported symbols.
14516 export_symbols_cmds=$lt_export_symbols_cmds
14518 # Symbols that should not be listed in the preloaded symbols.
14519 exclude_expsyms=$lt_exclude_expsyms
14521 # Symbols that must always be exported.
14522 include_expsyms=$lt_include_expsyms
14524 # Commands necessary for linking programs (against libraries) with templates.
14525 prelink_cmds=$lt_prelink_cmds
14527 # Commands necessary for finishing linking programs.
14528 postlink_cmds=$lt_postlink_cmds
14530 # Specify filename containing input files.
14531 file_list_spec=$lt_file_list_spec
14533 # How to hardcode a shared library path into an executable.
14534 hardcode_action=$hardcode_action
14536 # ### END LIBTOOL CONFIG
14542 cat <<\_LT_EOF
>> "$cfgfile"
14543 # AIX sometimes has problems with the GCC collect2 program. For some
14544 # reason, if we set the COLLECT_NAMES environment variable, the problems
14545 # vanish in a puff of smoke.
14546 if test "X${COLLECT_NAMES+set}" != Xset
; then
14548 export COLLECT_NAMES
14555 ltmain
="$ac_aux_dir/ltmain.sh"
14558 # We use sed instead of cat because bash on DJGPP gets confused if
14559 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14560 # text mode, it properly converts lines to CR/LF. This bash problem
14561 # is reportedly fixed, but why not run on old versions too?
14562 sed '$q' "$ltmain" >> "$cfgfile" \
14563 ||
(rm -f "$cfgfile"; exit 1)
14565 if test x
"$xsi_shell" = xyes
; then
14566 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
14570 \ */*) func_dirname_result="${1%/*}${2}" ;;\
14571 \ * ) func_dirname_result="${3}" ;;\
14573 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
14574 && mv -f "$cfgfile.tmp" "$cfgfile" \
14575 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14576 test 0 -eq $? || _lt_function_replace_fail
=:
14579 sed -e '/^func_basename ()$/,/^} # func_basename /c\
14582 \ func_basename_result="${1##*/}"\
14583 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
14584 && mv -f "$cfgfile.tmp" "$cfgfile" \
14585 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14586 test 0 -eq $? || _lt_function_replace_fail
=:
14589 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
14590 func_dirname_and_basename ()\
14593 \ */*) func_dirname_result="${1%/*}${2}" ;;\
14594 \ * ) func_dirname_result="${3}" ;;\
14596 \ func_basename_result="${1##*/}"\
14597 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
14598 && mv -f "$cfgfile.tmp" "$cfgfile" \
14599 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14600 test 0 -eq $? || _lt_function_replace_fail
=:
14603 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
14606 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
14607 \ # positional parameters, so assign one to ordinary parameter first.\
14608 \ func_stripname_result=${3}\
14609 \ func_stripname_result=${func_stripname_result#"${1}"}\
14610 \ func_stripname_result=${func_stripname_result%"${2}"}\
14611 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
14612 && mv -f "$cfgfile.tmp" "$cfgfile" \
14613 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14614 test 0 -eq $? || _lt_function_replace_fail
=:
14617 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
14618 func_split_long_opt ()\
14620 \ func_split_long_opt_name=${1%%=*}\
14621 \ func_split_long_opt_arg=${1#*=}\
14622 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
14623 && mv -f "$cfgfile.tmp" "$cfgfile" \
14624 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14625 test 0 -eq $? || _lt_function_replace_fail
=:
14628 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
14629 func_split_short_opt ()\
14631 \ func_split_short_opt_arg=${1#??}\
14632 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
14633 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
14634 && mv -f "$cfgfile.tmp" "$cfgfile" \
14635 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14636 test 0 -eq $? || _lt_function_replace_fail
=:
14639 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
14643 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
14644 \ *) func_lo2o_result=${1} ;;\
14646 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
14647 && mv -f "$cfgfile.tmp" "$cfgfile" \
14648 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14649 test 0 -eq $? || _lt_function_replace_fail
=:
14652 sed -e '/^func_xform ()$/,/^} # func_xform /c\
14655 func_xform_result=${1%.*}.lo\
14656 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
14657 && mv -f "$cfgfile.tmp" "$cfgfile" \
14658 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14659 test 0 -eq $? || _lt_function_replace_fail
=:
14662 sed -e '/^func_arith ()$/,/^} # func_arith /c\
14665 func_arith_result=$(( $* ))\
14666 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
14667 && mv -f "$cfgfile.tmp" "$cfgfile" \
14668 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14669 test 0 -eq $? || _lt_function_replace_fail
=:
14672 sed -e '/^func_len ()$/,/^} # func_len /c\
14675 func_len_result=${#1}\
14676 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
14677 && mv -f "$cfgfile.tmp" "$cfgfile" \
14678 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14679 test 0 -eq $? || _lt_function_replace_fail
=:
14683 if test x
"$lt_shell_append" = xyes
; then
14684 sed -e '/^func_append ()$/,/^} # func_append /c\
14687 eval "${1}+=\\${2}"\
14688 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
14689 && mv -f "$cfgfile.tmp" "$cfgfile" \
14690 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14691 test 0 -eq $? || _lt_function_replace_fail
=:
14694 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
14695 func_append_quoted ()\
14697 \ func_quote_for_eval "${2}"\
14698 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
14699 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
14700 && mv -f "$cfgfile.tmp" "$cfgfile" \
14701 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14702 test 0 -eq $? || _lt_function_replace_fail
=:
14705 # Save a `func_append' function call where possible by direct use of '+='
14706 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
14707 && mv -f "$cfgfile.tmp" "$cfgfile" \
14708 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14709 test 0 -eq $? || _lt_function_replace_fail
=:
14711 # Save a `func_append' function call even when '+=' is not available
14712 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
14713 && mv -f "$cfgfile.tmp" "$cfgfile" \
14714 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14715 test 0 -eq $? || _lt_function_replace_fail
=:
14718 if test x
"$_lt_function_replace_fail" = x
":"; then
14719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
14720 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
14724 mv -f "$cfgfile" "$ofile" ||
14725 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14736 ac_clean_files
=$ac_clean_files_save
14738 test $ac_write_fail = 0 ||
14739 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
14742 # configure is writing to config.log, and then calls config.status.
14743 # config.status does its own redirection, appending to config.log.
14744 # Unfortunately, on DOS this fails, as config.log is still kept open
14745 # by configure, so config.status won't be able to write to it; its
14746 # output is simply discarded. So we exec the FD to /dev/null,
14747 # effectively closing config.log, so it can be properly (re)opened and
14748 # appended to by config.status. When coming back to configure, we
14749 # need to make the FD available again.
14750 if test "$no_create" != yes; then
14752 ac_config_status_args
=
14753 test "$silent" = yes &&
14754 ac_config_status_args
="$ac_config_status_args --quiet"
14756 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
14758 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14759 # would make configure fail if this is the last instruction.
14760 $ac_cs_success || as_fn_exit
1
14762 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
14763 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14764 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}